@coopenomics/notifications 2026.8.24-1 → 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 +95 -93
- package/dist/index.d.mts +95 -93
- package/dist/index.d.ts +95 -93
- package/dist/index.mjs +7 -5
- package/package.json +2 -2
- package/src/workflows/marketplace-return-claim-finalized/index.ts +7 -5
package/dist/index.d.ts
CHANGED
|
@@ -182,19 +182,19 @@ declare const newAgendaItemPayloadSchema: z.ZodObject<{
|
|
|
182
182
|
agendaUrl: z.ZodOptional<z.ZodString>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
184
|
coopname: string;
|
|
185
|
-
decision_id: string;
|
|
186
|
-
authorName: string;
|
|
187
185
|
coopShortName: string;
|
|
188
186
|
itemTitle: string;
|
|
189
187
|
itemDescription: string;
|
|
188
|
+
authorName: string;
|
|
189
|
+
decision_id: string;
|
|
190
190
|
agendaUrl?: string | undefined;
|
|
191
191
|
}, {
|
|
192
192
|
coopname: string;
|
|
193
|
-
decision_id: string;
|
|
194
|
-
authorName: string;
|
|
195
193
|
coopShortName: string;
|
|
196
194
|
itemTitle: string;
|
|
197
195
|
itemDescription: string;
|
|
196
|
+
authorName: string;
|
|
197
|
+
decision_id: string;
|
|
198
198
|
agendaUrl?: string | undefined;
|
|
199
199
|
}>;
|
|
200
200
|
type IPayload$U = z.infer<typeof newAgendaItemPayloadSchema>;
|
|
@@ -240,18 +240,18 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
|
|
|
240
240
|
approvalUrl: z.ZodOptional<z.ZodString>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
coopname: string;
|
|
243
|
-
|
|
243
|
+
authorName: string;
|
|
244
244
|
requestTitle: string;
|
|
245
|
+
chairmanName: string;
|
|
245
246
|
requestDescription: string;
|
|
246
|
-
authorName: string;
|
|
247
247
|
approval_hash: string;
|
|
248
248
|
approvalUrl?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
coopname: string;
|
|
251
|
-
|
|
251
|
+
authorName: string;
|
|
252
252
|
requestTitle: string;
|
|
253
|
+
chairmanName: string;
|
|
253
254
|
requestDescription: string;
|
|
254
|
-
authorName: string;
|
|
255
255
|
approval_hash: string;
|
|
256
256
|
approvalUrl?: string | undefined;
|
|
257
257
|
}>;
|
|
@@ -275,16 +275,16 @@ 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
|
-
decisionTitle: string;
|
|
280
278
|
coopname: string;
|
|
281
279
|
decision_id: string;
|
|
282
|
-
decisionUrl?: string | undefined;
|
|
283
|
-
}, {
|
|
284
280
|
userName: string;
|
|
285
281
|
decisionTitle: string;
|
|
282
|
+
decisionUrl?: string | undefined;
|
|
283
|
+
}, {
|
|
286
284
|
coopname: string;
|
|
287
285
|
decision_id: string;
|
|
286
|
+
userName: string;
|
|
287
|
+
decisionTitle: string;
|
|
288
288
|
decisionUrl?: string | undefined;
|
|
289
289
|
}>;
|
|
290
290
|
type IPayload$R = z.infer<typeof decisionApprovedPayloadSchema>;
|
|
@@ -412,22 +412,22 @@ declare const meetInitialPayloadSchema: z.ZodObject<{
|
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
413
|
coopShortName: string;
|
|
414
414
|
meetId: number;
|
|
415
|
+
meetDate: string;
|
|
416
|
+
meetTime: string;
|
|
415
417
|
meetEndDate: string;
|
|
416
418
|
meetEndTime: string;
|
|
417
419
|
timezone: string;
|
|
418
420
|
meetUrl: string;
|
|
419
|
-
meetDate: string;
|
|
420
|
-
meetTime: string;
|
|
421
421
|
details?: string | undefined;
|
|
422
422
|
}, {
|
|
423
423
|
coopShortName: string;
|
|
424
424
|
meetId: number;
|
|
425
|
+
meetDate: string;
|
|
426
|
+
meetTime: string;
|
|
425
427
|
meetEndDate: string;
|
|
426
428
|
meetEndTime: string;
|
|
427
429
|
timezone: string;
|
|
428
430
|
meetUrl: string;
|
|
429
|
-
meetDate: string;
|
|
430
|
-
meetTime: string;
|
|
431
431
|
details?: string | undefined;
|
|
432
432
|
}>;
|
|
433
433
|
type IPayload$N = z.infer<typeof meetInitialPayloadSchema>;
|
|
@@ -454,18 +454,18 @@ declare const meetReminderStartPayloadSchema: z.ZodObject<{
|
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
455
|
coopShortName: string;
|
|
456
456
|
meetId: number;
|
|
457
|
-
timeDescription: string;
|
|
458
|
-
meetUrl: string;
|
|
459
457
|
meetDate: string;
|
|
460
458
|
meetTime: string;
|
|
459
|
+
meetUrl: string;
|
|
460
|
+
timeDescription: string;
|
|
461
461
|
details?: string | undefined;
|
|
462
462
|
}, {
|
|
463
463
|
coopShortName: string;
|
|
464
464
|
meetId: number;
|
|
465
|
-
timeDescription: string;
|
|
466
|
-
meetUrl: string;
|
|
467
465
|
meetDate: string;
|
|
468
466
|
meetTime: string;
|
|
467
|
+
meetUrl: string;
|
|
468
|
+
timeDescription: string;
|
|
469
469
|
details?: string | undefined;
|
|
470
470
|
}>;
|
|
471
471
|
type IPayload$M = z.infer<typeof meetReminderStartPayloadSchema>;
|
|
@@ -532,17 +532,17 @@ declare const meetReminderEndPayloadSchema: z.ZodObject<{
|
|
|
532
532
|
meetId: number;
|
|
533
533
|
meetEndDate: string;
|
|
534
534
|
meetEndTime: string;
|
|
535
|
-
timeDescription: string;
|
|
536
535
|
timezone: string;
|
|
537
536
|
meetUrl: string;
|
|
537
|
+
timeDescription: string;
|
|
538
538
|
}, {
|
|
539
539
|
coopShortName: string;
|
|
540
540
|
meetId: number;
|
|
541
541
|
meetEndDate: string;
|
|
542
542
|
meetEndTime: string;
|
|
543
|
-
timeDescription: string;
|
|
544
543
|
timezone: string;
|
|
545
544
|
meetUrl: string;
|
|
545
|
+
timeDescription: string;
|
|
546
546
|
}>;
|
|
547
547
|
type IPayload$K = z.infer<typeof meetReminderEndPayloadSchema>;
|
|
548
548
|
interface IWorkflow$K extends BaseWorkflowPayload, IPayload$K {
|
|
@@ -569,21 +569,21 @@ declare const meetRestartPayloadSchema: z.ZodObject<{
|
|
|
569
569
|
}, "strip", z.ZodTypeAny, {
|
|
570
570
|
coopShortName: string;
|
|
571
571
|
meetId: number;
|
|
572
|
+
meetDate: string;
|
|
573
|
+
meetTime: string;
|
|
572
574
|
meetEndDate: string;
|
|
573
575
|
meetEndTime: string;
|
|
574
576
|
timezone: string;
|
|
575
577
|
meetUrl: string;
|
|
576
|
-
meetDate: string;
|
|
577
|
-
meetTime: string;
|
|
578
578
|
}, {
|
|
579
579
|
coopShortName: string;
|
|
580
580
|
meetId: number;
|
|
581
|
+
meetDate: string;
|
|
582
|
+
meetTime: string;
|
|
581
583
|
meetEndDate: string;
|
|
582
584
|
meetEndTime: string;
|
|
583
585
|
timezone: string;
|
|
584
586
|
meetUrl: string;
|
|
585
|
-
meetDate: string;
|
|
586
|
-
meetTime: string;
|
|
587
587
|
}>;
|
|
588
588
|
type IPayload$J = z.infer<typeof meetRestartPayloadSchema>;
|
|
589
589
|
interface IWorkflow$J extends BaseWorkflowPayload, IPayload$J {
|
|
@@ -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
|
-
requestTitle: string;
|
|
655
653
|
coopShortName: string;
|
|
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
|
-
requestTitle: string;
|
|
664
662
|
coopShortName: string;
|
|
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
|
}>;
|
|
@@ -689,17 +689,17 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
689
689
|
coopname: z.ZodString;
|
|
690
690
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
+
coopname: string;
|
|
692
693
|
paymentAmount: string;
|
|
693
694
|
paymentCurrency: string;
|
|
694
|
-
coopname: string;
|
|
695
695
|
chairmanName: string;
|
|
696
696
|
participantName: string;
|
|
697
697
|
paymentType: string;
|
|
698
698
|
paymentUrl?: string | undefined;
|
|
699
699
|
}, {
|
|
700
|
+
coopname: string;
|
|
700
701
|
paymentAmount: string;
|
|
701
702
|
paymentCurrency: string;
|
|
702
|
-
coopname: string;
|
|
703
703
|
chairmanName: string;
|
|
704
704
|
participantName: string;
|
|
705
705
|
paymentType: string;
|
|
@@ -727,17 +727,17 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
|
|
|
727
727
|
coopname: z.ZodString;
|
|
728
728
|
paymentUrl: z.ZodOptional<z.ZodString>;
|
|
729
729
|
}, "strip", z.ZodTypeAny, {
|
|
730
|
+
coopname: string;
|
|
730
731
|
paymentAmount: string;
|
|
731
732
|
paymentCurrency: string;
|
|
732
|
-
coopname: string;
|
|
733
733
|
chairmanName: string;
|
|
734
734
|
participantName: string;
|
|
735
735
|
paymentType: string;
|
|
736
736
|
paymentUrl?: string | undefined;
|
|
737
737
|
}, {
|
|
738
|
+
coopname: string;
|
|
738
739
|
paymentAmount: string;
|
|
739
740
|
paymentCurrency: string;
|
|
740
|
-
coopname: string;
|
|
741
741
|
chairmanName: string;
|
|
742
742
|
participantName: string;
|
|
743
743
|
paymentType: string;
|
|
@@ -977,17 +977,17 @@ 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
|
-
decisionTitle: string;
|
|
982
980
|
coopname: string;
|
|
983
981
|
decision_id: string;
|
|
982
|
+
userName: string;
|
|
983
|
+
decisionTitle: string;
|
|
984
984
|
short_abbr: string;
|
|
985
985
|
name: string;
|
|
986
986
|
}, {
|
|
987
|
-
userName: string;
|
|
988
|
-
decisionTitle: string;
|
|
989
987
|
coopname: string;
|
|
990
988
|
decision_id: string;
|
|
989
|
+
userName: string;
|
|
990
|
+
decisionTitle: string;
|
|
991
991
|
short_abbr: string;
|
|
992
992
|
name: string;
|
|
993
993
|
}>;
|
|
@@ -1147,16 +1147,16 @@ declare const marketplaceAplSupplierSignRequestPayloadSchema: z.ZodObject<{
|
|
|
1147
1147
|
}, "strip", z.ZodTypeAny, {
|
|
1148
1148
|
coopname: string;
|
|
1149
1149
|
supplierName: string;
|
|
1150
|
-
kuName: string;
|
|
1151
1150
|
apl_reception_id: string;
|
|
1151
|
+
kuName: string;
|
|
1152
1152
|
ttnNumber: string;
|
|
1153
1153
|
expeditorName: string;
|
|
1154
1154
|
deepLinkUrl?: string | undefined;
|
|
1155
1155
|
}, {
|
|
1156
1156
|
coopname: string;
|
|
1157
1157
|
supplierName: string;
|
|
1158
|
-
kuName: string;
|
|
1159
1158
|
apl_reception_id: string;
|
|
1159
|
+
kuName: string;
|
|
1160
1160
|
ttnNumber: string;
|
|
1161
1161
|
expeditorName: string;
|
|
1162
1162
|
deepLinkUrl?: string | undefined;
|
|
@@ -1183,17 +1183,17 @@ declare const marketplaceAplReceptionCancelledBySupplierPayloadSchema: z.ZodObje
|
|
|
1183
1183
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1184
1184
|
}, "strip", z.ZodTypeAny, {
|
|
1185
1185
|
coopname: string;
|
|
1186
|
-
operatorName: string;
|
|
1187
1186
|
supplierName: string;
|
|
1188
|
-
kuName: string;
|
|
1189
1187
|
apl_reception_id: string;
|
|
1188
|
+
kuName: string;
|
|
1189
|
+
operatorName: string;
|
|
1190
1190
|
deepLinkUrl?: string | undefined;
|
|
1191
1191
|
}, {
|
|
1192
1192
|
coopname: string;
|
|
1193
|
-
operatorName: string;
|
|
1194
1193
|
supplierName: string;
|
|
1195
|
-
kuName: string;
|
|
1196
1194
|
apl_reception_id: string;
|
|
1195
|
+
kuName: string;
|
|
1196
|
+
operatorName: string;
|
|
1197
1197
|
deepLinkUrl?: string | undefined;
|
|
1198
1198
|
}>;
|
|
1199
1199
|
type IPayload$r = z.infer<typeof marketplaceAplReceptionCancelledBySupplierPayloadSchema>;
|
|
@@ -1220,16 +1220,16 @@ declare const marketplaceCashierNewPaymentPayloadSchema: z.ZodObject<{
|
|
|
1220
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1221
|
coopname: string;
|
|
1222
1222
|
supplierName: string;
|
|
1223
|
-
apl_reception_id: string;
|
|
1224
1223
|
amount: string;
|
|
1224
|
+
apl_reception_id: string;
|
|
1225
1225
|
payment_request_id: string;
|
|
1226
1226
|
cashierName: string;
|
|
1227
1227
|
deepLinkUrl?: string | undefined;
|
|
1228
1228
|
}, {
|
|
1229
1229
|
coopname: string;
|
|
1230
1230
|
supplierName: string;
|
|
1231
|
-
apl_reception_id: string;
|
|
1232
1231
|
amount: string;
|
|
1232
|
+
apl_reception_id: string;
|
|
1233
1233
|
payment_request_id: string;
|
|
1234
1234
|
cashierName: string;
|
|
1235
1235
|
deepLinkUrl?: string | undefined;
|
|
@@ -1258,16 +1258,16 @@ declare const marketplaceSupplierPaymentConfirmedPayloadSchema: z.ZodObject<{
|
|
|
1258
1258
|
}, "strip", z.ZodTypeAny, {
|
|
1259
1259
|
coopname: string;
|
|
1260
1260
|
supplierName: string;
|
|
1261
|
-
apl_reception_id: string;
|
|
1262
1261
|
amount: string;
|
|
1262
|
+
apl_reception_id: string;
|
|
1263
1263
|
payment_request_id: string;
|
|
1264
1264
|
paymentReference: string;
|
|
1265
1265
|
deepLinkUrl?: string | undefined;
|
|
1266
1266
|
}, {
|
|
1267
1267
|
coopname: string;
|
|
1268
1268
|
supplierName: string;
|
|
1269
|
-
apl_reception_id: string;
|
|
1270
1269
|
amount: string;
|
|
1270
|
+
apl_reception_id: string;
|
|
1271
1271
|
payment_request_id: string;
|
|
1272
1272
|
paymentReference: string;
|
|
1273
1273
|
deepLinkUrl?: string | undefined;
|
|
@@ -1296,17 +1296,17 @@ declare const marketplaceSupplierPaymentDeclinedPayloadSchema: z.ZodObject<{
|
|
|
1296
1296
|
}, "strip", z.ZodTypeAny, {
|
|
1297
1297
|
coopname: string;
|
|
1298
1298
|
supplierName: string;
|
|
1299
|
-
apl_reception_id: string;
|
|
1300
1299
|
amount: string;
|
|
1301
1300
|
reason: string;
|
|
1301
|
+
apl_reception_id: string;
|
|
1302
1302
|
payment_request_id: string;
|
|
1303
1303
|
deepLinkUrl?: string | undefined;
|
|
1304
1304
|
}, {
|
|
1305
1305
|
coopname: string;
|
|
1306
1306
|
supplierName: string;
|
|
1307
|
-
apl_reception_id: string;
|
|
1308
1307
|
amount: string;
|
|
1309
1308
|
reason: string;
|
|
1309
|
+
apl_reception_id: string;
|
|
1310
1310
|
payment_request_id: string;
|
|
1311
1311
|
deepLinkUrl?: string | undefined;
|
|
1312
1312
|
}>;
|
|
@@ -1333,16 +1333,16 @@ declare const marketplaceOrderReadyPayloadSchema: z.ZodObject<{
|
|
|
1333
1333
|
passportReminder: z.ZodOptional<z.ZodString>;
|
|
1334
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1335
1335
|
coopname: string;
|
|
1336
|
-
kuName: string;
|
|
1337
1336
|
ordererName: string;
|
|
1338
1337
|
order_id: string;
|
|
1338
|
+
kuName: string;
|
|
1339
1339
|
deepLinkUrl?: string | undefined;
|
|
1340
1340
|
passportReminder?: string | undefined;
|
|
1341
1341
|
}, {
|
|
1342
1342
|
coopname: string;
|
|
1343
|
-
kuName: string;
|
|
1344
1343
|
ordererName: string;
|
|
1345
1344
|
order_id: string;
|
|
1345
|
+
kuName: string;
|
|
1346
1346
|
deepLinkUrl?: string | undefined;
|
|
1347
1347
|
passportReminder?: string | undefined;
|
|
1348
1348
|
}>;
|
|
@@ -1370,20 +1370,20 @@ declare const marketplaceReturnClaimSubmittedPayloadSchema: z.ZodObject<{
|
|
|
1370
1370
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1371
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
1372
|
coopname: string;
|
|
1373
|
-
ordererName: string;
|
|
1374
|
-
order_id: string;
|
|
1375
1373
|
recipientName: string;
|
|
1374
|
+
ordererName: string;
|
|
1376
1375
|
brananame: string;
|
|
1377
1376
|
claim_id: string;
|
|
1377
|
+
order_id: string;
|
|
1378
1378
|
reasonExcerpt: string;
|
|
1379
1379
|
deepLinkUrl?: string | undefined;
|
|
1380
1380
|
}, {
|
|
1381
1381
|
coopname: string;
|
|
1382
|
-
ordererName: string;
|
|
1383
|
-
order_id: string;
|
|
1384
1382
|
recipientName: string;
|
|
1383
|
+
ordererName: string;
|
|
1385
1384
|
brananame: string;
|
|
1386
1385
|
claim_id: string;
|
|
1386
|
+
order_id: string;
|
|
1387
1387
|
reasonExcerpt: string;
|
|
1388
1388
|
deepLinkUrl?: string | undefined;
|
|
1389
1389
|
}>;
|
|
@@ -1412,18 +1412,18 @@ declare const marketplaceReturnClaimDecidedPayloadSchema: z.ZodObject<{
|
|
|
1412
1412
|
}, "strip", z.ZodTypeAny, {
|
|
1413
1413
|
coopname: string;
|
|
1414
1414
|
ordererName: string;
|
|
1415
|
-
order_id: string;
|
|
1416
1415
|
brananame: string;
|
|
1417
1416
|
claim_id: string;
|
|
1417
|
+
order_id: string;
|
|
1418
1418
|
decisionHuman: string;
|
|
1419
1419
|
comment: string;
|
|
1420
1420
|
deepLinkUrl?: string | undefined;
|
|
1421
1421
|
}, {
|
|
1422
1422
|
coopname: string;
|
|
1423
1423
|
ordererName: string;
|
|
1424
|
-
order_id: string;
|
|
1425
1424
|
brananame: string;
|
|
1426
1425
|
claim_id: string;
|
|
1426
|
+
order_id: string;
|
|
1427
1427
|
decisionHuman: string;
|
|
1428
1428
|
comment: string;
|
|
1429
1429
|
deepLinkUrl?: string | undefined;
|
|
@@ -1449,19 +1449,21 @@ 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>;
|
|
1460
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1461
1463
|
coopname: string;
|
|
1462
1464
|
ordererName: string;
|
|
1463
|
-
order_id: string;
|
|
1464
1465
|
claim_id: string;
|
|
1466
|
+
order_id: string;
|
|
1465
1467
|
outcomeHuman: string;
|
|
1466
1468
|
returnedAmountSuffix: string;
|
|
1467
1469
|
deepLinkUrl?: string | undefined;
|
|
@@ -1469,8 +1471,8 @@ declare const marketplaceReturnClaimFinalizedPayloadSchema: z.ZodObject<{
|
|
|
1469
1471
|
}, {
|
|
1470
1472
|
coopname: string;
|
|
1471
1473
|
ordererName: string;
|
|
1472
|
-
order_id: string;
|
|
1473
1474
|
claim_id: string;
|
|
1475
|
+
order_id: string;
|
|
1474
1476
|
outcomeHuman: string;
|
|
1475
1477
|
deepLinkUrl?: string | undefined;
|
|
1476
1478
|
returnedAmount?: string | undefined;
|
|
@@ -1501,17 +1503,17 @@ declare const marketplaceWriteoffDraftBuiltPayloadSchema: z.ZodObject<{
|
|
|
1501
1503
|
coopname: string;
|
|
1502
1504
|
chairmanName: string;
|
|
1503
1505
|
proposal_id: string;
|
|
1504
|
-
trigger: string;
|
|
1505
1506
|
itemsCount: number;
|
|
1506
1507
|
totalAmount: string;
|
|
1508
|
+
trigger: string;
|
|
1507
1509
|
deepLinkUrl?: string | undefined;
|
|
1508
1510
|
}, {
|
|
1509
1511
|
coopname: string;
|
|
1510
1512
|
chairmanName: string;
|
|
1511
1513
|
proposal_id: string;
|
|
1512
|
-
trigger: string;
|
|
1513
1514
|
itemsCount: number;
|
|
1514
1515
|
totalAmount: string;
|
|
1516
|
+
trigger: string;
|
|
1515
1517
|
deepLinkUrl?: string | undefined;
|
|
1516
1518
|
}>;
|
|
1517
1519
|
type IPayload$j = z.infer<typeof marketplaceWriteoffDraftBuiltPayloadSchema>;
|
|
@@ -1537,19 +1539,19 @@ declare const marketplaceWriteoffProposedPayloadSchema: z.ZodObject<{
|
|
|
1537
1539
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1538
1540
|
}, "strip", z.ZodTypeAny, {
|
|
1539
1541
|
coopname: string;
|
|
1542
|
+
recipientName: string;
|
|
1540
1543
|
proposal_id: string;
|
|
1544
|
+
proposal_hash: string;
|
|
1541
1545
|
itemsCount: number;
|
|
1542
1546
|
totalAmount: string;
|
|
1543
|
-
recipientName: string;
|
|
1544
|
-
proposal_hash: string;
|
|
1545
1547
|
deepLinkUrl?: string | undefined;
|
|
1546
1548
|
}, {
|
|
1547
1549
|
coopname: string;
|
|
1550
|
+
recipientName: string;
|
|
1548
1551
|
proposal_id: string;
|
|
1552
|
+
proposal_hash: string;
|
|
1549
1553
|
itemsCount: number;
|
|
1550
1554
|
totalAmount: string;
|
|
1551
|
-
recipientName: string;
|
|
1552
|
-
proposal_hash: string;
|
|
1553
1555
|
deepLinkUrl?: string | undefined;
|
|
1554
1556
|
}>;
|
|
1555
1557
|
type IPayload$i = z.infer<typeof marketplaceWriteoffProposedPayloadSchema>;
|
|
@@ -1575,19 +1577,19 @@ declare const marketplaceWriteoffAuthorizedPayloadSchema: z.ZodObject<{
|
|
|
1575
1577
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1576
1578
|
}, "strip", z.ZodTypeAny, {
|
|
1577
1579
|
coopname: string;
|
|
1580
|
+
recipientName: string;
|
|
1578
1581
|
proposal_id: string;
|
|
1582
|
+
proposal_hash: string;
|
|
1579
1583
|
itemsCount: number;
|
|
1580
1584
|
totalAmount: string;
|
|
1581
|
-
recipientName: string;
|
|
1582
|
-
proposal_hash: string;
|
|
1583
1585
|
deepLinkUrl?: string | undefined;
|
|
1584
1586
|
}, {
|
|
1585
1587
|
coopname: string;
|
|
1588
|
+
recipientName: string;
|
|
1586
1589
|
proposal_id: string;
|
|
1590
|
+
proposal_hash: string;
|
|
1587
1591
|
itemsCount: number;
|
|
1588
1592
|
totalAmount: string;
|
|
1589
|
-
recipientName: string;
|
|
1590
|
-
proposal_hash: string;
|
|
1591
1593
|
deepLinkUrl?: string | undefined;
|
|
1592
1594
|
}>;
|
|
1593
1595
|
type IPayload$h = z.infer<typeof marketplaceWriteoffAuthorizedPayloadSchema>;
|
|
@@ -1613,19 +1615,19 @@ declare const marketplaceWriteoffExecutedPayloadSchema: z.ZodObject<{
|
|
|
1613
1615
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1614
1616
|
}, "strip", z.ZodTypeAny, {
|
|
1615
1617
|
coopname: string;
|
|
1618
|
+
recipientName: string;
|
|
1616
1619
|
proposal_id: string;
|
|
1620
|
+
proposal_hash: string;
|
|
1617
1621
|
itemsCount: number;
|
|
1618
1622
|
totalAmount: string;
|
|
1619
|
-
recipientName: string;
|
|
1620
|
-
proposal_hash: string;
|
|
1621
1623
|
deepLinkUrl?: string | undefined;
|
|
1622
1624
|
}, {
|
|
1623
1625
|
coopname: string;
|
|
1626
|
+
recipientName: string;
|
|
1624
1627
|
proposal_id: string;
|
|
1628
|
+
proposal_hash: string;
|
|
1625
1629
|
itemsCount: number;
|
|
1626
1630
|
totalAmount: string;
|
|
1627
|
-
recipientName: string;
|
|
1628
|
-
proposal_hash: string;
|
|
1629
1631
|
deepLinkUrl?: string | undefined;
|
|
1630
1632
|
}>;
|
|
1631
1633
|
type IPayload$g = z.infer<typeof marketplaceWriteoffExecutedPayloadSchema>;
|
|
@@ -1651,15 +1653,15 @@ declare const marketplaceWriteoffRejectedPayloadSchema: z.ZodObject<{
|
|
|
1651
1653
|
}, "strip", z.ZodTypeAny, {
|
|
1652
1654
|
coopname: string;
|
|
1653
1655
|
reason: string;
|
|
1654
|
-
proposal_id: string;
|
|
1655
1656
|
recipientName: string;
|
|
1657
|
+
proposal_id: string;
|
|
1656
1658
|
proposal_hash: string;
|
|
1657
1659
|
deepLinkUrl?: string | undefined;
|
|
1658
1660
|
}, {
|
|
1659
1661
|
coopname: string;
|
|
1660
1662
|
reason: string;
|
|
1661
|
-
proposal_id: string;
|
|
1662
1663
|
recipientName: string;
|
|
1664
|
+
proposal_id: string;
|
|
1663
1665
|
proposal_hash: string;
|
|
1664
1666
|
deepLinkUrl?: string | undefined;
|
|
1665
1667
|
}>;
|
|
@@ -1685,16 +1687,16 @@ declare const marketplaceNewOrderForSupplierPayloadSchema: z.ZodObject<{
|
|
|
1685
1687
|
order_id: z.ZodString;
|
|
1686
1688
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1687
1689
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
quantity: number;
|
|
1689
1690
|
coopname: string;
|
|
1691
|
+
quantity: number;
|
|
1690
1692
|
supplierName: string;
|
|
1691
1693
|
ordererName: string;
|
|
1692
1694
|
order_id: string;
|
|
1693
1695
|
totalCost: string;
|
|
1694
1696
|
deepLinkUrl?: string | undefined;
|
|
1695
1697
|
}, {
|
|
1696
|
-
quantity: number;
|
|
1697
1698
|
coopname: string;
|
|
1699
|
+
quantity: number;
|
|
1698
1700
|
supplierName: string;
|
|
1699
1701
|
ordererName: string;
|
|
1700
1702
|
order_id: string;
|
|
@@ -1725,18 +1727,18 @@ declare const marketplaceReturnAcceptedSupplierPayloadSchema: z.ZodObject<{
|
|
|
1725
1727
|
}, "strip", z.ZodTypeAny, {
|
|
1726
1728
|
coopname: string;
|
|
1727
1729
|
supplierName: string;
|
|
1728
|
-
kuName: string;
|
|
1729
|
-
order_id: string;
|
|
1730
1730
|
claim_id: string;
|
|
1731
|
+
order_id: string;
|
|
1731
1732
|
reasonExcerpt: string;
|
|
1733
|
+
kuName: string;
|
|
1732
1734
|
deepLinkUrl?: string | undefined;
|
|
1733
1735
|
}, {
|
|
1734
1736
|
coopname: string;
|
|
1735
1737
|
supplierName: string;
|
|
1736
|
-
kuName: string;
|
|
1737
|
-
order_id: string;
|
|
1738
1738
|
claim_id: string;
|
|
1739
|
+
order_id: string;
|
|
1739
1740
|
reasonExcerpt: string;
|
|
1741
|
+
kuName: string;
|
|
1740
1742
|
deepLinkUrl?: string | undefined;
|
|
1741
1743
|
}>;
|
|
1742
1744
|
type IPayload$d = z.infer<typeof marketplaceReturnAcceptedSupplierPayloadSchema>;
|
|
@@ -1762,18 +1764,18 @@ declare const marketplaceOrderDeclinedBySupplierPayloadSchema: z.ZodObject<{
|
|
|
1762
1764
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1763
1765
|
}, "strip", z.ZodTypeAny, {
|
|
1764
1766
|
coopname: string;
|
|
1765
|
-
kuName: string;
|
|
1766
1767
|
ordererName: string;
|
|
1767
1768
|
order_id: string;
|
|
1768
1769
|
reasonExcerpt: string;
|
|
1770
|
+
kuName: string;
|
|
1769
1771
|
productName: string;
|
|
1770
1772
|
deepLinkUrl?: string | undefined;
|
|
1771
1773
|
}, {
|
|
1772
1774
|
coopname: string;
|
|
1773
|
-
kuName: string;
|
|
1774
1775
|
ordererName: string;
|
|
1775
1776
|
order_id: string;
|
|
1776
1777
|
reasonExcerpt: string;
|
|
1778
|
+
kuName: string;
|
|
1777
1779
|
productName: string;
|
|
1778
1780
|
deepLinkUrl?: string | undefined;
|
|
1779
1781
|
}>;
|
|
@@ -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
|
}>;
|
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
|
}
|