@coopenomics/notifications 2026.5.28-2 → 2026.7.17-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.mts CHANGED
@@ -1,7 +1,99 @@
1
- import { C as ChannelConfig, a as ChannelsConfig, P as PreferencesConfig, B as BaseWorkflowPayload, N as NovuOrigin, W as WorkflowStep, b as WorkflowDefinition, c as NovuWorkflowData } from './shared/notifications.d7ceb56f.mjs';
2
- export { i as Types } from './shared/notifications.d7ceb56f.mjs';
3
1
  import { z } from 'zod';
4
2
 
3
+ interface ChannelConfig {
4
+ enabled: boolean;
5
+ readOnly?: boolean;
6
+ }
7
+ interface ChannelsConfig {
8
+ email: ChannelConfig;
9
+ sms: ChannelConfig;
10
+ in_app: ChannelConfig;
11
+ push: ChannelConfig;
12
+ chat: ChannelConfig;
13
+ }
14
+ interface PreferencesConfig {
15
+ user: {
16
+ all: ChannelConfig;
17
+ channels: ChannelsConfig;
18
+ };
19
+ workflow: {
20
+ all: ChannelConfig;
21
+ channels: ChannelsConfig;
22
+ };
23
+ }
24
+ interface StepControlValues {
25
+ subject?: string;
26
+ body?: string;
27
+ title?: string;
28
+ content?: string;
29
+ avatar?: string;
30
+ editorType?: 'html' | 'text';
31
+ [key: string]: any;
32
+ }
33
+ interface WorkflowStep {
34
+ name: string;
35
+ type: 'email' | 'sms' | 'in_app' | 'push' | 'chat' | 'delay' | 'digest';
36
+ controlValues: StepControlValues;
37
+ }
38
+ interface BaseWorkflowPayload {
39
+ [key: string]: any;
40
+ }
41
+ interface PayloadSchema {
42
+ type: string;
43
+ properties: Record<string, any>;
44
+ required: string[];
45
+ }
46
+ type NovuOrigin = 'novu-cloud' | 'novu-cloud-v1' | 'external';
47
+ interface WorkflowDefinition<T extends BaseWorkflowPayload = BaseWorkflowPayload> {
48
+ name: string;
49
+ workflowId: string;
50
+ description?: string;
51
+ payloadSchema: PayloadSchema;
52
+ steps: WorkflowStep[];
53
+ preferences: PreferencesConfig;
54
+ origin?: NovuOrigin;
55
+ tags?: string[];
56
+ payloadZodSchema: z.ZodSchema<T>;
57
+ }
58
+ interface NovuWorkflowData {
59
+ name: string;
60
+ workflowId: string;
61
+ description?: string;
62
+ payloadSchema: PayloadSchema;
63
+ steps: WorkflowStep[];
64
+ preferences: PreferencesConfig;
65
+ origin?: NovuOrigin;
66
+ tags?: string[];
67
+ }
68
+ interface WorkflowTriggerData<T extends BaseWorkflowPayload> {
69
+ workflowId: string;
70
+ subscriberId: string;
71
+ payload: T;
72
+ actor?: {
73
+ subscriberId: string;
74
+ email?: string;
75
+ };
76
+ }
77
+ type WorkflowStepType = WorkflowStep['type'];
78
+ type ChannelType = keyof ChannelsConfig;
79
+
80
+ type index$r_BaseWorkflowPayload = BaseWorkflowPayload;
81
+ type index$r_ChannelConfig = ChannelConfig;
82
+ type index$r_ChannelType = ChannelType;
83
+ type index$r_ChannelsConfig = ChannelsConfig;
84
+ type index$r_NovuOrigin = NovuOrigin;
85
+ type index$r_NovuWorkflowData = NovuWorkflowData;
86
+ type index$r_PayloadSchema = PayloadSchema;
87
+ type index$r_PreferencesConfig = PreferencesConfig;
88
+ type index$r_StepControlValues = StepControlValues;
89
+ type index$r_WorkflowDefinition<T extends BaseWorkflowPayload = BaseWorkflowPayload> = WorkflowDefinition<T>;
90
+ type index$r_WorkflowStep = WorkflowStep;
91
+ type index$r_WorkflowStepType = WorkflowStepType;
92
+ type index$r_WorkflowTriggerData<T extends BaseWorkflowPayload> = WorkflowTriggerData<T>;
93
+ declare namespace index$r {
94
+ export type { index$r_BaseWorkflowPayload as BaseWorkflowPayload, index$r_ChannelConfig as ChannelConfig, index$r_ChannelType as ChannelType, index$r_ChannelsConfig as ChannelsConfig, index$r_NovuOrigin as NovuOrigin, index$r_NovuWorkflowData as NovuWorkflowData, index$r_PayloadSchema as PayloadSchema, index$r_PreferencesConfig as PreferencesConfig, index$r_StepControlValues as StepControlValues, index$r_WorkflowDefinition as WorkflowDefinition, index$r_WorkflowStep as WorkflowStep, index$r_WorkflowStepType as WorkflowStepType, index$r_WorkflowTriggerData as WorkflowTriggerData };
95
+ }
96
+
5
97
  declare const createChannelConfig: (enabled: boolean, readOnly?: boolean) => ChannelConfig;
6
98
  declare const createDefaultChannelsConfig: () => ChannelsConfig;
7
99
  declare const createDefaultPreferences: () => PreferencesConfig;
@@ -67,17 +159,17 @@ declare const welcomePayloadSchema: z.ZodObject<{
67
159
  }, {
68
160
  userName: string;
69
161
  }>;
70
- type IPayload$m = z.infer<typeof welcomePayloadSchema>;
71
- interface IWorkflow$m extends BaseWorkflowPayload, IPayload$m {
162
+ type IPayload$p = z.infer<typeof welcomePayloadSchema>;
163
+ interface IWorkflow$p extends BaseWorkflowPayload, IPayload$p {
72
164
  }
73
- declare const name$m = "\u0414\u043E\u0431\u0440\u043E \u043F\u043E\u0436\u0430\u043B\u043E\u0432\u0430\u0442\u044C";
74
- declare const id$m: string;
75
- declare const workflow$m: WorkflowDefinition<IWorkflow$m>;
165
+ declare const name$p = "\u0414\u043E\u0431\u0440\u043E \u043F\u043E\u0436\u0430\u043B\u043E\u0432\u0430\u0442\u044C";
166
+ declare const id$p: string;
167
+ declare const workflow$p: WorkflowDefinition<IWorkflow$p>;
76
168
 
77
- declare const index$n_welcomePayloadSchema: typeof welcomePayloadSchema;
78
- declare namespace index$n {
79
- export { id$m as id, name$m as name, index$n_welcomePayloadSchema as welcomePayloadSchema, workflow$m as workflow };
80
- export type { IPayload$m as IPayload, IWorkflow$m as IWorkflow };
169
+ declare const index$q_welcomePayloadSchema: typeof welcomePayloadSchema;
170
+ declare namespace index$q {
171
+ export { id$p as id, name$p as name, index$q_welcomePayloadSchema as welcomePayloadSchema, workflow$p as workflow };
172
+ export type { IPayload$p as IPayload, IWorkflow$p as IWorkflow };
81
173
  }
82
174
 
83
175
  declare const newAgendaItemPayloadSchema: z.ZodObject<{
@@ -89,33 +181,33 @@ declare const newAgendaItemPayloadSchema: z.ZodObject<{
89
181
  decision_id: z.ZodString;
90
182
  agendaUrl: z.ZodOptional<z.ZodString>;
91
183
  }, "strip", z.ZodTypeAny, {
184
+ authorName: string;
92
185
  coopname: string;
93
186
  coopShortName: string;
94
187
  itemTitle: string;
95
188
  itemDescription: string;
96
- authorName: string;
97
189
  decision_id: string;
98
190
  agendaUrl?: string | undefined;
99
191
  }, {
192
+ authorName: string;
100
193
  coopname: string;
101
194
  coopShortName: string;
102
195
  itemTitle: string;
103
196
  itemDescription: string;
104
- authorName: string;
105
197
  decision_id: string;
106
198
  agendaUrl?: string | undefined;
107
199
  }>;
108
- type IPayload$l = z.infer<typeof newAgendaItemPayloadSchema>;
109
- interface IWorkflow$l extends BaseWorkflowPayload, IPayload$l {
200
+ type IPayload$o = z.infer<typeof newAgendaItemPayloadSchema>;
201
+ interface IWorkflow$o extends BaseWorkflowPayload, IPayload$o {
110
202
  }
111
- declare const name$l = "\u041D\u043E\u0432\u044B\u0439 \u0432\u043E\u043F\u0440\u043E\u0441 \u043D\u0430 \u043F\u043E\u0432\u0435\u0441\u0442\u043A\u0435 \u0441\u043E\u0432\u0435\u0442\u0430";
112
- declare const id$l: string;
113
- declare const workflow$l: WorkflowDefinition<IWorkflow$l>;
203
+ declare const name$o = "\u041D\u043E\u0432\u044B\u0439 \u0432\u043E\u043F\u0440\u043E\u0441 \u043D\u0430 \u043F\u043E\u0432\u0435\u0441\u0442\u043A\u0435 \u0441\u043E\u0432\u0435\u0442\u0430";
204
+ declare const id$o: string;
205
+ declare const workflow$o: WorkflowDefinition<IWorkflow$o>;
114
206
 
115
- declare const index$m_newAgendaItemPayloadSchema: typeof newAgendaItemPayloadSchema;
116
- declare namespace index$m {
117
- export { id$l as id, name$l as name, index$m_newAgendaItemPayloadSchema as newAgendaItemPayloadSchema, workflow$l as workflow };
118
- export type { IPayload$l as IPayload, IWorkflow$l as IWorkflow };
207
+ declare const index$p_newAgendaItemPayloadSchema: typeof newAgendaItemPayloadSchema;
208
+ declare namespace index$p {
209
+ export { id$o as id, name$o as name, index$p_newAgendaItemPayloadSchema as newAgendaItemPayloadSchema, workflow$o as workflow };
210
+ export type { IPayload$o as IPayload, IWorkflow$o as IWorkflow };
119
211
  }
120
212
 
121
213
  declare const incomingTransferPayloadSchema: z.ZodObject<{
@@ -125,17 +217,17 @@ declare const incomingTransferPayloadSchema: z.ZodObject<{
125
217
  }, {
126
218
  quantity: string;
127
219
  }>;
128
- type IPayload$k = z.infer<typeof incomingTransferPayloadSchema>;
129
- interface IWorkflow$k extends BaseWorkflowPayload, IPayload$k {
220
+ type IPayload$n = z.infer<typeof incomingTransferPayloadSchema>;
221
+ interface IWorkflow$n extends BaseWorkflowPayload, IPayload$n {
130
222
  }
131
- declare const name$k = "\u0412\u0445\u043E\u0434\u044F\u0449\u0438\u0439 \u043F\u0435\u0440\u0435\u0432\u043E\u0434";
132
- declare const id$k: string;
133
- declare const workflow$k: WorkflowDefinition<IWorkflow$k>;
223
+ declare const name$n = "\u0412\u0445\u043E\u0434\u044F\u0449\u0438\u0439 \u043F\u0435\u0440\u0435\u0432\u043E\u0434";
224
+ declare const id$n: string;
225
+ declare const workflow$n: WorkflowDefinition<IWorkflow$n>;
134
226
 
135
- declare const index$l_incomingTransferPayloadSchema: typeof incomingTransferPayloadSchema;
136
- declare namespace index$l {
137
- export { id$k as id, index$l_incomingTransferPayloadSchema as incomingTransferPayloadSchema, name$k as name, workflow$k as workflow };
138
- export type { IPayload$k as IPayload, IWorkflow$k as IWorkflow };
227
+ declare const index$o_incomingTransferPayloadSchema: typeof incomingTransferPayloadSchema;
228
+ declare namespace index$o {
229
+ export { id$n as id, index$o_incomingTransferPayloadSchema as incomingTransferPayloadSchema, name$n as name, workflow$n as workflow };
230
+ export type { IPayload$n as IPayload, IWorkflow$n as IWorkflow };
139
231
  }
140
232
 
141
233
  declare const approvalRequestPayloadSchema: z.ZodObject<{
@@ -147,33 +239,33 @@ declare const approvalRequestPayloadSchema: z.ZodObject<{
147
239
  approval_hash: z.ZodString;
148
240
  approvalUrl: z.ZodOptional<z.ZodString>;
149
241
  }, "strip", z.ZodTypeAny, {
150
- coopname: string;
151
- authorName: string;
152
242
  chairmanName: string;
153
243
  requestTitle: string;
154
244
  requestDescription: string;
245
+ authorName: string;
246
+ coopname: string;
155
247
  approval_hash: string;
156
248
  approvalUrl?: string | undefined;
157
249
  }, {
158
- coopname: string;
159
- authorName: string;
160
250
  chairmanName: string;
161
251
  requestTitle: string;
162
252
  requestDescription: string;
253
+ authorName: string;
254
+ coopname: string;
163
255
  approval_hash: string;
164
256
  approvalUrl?: string | undefined;
165
257
  }>;
166
- type IPayload$j = z.infer<typeof approvalRequestPayloadSchema>;
167
- interface IWorkflow$j extends BaseWorkflowPayload, IPayload$j {
258
+ type IPayload$m = z.infer<typeof approvalRequestPayloadSchema>;
259
+ interface IWorkflow$m extends BaseWorkflowPayload, IPayload$m {
168
260
  }
169
- declare const name$j = "\u0417\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0435\u0434\u0430\u0442\u0435\u043B\u044F";
170
- declare const id$j: string;
171
- declare const workflow$j: WorkflowDefinition<IWorkflow$j>;
261
+ declare const name$m = "\u0417\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0435\u0434\u0430\u0442\u0435\u043B\u044F";
262
+ declare const id$m: string;
263
+ declare const workflow$m: WorkflowDefinition<IWorkflow$m>;
172
264
 
173
- declare const index$k_approvalRequestPayloadSchema: typeof approvalRequestPayloadSchema;
174
- declare namespace index$k {
175
- export { index$k_approvalRequestPayloadSchema as approvalRequestPayloadSchema, id$j as id, name$j as name, workflow$j as workflow };
176
- export type { IPayload$j as IPayload, IWorkflow$j as IWorkflow };
265
+ declare const index$n_approvalRequestPayloadSchema: typeof approvalRequestPayloadSchema;
266
+ declare namespace index$n {
267
+ export { index$n_approvalRequestPayloadSchema as approvalRequestPayloadSchema, id$m as id, name$m as name, workflow$m as workflow };
268
+ export type { IPayload$m as IPayload, IWorkflow$m as IWorkflow };
177
269
  }
178
270
 
179
271
  declare const decisionApprovedPayloadSchema: z.ZodObject<{
@@ -195,17 +287,17 @@ declare const decisionApprovedPayloadSchema: z.ZodObject<{
195
287
  decisionTitle: string;
196
288
  decisionUrl?: string | undefined;
197
289
  }>;
198
- type IPayload$i = z.infer<typeof decisionApprovedPayloadSchema>;
199
- interface IWorkflow$i extends BaseWorkflowPayload, IPayload$i {
290
+ type IPayload$l = z.infer<typeof decisionApprovedPayloadSchema>;
291
+ interface IWorkflow$l extends BaseWorkflowPayload, IPayload$l {
200
292
  }
201
- declare const name$i = "\u0420\u0435\u0448\u0435\u043D\u0438\u0435 \u0441\u043E\u0432\u0435\u0442\u0430 \u043F\u0440\u0438\u043D\u044F\u0442\u043E";
202
- declare const id$i: string;
203
- declare const workflow$i: WorkflowDefinition<IWorkflow$i>;
293
+ declare const name$l = "\u0420\u0435\u0448\u0435\u043D\u0438\u0435 \u0441\u043E\u0432\u0435\u0442\u0430 \u043F\u0440\u0438\u043D\u044F\u0442\u043E";
294
+ declare const id$l: string;
295
+ declare const workflow$l: WorkflowDefinition<IWorkflow$l>;
204
296
 
205
- declare const index$j_decisionApprovedPayloadSchema: typeof decisionApprovedPayloadSchema;
206
- declare namespace index$j {
207
- export { index$j_decisionApprovedPayloadSchema as decisionApprovedPayloadSchema, id$i as id, name$i as name, workflow$i as workflow };
208
- export type { IPayload$i as IPayload, IWorkflow$i as IWorkflow };
297
+ declare const index$m_decisionApprovedPayloadSchema: typeof decisionApprovedPayloadSchema;
298
+ declare namespace index$m {
299
+ export { index$m_decisionApprovedPayloadSchema as decisionApprovedPayloadSchema, id$l as id, name$l as name, workflow$l as workflow };
300
+ export type { IPayload$l as IPayload, IWorkflow$l as IWorkflow };
209
301
  }
210
302
 
211
303
  declare const paymentCompletedPayloadSchema: z.ZodObject<{
@@ -227,17 +319,17 @@ declare const paymentCompletedPayloadSchema: z.ZodObject<{
227
319
  paymentDate: string;
228
320
  paymentUrl?: string | undefined;
229
321
  }>;
230
- type IPayload$h = z.infer<typeof paymentCompletedPayloadSchema>;
231
- interface IWorkflow$h extends BaseWorkflowPayload, IPayload$h {
322
+ type IPayload$k = z.infer<typeof paymentCompletedPayloadSchema>;
323
+ interface IWorkflow$k extends BaseWorkflowPayload, IPayload$k {
232
324
  }
233
- declare const name$h = "\u041F\u043B\u0430\u0442\u0435\u0436 \u043F\u0440\u0438\u043D\u044F\u0442";
234
- declare const id$h: string;
235
- declare const workflow$h: WorkflowDefinition<IWorkflow$h>;
325
+ declare const name$k = "\u041F\u043B\u0430\u0442\u0435\u0436 \u043F\u0440\u0438\u043D\u044F\u0442";
326
+ declare const id$k: string;
327
+ declare const workflow$k: WorkflowDefinition<IWorkflow$k>;
236
328
 
237
- declare const index$i_paymentCompletedPayloadSchema: typeof paymentCompletedPayloadSchema;
238
- declare namespace index$i {
239
- export { id$h as id, name$h as name, index$i_paymentCompletedPayloadSchema as paymentCompletedPayloadSchema, workflow$h as workflow };
240
- export type { IPayload$h as IPayload, IWorkflow$h as IWorkflow };
329
+ declare const index$l_paymentCompletedPayloadSchema: typeof paymentCompletedPayloadSchema;
330
+ declare namespace index$l {
331
+ export { id$k as id, name$k as name, index$l_paymentCompletedPayloadSchema as paymentCompletedPayloadSchema, workflow$k as workflow };
332
+ export type { IPayload$k as IPayload, IWorkflow$k as IWorkflow };
241
333
  }
242
334
 
243
335
  declare const paymentCancelledPayloadSchema: z.ZodObject<{
@@ -251,28 +343,60 @@ declare const paymentCancelledPayloadSchema: z.ZodObject<{
251
343
  userName: string;
252
344
  paymentAmount: string;
253
345
  paymentCurrency: string;
346
+ paymentId: string;
254
347
  paymentDate: string;
348
+ paymentUrl?: string | undefined;
349
+ }, {
350
+ userName: string;
351
+ paymentAmount: string;
352
+ paymentCurrency: string;
255
353
  paymentId: string;
354
+ paymentDate: string;
355
+ paymentUrl?: string | undefined;
356
+ }>;
357
+ type IPayload$j = z.infer<typeof paymentCancelledPayloadSchema>;
358
+ interface IWorkflow$j extends BaseWorkflowPayload, IPayload$j {
359
+ }
360
+ declare const name$j = "\u041F\u043B\u0430\u0442\u0435\u0436 \u043E\u0442\u043C\u0435\u043D\u0435\u043D";
361
+ declare const id$j: string;
362
+ declare const workflow$j: WorkflowDefinition<IWorkflow$j>;
363
+
364
+ declare const index$k_paymentCancelledPayloadSchema: typeof paymentCancelledPayloadSchema;
365
+ declare namespace index$k {
366
+ export { id$j as id, name$j as name, index$k_paymentCancelledPayloadSchema as paymentCancelledPayloadSchema, workflow$j as workflow };
367
+ export type { IPayload$j as IPayload, IWorkflow$j as IWorkflow };
368
+ }
369
+
370
+ declare const paymentRefundedPayloadSchema: z.ZodObject<{
371
+ userName: z.ZodString;
372
+ paymentAmount: z.ZodString;
373
+ paymentCurrency: z.ZodString;
374
+ paymentDate: z.ZodString;
375
+ paymentUrl: z.ZodOptional<z.ZodString>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ userName: string;
378
+ paymentAmount: string;
379
+ paymentCurrency: string;
380
+ paymentDate: string;
256
381
  paymentUrl?: string | undefined;
257
382
  }, {
258
383
  userName: string;
259
384
  paymentAmount: string;
260
385
  paymentCurrency: string;
261
386
  paymentDate: string;
262
- paymentId: string;
263
387
  paymentUrl?: string | undefined;
264
388
  }>;
265
- type IPayload$g = z.infer<typeof paymentCancelledPayloadSchema>;
266
- interface IWorkflow$g extends BaseWorkflowPayload, IPayload$g {
389
+ type IPayload$i = z.infer<typeof paymentRefundedPayloadSchema>;
390
+ interface IWorkflow$i extends BaseWorkflowPayload, IPayload$i {
267
391
  }
268
- declare const name$g = "\u041F\u043B\u0430\u0442\u0435\u0436 \u043E\u0442\u043C\u0435\u043D\u0435\u043D";
269
- declare const id$g: string;
270
- declare const workflow$g: WorkflowDefinition<IWorkflow$g>;
392
+ declare const name$i = "\u041F\u043B\u0430\u0442\u0451\u0436 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D";
393
+ declare const id$i: string;
394
+ declare const workflow$i: WorkflowDefinition<IWorkflow$i>;
271
395
 
272
- declare const index$h_paymentCancelledPayloadSchema: typeof paymentCancelledPayloadSchema;
273
- declare namespace index$h {
274
- export { id$g as id, name$g as name, index$h_paymentCancelledPayloadSchema as paymentCancelledPayloadSchema, workflow$g as workflow };
275
- export type { IPayload$g as IPayload, IWorkflow$g as IWorkflow };
396
+ declare const index$j_paymentRefundedPayloadSchema: typeof paymentRefundedPayloadSchema;
397
+ declare namespace index$j {
398
+ export { id$i as id, name$i as name, index$j_paymentRefundedPayloadSchema as paymentRefundedPayloadSchema, workflow$i as workflow };
399
+ export type { IPayload$i as IPayload, IWorkflow$i as IWorkflow };
276
400
  }
277
401
 
278
402
  declare const meetInitialPayloadSchema: z.ZodObject<{
@@ -288,35 +412,35 @@ declare const meetInitialPayloadSchema: z.ZodObject<{
288
412
  }, "strip", z.ZodTypeAny, {
289
413
  coopShortName: string;
290
414
  meetId: number;
415
+ meetDate: string;
416
+ meetTime: string;
291
417
  meetEndDate: string;
292
418
  meetEndTime: string;
293
419
  timezone: string;
294
420
  meetUrl: string;
295
- meetDate: string;
296
- meetTime: string;
297
421
  details?: string | undefined;
298
422
  }, {
299
423
  coopShortName: string;
300
424
  meetId: number;
425
+ meetDate: string;
426
+ meetTime: string;
301
427
  meetEndDate: string;
302
428
  meetEndTime: string;
303
429
  timezone: string;
304
430
  meetUrl: string;
305
- meetDate: string;
306
- meetTime: string;
307
431
  details?: string | undefined;
308
432
  }>;
309
- type IPayload$f = z.infer<typeof meetInitialPayloadSchema>;
310
- interface IWorkflow$f extends BaseWorkflowPayload, IPayload$f {
433
+ type IPayload$h = z.infer<typeof meetInitialPayloadSchema>;
434
+ interface IWorkflow$h extends BaseWorkflowPayload, IPayload$h {
311
435
  }
312
- declare const name$f = "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E \u043D\u043E\u0432\u043E\u043C \u043E\u0431\u0449\u0435\u043C \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u0438";
313
- declare const id$f: string;
314
- declare const workflow$f: WorkflowDefinition<IWorkflow$f>;
436
+ declare const name$h = "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E \u043D\u043E\u0432\u043E\u043C \u043E\u0431\u0449\u0435\u043C \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u0438";
437
+ declare const id$h: string;
438
+ declare const workflow$h: WorkflowDefinition<IWorkflow$h>;
315
439
 
316
- declare const index$g_meetInitialPayloadSchema: typeof meetInitialPayloadSchema;
317
- declare namespace index$g {
318
- export { id$f as id, index$g_meetInitialPayloadSchema as meetInitialPayloadSchema, name$f as name, workflow$f as workflow };
319
- export type { IPayload$f as IPayload, IWorkflow$f as IWorkflow };
440
+ declare const index$i_meetInitialPayloadSchema: typeof meetInitialPayloadSchema;
441
+ declare namespace index$i {
442
+ export { id$h as id, index$i_meetInitialPayloadSchema as meetInitialPayloadSchema, name$h as name, workflow$h as workflow };
443
+ export type { IPayload$h as IPayload, IWorkflow$h as IWorkflow };
320
444
  }
321
445
 
322
446
  declare const meetReminderStartPayloadSchema: z.ZodObject<{
@@ -330,31 +454,31 @@ declare const meetReminderStartPayloadSchema: z.ZodObject<{
330
454
  }, "strip", z.ZodTypeAny, {
331
455
  coopShortName: string;
332
456
  meetId: number;
333
- meetUrl: string;
334
457
  meetDate: string;
335
458
  meetTime: string;
459
+ meetUrl: string;
336
460
  timeDescription: string;
337
461
  details?: string | undefined;
338
462
  }, {
339
463
  coopShortName: string;
340
464
  meetId: number;
341
- meetUrl: string;
342
465
  meetDate: string;
343
466
  meetTime: string;
467
+ meetUrl: string;
344
468
  timeDescription: string;
345
469
  details?: string | undefined;
346
470
  }>;
347
- type IPayload$e = z.infer<typeof meetReminderStartPayloadSchema>;
348
- interface IWorkflow$e extends BaseWorkflowPayload, IPayload$e {
471
+ type IPayload$g = z.infer<typeof meetReminderStartPayloadSchema>;
472
+ interface IWorkflow$g extends BaseWorkflowPayload, IPayload$g {
349
473
  }
350
- declare const name$e = "\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043E \u043F\u0440\u0435\u0434\u0441\u0442\u043E\u044F\u0449\u0435\u043C \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u0438";
351
- declare const id$e: string;
352
- declare const workflow$e: WorkflowDefinition<IWorkflow$e>;
474
+ declare const name$g = "\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043E \u043F\u0440\u0435\u0434\u0441\u0442\u043E\u044F\u0449\u0435\u043C \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u0438";
475
+ declare const id$g: string;
476
+ declare const workflow$g: WorkflowDefinition<IWorkflow$g>;
353
477
 
354
- declare const index$f_meetReminderStartPayloadSchema: typeof meetReminderStartPayloadSchema;
355
- declare namespace index$f {
356
- export { id$e as id, index$f_meetReminderStartPayloadSchema as meetReminderStartPayloadSchema, name$e as name, workflow$e as workflow };
357
- export type { IPayload$e as IPayload, IWorkflow$e as IWorkflow };
478
+ declare const index$h_meetReminderStartPayloadSchema: typeof meetReminderStartPayloadSchema;
479
+ declare namespace index$h {
480
+ export { id$g as id, index$h_meetReminderStartPayloadSchema as meetReminderStartPayloadSchema, name$g as name, workflow$g as workflow };
481
+ export type { IPayload$g as IPayload, IWorkflow$g as IWorkflow };
358
482
  }
359
483
 
360
484
  declare const meetStartedPayloadSchema: z.ZodObject<{
@@ -382,17 +506,17 @@ declare const meetStartedPayloadSchema: z.ZodObject<{
382
506
  meetUrl: string;
383
507
  details?: string | undefined;
384
508
  }>;
385
- type IPayload$d = z.infer<typeof meetStartedPayloadSchema>;
386
- interface IWorkflow$d extends BaseWorkflowPayload, IPayload$d {
509
+ type IPayload$f = z.infer<typeof meetStartedPayloadSchema>;
510
+ interface IWorkflow$f extends BaseWorkflowPayload, IPayload$f {
387
511
  }
388
- declare const name$d = "\u0421\u043E\u0431\u0440\u0430\u043D\u0438\u0435 \u043D\u0430\u0447\u0430\u043B\u043E\u0441\u044C";
389
- declare const id$d: string;
390
- declare const workflow$d: WorkflowDefinition<IWorkflow$d>;
512
+ declare const name$f = "\u0421\u043E\u0431\u0440\u0430\u043D\u0438\u0435 \u043D\u0430\u0447\u0430\u043B\u043E\u0441\u044C";
513
+ declare const id$f: string;
514
+ declare const workflow$f: WorkflowDefinition<IWorkflow$f>;
391
515
 
392
- declare const index$e_meetStartedPayloadSchema: typeof meetStartedPayloadSchema;
393
- declare namespace index$e {
394
- export { id$d as id, index$e_meetStartedPayloadSchema as meetStartedPayloadSchema, name$d as name, workflow$d as workflow };
395
- export type { IPayload$d as IPayload, IWorkflow$d as IWorkflow };
516
+ declare const index$g_meetStartedPayloadSchema: typeof meetStartedPayloadSchema;
517
+ declare namespace index$g {
518
+ export { id$f as id, index$g_meetStartedPayloadSchema as meetStartedPayloadSchema, name$f as name, workflow$f as workflow };
519
+ export type { IPayload$f as IPayload, IWorkflow$f as IWorkflow };
396
520
  }
397
521
 
398
522
  declare const meetReminderEndPayloadSchema: z.ZodObject<{
@@ -420,17 +544,17 @@ declare const meetReminderEndPayloadSchema: z.ZodObject<{
420
544
  meetUrl: string;
421
545
  timeDescription: string;
422
546
  }>;
423
- type IPayload$c = z.infer<typeof meetReminderEndPayloadSchema>;
424
- interface IWorkflow$c extends BaseWorkflowPayload, IPayload$c {
547
+ type IPayload$e = z.infer<typeof meetReminderEndPayloadSchema>;
548
+ interface IWorkflow$e extends BaseWorkflowPayload, IPayload$e {
425
549
  }
426
- declare const name$c = "\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u044F";
427
- declare const id$c: string;
428
- declare const workflow$c: WorkflowDefinition<IWorkflow$c>;
550
+ declare const name$e = "\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u044F";
551
+ declare const id$e: string;
552
+ declare const workflow$e: WorkflowDefinition<IWorkflow$e>;
429
553
 
430
- declare const index$d_meetReminderEndPayloadSchema: typeof meetReminderEndPayloadSchema;
431
- declare namespace index$d {
432
- export { id$c as id, index$d_meetReminderEndPayloadSchema as meetReminderEndPayloadSchema, name$c as name, workflow$c as workflow };
433
- export type { IPayload$c as IPayload, IWorkflow$c as IWorkflow };
554
+ declare const index$f_meetReminderEndPayloadSchema: typeof meetReminderEndPayloadSchema;
555
+ declare namespace index$f {
556
+ export { id$e as id, index$f_meetReminderEndPayloadSchema as meetReminderEndPayloadSchema, name$e as name, workflow$e as workflow };
557
+ export type { IPayload$e as IPayload, IWorkflow$e as IWorkflow };
434
558
  }
435
559
 
436
560
  declare const meetRestartPayloadSchema: z.ZodObject<{
@@ -445,33 +569,33 @@ declare const meetRestartPayloadSchema: z.ZodObject<{
445
569
  }, "strip", z.ZodTypeAny, {
446
570
  coopShortName: string;
447
571
  meetId: number;
572
+ meetDate: string;
573
+ meetTime: string;
448
574
  meetEndDate: string;
449
575
  meetEndTime: string;
450
576
  timezone: string;
451
577
  meetUrl: string;
452
- meetDate: string;
453
- meetTime: string;
454
578
  }, {
455
579
  coopShortName: string;
456
580
  meetId: number;
581
+ meetDate: string;
582
+ meetTime: string;
457
583
  meetEndDate: string;
458
584
  meetEndTime: string;
459
585
  timezone: string;
460
586
  meetUrl: string;
461
- meetDate: string;
462
- meetTime: string;
463
587
  }>;
464
- type IPayload$b = z.infer<typeof meetRestartPayloadSchema>;
465
- interface IWorkflow$b extends BaseWorkflowPayload, IPayload$b {
588
+ type IPayload$d = z.infer<typeof meetRestartPayloadSchema>;
589
+ interface IWorkflow$d extends BaseWorkflowPayload, IPayload$d {
466
590
  }
467
- declare const name$b = "\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0430 \u043D\u043E\u0432\u0430\u044F \u0434\u0430\u0442\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u044F";
468
- declare const id$b: string;
469
- declare const workflow$b: WorkflowDefinition<IWorkflow$b>;
591
+ declare const name$d = "\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0430 \u043D\u043E\u0432\u0430\u044F \u0434\u0430\u0442\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u044F";
592
+ declare const id$d: string;
593
+ declare const workflow$d: WorkflowDefinition<IWorkflow$d>;
470
594
 
471
- declare const index$c_meetRestartPayloadSchema: typeof meetRestartPayloadSchema;
472
- declare namespace index$c {
473
- export { id$b as id, index$c_meetRestartPayloadSchema as meetRestartPayloadSchema, name$b as name, workflow$b as workflow };
474
- export type { IPayload$b as IPayload, IWorkflow$b as IWorkflow };
595
+ declare const index$e_meetRestartPayloadSchema: typeof meetRestartPayloadSchema;
596
+ declare namespace index$e {
597
+ export { id$d as id, index$e_meetRestartPayloadSchema as meetRestartPayloadSchema, name$d as name, workflow$d as workflow };
598
+ export type { IPayload$d as IPayload, IWorkflow$d as IWorkflow };
475
599
  }
476
600
 
477
601
  declare const meetEndedPayloadSchema: z.ZodObject<{
@@ -496,17 +620,17 @@ declare const meetEndedPayloadSchema: z.ZodObject<{
496
620
  endTitle: string;
497
621
  endMessage: string;
498
622
  }>;
499
- type IPayload$a = z.infer<typeof meetEndedPayloadSchema>;
500
- interface IWorkflow$a extends BaseWorkflowPayload, IPayload$a {
623
+ type IPayload$c = z.infer<typeof meetEndedPayloadSchema>;
624
+ interface IWorkflow$c extends BaseWorkflowPayload, IPayload$c {
501
625
  }
502
- declare const name$a = "\u0421\u043E\u0431\u0440\u0430\u043D\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E";
503
- declare const id$a: string;
504
- declare const workflow$a: WorkflowDefinition<IWorkflow$a>;
626
+ declare const name$c = "\u0421\u043E\u0431\u0440\u0430\u043D\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E";
627
+ declare const id$c: string;
628
+ declare const workflow$c: WorkflowDefinition<IWorkflow$c>;
505
629
 
506
- declare const index$b_meetEndedPayloadSchema: typeof meetEndedPayloadSchema;
507
- declare namespace index$b {
508
- export { id$a as id, index$b_meetEndedPayloadSchema as meetEndedPayloadSchema, name$a as name, workflow$a as workflow };
509
- export type { IPayload$a as IPayload, IWorkflow$a as IWorkflow };
630
+ declare const index$d_meetEndedPayloadSchema: typeof meetEndedPayloadSchema;
631
+ declare namespace index$d {
632
+ export { id$c as id, index$d_meetEndedPayloadSchema as meetEndedPayloadSchema, name$c as name, workflow$c as workflow };
633
+ export type { IPayload$c as IPayload, IWorkflow$c as IWorkflow };
510
634
  }
511
635
 
512
636
  declare const approvalResponsePayloadSchema: z.ZodObject<{
@@ -534,17 +658,17 @@ declare const approvalResponsePayloadSchema: z.ZodObject<{
534
658
  approvalId: string;
535
659
  approvalUrl?: string | undefined;
536
660
  }>;
537
- type IPayload$9 = z.infer<typeof approvalResponsePayloadSchema>;
538
- interface IWorkflow$9 extends BaseWorkflowPayload, IPayload$9 {
661
+ type IPayload$b = z.infer<typeof approvalResponsePayloadSchema>;
662
+ interface IWorkflow$b extends BaseWorkflowPayload, IPayload$b {
539
663
  }
540
- declare const name$9 = "\u041E\u0442\u0432\u0435\u0442 \u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F";
541
- declare const id$9: string;
542
- declare const workflow$9: WorkflowDefinition<IWorkflow$9>;
664
+ declare const name$b = "\u041E\u0442\u0432\u0435\u0442 \u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441 \u043E\u0434\u043E\u0431\u0440\u0435\u043D\u0438\u044F";
665
+ declare const id$b: string;
666
+ declare const workflow$b: WorkflowDefinition<IWorkflow$b>;
543
667
 
544
- declare const index$a_approvalResponsePayloadSchema: typeof approvalResponsePayloadSchema;
545
- declare namespace index$a {
546
- export { index$a_approvalResponsePayloadSchema as approvalResponsePayloadSchema, id$9 as id, name$9 as name, workflow$9 as workflow };
547
- export type { IPayload$9 as IPayload, IWorkflow$9 as IWorkflow };
668
+ declare const index$c_approvalResponsePayloadSchema: typeof approvalResponsePayloadSchema;
669
+ declare namespace index$c {
670
+ export { index$c_approvalResponsePayloadSchema as approvalResponsePayloadSchema, id$b as id, name$b as name, workflow$b as workflow };
671
+ export type { IPayload$b as IPayload, IWorkflow$b as IWorkflow };
548
672
  }
549
673
 
550
674
  declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
@@ -556,33 +680,33 @@ declare const newInitialPaymentRequestPayloadSchema: z.ZodObject<{
556
680
  coopname: z.ZodString;
557
681
  paymentUrl: z.ZodOptional<z.ZodString>;
558
682
  }, "strip", z.ZodTypeAny, {
559
- coopname: string;
560
683
  chairmanName: string;
684
+ coopname: string;
685
+ participantName: string;
561
686
  paymentAmount: string;
562
687
  paymentCurrency: string;
563
- participantName: string;
564
688
  paymentType: string;
565
689
  paymentUrl?: string | undefined;
566
690
  }, {
567
- coopname: string;
568
691
  chairmanName: string;
692
+ coopname: string;
693
+ participantName: string;
569
694
  paymentAmount: string;
570
695
  paymentCurrency: string;
571
- participantName: string;
572
696
  paymentType: string;
573
697
  paymentUrl?: string | undefined;
574
698
  }>;
575
- type IPayload$8 = z.infer<typeof newInitialPaymentRequestPayloadSchema>;
576
- interface IWorkflow$8 extends BaseWorkflowPayload, IPayload$8 {
699
+ type IPayload$a = z.infer<typeof newInitialPaymentRequestPayloadSchema>;
700
+ interface IWorkflow$a extends BaseWorkflowPayload, IPayload$a {
577
701
  }
578
- declare const name$8 = "\u041D\u043E\u0432\u0430\u044F \u0437\u0430\u044F\u0432\u043A\u0430 \u043D\u0430 \u0432\u0441\u0442\u0443\u043F\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0432\u0437\u043D\u043E\u0441";
579
- declare const id$8: string;
580
- declare const workflow$8: WorkflowDefinition<IWorkflow$8>;
702
+ declare const name$a = "\u041D\u043E\u0432\u0430\u044F \u0437\u0430\u044F\u0432\u043A\u0430 \u043D\u0430 \u0432\u0441\u0442\u0443\u043F\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0432\u0437\u043D\u043E\u0441";
703
+ declare const id$a: string;
704
+ declare const workflow$a: WorkflowDefinition<IWorkflow$a>;
581
705
 
582
- declare const index$9_newInitialPaymentRequestPayloadSchema: typeof newInitialPaymentRequestPayloadSchema;
583
- declare namespace index$9 {
584
- export { id$8 as id, name$8 as name, index$9_newInitialPaymentRequestPayloadSchema as newInitialPaymentRequestPayloadSchema, workflow$8 as workflow };
585
- export type { IPayload$8 as IPayload, IWorkflow$8 as IWorkflow };
706
+ declare const index$b_newInitialPaymentRequestPayloadSchema: typeof newInitialPaymentRequestPayloadSchema;
707
+ declare namespace index$b {
708
+ export { id$a as id, name$a as name, index$b_newInitialPaymentRequestPayloadSchema as newInitialPaymentRequestPayloadSchema, workflow$a as workflow };
709
+ export type { IPayload$a as IPayload, IWorkflow$a as IWorkflow };
586
710
  }
587
711
 
588
712
  declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
@@ -594,33 +718,33 @@ declare const newDepositPaymentRequestPayloadSchema: z.ZodObject<{
594
718
  coopname: z.ZodString;
595
719
  paymentUrl: z.ZodOptional<z.ZodString>;
596
720
  }, "strip", z.ZodTypeAny, {
597
- coopname: string;
598
721
  chairmanName: string;
722
+ coopname: string;
723
+ participantName: string;
599
724
  paymentAmount: string;
600
725
  paymentCurrency: string;
601
- participantName: string;
602
726
  paymentType: string;
603
727
  paymentUrl?: string | undefined;
604
728
  }, {
605
- coopname: string;
606
729
  chairmanName: string;
730
+ coopname: string;
731
+ participantName: string;
607
732
  paymentAmount: string;
608
733
  paymentCurrency: string;
609
- participantName: string;
610
734
  paymentType: string;
611
735
  paymentUrl?: string | undefined;
612
736
  }>;
613
- type IPayload$7 = z.infer<typeof newDepositPaymentRequestPayloadSchema>;
614
- interface IWorkflow$7 extends BaseWorkflowPayload, IPayload$7 {
737
+ type IPayload$9 = z.infer<typeof newDepositPaymentRequestPayloadSchema>;
738
+ interface IWorkflow$9 extends BaseWorkflowPayload, IPayload$9 {
615
739
  }
616
- declare const name$7 = "\u041D\u043E\u0432\u0430\u044F \u043D\u043E\u0432\u0430\u044F \u0437\u0430\u044F\u0432\u043A\u0430 \u043D\u0430 \u043F\u0430\u0435\u0432\u043E\u0439 \u0432\u0437\u043D\u043E\u0441";
617
- declare const id$7: string;
618
- declare const workflow$7: WorkflowDefinition<IWorkflow$7>;
740
+ declare const name$9 = "\u041D\u043E\u0432\u0430\u044F \u043D\u043E\u0432\u0430\u044F \u0437\u0430\u044F\u0432\u043A\u0430 \u043D\u0430 \u043F\u0430\u0435\u0432\u043E\u0439 \u0432\u0437\u043D\u043E\u0441";
741
+ declare const id$9: string;
742
+ declare const workflow$9: WorkflowDefinition<IWorkflow$9>;
619
743
 
620
- declare const index$8_newDepositPaymentRequestPayloadSchema: typeof newDepositPaymentRequestPayloadSchema;
621
- declare namespace index$8 {
622
- export { id$7 as id, name$7 as name, index$8_newDepositPaymentRequestPayloadSchema as newDepositPaymentRequestPayloadSchema, workflow$7 as workflow };
623
- export type { IPayload$7 as IPayload, IWorkflow$7 as IWorkflow };
744
+ declare const index$a_newDepositPaymentRequestPayloadSchema: typeof newDepositPaymentRequestPayloadSchema;
745
+ declare namespace index$a {
746
+ export { id$9 as id, name$9 as name, index$a_newDepositPaymentRequestPayloadSchema as newDepositPaymentRequestPayloadSchema, workflow$9 as workflow };
747
+ export type { IPayload$9 as IPayload, IWorkflow$9 as IWorkflow };
624
748
  }
625
749
 
626
750
  declare const resetKeyPayloadSchema: z.ZodObject<{
@@ -630,17 +754,17 @@ declare const resetKeyPayloadSchema: z.ZodObject<{
630
754
  }, {
631
755
  resetUrl: string;
632
756
  }>;
633
- type IPayload$6 = z.infer<typeof resetKeyPayloadSchema>;
634
- interface IWorkflow$6 extends BaseWorkflowPayload, IPayload$6 {
757
+ type IPayload$8 = z.infer<typeof resetKeyPayloadSchema>;
758
+ interface IWorkflow$8 extends BaseWorkflowPayload, IPayload$8 {
635
759
  }
636
- declare const name$6 = "\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u0430";
637
- declare const id$6: string;
638
- declare const workflow$6: WorkflowDefinition<IWorkflow$6>;
760
+ declare const name$8 = "\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u0430";
761
+ declare const id$8: string;
762
+ declare const workflow$8: WorkflowDefinition<IWorkflow$8>;
639
763
 
640
- declare const index$7_resetKeyPayloadSchema: typeof resetKeyPayloadSchema;
641
- declare namespace index$7 {
642
- export { id$6 as id, name$6 as name, index$7_resetKeyPayloadSchema as resetKeyPayloadSchema, workflow$6 as workflow };
643
- export type { IPayload$6 as IPayload, IWorkflow$6 as IWorkflow };
764
+ declare const index$9_resetKeyPayloadSchema: typeof resetKeyPayloadSchema;
765
+ declare namespace index$9 {
766
+ export { id$8 as id, name$8 as name, index$9_resetKeyPayloadSchema as resetKeyPayloadSchema, workflow$8 as workflow };
767
+ export type { IPayload$8 as IPayload, IWorkflow$8 as IWorkflow };
644
768
  }
645
769
 
646
770
  declare const invitePayloadSchema: z.ZodObject<{
@@ -650,17 +774,17 @@ declare const invitePayloadSchema: z.ZodObject<{
650
774
  }, {
651
775
  inviteUrl: string;
652
776
  }>;
653
- type IPayload$5 = z.infer<typeof invitePayloadSchema>;
654
- interface IWorkflow$5 extends BaseWorkflowPayload, IPayload$5 {
777
+ type IPayload$7 = z.infer<typeof invitePayloadSchema>;
778
+ interface IWorkflow$7 extends BaseWorkflowPayload, IPayload$7 {
655
779
  }
656
- declare const name$5 = "\u041F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u0435 \u0432 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432";
657
- declare const id$5: string;
658
- declare const workflow$5: WorkflowDefinition<IWorkflow$5>;
780
+ declare const name$7 = "\u041F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u0435 \u0432 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432";
781
+ declare const id$7: string;
782
+ declare const workflow$7: WorkflowDefinition<IWorkflow$7>;
659
783
 
660
- declare const index$6_invitePayloadSchema: typeof invitePayloadSchema;
661
- declare namespace index$6 {
662
- export { id$5 as id, index$6_invitePayloadSchema as invitePayloadSchema, name$5 as name, workflow$5 as workflow };
663
- export type { IPayload$5 as IPayload, IWorkflow$5 as IWorkflow };
784
+ declare const index$8_invitePayloadSchema: typeof invitePayloadSchema;
785
+ declare namespace index$8 {
786
+ export { id$7 as id, index$8_invitePayloadSchema as invitePayloadSchema, name$7 as name, workflow$7 as workflow };
787
+ export type { IPayload$7 as IPayload, IWorkflow$7 as IWorkflow };
664
788
  }
665
789
 
666
790
  declare const emailVerificationPayloadSchema: z.ZodObject<{
@@ -670,17 +794,37 @@ declare const emailVerificationPayloadSchema: z.ZodObject<{
670
794
  }, {
671
795
  verificationUrl: string;
672
796
  }>;
673
- type IPayload$4 = z.infer<typeof emailVerificationPayloadSchema>;
674
- interface IWorkflow$4 extends BaseWorkflowPayload, IPayload$4 {
797
+ type IPayload$6 = z.infer<typeof emailVerificationPayloadSchema>;
798
+ interface IWorkflow$6 extends BaseWorkflowPayload, IPayload$6 {
675
799
  }
676
- declare const name$4 = "\u0412\u0435\u0440\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F Email";
677
- declare const id$4: string;
678
- declare const workflow$4: WorkflowDefinition<IWorkflow$4>;
800
+ declare const name$6 = "\u0412\u0435\u0440\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F Email";
801
+ declare const id$6: string;
802
+ declare const workflow$6: WorkflowDefinition<IWorkflow$6>;
679
803
 
680
- declare const index$5_emailVerificationPayloadSchema: typeof emailVerificationPayloadSchema;
681
- declare namespace index$5 {
682
- export { index$5_emailVerificationPayloadSchema as emailVerificationPayloadSchema, id$4 as id, name$4 as name, workflow$4 as workflow };
683
- export type { IPayload$4 as IPayload, IWorkflow$4 as IWorkflow };
804
+ declare const index$7_emailVerificationPayloadSchema: typeof emailVerificationPayloadSchema;
805
+ declare namespace index$7 {
806
+ export { index$7_emailVerificationPayloadSchema as emailVerificationPayloadSchema, id$6 as id, name$6 as name, workflow$6 as workflow };
807
+ export type { IPayload$6 as IPayload, IWorkflow$6 as IWorkflow };
808
+ }
809
+
810
+ declare const membershipExitConfirmationPayloadSchema: z.ZodObject<{
811
+ confirmationUrl: z.ZodString;
812
+ }, "strip", z.ZodTypeAny, {
813
+ confirmationUrl: string;
814
+ }, {
815
+ confirmationUrl: string;
816
+ }>;
817
+ type IPayload$5 = z.infer<typeof membershipExitConfirmationPayloadSchema>;
818
+ interface IWorkflow$5 extends BaseWorkflowPayload, IPayload$5 {
819
+ }
820
+ declare const name$5 = "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0432\u044B\u0445\u043E\u0434\u0430 \u0438\u0437 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430";
821
+ declare const id$5: string;
822
+ declare const workflow$5: WorkflowDefinition<IWorkflow$5>;
823
+
824
+ declare const index$6_membershipExitConfirmationPayloadSchema: typeof membershipExitConfirmationPayloadSchema;
825
+ declare namespace index$6 {
826
+ export { id$5 as id, index$6_membershipExitConfirmationPayloadSchema as membershipExitConfirmationPayloadSchema, name$5 as name, workflow$5 as workflow };
827
+ export type { IPayload$5 as IPayload, IWorkflow$5 as IWorkflow };
684
828
  }
685
829
 
686
830
  declare const serviceProvisionedPayloadSchema: z.ZodObject<{
@@ -696,17 +840,17 @@ declare const serviceProvisionedPayloadSchema: z.ZodObject<{
696
840
  domain: string;
697
841
  provisionedAt: string;
698
842
  }>;
699
- type IPayload$3 = z.infer<typeof serviceProvisionedPayloadSchema>;
700
- interface IWorkflow$3 extends BaseWorkflowPayload, IPayload$3 {
843
+ type IPayload$4 = z.infer<typeof serviceProvisionedPayloadSchema>;
844
+ interface IWorkflow$4 extends BaseWorkflowPayload, IPayload$4 {
701
845
  }
702
- declare const name$3 = "\u0426\u0438\u0444\u0440\u043E\u0432\u043E\u0439 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442";
703
- declare const id$3: string;
704
- declare const workflow$3: WorkflowDefinition<IWorkflow$3>;
846
+ declare const name$4 = "\u0426\u0438\u0444\u0440\u043E\u0432\u043E\u0439 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442";
847
+ declare const id$4: string;
848
+ declare const workflow$4: WorkflowDefinition<IWorkflow$4>;
705
849
 
706
- declare const index$4_serviceProvisionedPayloadSchema: typeof serviceProvisionedPayloadSchema;
707
- declare namespace index$4 {
708
- export { id$3 as id, name$3 as name, index$4_serviceProvisionedPayloadSchema as serviceProvisionedPayloadSchema, workflow$3 as workflow };
709
- export type { IPayload$3 as IPayload, IWorkflow$3 as IWorkflow };
850
+ declare const index$5_serviceProvisionedPayloadSchema: typeof serviceProvisionedPayloadSchema;
851
+ declare namespace index$5 {
852
+ export { id$4 as id, name$4 as name, index$5_serviceProvisionedPayloadSchema as serviceProvisionedPayloadSchema, workflow$4 as workflow };
853
+ export type { IPayload$4 as IPayload, IWorkflow$4 as IWorkflow };
710
854
  }
711
855
 
712
856
  declare const decisionExpiredPayloadSchema: z.ZodObject<{
@@ -731,17 +875,17 @@ declare const decisionExpiredPayloadSchema: z.ZodObject<{
731
875
  short_abbr: string;
732
876
  name: string;
733
877
  }>;
734
- type IPayload$2 = z.infer<typeof decisionExpiredPayloadSchema>;
735
- interface IWorkflow$2 extends BaseWorkflowPayload, IPayload$2 {
878
+ type IPayload$3 = z.infer<typeof decisionExpiredPayloadSchema>;
879
+ interface IWorkflow$3 extends BaseWorkflowPayload, IPayload$3 {
736
880
  }
737
- declare const name$2 = "\u0420\u0435\u0448\u0435\u043D\u0438\u0435 \u0441\u043E\u0432\u0435\u0442\u0430 \u043D\u0435 \u043F\u0440\u0438\u043D\u044F\u0442\u043E \u043F\u043E \u0438\u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044E \u0441\u0440\u043E\u043A\u0430";
738
- declare const id$2: string;
739
- declare const workflow$2: WorkflowDefinition<IWorkflow$2>;
881
+ declare const name$3 = "\u0420\u0435\u0448\u0435\u043D\u0438\u0435 \u0441\u043E\u0432\u0435\u0442\u0430 \u043D\u0435 \u043F\u0440\u0438\u043D\u044F\u0442\u043E \u043F\u043E \u0438\u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044E \u0441\u0440\u043E\u043A\u0430";
882
+ declare const id$3: string;
883
+ declare const workflow$3: WorkflowDefinition<IWorkflow$3>;
740
884
 
741
- declare const index$3_decisionExpiredPayloadSchema: typeof decisionExpiredPayloadSchema;
742
- declare namespace index$3 {
743
- export { index$3_decisionExpiredPayloadSchema as decisionExpiredPayloadSchema, id$2 as id, name$2 as name, workflow$2 as workflow };
744
- export type { IPayload$2 as IPayload, IWorkflow$2 as IWorkflow };
885
+ declare const index$4_decisionExpiredPayloadSchema: typeof decisionExpiredPayloadSchema;
886
+ declare namespace index$4 {
887
+ export { index$4_decisionExpiredPayloadSchema as decisionExpiredPayloadSchema, id$3 as id, name$3 as name, workflow$3 as workflow };
888
+ export type { IPayload$3 as IPayload, IWorkflow$3 as IWorkflow };
745
889
  }
746
890
 
747
891
  declare const chatcoopCalendarEventCreatedPayloadSchema: z.ZodObject<{
@@ -781,17 +925,17 @@ declare const chatcoopCalendarEventCreatedPayloadSchema: z.ZodObject<{
781
925
  actorUsername: string;
782
926
  description?: string | undefined;
783
927
  }>;
784
- type IPayload$1 = z.infer<typeof chatcoopCalendarEventCreatedPayloadSchema>;
785
- interface IWorkflow$1 extends BaseWorkflowPayload, IPayload$1 {
928
+ type IPayload$2 = z.infer<typeof chatcoopCalendarEventCreatedPayloadSchema>;
929
+ interface IWorkflow$2 extends BaseWorkflowPayload, IPayload$2 {
786
930
  }
787
- declare const name$1 = "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E \u043D\u043E\u0432\u043E\u043C \u0441\u043E\u0431\u044B\u0442\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430";
788
- declare const id$1: string;
789
- declare const workflow$1: WorkflowDefinition<IWorkflow$1>;
931
+ declare const name$2 = "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E \u043D\u043E\u0432\u043E\u043C \u0441\u043E\u0431\u044B\u0442\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430";
932
+ declare const id$2: string;
933
+ declare const workflow$2: WorkflowDefinition<IWorkflow$2>;
790
934
 
791
- declare const index$2_chatcoopCalendarEventCreatedPayloadSchema: typeof chatcoopCalendarEventCreatedPayloadSchema;
792
- declare namespace index$2 {
793
- export { index$2_chatcoopCalendarEventCreatedPayloadSchema as chatcoopCalendarEventCreatedPayloadSchema, id$1 as id, name$1 as name, workflow$1 as workflow };
794
- export type { IPayload$1 as IPayload, IWorkflow$1 as IWorkflow };
935
+ declare const index$3_chatcoopCalendarEventCreatedPayloadSchema: typeof chatcoopCalendarEventCreatedPayloadSchema;
936
+ declare namespace index$3 {
937
+ export { index$3_chatcoopCalendarEventCreatedPayloadSchema as chatcoopCalendarEventCreatedPayloadSchema, id$2 as id, name$2 as name, workflow$2 as workflow };
938
+ export type { IPayload$2 as IPayload, IWorkflow$2 as IWorkflow };
795
939
  }
796
940
 
797
941
  declare const chatcoopCalendarEventUpdatedPayloadSchema: z.ZodObject<{
@@ -831,21 +975,73 @@ declare const chatcoopCalendarEventUpdatedPayloadSchema: z.ZodObject<{
831
975
  actorUsername: string;
832
976
  description?: string | undefined;
833
977
  }>;
834
- type IPayload = z.infer<typeof chatcoopCalendarEventUpdatedPayloadSchema>;
978
+ type IPayload$1 = z.infer<typeof chatcoopCalendarEventUpdatedPayloadSchema>;
979
+ interface IWorkflow$1 extends BaseWorkflowPayload, IPayload$1 {
980
+ }
981
+ declare const name$1 = "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E\u0431 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430";
982
+ declare const id$1: string;
983
+ declare const workflow$1: WorkflowDefinition<IWorkflow$1>;
984
+
985
+ declare const index$2_chatcoopCalendarEventUpdatedPayloadSchema: typeof chatcoopCalendarEventUpdatedPayloadSchema;
986
+ declare namespace index$2 {
987
+ export { index$2_chatcoopCalendarEventUpdatedPayloadSchema as chatcoopCalendarEventUpdatedPayloadSchema, id$1 as id, name$1 as name, workflow$1 as workflow };
988
+ export type { IPayload$1 as IPayload, IWorkflow$1 as IWorkflow };
989
+ }
990
+
991
+ declare const expenseAdvanceReportReminderPayloadSchema: z.ZodObject<{
992
+ coopName: z.ZodString;
993
+ period: z.ZodString;
994
+ count: z.ZodNumber;
995
+ link: z.ZodString;
996
+ advances: z.ZodArray<z.ZodObject<{
997
+ description: z.ZodString;
998
+ amount: z.ZodString;
999
+ url: z.ZodString;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ description: string;
1002
+ amount: string;
1003
+ url: string;
1004
+ }, {
1005
+ description: string;
1006
+ amount: string;
1007
+ url: string;
1008
+ }>, "many">;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ coopName: string;
1011
+ period: string;
1012
+ count: number;
1013
+ link: string;
1014
+ advances: {
1015
+ description: string;
1016
+ amount: string;
1017
+ url: string;
1018
+ }[];
1019
+ }, {
1020
+ coopName: string;
1021
+ period: string;
1022
+ count: number;
1023
+ link: string;
1024
+ advances: {
1025
+ description: string;
1026
+ amount: string;
1027
+ url: string;
1028
+ }[];
1029
+ }>;
1030
+ type IPayload = z.infer<typeof expenseAdvanceReportReminderPayloadSchema>;
835
1031
  interface IWorkflow extends BaseWorkflowPayload, IPayload {
836
1032
  }
837
- declare const name = "\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E\u0431 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430";
1033
+ declare const name = "\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043E\u0431 \u043E\u0442\u0447\u0451\u0442\u0435 \u043F\u043E \u0430\u0432\u0430\u043D\u0441\u0443";
838
1034
  declare const id: string;
839
1035
  declare const workflow: WorkflowDefinition<IWorkflow>;
840
1036
 
841
1037
  type index$1_IPayload = IPayload;
842
1038
  type index$1_IWorkflow = IWorkflow;
843
- declare const index$1_chatcoopCalendarEventUpdatedPayloadSchema: typeof chatcoopCalendarEventUpdatedPayloadSchema;
1039
+ declare const index$1_expenseAdvanceReportReminderPayloadSchema: typeof expenseAdvanceReportReminderPayloadSchema;
844
1040
  declare const index$1_id: typeof id;
845
1041
  declare const index$1_name: typeof name;
846
1042
  declare const index$1_workflow: typeof workflow;
847
1043
  declare namespace index$1 {
848
- export { index$1_chatcoopCalendarEventUpdatedPayloadSchema as chatcoopCalendarEventUpdatedPayloadSchema, index$1_id as id, index$1_name as name, index$1_workflow as workflow };
1044
+ export { index$1_expenseAdvanceReportReminderPayloadSchema as expenseAdvanceReportReminderPayloadSchema, index$1_id as id, index$1_name as name, index$1_workflow as workflow };
849
1045
  export type { index$1_IPayload as IPayload, index$1_IWorkflow as IWorkflow };
850
1046
  }
851
1047
 
@@ -856,32 +1052,35 @@ declare const index_allWorkflows: typeof allWorkflows;
856
1052
  declare const index_workflowsById: typeof workflowsById;
857
1053
  declare namespace index {
858
1054
  export {
859
- index$k as ApprovalRequest,
860
- index$a as ApprovalResponse,
861
- index$2 as ChatCoopCalendarEventCreated,
862
- index$1 as ChatCoopCalendarEventUpdated,
863
- index$j as DecisionApproved,
864
- index$3 as DecisionExpired,
865
- index$5 as EmailVerification,
866
- index$6 as Invite,
867
- index$b as MeetEnded,
868
- index$g as MeetInitial,
869
- index$d as MeetReminderEnd,
870
- index$f as MeetReminderStart,
871
- index$c as MeetRestart,
872
- index$e as MeetStarted,
873
- index$m as NewAgenda,
874
- index$8 as NewDepositPaymentRequest,
875
- index$9 as NewInitialPaymentRequest,
876
- index$l as NewTransfer,
877
- index$h as PaymentCancelled,
878
- index$i as PaymentPaid,
879
- index$7 as ResetKey,
880
- index$4 as ServerProvisioned,
881
- index$n as Welcome,
1055
+ index$n as ApprovalRequest,
1056
+ index$c as ApprovalResponse,
1057
+ index$3 as ChatCoopCalendarEventCreated,
1058
+ index$2 as ChatCoopCalendarEventUpdated,
1059
+ index$m as DecisionApproved,
1060
+ index$4 as DecisionExpired,
1061
+ index$7 as EmailVerification,
1062
+ index$1 as ExpenseAdvanceReportReminder,
1063
+ index$8 as Invite,
1064
+ index$d as MeetEnded,
1065
+ index$i as MeetInitial,
1066
+ index$f as MeetReminderEnd,
1067
+ index$h as MeetReminderStart,
1068
+ index$e as MeetRestart,
1069
+ index$g as MeetStarted,
1070
+ index$6 as MembershipExitConfirmation,
1071
+ index$p as NewAgenda,
1072
+ index$a as NewDepositPaymentRequest,
1073
+ index$b as NewInitialPaymentRequest,
1074
+ index$o as NewTransfer,
1075
+ index$k as PaymentCancelled,
1076
+ index$l as PaymentPaid,
1077
+ index$j as PaymentRefunded,
1078
+ index$9 as ResetKey,
1079
+ index$5 as ServerProvisioned,
1080
+ index$q as Welcome,
882
1081
  index_allWorkflows as allWorkflows,
883
1082
  index_workflowsById as workflowsById,
884
1083
  };
885
1084
  }
886
1085
 
887
- export { WorkflowBuilder, index as Workflows, createChannelConfig, createDefaultChannelsConfig, createDefaultPreferences, createEmailStep, createInAppStep, createPushStep, createSmsStep };
1086
+ export { index$r as Types, WorkflowBuilder, index as Workflows, createChannelConfig, createDefaultChannelsConfig, createDefaultPreferences, createEmailStep, createInAppStep, createPushStep, createSmsStep };