@coopenomics/notifications 2026.9.4 → 2026.9.8-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -3
- package/dist/index.d.cts +86 -81
- package/dist/index.d.mts +86 -81
- package/dist/index.d.ts +86 -81
- package/dist/index.mjs +6 -3
- package/package.json +2 -2
- package/src/workflows/email-verification/index.ts +10 -5
package/dist/index.cjs
CHANGED
|
@@ -3056,15 +3056,18 @@ const index$B = {
|
|
|
3056
3056
|
};
|
|
3057
3057
|
|
|
3058
3058
|
const emailVerificationPayloadSchema = zod.z.object({
|
|
3059
|
-
|
|
3059
|
+
/** Шестизначный код подтверждения. */
|
|
3060
|
+
code: zod.z.string(),
|
|
3061
|
+
/** Срок действия кода человеческими словами («15 минут»). */
|
|
3062
|
+
ttl: zod.z.string()
|
|
3060
3063
|
});
|
|
3061
3064
|
const name$z = "\u0412\u0435\u0440\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F Email";
|
|
3062
3065
|
const id$z = slugify(name$z);
|
|
3063
3066
|
const workflow$z = WorkflowBuilder.create().name(name$z).workflowId(id$z).description("\u0412\u0435\u0440\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F email \u0430\u0434\u0440\u0435\u0441\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F").payloadSchema(emailVerificationPayloadSchema).tags(["auth"]).addSteps([
|
|
3064
3067
|
createEmailStep(
|
|
3065
3068
|
"email-verification-email",
|
|
3066
|
-
"
|
|
3067
|
-
'
|
|
3069
|
+
"\u041A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F \u043F\u043E\u0447\u0442\u044B",
|
|
3070
|
+
'\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435, \u0447\u0442\u043E \u044D\u0442\u043E\u0442 \u0430\u0434\u0440\u0435\u0441 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u0438\u0442 \u0432\u0430\u043C.<br><br>\u041A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F: <b style="font-size:20px;letter-spacing:3px">{{payload.code}}</b><br><br>\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0435\u0433\u043E \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435, \u0433\u0434\u0435 \u0437\u0430\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435. \u0412\u0440\u0435\u043C\u044F \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043A\u043E\u0434\u0430 - {{payload.ttl}}.<br><br>\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0451\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430 \u043D\u0443\u0436\u043D\u0430, \u0447\u0442\u043E\u0431\u044B \u0432\u044B \u043C\u043E\u0433\u043B\u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043B\u0438\u0447\u043D\u043E\u043C\u0443 \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0443 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430.<br><br>\u0415\u0441\u043B\u0438 \u0432\u044B \u043D\u0435 \u0437\u0430\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u043B\u0438 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 - \u043F\u0440\u043E\u0438\u0433\u043D\u043E\u0440\u0438\u0440\u0443\u0439\u0442\u0435 \u044D\u0442\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435.'
|
|
3068
3071
|
)
|
|
3069
3072
|
]).build();
|
|
3070
3073
|
|
package/dist/index.d.cts
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
185
|
coopShortName: string;
|
|
187
186
|
itemTitle: string;
|
|
188
187
|
itemDescription: string;
|
|
189
188
|
authorName: string;
|
|
189
|
+
decision_id: string;
|
|
190
190
|
agendaUrl?: string | undefined;
|
|
191
191
|
}, {
|
|
192
192
|
coopname: string;
|
|
193
|
-
decision_id: string;
|
|
194
193
|
coopShortName: string;
|
|
195
194
|
itemTitle: string;
|
|
196
195
|
itemDescription: string;
|
|
197
196
|
authorName: string;
|
|
197
|
+
decision_id: string;
|
|
198
198
|
agendaUrl?: string | undefined;
|
|
199
199
|
}>;
|
|
200
200
|
type IPayload$U = z.infer<typeof newAgendaItemPayloadSchema>;
|
|
@@ -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,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>;
|
|
@@ -343,15 +343,15 @@ declare const paymentCancelledPayloadSchema: z.ZodObject<{
|
|
|
343
343
|
userName: string;
|
|
344
344
|
paymentAmount: string;
|
|
345
345
|
paymentCurrency: string;
|
|
346
|
-
paymentId: string;
|
|
347
346
|
paymentDate: string;
|
|
347
|
+
paymentId: string;
|
|
348
348
|
paymentUrl?: string | undefined;
|
|
349
349
|
}, {
|
|
350
350
|
userName: string;
|
|
351
351
|
paymentAmount: string;
|
|
352
352
|
paymentCurrency: string;
|
|
353
|
-
paymentId: string;
|
|
354
353
|
paymentDate: string;
|
|
354
|
+
paymentId: string;
|
|
355
355
|
paymentUrl?: string | undefined;
|
|
356
356
|
}>;
|
|
357
357
|
type IPayload$P = z.infer<typeof paymentCancelledPayloadSchema>;
|
|
@@ -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;
|
|
417
|
-
meetUrl: string;
|
|
418
415
|
meetEndDate: string;
|
|
419
416
|
meetEndTime: string;
|
|
420
417
|
timezone: string;
|
|
418
|
+
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;
|
|
427
|
-
meetUrl: string;
|
|
428
425
|
meetEndDate: string;
|
|
429
426
|
meetEndTime: string;
|
|
430
427
|
timezone: string;
|
|
428
|
+
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
|
+
meetUrl: string;
|
|
457
458
|
meetDate: string;
|
|
458
459
|
meetTime: string;
|
|
459
460
|
timeDescription: string;
|
|
460
|
-
meetUrl: string;
|
|
461
461
|
details?: string | undefined;
|
|
462
462
|
}, {
|
|
463
463
|
coopShortName: string;
|
|
464
464
|
meetId: number;
|
|
465
|
+
meetUrl: string;
|
|
465
466
|
meetDate: string;
|
|
466
467
|
meetTime: string;
|
|
467
468
|
timeDescription: string;
|
|
468
|
-
meetUrl: string;
|
|
469
469
|
details?: string | undefined;
|
|
470
470
|
}>;
|
|
471
471
|
type IPayload$M = z.infer<typeof meetReminderStartPayloadSchema>;
|
|
@@ -492,18 +492,18 @@ declare const meetStartedPayloadSchema: z.ZodObject<{
|
|
|
492
492
|
}, "strip", z.ZodTypeAny, {
|
|
493
493
|
coopShortName: string;
|
|
494
494
|
meetId: number;
|
|
495
|
-
meetUrl: string;
|
|
496
495
|
meetEndDate: string;
|
|
497
496
|
meetEndTime: string;
|
|
498
497
|
timezone: string;
|
|
498
|
+
meetUrl: string;
|
|
499
499
|
details?: string | undefined;
|
|
500
500
|
}, {
|
|
501
501
|
coopShortName: string;
|
|
502
502
|
meetId: number;
|
|
503
|
-
meetUrl: string;
|
|
504
503
|
meetEndDate: string;
|
|
505
504
|
meetEndTime: string;
|
|
506
505
|
timezone: string;
|
|
506
|
+
meetUrl: string;
|
|
507
507
|
details?: string | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
type IPayload$L = z.infer<typeof meetStartedPayloadSchema>;
|
|
@@ -530,19 +530,19 @@ declare const meetReminderEndPayloadSchema: z.ZodObject<{
|
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
531
|
coopShortName: string;
|
|
532
532
|
meetId: number;
|
|
533
|
-
timeDescription: string;
|
|
534
|
-
meetUrl: string;
|
|
535
533
|
meetEndDate: string;
|
|
536
534
|
meetEndTime: string;
|
|
537
535
|
timezone: string;
|
|
536
|
+
meetUrl: string;
|
|
537
|
+
timeDescription: string;
|
|
538
538
|
}, {
|
|
539
539
|
coopShortName: string;
|
|
540
540
|
meetId: number;
|
|
541
|
-
timeDescription: string;
|
|
542
|
-
meetUrl: string;
|
|
543
541
|
meetEndDate: string;
|
|
544
542
|
meetEndTime: string;
|
|
545
543
|
timezone: string;
|
|
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;
|
|
574
|
-
meetUrl: string;
|
|
575
572
|
meetEndDate: string;
|
|
576
573
|
meetEndTime: string;
|
|
577
574
|
timezone: string;
|
|
575
|
+
meetUrl: string;
|
|
576
|
+
meetDate: string;
|
|
577
|
+
meetTime: string;
|
|
578
578
|
}, {
|
|
579
579
|
coopShortName: string;
|
|
580
580
|
meetId: number;
|
|
581
|
-
meetDate: string;
|
|
582
|
-
meetTime: string;
|
|
583
|
-
meetUrl: string;
|
|
584
581
|
meetEndDate: string;
|
|
585
582
|
meetEndTime: string;
|
|
586
583
|
timezone: string;
|
|
584
|
+
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
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
|
}>;
|
|
@@ -904,11 +904,16 @@ declare namespace index$B {
|
|
|
904
904
|
}
|
|
905
905
|
|
|
906
906
|
declare const emailVerificationPayloadSchema: z.ZodObject<{
|
|
907
|
-
|
|
907
|
+
/** Шестизначный код подтверждения. */
|
|
908
|
+
code: z.ZodString;
|
|
909
|
+
/** Срок действия кода человеческими словами («15 минут»). */
|
|
910
|
+
ttl: z.ZodString;
|
|
908
911
|
}, "strip", z.ZodTypeAny, {
|
|
909
|
-
|
|
912
|
+
code: string;
|
|
913
|
+
ttl: string;
|
|
910
914
|
}, {
|
|
911
|
-
|
|
915
|
+
code: string;
|
|
916
|
+
ttl: string;
|
|
912
917
|
}>;
|
|
913
918
|
type IPayload$z = z.infer<typeof emailVerificationPayloadSchema>;
|
|
914
919
|
interface IWorkflow$z extends BaseWorkflowPayload, IPayload$z {
|
|
@@ -977,17 +982,17 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
|
|
|
977
982
|
short_abbr: z.ZodString;
|
|
978
983
|
name: z.ZodString;
|
|
979
984
|
}, "strip", z.ZodTypeAny, {
|
|
980
|
-
userName: string;
|
|
981
|
-
decisionTitle: string;
|
|
982
985
|
coopname: string;
|
|
983
986
|
decision_id: string;
|
|
987
|
+
userName: string;
|
|
988
|
+
decisionTitle: string;
|
|
984
989
|
short_abbr: string;
|
|
985
990
|
name: string;
|
|
986
991
|
}, {
|
|
987
|
-
userName: string;
|
|
988
|
-
decisionTitle: string;
|
|
989
992
|
coopname: string;
|
|
990
993
|
decision_id: string;
|
|
994
|
+
userName: string;
|
|
995
|
+
decisionTitle: string;
|
|
991
996
|
short_abbr: string;
|
|
992
997
|
name: string;
|
|
993
998
|
}>;
|
|
@@ -1185,15 +1190,15 @@ declare const marketplaceAplReceptionCancelledBySupplierPayloadSchema: z.ZodObje
|
|
|
1185
1190
|
coopname: string;
|
|
1186
1191
|
supplierName: string;
|
|
1187
1192
|
apl_reception_id: string;
|
|
1188
|
-
kuName: string;
|
|
1189
1193
|
operatorName: string;
|
|
1194
|
+
kuName: string;
|
|
1190
1195
|
deepLinkUrl?: string | undefined;
|
|
1191
1196
|
}, {
|
|
1192
1197
|
coopname: string;
|
|
1193
1198
|
supplierName: string;
|
|
1194
1199
|
apl_reception_id: string;
|
|
1195
|
-
kuName: string;
|
|
1196
1200
|
operatorName: string;
|
|
1201
|
+
kuName: string;
|
|
1197
1202
|
deepLinkUrl?: string | undefined;
|
|
1198
1203
|
}>;
|
|
1199
1204
|
type IPayload$r = z.infer<typeof marketplaceAplReceptionCancelledBySupplierPayloadSchema>;
|
|
@@ -1219,19 +1224,19 @@ declare const marketplaceCashierNewPaymentPayloadSchema: z.ZodObject<{
|
|
|
1219
1224
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1220
1225
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1226
|
coopname: string;
|
|
1227
|
+
cashierName: string;
|
|
1222
1228
|
supplierName: string;
|
|
1223
1229
|
amount: string;
|
|
1224
1230
|
apl_reception_id: string;
|
|
1225
1231
|
payment_request_id: string;
|
|
1226
|
-
cashierName: string;
|
|
1227
1232
|
deepLinkUrl?: string | undefined;
|
|
1228
1233
|
}, {
|
|
1229
1234
|
coopname: string;
|
|
1235
|
+
cashierName: string;
|
|
1230
1236
|
supplierName: string;
|
|
1231
1237
|
amount: string;
|
|
1232
1238
|
apl_reception_id: string;
|
|
1233
1239
|
payment_request_id: string;
|
|
1234
|
-
cashierName: string;
|
|
1235
1240
|
deepLinkUrl?: string | undefined;
|
|
1236
1241
|
}>;
|
|
1237
1242
|
type IPayload$q = z.infer<typeof marketplaceCashierNewPaymentPayloadSchema>;
|
|
@@ -1297,17 +1302,17 @@ declare const marketplaceSupplierPaymentDeclinedPayloadSchema: z.ZodObject<{
|
|
|
1297
1302
|
coopname: string;
|
|
1298
1303
|
supplierName: string;
|
|
1299
1304
|
amount: string;
|
|
1300
|
-
reason: string;
|
|
1301
1305
|
apl_reception_id: string;
|
|
1302
1306
|
payment_request_id: string;
|
|
1307
|
+
reason: string;
|
|
1303
1308
|
deepLinkUrl?: string | undefined;
|
|
1304
1309
|
}, {
|
|
1305
1310
|
coopname: string;
|
|
1306
1311
|
supplierName: string;
|
|
1307
1312
|
amount: string;
|
|
1308
|
-
reason: string;
|
|
1309
1313
|
apl_reception_id: string;
|
|
1310
1314
|
payment_request_id: string;
|
|
1315
|
+
reason: string;
|
|
1311
1316
|
deepLinkUrl?: string | undefined;
|
|
1312
1317
|
}>;
|
|
1313
1318
|
type IPayload$o = z.infer<typeof marketplaceSupplierPaymentDeclinedPayloadSchema>;
|
|
@@ -1371,18 +1376,18 @@ declare const marketplaceReturnClaimSubmittedPayloadSchema: z.ZodObject<{
|
|
|
1371
1376
|
}, "strip", z.ZodTypeAny, {
|
|
1372
1377
|
coopname: string;
|
|
1373
1378
|
ordererName: string;
|
|
1374
|
-
brananame: string;
|
|
1375
1379
|
claim_id: string;
|
|
1376
1380
|
order_id: string;
|
|
1381
|
+
brananame: string;
|
|
1377
1382
|
recipientName: string;
|
|
1378
1383
|
reasonExcerpt: string;
|
|
1379
1384
|
deepLinkUrl?: string | undefined;
|
|
1380
1385
|
}, {
|
|
1381
1386
|
coopname: string;
|
|
1382
1387
|
ordererName: string;
|
|
1383
|
-
brananame: string;
|
|
1384
1388
|
claim_id: string;
|
|
1385
1389
|
order_id: string;
|
|
1390
|
+
brananame: string;
|
|
1386
1391
|
recipientName: string;
|
|
1387
1392
|
reasonExcerpt: string;
|
|
1388
1393
|
deepLinkUrl?: string | undefined;
|
|
@@ -1412,19 +1417,19 @@ declare const marketplaceReturnClaimDecidedPayloadSchema: z.ZodObject<{
|
|
|
1412
1417
|
}, "strip", z.ZodTypeAny, {
|
|
1413
1418
|
coopname: string;
|
|
1414
1419
|
ordererName: string;
|
|
1415
|
-
decisionHuman: string;
|
|
1416
|
-
brananame: string;
|
|
1417
1420
|
claim_id: string;
|
|
1418
1421
|
order_id: string;
|
|
1422
|
+
decisionHuman: string;
|
|
1423
|
+
brananame: string;
|
|
1419
1424
|
comment: string;
|
|
1420
1425
|
deepLinkUrl?: string | undefined;
|
|
1421
1426
|
}, {
|
|
1422
1427
|
coopname: string;
|
|
1423
1428
|
ordererName: string;
|
|
1424
|
-
decisionHuman: string;
|
|
1425
|
-
brananame: string;
|
|
1426
1429
|
claim_id: string;
|
|
1427
1430
|
order_id: string;
|
|
1431
|
+
decisionHuman: string;
|
|
1432
|
+
brananame: string;
|
|
1428
1433
|
comment: string;
|
|
1429
1434
|
deepLinkUrl?: string | undefined;
|
|
1430
1435
|
}>;
|
|
@@ -1462,18 +1467,18 @@ declare const marketplaceReturnClaimFinalizedPayloadSchema: z.ZodObject<{
|
|
|
1462
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1463
1468
|
coopname: string;
|
|
1464
1469
|
ordererName: string;
|
|
1470
|
+
outcomeHuman: string;
|
|
1465
1471
|
claim_id: string;
|
|
1466
1472
|
order_id: string;
|
|
1467
|
-
outcomeHuman: string;
|
|
1468
1473
|
returnedAmountSuffix: string;
|
|
1469
1474
|
deepLinkUrl?: string | undefined;
|
|
1470
1475
|
returnedAmount?: string | undefined;
|
|
1471
1476
|
}, {
|
|
1472
1477
|
coopname: string;
|
|
1473
1478
|
ordererName: string;
|
|
1479
|
+
outcomeHuman: string;
|
|
1474
1480
|
claim_id: string;
|
|
1475
1481
|
order_id: string;
|
|
1476
|
-
outcomeHuman: string;
|
|
1477
1482
|
deepLinkUrl?: string | undefined;
|
|
1478
1483
|
returnedAmount?: string | undefined;
|
|
1479
1484
|
returnedAmountSuffix?: string | undefined;
|
|
@@ -1503,17 +1508,17 @@ declare const marketplaceWriteoffDraftBuiltPayloadSchema: z.ZodObject<{
|
|
|
1503
1508
|
coopname: string;
|
|
1504
1509
|
chairmanName: string;
|
|
1505
1510
|
proposal_id: string;
|
|
1511
|
+
trigger: string;
|
|
1506
1512
|
itemsCount: number;
|
|
1507
1513
|
totalAmount: string;
|
|
1508
|
-
trigger: string;
|
|
1509
1514
|
deepLinkUrl?: string | undefined;
|
|
1510
1515
|
}, {
|
|
1511
1516
|
coopname: string;
|
|
1512
1517
|
chairmanName: string;
|
|
1513
1518
|
proposal_id: string;
|
|
1519
|
+
trigger: string;
|
|
1514
1520
|
itemsCount: number;
|
|
1515
1521
|
totalAmount: string;
|
|
1516
|
-
trigger: string;
|
|
1517
1522
|
deepLinkUrl?: string | undefined;
|
|
1518
1523
|
}>;
|
|
1519
1524
|
type IPayload$j = z.infer<typeof marketplaceWriteoffDraftBuiltPayloadSchema>;
|
|
@@ -1539,19 +1544,19 @@ declare const marketplaceWriteoffProposedPayloadSchema: z.ZodObject<{
|
|
|
1539
1544
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1540
1545
|
}, "strip", z.ZodTypeAny, {
|
|
1541
1546
|
coopname: string;
|
|
1542
|
-
recipientName: string;
|
|
1543
1547
|
proposal_id: string;
|
|
1544
|
-
proposal_hash: string;
|
|
1545
1548
|
itemsCount: number;
|
|
1546
1549
|
totalAmount: string;
|
|
1550
|
+
recipientName: string;
|
|
1551
|
+
proposal_hash: string;
|
|
1547
1552
|
deepLinkUrl?: string | undefined;
|
|
1548
1553
|
}, {
|
|
1549
1554
|
coopname: string;
|
|
1550
|
-
recipientName: string;
|
|
1551
1555
|
proposal_id: string;
|
|
1552
|
-
proposal_hash: string;
|
|
1553
1556
|
itemsCount: number;
|
|
1554
1557
|
totalAmount: string;
|
|
1558
|
+
recipientName: string;
|
|
1559
|
+
proposal_hash: string;
|
|
1555
1560
|
deepLinkUrl?: string | undefined;
|
|
1556
1561
|
}>;
|
|
1557
1562
|
type IPayload$i = z.infer<typeof marketplaceWriteoffProposedPayloadSchema>;
|
|
@@ -1577,19 +1582,19 @@ declare const marketplaceWriteoffAuthorizedPayloadSchema: z.ZodObject<{
|
|
|
1577
1582
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1578
1583
|
}, "strip", z.ZodTypeAny, {
|
|
1579
1584
|
coopname: string;
|
|
1580
|
-
recipientName: string;
|
|
1581
1585
|
proposal_id: string;
|
|
1582
|
-
proposal_hash: string;
|
|
1583
1586
|
itemsCount: number;
|
|
1584
1587
|
totalAmount: string;
|
|
1588
|
+
recipientName: string;
|
|
1589
|
+
proposal_hash: string;
|
|
1585
1590
|
deepLinkUrl?: string | undefined;
|
|
1586
1591
|
}, {
|
|
1587
1592
|
coopname: string;
|
|
1588
|
-
recipientName: string;
|
|
1589
1593
|
proposal_id: string;
|
|
1590
|
-
proposal_hash: string;
|
|
1591
1594
|
itemsCount: number;
|
|
1592
1595
|
totalAmount: string;
|
|
1596
|
+
recipientName: string;
|
|
1597
|
+
proposal_hash: string;
|
|
1593
1598
|
deepLinkUrl?: string | undefined;
|
|
1594
1599
|
}>;
|
|
1595
1600
|
type IPayload$h = z.infer<typeof marketplaceWriteoffAuthorizedPayloadSchema>;
|
|
@@ -1615,19 +1620,19 @@ declare const marketplaceWriteoffExecutedPayloadSchema: z.ZodObject<{
|
|
|
1615
1620
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1616
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1617
1622
|
coopname: string;
|
|
1618
|
-
recipientName: string;
|
|
1619
1623
|
proposal_id: string;
|
|
1620
|
-
proposal_hash: string;
|
|
1621
1624
|
itemsCount: number;
|
|
1622
1625
|
totalAmount: string;
|
|
1626
|
+
recipientName: string;
|
|
1627
|
+
proposal_hash: string;
|
|
1623
1628
|
deepLinkUrl?: string | undefined;
|
|
1624
1629
|
}, {
|
|
1625
1630
|
coopname: string;
|
|
1626
|
-
recipientName: string;
|
|
1627
1631
|
proposal_id: string;
|
|
1628
|
-
proposal_hash: string;
|
|
1629
1632
|
itemsCount: number;
|
|
1630
1633
|
totalAmount: string;
|
|
1634
|
+
recipientName: string;
|
|
1635
|
+
proposal_hash: string;
|
|
1631
1636
|
deepLinkUrl?: string | undefined;
|
|
1632
1637
|
}>;
|
|
1633
1638
|
type IPayload$g = z.infer<typeof marketplaceWriteoffExecutedPayloadSchema>;
|
|
@@ -1652,16 +1657,16 @@ declare const marketplaceWriteoffRejectedPayloadSchema: z.ZodObject<{
|
|
|
1652
1657
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1653
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1654
1659
|
coopname: string;
|
|
1660
|
+
proposal_id: string;
|
|
1655
1661
|
reason: string;
|
|
1656
1662
|
recipientName: string;
|
|
1657
|
-
proposal_id: string;
|
|
1658
1663
|
proposal_hash: string;
|
|
1659
1664
|
deepLinkUrl?: string | undefined;
|
|
1660
1665
|
}, {
|
|
1661
1666
|
coopname: string;
|
|
1667
|
+
proposal_id: string;
|
|
1662
1668
|
reason: string;
|
|
1663
1669
|
recipientName: string;
|
|
1664
|
-
proposal_id: string;
|
|
1665
1670
|
proposal_hash: string;
|
|
1666
1671
|
deepLinkUrl?: string | undefined;
|
|
1667
1672
|
}>;
|
|
@@ -1687,16 +1692,16 @@ declare const marketplaceNewOrderForSupplierPayloadSchema: z.ZodObject<{
|
|
|
1687
1692
|
order_id: z.ZodString;
|
|
1688
1693
|
deepLinkUrl: z.ZodOptional<z.ZodString>;
|
|
1689
1694
|
}, "strip", z.ZodTypeAny, {
|
|
1690
|
-
coopname: string;
|
|
1691
1695
|
quantity: number;
|
|
1696
|
+
coopname: string;
|
|
1692
1697
|
supplierName: string;
|
|
1693
1698
|
ordererName: string;
|
|
1694
1699
|
order_id: string;
|
|
1695
1700
|
totalCost: string;
|
|
1696
1701
|
deepLinkUrl?: string | undefined;
|
|
1697
1702
|
}, {
|
|
1698
|
-
coopname: string;
|
|
1699
1703
|
quantity: number;
|
|
1704
|
+
coopname: string;
|
|
1700
1705
|
supplierName: string;
|
|
1701
1706
|
ordererName: string;
|
|
1702
1707
|
order_id: string;
|
|
@@ -2095,13 +2100,13 @@ declare const branchVotingStartedPayloadSchema: z.ZodObject<{
|
|
|
2095
2100
|
}, "strip", z.ZodTypeAny, {
|
|
2096
2101
|
coopShortName: string;
|
|
2097
2102
|
meetPlace: string;
|
|
2098
|
-
closeAtTime: string;
|
|
2099
2103
|
meetingUrl: string;
|
|
2104
|
+
closeAtTime: string;
|
|
2100
2105
|
}, {
|
|
2101
2106
|
coopShortName: string;
|
|
2102
2107
|
meetPlace: string;
|
|
2103
|
-
closeAtTime: string;
|
|
2104
2108
|
meetingUrl: string;
|
|
2109
|
+
closeAtTime: string;
|
|
2105
2110
|
}>;
|
|
2106
2111
|
type IPayload$3 = z.infer<typeof branchVotingStartedPayloadSchema>;
|
|
2107
2112
|
interface IWorkflow$3 extends BaseWorkflowPayload, IPayload$3 {
|
|
@@ -2124,13 +2129,13 @@ declare const branchMeetingReminderPayloadSchema: z.ZodObject<{
|
|
|
2124
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2125
2130
|
coopShortName: string;
|
|
2126
2131
|
meetPlace: string;
|
|
2127
|
-
meetingUrl: string;
|
|
2128
2132
|
meetAtTime: string;
|
|
2133
|
+
meetingUrl: string;
|
|
2129
2134
|
}, {
|
|
2130
2135
|
coopShortName: string;
|
|
2131
2136
|
meetPlace: string;
|
|
2132
|
-
meetingUrl: string;
|
|
2133
2137
|
meetAtTime: string;
|
|
2138
|
+
meetingUrl: string;
|
|
2134
2139
|
}>;
|
|
2135
2140
|
type IPayload$2 = z.infer<typeof branchMeetingReminderPayloadSchema>;
|
|
2136
2141
|
interface IWorkflow$2 extends BaseWorkflowPayload, IPayload$2 {
|
|
@@ -2151,12 +2156,12 @@ declare const branchTrustedRequestedPayloadSchema: z.ZodObject<{
|
|
|
2151
2156
|
branchUrl: z.ZodString;
|
|
2152
2157
|
}, "strip", z.ZodTypeAny, {
|
|
2153
2158
|
coopShortName: string;
|
|
2154
|
-
branchUrl: string;
|
|
2155
2159
|
applicantName: string;
|
|
2160
|
+
branchUrl: string;
|
|
2156
2161
|
}, {
|
|
2157
2162
|
coopShortName: string;
|
|
2158
|
-
branchUrl: string;
|
|
2159
2163
|
applicantName: string;
|
|
2164
|
+
branchUrl: string;
|
|
2160
2165
|
}>;
|
|
2161
2166
|
type IPayload$1 = z.infer<typeof branchTrustedRequestedPayloadSchema>;
|
|
2162
2167
|
interface IWorkflow$1 extends BaseWorkflowPayload, IPayload$1 {
|
|
@@ -2177,12 +2182,12 @@ declare const branchTrustedResolvedPayloadSchema: z.ZodObject<{
|
|
|
2177
2182
|
branchUrl: z.ZodString;
|
|
2178
2183
|
}, "strip", z.ZodTypeAny, {
|
|
2179
2184
|
coopShortName: string;
|
|
2180
|
-
resolution: string;
|
|
2181
2185
|
branchUrl: string;
|
|
2186
|
+
resolution: string;
|
|
2182
2187
|
}, {
|
|
2183
2188
|
coopShortName: string;
|
|
2184
|
-
resolution: string;
|
|
2185
2189
|
branchUrl: string;
|
|
2190
|
+
resolution: string;
|
|
2186
2191
|
}>;
|
|
2187
2192
|
type IPayload = z.infer<typeof branchTrustedResolvedPayloadSchema>;
|
|
2188
2193
|
interface IWorkflow extends BaseWorkflowPayload, IPayload {
|