@nexeraid/identity-schemas 2.117.0-dev → 2.118.0-dev
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/declarations/src/webhooks/svix.webhooks.schema.d.ts +10843 -5943
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +333 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +333 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +320 -4
|
@@ -216,6 +216,194 @@ var VerificationFlowChecksWebhookPayload = z.object({
|
|
|
216
216
|
result: z.array(VerificationFlowResult)
|
|
217
217
|
});
|
|
218
218
|
|
|
219
|
+
var CompanyWebhookPayload = z.object({
|
|
220
|
+
workspaceId: z.string(),
|
|
221
|
+
customerId: UuidString,
|
|
222
|
+
externalCustomerId: ExternalCustomerId.nullish(),
|
|
223
|
+
createdBy: z.string(),
|
|
224
|
+
updatedBy: z.string(),
|
|
225
|
+
id: z.string(),
|
|
226
|
+
// webhook id itself... an id of the webhook event that was sent.. TODO probably we should make named ID like we do with others
|
|
227
|
+
riskScore: RiskScoreType.nullish(),
|
|
228
|
+
onboardingLevel: CustomerOnboardingLevel.nullish(),
|
|
229
|
+
status: CustomerStatus.nullish(),
|
|
230
|
+
createdAt: z.coerce.date(),
|
|
231
|
+
updatedAt: z.coerce.date().nullish(),
|
|
232
|
+
reason: z.string().nullish(),
|
|
233
|
+
deletedBy: z.string().nullish(),
|
|
234
|
+
deletedAt: z.coerce.date().nullish()
|
|
235
|
+
});
|
|
236
|
+
var COMPANY_TOPICS = ["COMPANY_CREATED", "COMPANY_UPDATED", "COMPANY_DELETED", "COMPANY_STATUS_CHANGED", "COMPANY_RISK_LEVEL_CHANGED", "COMPANY_COUNTRY"];
|
|
237
|
+
z["enum"](COMPANY_TOPICS);
|
|
238
|
+
({
|
|
239
|
+
COMPANY_CREATED: z.object({
|
|
240
|
+
topic: z.literal("COMPANY_CREATED"),
|
|
241
|
+
subject: z.string().describe("Customer ID"),
|
|
242
|
+
// CUSTOMER ID
|
|
243
|
+
data: CompanyWebhookPayload
|
|
244
|
+
}),
|
|
245
|
+
COMPANY_UPDATED: z.object({
|
|
246
|
+
topic: z.literal("COMPANY_UPDATED"),
|
|
247
|
+
subject: z.string().describe("Customer ID"),
|
|
248
|
+
// CUSTOMER ID
|
|
249
|
+
data: CompanyWebhookPayload
|
|
250
|
+
}),
|
|
251
|
+
COMPANY_DELETED: z.object({
|
|
252
|
+
topic: z.literal("COMPANY_DELETED"),
|
|
253
|
+
subject: z.string().describe("Customer ID"),
|
|
254
|
+
// CUSTOMER ID
|
|
255
|
+
data: CompanyWebhookPayload
|
|
256
|
+
}),
|
|
257
|
+
COMPANY_STATUS_CHANGED: z.object({
|
|
258
|
+
topic: z.literal("COMPANY_STATUS_CHANGED"),
|
|
259
|
+
subject: z.string().describe("Project ID"),
|
|
260
|
+
// CMS PROJECT ID
|
|
261
|
+
data: z.object({
|
|
262
|
+
cmsProjectId: z.string(),
|
|
263
|
+
customerId: UuidString,
|
|
264
|
+
externalCustomerId: ExternalCustomerId.optional(),
|
|
265
|
+
fromStatus: CustomerStatus.optional(),
|
|
266
|
+
toStatus: CustomerStatus
|
|
267
|
+
// do we need updatedBy?
|
|
268
|
+
})
|
|
269
|
+
}),
|
|
270
|
+
COMPANY_RISK_LEVEL_CHANGED: z.object({
|
|
271
|
+
topic: z.literal("COMPANY_RISK_LEVEL_CHANGED"),
|
|
272
|
+
subject: z.string().describe("Project ID"),
|
|
273
|
+
// CMS PROJECT ID
|
|
274
|
+
data: z.object({
|
|
275
|
+
cmsProjectId: z.string(),
|
|
276
|
+
customerId: UuidString,
|
|
277
|
+
externalCustomerId: ExternalCustomerId.optional(),
|
|
278
|
+
fromRiskLevel: RiskScoreType.optional(),
|
|
279
|
+
toRiskLevel: RiskScoreType,
|
|
280
|
+
riskNumber: z.number().optional() // risk number is calculated based on toRiskLevel automatically when event is parsed with zod parse
|
|
281
|
+
}).transform(function (data) {
|
|
282
|
+
// assign riskNumber based on toRiskLevel (0 - 100)
|
|
283
|
+
switch (data.toRiskLevel) {
|
|
284
|
+
case "No risk":
|
|
285
|
+
data.riskNumber = 0;
|
|
286
|
+
break;
|
|
287
|
+
case "Low":
|
|
288
|
+
data.riskNumber = 25;
|
|
289
|
+
break;
|
|
290
|
+
case "Medium":
|
|
291
|
+
data.riskNumber = 50;
|
|
292
|
+
break;
|
|
293
|
+
case "High":
|
|
294
|
+
data.riskNumber = 100;
|
|
295
|
+
break;
|
|
296
|
+
}
|
|
297
|
+
return data;
|
|
298
|
+
})
|
|
299
|
+
}),
|
|
300
|
+
COMPANY_COUNTRY: z.object({
|
|
301
|
+
topic: z.literal("COMPANY_COUNTRY"),
|
|
302
|
+
subject: z.string().describe("Project ID"),
|
|
303
|
+
// CMS PROJECT ID
|
|
304
|
+
data: z.object({
|
|
305
|
+
cmsProjectId: z.string(),
|
|
306
|
+
customerId: UuidString,
|
|
307
|
+
externalCustomerId: ExternalCustomerId.optional(),
|
|
308
|
+
country: ISO3CountryCode
|
|
309
|
+
})
|
|
310
|
+
})
|
|
311
|
+
});
|
|
312
|
+
|
|
313
|
+
var IndividualWebhookPayload = z.object({
|
|
314
|
+
workspaceId: z.string(),
|
|
315
|
+
customerId: UuidString,
|
|
316
|
+
externalCustomerId: ExternalCustomerId.nullish(),
|
|
317
|
+
createdBy: z.string(),
|
|
318
|
+
updatedBy: z.string(),
|
|
319
|
+
id: z.string(),
|
|
320
|
+
// webhook id itself... an id of the webhook event that was sent.. TODO probably we should make named ID like we do with others
|
|
321
|
+
riskScore: RiskScoreType.nullish(),
|
|
322
|
+
onboardingLevel: CustomerOnboardingLevel.nullish(),
|
|
323
|
+
status: CustomerStatus.nullish(),
|
|
324
|
+
createdAt: z.coerce.date(),
|
|
325
|
+
updatedAt: z.coerce.date().nullish(),
|
|
326
|
+
reason: z.string().nullish(),
|
|
327
|
+
deletedBy: z.string().nullish(),
|
|
328
|
+
deletedAt: z.coerce.date().nullish()
|
|
329
|
+
});
|
|
330
|
+
var INDIVIDUAL_TOPICS = ["INDIVIDUAL_CREATED", "INDIVIDUAL_UPDATED", "INDIVIDUAL_DELETED", "INDIVIDUAL_STATUS_CHANGED", "INDIVIDUAL_RISK_LEVEL_CHANGED", "INDIVIDUAL_COUNTRY"];
|
|
331
|
+
z["enum"](INDIVIDUAL_TOPICS);
|
|
332
|
+
({
|
|
333
|
+
INDIVIDUAL_CREATED: z.object({
|
|
334
|
+
topic: z.literal("INDIVIDUAL_CREATED"),
|
|
335
|
+
subject: z.string().describe("Customer ID"),
|
|
336
|
+
// CUSTOMER ID
|
|
337
|
+
data: IndividualWebhookPayload
|
|
338
|
+
}),
|
|
339
|
+
INDIVIDUAL_UPDATED: z.object({
|
|
340
|
+
topic: z.literal("INDIVIDUAL_UPDATED"),
|
|
341
|
+
subject: z.string().describe("Customer ID"),
|
|
342
|
+
// CUSTOMER ID
|
|
343
|
+
data: IndividualWebhookPayload
|
|
344
|
+
}),
|
|
345
|
+
INDIVIDUAL_DELETED: z.object({
|
|
346
|
+
topic: z.literal("INDIVIDUAL_DELETED"),
|
|
347
|
+
subject: z.string().describe("Customer ID"),
|
|
348
|
+
// CUSTOMER ID
|
|
349
|
+
data: IndividualWebhookPayload
|
|
350
|
+
}),
|
|
351
|
+
INDIVIDUAL_STATUS_CHANGED: z.object({
|
|
352
|
+
topic: z.literal("INDIVIDUAL_STATUS_CHANGED"),
|
|
353
|
+
subject: z.string().describe("Project ID"),
|
|
354
|
+
// CMS PROJECT ID
|
|
355
|
+
data: z.object({
|
|
356
|
+
cmsProjectId: z.string(),
|
|
357
|
+
customerId: UuidString,
|
|
358
|
+
externalCustomerId: ExternalCustomerId.optional(),
|
|
359
|
+
fromStatus: CustomerStatus.optional(),
|
|
360
|
+
toStatus: CustomerStatus
|
|
361
|
+
// do we need updatedBy?
|
|
362
|
+
})
|
|
363
|
+
}),
|
|
364
|
+
INDIVIDUAL_RISK_LEVEL_CHANGED: z.object({
|
|
365
|
+
topic: z.literal("INDIVIDUAL_RISK_LEVEL_CHANGED"),
|
|
366
|
+
subject: z.string().describe("Project ID"),
|
|
367
|
+
// CMS PROJECT ID
|
|
368
|
+
data: z.object({
|
|
369
|
+
cmsProjectId: z.string(),
|
|
370
|
+
customerId: UuidString,
|
|
371
|
+
externalCustomerId: ExternalCustomerId.optional(),
|
|
372
|
+
fromRiskLevel: RiskScoreType.optional(),
|
|
373
|
+
toRiskLevel: RiskScoreType,
|
|
374
|
+
riskNumber: z.number().optional() // risk number is calculated based on toRiskLevel automatically when event is parsed with zod parse
|
|
375
|
+
}).transform(function (data) {
|
|
376
|
+
// assign riskNumber based on toRiskLevel (0 - 100)
|
|
377
|
+
switch (data.toRiskLevel) {
|
|
378
|
+
case "No risk":
|
|
379
|
+
data.riskNumber = 0;
|
|
380
|
+
break;
|
|
381
|
+
case "Low":
|
|
382
|
+
data.riskNumber = 25;
|
|
383
|
+
break;
|
|
384
|
+
case "Medium":
|
|
385
|
+
data.riskNumber = 50;
|
|
386
|
+
break;
|
|
387
|
+
case "High":
|
|
388
|
+
data.riskNumber = 100;
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
return data;
|
|
392
|
+
})
|
|
393
|
+
}),
|
|
394
|
+
INDIVIDUAL_COUNTRY: z.object({
|
|
395
|
+
topic: z.literal("INDIVIDUAL_COUNTRY"),
|
|
396
|
+
subject: z.string().describe("Project ID"),
|
|
397
|
+
// CMS PROJECT ID
|
|
398
|
+
data: z.object({
|
|
399
|
+
cmsProjectId: z.string(),
|
|
400
|
+
customerId: UuidString,
|
|
401
|
+
externalCustomerId: ExternalCustomerId.optional(),
|
|
402
|
+
country: ISO3CountryCode
|
|
403
|
+
})
|
|
404
|
+
})
|
|
405
|
+
});
|
|
406
|
+
|
|
219
407
|
var TMSWebhookPayload = z.object({
|
|
220
408
|
workspaceId: z.coerce.string(),
|
|
221
409
|
id: z.string(),
|
|
@@ -232,9 +420,9 @@ var TMSWebhookPayload = z.object({
|
|
|
232
420
|
updatedAt: z.coerce.date().nullable()
|
|
233
421
|
});
|
|
234
422
|
|
|
235
|
-
var WebhookEventTypes = ["send.scenario", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
|
|
423
|
+
var WebhookEventTypes = ["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
|
|
236
424
|
var WebhookEventType = z["enum"](WebhookEventTypes);
|
|
237
|
-
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
425
|
+
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
238
426
|
var WebhookEventTypeForm = z["enum"](WebhookEventTypesForm);
|
|
239
427
|
var AttemptsStatus = {
|
|
240
428
|
Success: 0,
|
|
@@ -275,6 +463,36 @@ var NexeraEventTypes = z.union([z.object({
|
|
|
275
463
|
description: z.string(),
|
|
276
464
|
archived: z["boolean"](),
|
|
277
465
|
schemas: z.record(z.unknown())
|
|
466
|
+
}), z.object({
|
|
467
|
+
name: z.literal("individual.created"),
|
|
468
|
+
description: z.string(),
|
|
469
|
+
archived: z["boolean"](),
|
|
470
|
+
schemas: z.record(z.unknown())
|
|
471
|
+
}), z.object({
|
|
472
|
+
name: z.literal("individual.updated"),
|
|
473
|
+
description: z.string(),
|
|
474
|
+
archived: z["boolean"](),
|
|
475
|
+
schemas: z.record(z.unknown())
|
|
476
|
+
}), z.object({
|
|
477
|
+
name: z.literal("individual.deleted"),
|
|
478
|
+
description: z.string(),
|
|
479
|
+
archived: z["boolean"](),
|
|
480
|
+
schemas: z.record(z.unknown())
|
|
481
|
+
}), z.object({
|
|
482
|
+
name: z.literal("company.created"),
|
|
483
|
+
description: z.string(),
|
|
484
|
+
archived: z["boolean"](),
|
|
485
|
+
schemas: z.record(z.unknown())
|
|
486
|
+
}), z.object({
|
|
487
|
+
name: z.literal("company.updated"),
|
|
488
|
+
description: z.string(),
|
|
489
|
+
archived: z["boolean"](),
|
|
490
|
+
schemas: z.record(z.unknown())
|
|
491
|
+
}), z.object({
|
|
492
|
+
name: z.literal("company.deleted"),
|
|
493
|
+
description: z.string(),
|
|
494
|
+
archived: z["boolean"](),
|
|
495
|
+
schemas: z.record(z.unknown())
|
|
278
496
|
}), z.object({
|
|
279
497
|
name: z.literal("alert.created"),
|
|
280
498
|
description: z.string(),
|
|
@@ -328,6 +546,30 @@ var CustomerDeletedPayload = z.object({
|
|
|
328
546
|
eventType: z.literal("customer.deleted"),
|
|
329
547
|
payload: CustomerWebhookPayload
|
|
330
548
|
});
|
|
549
|
+
var IndividualCreatedPayload = z.object({
|
|
550
|
+
eventType: z.literal("individual.created"),
|
|
551
|
+
payload: IndividualWebhookPayload
|
|
552
|
+
});
|
|
553
|
+
var IndividualUpdatedPayload = z.object({
|
|
554
|
+
eventType: z.literal("individual.updated"),
|
|
555
|
+
payload: IndividualWebhookPayload
|
|
556
|
+
});
|
|
557
|
+
var IndividualDeletedPayload = z.object({
|
|
558
|
+
eventType: z.literal("individual.deleted"),
|
|
559
|
+
payload: IndividualWebhookPayload
|
|
560
|
+
});
|
|
561
|
+
var CompanyCreatedPayload = z.object({
|
|
562
|
+
eventType: z.literal("company.created"),
|
|
563
|
+
payload: CompanyWebhookPayload
|
|
564
|
+
});
|
|
565
|
+
var CompanyUpdatedPayload = z.object({
|
|
566
|
+
eventType: z.literal("company.updated"),
|
|
567
|
+
payload: CompanyWebhookPayload
|
|
568
|
+
});
|
|
569
|
+
var CompanyDeletedPayload = z.object({
|
|
570
|
+
eventType: z.literal("company.deleted"),
|
|
571
|
+
payload: CompanyWebhookPayload
|
|
572
|
+
});
|
|
331
573
|
var AlertCreatedPayload = z.object({
|
|
332
574
|
eventType: z.literal("alert.created"),
|
|
333
575
|
payload: AlertWebhookPayload
|
|
@@ -354,9 +596,11 @@ var TMSDeletedPayload = z.object({
|
|
|
354
596
|
});
|
|
355
597
|
var WebhookScenariosEventPayload = SendScenarioPayload;
|
|
356
598
|
var WebhookCustomerEventPayload = z.union([CustomerCreatedPayload, CustomerUpdatedPayload, CustomerDeletedPayload]);
|
|
599
|
+
var WebhookIndividualEventPayload = z.union([IndividualCreatedPayload, IndividualUpdatedPayload, IndividualDeletedPayload]);
|
|
600
|
+
var WebhookCompanyEventPayload = z.union([CompanyCreatedPayload, CompanyUpdatedPayload, CompanyDeletedPayload]);
|
|
357
601
|
var WebhookAlertEventPayload = z.union([AlertCreatedPayload, AlertUpdatedPayload, AlertDeletedPayload]);
|
|
358
602
|
var WebhookTMSEventPayload = z.union([TMSCreatedPayload, TMSUpdatedPayload, TMSDeletedPayload]);
|
|
359
|
-
var WebhookEventPayload = z.union([WebhookScenariosEventPayload, WebhookCustomerEventPayload, WebhookAlertEventPayload, WebhookTMSEventPayload]);
|
|
603
|
+
var WebhookEventPayload = z.union([WebhookScenariosEventPayload, WebhookCustomerEventPayload, WebhookIndividualEventPayload, WebhookCompanyEventPayload, WebhookAlertEventPayload, WebhookTMSEventPayload]);
|
|
360
604
|
var AllNexeraEventTypes = z.array(NexeraEventTypes);
|
|
361
605
|
var NexeraSvixEnvironmentConfig = z.object({
|
|
362
606
|
env: EnvironmentSchema
|
|
@@ -376,6 +620,12 @@ var EndpointHandlingForm = z.object({
|
|
|
376
620
|
customerCreated: z["boolean"]().optional(),
|
|
377
621
|
customerUpdated: z["boolean"]().optional(),
|
|
378
622
|
customerDeleted: z["boolean"]().optional(),
|
|
623
|
+
individualCreated: z["boolean"]().optional(),
|
|
624
|
+
individualUpdated: z["boolean"]().optional(),
|
|
625
|
+
individualDeleted: z["boolean"]().optional(),
|
|
626
|
+
companyCreated: z["boolean"]().optional(),
|
|
627
|
+
companyUpdated: z["boolean"]().optional(),
|
|
628
|
+
companyDeleted: z["boolean"]().optional(),
|
|
379
629
|
alertCreated: z["boolean"]().optional(),
|
|
380
630
|
alertUpdated: z["boolean"]().optional(),
|
|
381
631
|
alertDeleted: z["boolean"]().optional(),
|
|
@@ -503,6 +753,30 @@ var SendMessageForCustomerDeletedInput = z.object({
|
|
|
503
753
|
projectId: z.string(),
|
|
504
754
|
payload: CustomerDeletedPayload
|
|
505
755
|
});
|
|
756
|
+
var SendMessageForIndividualCreatedInput = z.object({
|
|
757
|
+
projectId: z.string(),
|
|
758
|
+
payload: IndividualCreatedPayload
|
|
759
|
+
});
|
|
760
|
+
var SendMessageForIndividualUpdatedInput = z.object({
|
|
761
|
+
projectId: z.string(),
|
|
762
|
+
payload: IndividualUpdatedPayload
|
|
763
|
+
});
|
|
764
|
+
var SendMessageForIndividualDeletedInput = z.object({
|
|
765
|
+
projectId: z.string(),
|
|
766
|
+
payload: IndividualDeletedPayload
|
|
767
|
+
});
|
|
768
|
+
var SendMessageForCompanyCreatedInput = z.object({
|
|
769
|
+
projectId: z.string(),
|
|
770
|
+
payload: CompanyCreatedPayload
|
|
771
|
+
});
|
|
772
|
+
var SendMessageForCompanyUpdatedInput = z.object({
|
|
773
|
+
projectId: z.string(),
|
|
774
|
+
payload: CompanyUpdatedPayload
|
|
775
|
+
});
|
|
776
|
+
var SendMessageForCompanyDeletedInput = z.object({
|
|
777
|
+
projectId: z.string(),
|
|
778
|
+
payload: CompanyDeletedPayload
|
|
779
|
+
});
|
|
506
780
|
var SendMessageForAlertCreatedInput = z.object({
|
|
507
781
|
projectId: z.string(),
|
|
508
782
|
payload: AlertCreatedPayload
|
|
@@ -630,6 +904,48 @@ var NexeraWebhookEvents = [{
|
|
|
630
904
|
schemas: {
|
|
631
905
|
1: zodToJsonSchema(CustomerDeletedPayload)
|
|
632
906
|
}
|
|
907
|
+
}, {
|
|
908
|
+
name: "individual.created",
|
|
909
|
+
description: "Individual Created Webhook",
|
|
910
|
+
archived: false,
|
|
911
|
+
schemas: {
|
|
912
|
+
1: zodToJsonSchema(IndividualCreatedPayload)
|
|
913
|
+
}
|
|
914
|
+
}, {
|
|
915
|
+
name: "individual.updated",
|
|
916
|
+
description: "Individual Updated Webhook",
|
|
917
|
+
archived: false,
|
|
918
|
+
schemas: {
|
|
919
|
+
1: zodToJsonSchema(IndividualUpdatedPayload)
|
|
920
|
+
}
|
|
921
|
+
}, {
|
|
922
|
+
name: "individual.deleted",
|
|
923
|
+
description: "Individual Deleted Webhook",
|
|
924
|
+
archived: false,
|
|
925
|
+
schemas: {
|
|
926
|
+
1: zodToJsonSchema(IndividualDeletedPayload)
|
|
927
|
+
}
|
|
928
|
+
}, {
|
|
929
|
+
name: "company.created",
|
|
930
|
+
description: "Company Created Webhook",
|
|
931
|
+
archived: false,
|
|
932
|
+
schemas: {
|
|
933
|
+
1: zodToJsonSchema(CompanyCreatedPayload)
|
|
934
|
+
}
|
|
935
|
+
}, {
|
|
936
|
+
name: "company.updated",
|
|
937
|
+
description: "Company Updated Webhook",
|
|
938
|
+
archived: false,
|
|
939
|
+
schemas: {
|
|
940
|
+
1: zodToJsonSchema(CompanyUpdatedPayload)
|
|
941
|
+
}
|
|
942
|
+
}, {
|
|
943
|
+
name: "company.deleted",
|
|
944
|
+
description: "Company Deleted Webhook",
|
|
945
|
+
archived: false,
|
|
946
|
+
schemas: {
|
|
947
|
+
1: zodToJsonSchema(CompanyDeletedPayload)
|
|
948
|
+
}
|
|
633
949
|
}, {
|
|
634
950
|
name: "alert.created",
|
|
635
951
|
description: "Alert Created Webhook",
|
|
@@ -674,4 +990,4 @@ var NexeraWebhookEvents = [{
|
|
|
674
990
|
}
|
|
675
991
|
}];
|
|
676
992
|
|
|
677
|
-
export { ALERT_CHART_TYPES, ALERT_TABLE_COLUMNS, AlertCategories, AlertCategory, AlertChartType, AlertCreatedPayload, AlertDeletedPayload, AlertSeverities, AlertSeverity, AlertStatus, AlertStatuses, AlertTableColumn, AlertType, AlertTypes, AlertUpdatedPayload, AlertWebhookPayload, AllNexeraEventTypes, AttemptDataOut, AttemptsStatus, AttemptsStatusCode, AttemptsStatusCodes, AttemptsStatusKey, AttemptsStatusKeys, CUSTOMER_TOPICS, ConnectionHandlingWorkspaceInput, ConnectionHandlingWorkspaceOutput, CreateEndpointInput, CreateEndpointOutput, CustomerCreatedPayload, CustomerDeletedPayload, CustomerEvents, CustomerTopics, CustomerUpdatedPayload, CustomerWebhookPayload, DeleteEndpointInput, DeleteEndpointOutput, DuplicateData, EndpointCheckboxsCollapsiblesSchema, EndpointHandlingForm, EndpointOut, EventType, GetEndpointSecretInput, GetEndpointSecretOutput, GetMessagesInput, ListAttemptsByEndpointInput, ListAttemptsByMessageInput, ListAttemptsByMessageOutput, ListEndpointsInput, ListEventTypeOutput, ListMessagesInput, ListMessagesOutput, ListResponseEndpointOut, MessageDataOut, MessageDataOutExtended, NexeraSvixEnvironmentConfig, NexeraWebhookEvents, ResendWebhookInput, ScenarioWebhookPayloadSchema, SendExampleMessageInput, SendMessageForAlertCreatedInput, SendMessageForAlertDeletedInput, SendMessageForAlertUpdatedInput, SendMessageForCustomerCreatedInput, SendMessageForCustomerDeletedInput, SendMessageForCustomerUpdatedInput, SendMessageForSendScenarioInput, SendMessageForTMSCreatedInput, SendMessageForTMSDeletedInput, SendMessageForTMSUpdatedInput, SendScenarioPayload, TMSCreatedPayload, TMSDeletedPayload, TMSUpdatedPayload, TMSWebhookPayload, UpdateEndpointInput, UpdateEndpointOutput, UserInfoForDuplicate, VerificationFlowChecksWebhookPayload, VerificationFlowResult, VerificationFlowResultBitRank, VerificationFlowResultChainalysis, VerificationFlowResultIpQualityScore, VerificationFlowResultMerkleScience, VerificationFlowResultScoreChain, WebhookAlertEventPayload, WebhookCheckboxInformation, WebhookCustomerEventPayload, WebhookEventPayload, WebhookEventType, WebhookEventTypeForm, WebhookEventTypes, WebhookEventTypesForm, WebhookScenariosEventPayload, WebhookTMSEventPayload, WebhookTagOutputData };
|
|
993
|
+
export { ALERT_CHART_TYPES, ALERT_TABLE_COLUMNS, AlertCategories, AlertCategory, AlertChartType, AlertCreatedPayload, AlertDeletedPayload, AlertSeverities, AlertSeverity, AlertStatus, AlertStatuses, AlertTableColumn, AlertType, AlertTypes, AlertUpdatedPayload, AlertWebhookPayload, AllNexeraEventTypes, AttemptDataOut, AttemptsStatus, AttemptsStatusCode, AttemptsStatusCodes, AttemptsStatusKey, AttemptsStatusKeys, CUSTOMER_TOPICS, CompanyCreatedPayload, CompanyDeletedPayload, CompanyUpdatedPayload, ConnectionHandlingWorkspaceInput, ConnectionHandlingWorkspaceOutput, CreateEndpointInput, CreateEndpointOutput, CustomerCreatedPayload, CustomerDeletedPayload, CustomerEvents, CustomerTopics, CustomerUpdatedPayload, CustomerWebhookPayload, DeleteEndpointInput, DeleteEndpointOutput, DuplicateData, EndpointCheckboxsCollapsiblesSchema, EndpointHandlingForm, EndpointOut, EventType, GetEndpointSecretInput, GetEndpointSecretOutput, GetMessagesInput, IndividualCreatedPayload, IndividualDeletedPayload, IndividualUpdatedPayload, ListAttemptsByEndpointInput, ListAttemptsByMessageInput, ListAttemptsByMessageOutput, ListEndpointsInput, ListEventTypeOutput, ListMessagesInput, ListMessagesOutput, ListResponseEndpointOut, MessageDataOut, MessageDataOutExtended, NexeraSvixEnvironmentConfig, NexeraWebhookEvents, ResendWebhookInput, ScenarioWebhookPayloadSchema, SendExampleMessageInput, SendMessageForAlertCreatedInput, SendMessageForAlertDeletedInput, SendMessageForAlertUpdatedInput, SendMessageForCompanyCreatedInput, SendMessageForCompanyDeletedInput, SendMessageForCompanyUpdatedInput, SendMessageForCustomerCreatedInput, SendMessageForCustomerDeletedInput, SendMessageForCustomerUpdatedInput, SendMessageForIndividualCreatedInput, SendMessageForIndividualDeletedInput, SendMessageForIndividualUpdatedInput, SendMessageForSendScenarioInput, SendMessageForTMSCreatedInput, SendMessageForTMSDeletedInput, SendMessageForTMSUpdatedInput, SendScenarioPayload, TMSCreatedPayload, TMSDeletedPayload, TMSUpdatedPayload, TMSWebhookPayload, UpdateEndpointInput, UpdateEndpointOutput, UserInfoForDuplicate, VerificationFlowChecksWebhookPayload, VerificationFlowResult, VerificationFlowResultBitRank, VerificationFlowResultChainalysis, VerificationFlowResultIpQualityScore, VerificationFlowResultMerkleScience, VerificationFlowResultScoreChain, WebhookAlertEventPayload, WebhookCheckboxInformation, WebhookCompanyEventPayload, WebhookCustomerEventPayload, WebhookEventPayload, WebhookEventType, WebhookEventTypeForm, WebhookEventTypes, WebhookEventTypesForm, WebhookIndividualEventPayload, WebhookScenariosEventPayload, WebhookTMSEventPayload, WebhookTagOutputData };
|