@coopenomics/notifications 2026.4.27-2 → 2026.4.30-3

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.d.cts CHANGED
@@ -181,20 +181,20 @@ declare const newAgendaItemPayloadSchema: z.ZodObject<{
181
181
  decision_id: z.ZodString;
182
182
  agendaUrl: z.ZodOptional<z.ZodString>;
183
183
  }, "strip", z.ZodTypeAny, {
184
+ authorName: string;
184
185
  coopname: string;
185
186
  coopShortName: string;
187
+ decision_id: string;
186
188
  itemTitle: string;
187
189
  itemDescription: string;
188
- authorName: string;
189
- decision_id: string;
190
190
  agendaUrl?: string | undefined;
191
191
  }, {
192
+ authorName: string;
192
193
  coopname: string;
193
194
  coopShortName: string;
195
+ decision_id: string;
194
196
  itemTitle: string;
195
197
  itemDescription: string;
196
- authorName: string;
197
- decision_id: string;
198
198
  agendaUrl?: string | undefined;
199
199
  }>;
200
200
  type IPayload$l = z.infer<typeof newAgendaItemPayloadSchema>;
@@ -239,19 +239,19 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
239
239
  approval_hash: z.ZodString;
240
240
  approvalUrl: z.ZodOptional<z.ZodString>;
241
241
  }, "strip", z.ZodTypeAny, {
242
- coopname: string;
243
- authorName: string;
244
242
  chairmanName: string;
245
243
  requestTitle: string;
246
244
  requestDescription: string;
245
+ authorName: string;
246
+ coopname: string;
247
247
  approval_hash: string;
248
248
  approvalUrl?: string | undefined;
249
249
  }, {
250
- coopname: string;
251
- authorName: string;
252
250
  chairmanName: string;
253
251
  requestTitle: string;
254
252
  requestDescription: string;
253
+ authorName: string;
254
+ coopname: string;
255
255
  approval_hash: string;
256
256
  approvalUrl?: string | undefined;
257
257
  }>;
@@ -276,15 +276,15 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
276
276
  decisionUrl: z.ZodOptional<z.ZodString>;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  coopname: string;
279
- decision_id: string;
280
279
  userName: string;
281
280
  decisionTitle: string;
281
+ decision_id: string;
282
282
  decisionUrl?: string | undefined;
283
283
  }, {
284
284
  coopname: string;
285
- decision_id: string;
286
285
  userName: string;
287
286
  decisionTitle: string;
287
+ decision_id: string;
288
288
  decisionUrl?: string | undefined;
289
289
  }>;
290
290
  type IPayload$i = 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
- 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$g = z.infer<typeof paymentCancelledPayloadSchema>;
@@ -611,16 +611,16 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
611
611
  approvalUrl: z.ZodOptional<z.ZodString>;
612
612
  }, "strip", z.ZodTypeAny, {
613
613
  coopname: string;
614
- coopShortName: string;
615
614
  userName: string;
615
+ coopShortName: string;
616
616
  approvalStatus: "approved" | "declined";
617
617
  approvalStatusText: string;
618
618
  approvalId: string;
619
619
  approvalUrl?: string | undefined;
620
620
  }, {
621
621
  coopname: string;
622
- coopShortName: string;
623
622
  userName: string;
623
+ coopShortName: string;
624
624
  approvalStatus: "approved" | "declined";
625
625
  approvalStatusText: string;
626
626
  approvalId: string;
@@ -648,19 +648,19 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
648
648
  coopname: z.ZodString;
649
649
  paymentUrl: z.ZodOptional<z.ZodString>;
650
650
  }, "strip", z.ZodTypeAny, {
651
- coopname: string;
652
651
  chairmanName: string;
653
- participantName: string;
652
+ coopname: string;
654
653
  paymentAmount: string;
655
654
  paymentCurrency: string;
655
+ participantName: string;
656
656
  paymentType: string;
657
657
  paymentUrl?: string | undefined;
658
658
  }, {
659
- coopname: string;
660
659
  chairmanName: string;
661
- participantName: string;
660
+ coopname: string;
662
661
  paymentAmount: string;
663
662
  paymentCurrency: string;
663
+ participantName: string;
664
664
  paymentType: string;
665
665
  paymentUrl?: string | undefined;
666
666
  }>;
@@ -686,19 +686,19 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
686
686
  coopname: z.ZodString;
687
687
  paymentUrl: z.ZodOptional<z.ZodString>;
688
688
  }, "strip", z.ZodTypeAny, {
689
- coopname: string;
690
689
  chairmanName: string;
691
- participantName: string;
690
+ coopname: string;
692
691
  paymentAmount: string;
693
692
  paymentCurrency: string;
693
+ participantName: string;
694
694
  paymentType: string;
695
695
  paymentUrl?: string | undefined;
696
696
  }, {
697
- coopname: string;
698
697
  chairmanName: string;
699
- participantName: string;
698
+ coopname: string;
700
699
  paymentAmount: string;
701
700
  paymentCurrency: string;
701
+ participantName: string;
702
702
  paymentType: string;
703
703
  paymentUrl?: string | undefined;
704
704
  }>;
@@ -810,16 +810,16 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
810
810
  name: z.ZodString;
811
811
  }, "strip", z.ZodTypeAny, {
812
812
  coopname: string;
813
- decision_id: string;
814
813
  userName: string;
815
814
  decisionTitle: string;
815
+ decision_id: string;
816
816
  short_abbr: string;
817
817
  name: string;
818
818
  }, {
819
819
  coopname: string;
820
- decision_id: string;
821
820
  userName: string;
822
821
  decisionTitle: string;
822
+ decision_id: string;
823
823
  short_abbr: string;
824
824
  name: string;
825
825
  }>;
package/dist/index.d.mts CHANGED
@@ -181,20 +181,20 @@ declare const newAgendaItemPayloadSchema: z.ZodObject<{
181
181
  decision_id: z.ZodString;
182
182
  agendaUrl: z.ZodOptional<z.ZodString>;
183
183
  }, "strip", z.ZodTypeAny, {
184
+ authorName: string;
184
185
  coopname: string;
185
186
  coopShortName: string;
187
+ decision_id: string;
186
188
  itemTitle: string;
187
189
  itemDescription: string;
188
- authorName: string;
189
- decision_id: string;
190
190
  agendaUrl?: string | undefined;
191
191
  }, {
192
+ authorName: string;
192
193
  coopname: string;
193
194
  coopShortName: string;
195
+ decision_id: string;
194
196
  itemTitle: string;
195
197
  itemDescription: string;
196
- authorName: string;
197
- decision_id: string;
198
198
  agendaUrl?: string | undefined;
199
199
  }>;
200
200
  type IPayload$l = z.infer<typeof newAgendaItemPayloadSchema>;
@@ -239,19 +239,19 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
239
239
  approval_hash: z.ZodString;
240
240
  approvalUrl: z.ZodOptional<z.ZodString>;
241
241
  }, "strip", z.ZodTypeAny, {
242
- coopname: string;
243
- authorName: string;
244
242
  chairmanName: string;
245
243
  requestTitle: string;
246
244
  requestDescription: string;
245
+ authorName: string;
246
+ coopname: string;
247
247
  approval_hash: string;
248
248
  approvalUrl?: string | undefined;
249
249
  }, {
250
- coopname: string;
251
- authorName: string;
252
250
  chairmanName: string;
253
251
  requestTitle: string;
254
252
  requestDescription: string;
253
+ authorName: string;
254
+ coopname: string;
255
255
  approval_hash: string;
256
256
  approvalUrl?: string | undefined;
257
257
  }>;
@@ -276,15 +276,15 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
276
276
  decisionUrl: z.ZodOptional<z.ZodString>;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  coopname: string;
279
- decision_id: string;
280
279
  userName: string;
281
280
  decisionTitle: string;
281
+ decision_id: string;
282
282
  decisionUrl?: string | undefined;
283
283
  }, {
284
284
  coopname: string;
285
- decision_id: string;
286
285
  userName: string;
287
286
  decisionTitle: string;
287
+ decision_id: string;
288
288
  decisionUrl?: string | undefined;
289
289
  }>;
290
290
  type IPayload$i = 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
- 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$g = z.infer<typeof paymentCancelledPayloadSchema>;
@@ -611,16 +611,16 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
611
611
  approvalUrl: z.ZodOptional<z.ZodString>;
612
612
  }, "strip", z.ZodTypeAny, {
613
613
  coopname: string;
614
- coopShortName: string;
615
614
  userName: string;
615
+ coopShortName: string;
616
616
  approvalStatus: "approved" | "declined";
617
617
  approvalStatusText: string;
618
618
  approvalId: string;
619
619
  approvalUrl?: string | undefined;
620
620
  }, {
621
621
  coopname: string;
622
- coopShortName: string;
623
622
  userName: string;
623
+ coopShortName: string;
624
624
  approvalStatus: "approved" | "declined";
625
625
  approvalStatusText: string;
626
626
  approvalId: string;
@@ -648,19 +648,19 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
648
648
  coopname: z.ZodString;
649
649
  paymentUrl: z.ZodOptional<z.ZodString>;
650
650
  }, "strip", z.ZodTypeAny, {
651
- coopname: string;
652
651
  chairmanName: string;
653
- participantName: string;
652
+ coopname: string;
654
653
  paymentAmount: string;
655
654
  paymentCurrency: string;
655
+ participantName: string;
656
656
  paymentType: string;
657
657
  paymentUrl?: string | undefined;
658
658
  }, {
659
- coopname: string;
660
659
  chairmanName: string;
661
- participantName: string;
660
+ coopname: string;
662
661
  paymentAmount: string;
663
662
  paymentCurrency: string;
663
+ participantName: string;
664
664
  paymentType: string;
665
665
  paymentUrl?: string | undefined;
666
666
  }>;
@@ -686,19 +686,19 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
686
686
  coopname: z.ZodString;
687
687
  paymentUrl: z.ZodOptional<z.ZodString>;
688
688
  }, "strip", z.ZodTypeAny, {
689
- coopname: string;
690
689
  chairmanName: string;
691
- participantName: string;
690
+ coopname: string;
692
691
  paymentAmount: string;
693
692
  paymentCurrency: string;
693
+ participantName: string;
694
694
  paymentType: string;
695
695
  paymentUrl?: string | undefined;
696
696
  }, {
697
- coopname: string;
698
697
  chairmanName: string;
699
- participantName: string;
698
+ coopname: string;
700
699
  paymentAmount: string;
701
700
  paymentCurrency: string;
701
+ participantName: string;
702
702
  paymentType: string;
703
703
  paymentUrl?: string | undefined;
704
704
  }>;
@@ -810,16 +810,16 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
810
810
  name: z.ZodString;
811
811
  }, "strip", z.ZodTypeAny, {
812
812
  coopname: string;
813
- decision_id: string;
814
813
  userName: string;
815
814
  decisionTitle: string;
815
+ decision_id: string;
816
816
  short_abbr: string;
817
817
  name: string;
818
818
  }, {
819
819
  coopname: string;
820
- decision_id: string;
821
820
  userName: string;
822
821
  decisionTitle: string;
822
+ decision_id: string;
823
823
  short_abbr: string;
824
824
  name: string;
825
825
  }>;
package/dist/index.d.ts CHANGED
@@ -181,20 +181,20 @@ declare const newAgendaItemPayloadSchema: z.ZodObject<{
181
181
  decision_id: z.ZodString;
182
182
  agendaUrl: z.ZodOptional<z.ZodString>;
183
183
  }, "strip", z.ZodTypeAny, {
184
+ authorName: string;
184
185
  coopname: string;
185
186
  coopShortName: string;
187
+ decision_id: string;
186
188
  itemTitle: string;
187
189
  itemDescription: string;
188
- authorName: string;
189
- decision_id: string;
190
190
  agendaUrl?: string | undefined;
191
191
  }, {
192
+ authorName: string;
192
193
  coopname: string;
193
194
  coopShortName: string;
195
+ decision_id: string;
194
196
  itemTitle: string;
195
197
  itemDescription: string;
196
- authorName: string;
197
- decision_id: string;
198
198
  agendaUrl?: string | undefined;
199
199
  }>;
200
200
  type IPayload$l = z.infer<typeof newAgendaItemPayloadSchema>;
@@ -239,19 +239,19 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
239
239
  approval_hash: z.ZodString;
240
240
  approvalUrl: z.ZodOptional<z.ZodString>;
241
241
  }, "strip", z.ZodTypeAny, {
242
- coopname: string;
243
- authorName: string;
244
242
  chairmanName: string;
245
243
  requestTitle: string;
246
244
  requestDescription: string;
245
+ authorName: string;
246
+ coopname: string;
247
247
  approval_hash: string;
248
248
  approvalUrl?: string | undefined;
249
249
  }, {
250
- coopname: string;
251
- authorName: string;
252
250
  chairmanName: string;
253
251
  requestTitle: string;
254
252
  requestDescription: string;
253
+ authorName: string;
254
+ coopname: string;
255
255
  approval_hash: string;
256
256
  approvalUrl?: string | undefined;
257
257
  }>;
@@ -276,15 +276,15 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
276
276
  decisionUrl: z.ZodOptional<z.ZodString>;
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  coopname: string;
279
- decision_id: string;
280
279
  userName: string;
281
280
  decisionTitle: string;
281
+ decision_id: string;
282
282
  decisionUrl?: string | undefined;
283
283
  }, {
284
284
  coopname: string;
285
- decision_id: string;
286
285
  userName: string;
287
286
  decisionTitle: string;
287
+ decision_id: string;
288
288
  decisionUrl?: string | undefined;
289
289
  }>;
290
290
  type IPayload$i = 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
- 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$g = z.infer<typeof paymentCancelledPayloadSchema>;
@@ -611,16 +611,16 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
611
611
  approvalUrl: z.ZodOptional<z.ZodString>;
612
612
  }, "strip", z.ZodTypeAny, {
613
613
  coopname: string;
614
- coopShortName: string;
615
614
  userName: string;
615
+ coopShortName: string;
616
616
  approvalStatus: "approved" | "declined";
617
617
  approvalStatusText: string;
618
618
  approvalId: string;
619
619
  approvalUrl?: string | undefined;
620
620
  }, {
621
621
  coopname: string;
622
- coopShortName: string;
623
622
  userName: string;
623
+ coopShortName: string;
624
624
  approvalStatus: "approved" | "declined";
625
625
  approvalStatusText: string;
626
626
  approvalId: string;
@@ -648,19 +648,19 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
648
648
  coopname: z.ZodString;
649
649
  paymentUrl: z.ZodOptional<z.ZodString>;
650
650
  }, "strip", z.ZodTypeAny, {
651
- coopname: string;
652
651
  chairmanName: string;
653
- participantName: string;
652
+ coopname: string;
654
653
  paymentAmount: string;
655
654
  paymentCurrency: string;
655
+ participantName: string;
656
656
  paymentType: string;
657
657
  paymentUrl?: string | undefined;
658
658
  }, {
659
- coopname: string;
660
659
  chairmanName: string;
661
- participantName: string;
660
+ coopname: string;
662
661
  paymentAmount: string;
663
662
  paymentCurrency: string;
663
+ participantName: string;
664
664
  paymentType: string;
665
665
  paymentUrl?: string | undefined;
666
666
  }>;
@@ -686,19 +686,19 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
686
686
  coopname: z.ZodString;
687
687
  paymentUrl: z.ZodOptional<z.ZodString>;
688
688
  }, "strip", z.ZodTypeAny, {
689
- coopname: string;
690
689
  chairmanName: string;
691
- participantName: string;
690
+ coopname: string;
692
691
  paymentAmount: string;
693
692
  paymentCurrency: string;
693
+ participantName: string;
694
694
  paymentType: string;
695
695
  paymentUrl?: string | undefined;
696
696
  }, {
697
- coopname: string;
698
697
  chairmanName: string;
699
- participantName: string;
698
+ coopname: string;
700
699
  paymentAmount: string;
701
700
  paymentCurrency: string;
701
+ participantName: string;
702
702
  paymentType: string;
703
703
  paymentUrl?: string | undefined;
704
704
  }>;
@@ -810,16 +810,16 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
810
810
  name: z.ZodString;
811
811
  }, "strip", z.ZodTypeAny, {
812
812
  coopname: string;
813
- decision_id: string;
814
813
  userName: string;
815
814
  decisionTitle: string;
815
+ decision_id: string;
816
816
  short_abbr: string;
817
817
  name: string;
818
818
  }, {
819
819
  coopname: string;
820
- decision_id: string;
821
820
  userName: string;
822
821
  decisionTitle: string;
822
+ decision_id: string;
823
823
  short_abbr: string;
824
824
  name: string;
825
825
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coopenomics/notifications",
3
- "version": "2026.4.27-2",
3
+ "version": "2026.4.30-3",
4
4
  "description": "Библиотека типобезопасных workflow-уведомлений для Novu",
5
5
  "type": "module",
6
6
  "private": false,
@@ -53,5 +53,5 @@
53
53
  "require": "./dist/index.cjs"
54
54
  }
55
55
  },
56
- "gitHead": "cca16d6d3e839a015d76b02f697e13b27826b444"
56
+ "gitHead": "6796ed4109561c583e06e55235f1dce061431494"
57
57
  }