@wisemen/wise-crm-web 0.2.2 → 0.2.4
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/{BusinessDetailSidebarProvider-BQMRbGHQ.js → BusinessDetailSidebarProvider-CXG99iHk.js} +24 -30
- package/dist/{BusinessDetailView-BxGxWOme.js → BusinessDetailView-BZpocob4.js} +5 -5
- package/dist/{CrmDetailHeaderCard-CCNJpMAK.js → CrmDetailHeaderCard-Jo2OteBb.js} +2 -2
- package/dist/{CrmDetailView-ozCpuaX2.js → CrmDetailView-DKHX-JEl.js} +1 -1
- package/dist/{DealCommunicationTabView-Df5EeolN.js → DealCommunicationTabView-ClflVxHJ.js} +2 -2
- package/dist/{DealDetailView-DdWHqaBr.js → DealDetailView-ChAFvBBK.js} +5 -5
- package/dist/{DealExternalAttachment-qHdh4yMI.js → DealExternalAttachment-ClwtFzpQ.js} +1 -1
- package/dist/{DealSendMailDialog-BaYcWZP-.js → DealSendMailDialog-SWWyaxq8.js} +3 -3
- package/dist/{Error-BArv9rNb.js → Error-CX6APxDX.js} +410 -389
- package/dist/{IndividualDetailSidebarProvider-BXZH951l.js → IndividualDetailSidebarProvider-BJgxw1Jd.js} +3 -3
- package/dist/{IndividualDetailView-DfYS31-e.js → IndividualDetailView-CvGUCWPY.js} +5 -5
- package/dist/client/apiErrorCode.gen.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +2 -1
- package/dist/client/types.gen.d.ts +405 -351
- package/dist/client/zod.gen.d.ts +7527 -7342
- package/dist/{client-pCaNxE3C.js → client-CpsHjr8V.js} +327 -294
- package/dist/components/action-tooltip/ActionTooltip.vue.d.ts +2 -2
- package/dist/components/animation/AnimateHeight.vue.d.ts +2 -2
- package/dist/components/animation/AnimateWidth.vue.d.ts +2 -2
- package/dist/components/animation/FormCardSubmitButtonTransition.vue.d.ts +2 -2
- package/dist/components/animation/OpenCrmDetailTransition.vue.d.ts +2 -2
- package/dist/components/app/AppForm.vue.d.ts +9 -5
- package/dist/components/app/AppGlobalFormError.vue.d.ts +9 -5
- package/dist/components/app/dialog/AppDialog.vue.d.ts +2 -2
- package/dist/components/app/dialog/AppDialogHeader.vue.d.ts +2 -2
- package/dist/components/app/dialog/AppDialogStepper.vue.d.ts +9 -5
- package/dist/components/app/dialog/AppEntityDialog.vue.d.ts +2 -2
- package/dist/components/app/drawer/AppDrawer.vue.d.ts +2 -2
- package/dist/components/app/height-transition/AppHeightTransition.vue.d.ts +2 -2
- package/dist/components/app/rich-text-field/AppRichTextField.vue.d.ts +2 -2
- package/dist/components/app/tags-input-field/AppTagsInputField.vue.d.ts +2 -2
- package/dist/components/base/fieldset/BaseFieldsetLegend.vue.d.ts +2 -2
- package/dist/components/button-tooltip/ButtonTooltip.vue.d.ts +2 -2
- package/dist/components/clickable-element/ClickableElement.vue.d.ts +2 -2
- package/dist/components/color-provider/AppColorProvider.vue.d.ts +2 -2
- package/dist/components/column-layout/ColumnLayout.vue.d.ts +2 -2
- package/dist/components/crm-detail/CrmDetailAccordionRoot.vue.d.ts +2 -2
- package/dist/components/crm-detail/CrmDetailContent.vue.d.ts +2 -2
- package/dist/components/crm-detail/CrmDetailSidebarAccordionItem.vue.d.ts +3 -3
- package/dist/components/crm-detail/CrmDetailSidebarTabs.vue.d.ts +2 -2
- package/dist/components/custom-field/CustomFieldDefinitionForm.vue.d.ts +9 -5
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +10 -6
- package/dist/components/entity-autocomplete/EntityAutocomplete.vue.d.ts +10 -6
- package/dist/components/file-upload/components/FormFileUpload.vue.d.ts +10 -6
- package/dist/components/filters/active/FiltersActiveFilterPopover.vue.d.ts +3 -3
- package/dist/components/filters/active/FiltersActiveValue.vue.d.ts +2 -2
- package/dist/components/focusable-element/FocusableElement.vue.d.ts +2 -2
- package/dist/components/form/FormFieldset.vue.d.ts +2 -2
- package/dist/components/open-entity-button/AppOpenEntityButton.vue.d.ts +2 -2
- package/dist/components/reveal-on-hover-or-focus/RevealOnHoverOrFocus.vue.d.ts +2 -2
- package/dist/components/row-layout/RowLayout.vue.d.ts +2 -2
- package/dist/components/table/TableActionsLayout.vue.d.ts +3 -3
- package/dist/components/table/data-table/DataTable.vue.d.ts +9 -5
- package/dist/components/table/data-table/DataTableCell.vue.d.ts +2 -2
- package/dist/components/table/data-table/DataTableEmptyOrLoadingState.vue.d.ts +2 -2
- package/dist/contact-person/ContactPersonCreateNewForm.vue.d.ts +2 -2
- package/dist/deal/components/DealContactPersonCreateNewForm.vue.d.ts +2 -2
- package/dist/deal/components/DealSendMailFormAttachmentField.vue.d.ts +10 -6
- package/dist/dialogs/contact-create/components/animations/ContactCreateDialogContentTransition.vue.d.ts +2 -2
- package/dist/index.js +188 -180
- package/dist/models/address/address.transformer.d.ts +1 -1
- package/dist/models/billing-information/billingInformationUuid.model.d.ts +1 -1
- package/dist/models/board/boardColumnUuid.model.d.ts +1 -1
- package/dist/models/board/transition/boardColumnTransitionUuid.model.d.ts +1 -1
- package/dist/models/business/businessUuid.model.d.ts +1 -1
- package/dist/models/business/create/businessCreateForm.model.d.ts +6 -6
- package/dist/models/business/individualItem.model.d.ts +1 -1
- package/dist/models/cbe/cbeEnterpriseNumber.model.d.ts +1 -1
- package/dist/models/cbe/search/cbeEnterpriseItem.model.d.ts +1 -1
- package/dist/models/contact-person/create/contactPersonCreateExistingForm.model.d.ts +1 -1
- package/dist/models/deal/contact-person/dealContactPersonCreateExistingForm.model.d.ts +1 -1
- package/dist/models/deal/dealUuid.model.d.ts +1 -1
- package/dist/models/individual/individualItem.model.d.ts +1 -1
- package/dist/models/individual/individualUuid.model.d.ts +1 -1
- package/dist/models/location/locationUuid.model.d.ts +1 -1
- package/dist/models/mail/create/mailCreateForm.model.d.ts +1 -1
- package/dist/models/mail/mailUuid.model.d.ts +1 -1
- package/dist/models/mail-template/mailTemplateUuid.model.d.ts +1 -1
- package/dist/models/notes/noteUuid.model.d.ts +1 -1
- package/dist/models/tenant-config/tenantConfig.model.d.ts +1 -0
- package/dist/models/user/userUuid.model.d.ts +1 -1
- package/dist/models/vat-number/vatNumber.transformer.d.ts +2 -2
- package/dist/style.css +2 -2
- package/dist/testing.js +1 -1
- package/package.json +21 -21
|
@@ -9,12 +9,12 @@ let Locale = /* @__PURE__ */ function(u) {
|
|
|
9
9
|
return u.INDIVIDUAL = "individual", u.BUSINESS = "business", u;
|
|
10
10
|
}({}), MimeType = /* @__PURE__ */ function(u) {
|
|
11
11
|
return u.APPLICATION_PDF = "application/pdf", u.APPLICATION_MSWORD = "application/msword", u.APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", u.APPLICATION_VND_MS_POWERPOINT = "application/vnd.ms-powerpoint", u.APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = "application/vnd.openxmlformats-officedocument.presentationml.presentation", u.TEXT_PLAIN = "text/plain", u.TEXT_HTML = "text/html", u.TEXT_CSV = "text/csv", u.IMAGE_JPEG = "image/jpeg", u.IMAGE_PNG = "image/png", u.IMAGE_TIFF = "image/tiff", u.IMAGE_BMP = "image/bmp", u.IMAGE_HEIC = "image/heic", u.IMAGE_WEBP = "image/webp", u.IMAGE_GIF = "image/gif", u.APPLICATION_OCTET_STREAM = "application/octet-stream", u;
|
|
12
|
-
}({}), BoardColumnTransitionTriggerType = /* @__PURE__ */ function(u) {
|
|
13
|
-
return u.MANUAL = "manual", u.EMAIL = "email", u;
|
|
14
12
|
}({}), CountryCode = /* @__PURE__ */ function(u) {
|
|
15
13
|
return u.AF = "AF", u.AL = "AL", u.DZ = "DZ", u.AD = "AD", u.AO = "AO", u.AG = "AG", u.AR = "AR", u.AM = "AM", u.AU = "AU", u.AT = "AT", u.AZ = "AZ", u.BS = "BS", u.BH = "BH", u.BD = "BD", u.BB = "BB", u.BY = "BY", u.BE = "BE", u.BZ = "BZ", u.BJ = "BJ", u.BT = "BT", u.BO = "BO", u.BA = "BA", u.BW = "BW", u.BR = "BR", u.BN = "BN", u.BG = "BG", u.BF = "BF", u.BI = "BI", u.KH = "KH", u.CM = "CM", u.CA = "CA", u.CV = "CV", u.CF = "CF", u.TD = "TD", u.CL = "CL", u.CN = "CN", u.CO = "CO", u.KM = "KM", u.CG = "CG", u.CR = "CR", u.HR = "HR", u.CU = "CU", u.CY = "CY", u.CZ = "CZ", u.DK = "DK", u.DJ = "DJ", u.DM = "DM", u.DO = "DO", u.EC = "EC", u.EG = "EG", u.SV = "SV", u.GQ = "GQ", u.ER = "ER", u.EE = "EE", u.ET = "ET", u.FJ = "FJ", u.FI = "FI", u.FR = "FR", u.GA = "GA", u.GM = "GM", u.GE = "GE", u.DE = "DE", u.GH = "GH", u.GR = "GR", u.GD = "GD", u.GT = "GT", u.GN = "GN", u.GW = "GW", u.GY = "GY", u.HT = "HT", u.HN = "HN", u.HU = "HU", u.IS = "IS", u.IN = "IN", u.ID = "ID", u.IR = "IR", u.IQ = "IQ", u.IE = "IE", u.IL = "IL", u.IT = "IT", u.JM = "JM", u.JP = "JP", u.JO = "JO", u.KZ = "KZ", u.KE = "KE", u.KI = "KI", u.KP = "KP", u.KR = "KR", u.KW = "KW", u.KG = "KG", u.LA = "LA", u.LV = "LV", u.LB = "LB", u.LS = "LS", u.LR = "LR", u.LY = "LY", u.LI = "LI", u.LT = "LT", u.LU = "LU", u.MG = "MG", u.MW = "MW", u.MY = "MY", u.MV = "MV", u.ML = "ML", u.MT = "MT", u.MH = "MH", u.MR = "MR", u.MU = "MU", u.MX = "MX", u.FM = "FM", u.MD = "MD", u.MC = "MC", u.MN = "MN", u.ME = "ME", u.MA = "MA", u.MZ = "MZ", u.MM = "MM", u.NA = "NA", u.NR = "NR", u.NP = "NP", u.NL = "NL", u.NZ = "NZ", u.NI = "NI", u.NE = "NE", u.NG = "NG", u.XI = "XI", u.MK = "MK", u.NO = "NO", u.OM = "OM", u.PK = "PK", u.PW = "PW", u.PA = "PA", u.PG = "PG", u.PY = "PY", u.PE = "PE", u.PH = "PH", u.PL = "PL", u.PT = "PT", u.QA = "QA", u.RO = "RO", u.RU = "RU", u.RW = "RW", u.KN = "KN", u.LC = "LC", u.VC = "VC", u.WS = "WS", u.SM = "SM", u.ST = "ST", u.SA = "SA", u.SN = "SN", u.RS = "RS", u.SC = "SC", u.SL = "SL", u.SG = "SG", u.SK = "SK", u.SI = "SI", u.SB = "SB", u.SO = "SO", u.ZA = "ZA", u.SS = "SS", u.ES = "ES", u.LK = "LK", u.SD = "SD", u.SR = "SR", u.SE = "SE", u.CH = "CH", u.SY = "SY", u.TW = "TW", u.TJ = "TJ", u.TZ = "TZ", u.TH = "TH", u.TL = "TL", u.TG = "TG", u.TO = "TO", u.TT = "TT", u.TN = "TN", u.TR = "TR", u.TM = "TM", u.TV = "TV", u.UG = "UG", u.UA = "UA", u.AE = "AE", u.GB = "GB", u.US = "US", u.UY = "UY", u.UZ = "UZ", u.VU = "VU", u.VA = "VA", u.VE = "VE", u.VN = "VN", u.YE = "YE", u.ZM = "ZM", u.ZW = "ZW", u;
|
|
16
14
|
}({}), SdkContentLocale = /* @__PURE__ */ function(u) {
|
|
17
15
|
return u.NL_BE = "nl-BE", u.EN_US = "en-US", u.FR_BE = "fr-BE", u.DE_DE = "de-DE", u;
|
|
16
|
+
}({}), BoardColumnTransitionTriggerType = /* @__PURE__ */ function(u) {
|
|
17
|
+
return u.MANUAL = "manual", u.EMAIL = "email", u;
|
|
18
18
|
}({}), GlobalSearchCollectionName = /* @__PURE__ */ function(u) {
|
|
19
19
|
return u.USER = "user", u.BUSINESS = "business", u.INDIVIDUAL = "individual", u;
|
|
20
20
|
}({}), DealSource = /* @__PURE__ */ function(u) {
|
|
@@ -93,6 +93,7 @@ const zBrandColorsCommand = z.object({
|
|
|
93
93
|
name: z.string(),
|
|
94
94
|
slug: z.string(),
|
|
95
95
|
domain: z.string(),
|
|
96
|
+
logoUrl: z.union([z.string(), z.null()]),
|
|
96
97
|
oidcIssuer: z.string(),
|
|
97
98
|
oidcClientId: z.string(),
|
|
98
99
|
oidcOrganizationId: z.string(),
|
|
@@ -116,6 +117,7 @@ const zUpdateTenantCommand = z.object({
|
|
|
116
117
|
name: z.string(),
|
|
117
118
|
slug: z.string(),
|
|
118
119
|
domain: z.union([z.string(), z.null()]),
|
|
120
|
+
logoUrl: z.union([z.string(), z.null()]),
|
|
119
121
|
oidcIssuer: z.optional(z.string()),
|
|
120
122
|
oidcClientId: z.optional(z.string()),
|
|
121
123
|
oidcOrganizationId: z.optional(z.string()),
|
|
@@ -127,7 +129,13 @@ const zUpdateTenantCommand = z.object({
|
|
|
127
129
|
brandColors: zBrandColorsCommand,
|
|
128
130
|
businessConfig: zBusinessConfigCommand,
|
|
129
131
|
individualConfig: zIndividualConfigCommand
|
|
130
|
-
})
|
|
132
|
+
});
|
|
133
|
+
z.object({
|
|
134
|
+
detail: z.optional(z.string()),
|
|
135
|
+
status: z.enum(["404"]),
|
|
136
|
+
code: z.enum(["tenant_not_found"])
|
|
137
|
+
});
|
|
138
|
+
const zUpdateTenantBrandColorsCommand = z.object({ brandColors: zBrandColorsCommand }), zEntityType = z.enum(["individual", "business"]), zTenantEntityConfigCommand = z.object({
|
|
131
139
|
entityType: zEntityType,
|
|
132
140
|
entityName: z.array(zLocalizedString),
|
|
133
141
|
entityColor: zEntityColor
|
|
@@ -221,7 +229,8 @@ const zTenantConfigEntities = z.object({
|
|
|
221
229
|
businessConfig: zTenantConfigBusiness,
|
|
222
230
|
billingConfig: zTenantConfigBilling,
|
|
223
231
|
dealConfig: zTenantDealConfigResponse,
|
|
224
|
-
brandColors: zBrandColorsResponse
|
|
232
|
+
brandColors: zBrandColorsResponse,
|
|
233
|
+
logoUrl: z.union([z.string(), z.null()])
|
|
225
234
|
}), zRecentEntityType = z.enum([
|
|
226
235
|
"individual",
|
|
227
236
|
"business",
|
|
@@ -268,7 +277,8 @@ z.object({ collections: z.array(z.enum([
|
|
|
268
277
|
clientId: z.string(),
|
|
269
278
|
organizationID: z.string(),
|
|
270
279
|
nativeClientId: z.string(),
|
|
271
|
-
brandColors: zBrandColorsResponse
|
|
280
|
+
brandColors: zBrandColorsResponse,
|
|
281
|
+
logoUrl: z.union([z.string(), z.null()])
|
|
272
282
|
}), z.object({
|
|
273
283
|
baseUrl: z.string(),
|
|
274
284
|
clientId: z.string(),
|
|
@@ -435,12 +445,64 @@ const zTranslations = z.object({
|
|
|
435
445
|
}), zViewDomainEventLogIndexPaginationQuery = z.object({
|
|
436
446
|
limit: z.number().gte(0).lte(100),
|
|
437
447
|
key: z.optional(z.union([zViewDomainEventLogIndexQueryKey, z.null()]))
|
|
438
|
-
}),
|
|
439
|
-
|
|
448
|
+
}), zAddress = z.record(z.string(), z.unknown()), zIndividualBillingInformationUpsertedEventContent = z.object({
|
|
449
|
+
individualUuid: z.uuid(),
|
|
450
|
+
billingInformationUuid: z.uuid(),
|
|
451
|
+
address: z.union([zAddress, z.null()]),
|
|
452
|
+
invoiceEmail: z.union([z.email(), z.null()]),
|
|
453
|
+
invoiceCcEmails: z.array(z.email())
|
|
454
|
+
}), zIndividualBillingInformationUpsertedDomainEventLog = z.object({
|
|
455
|
+
uuid: z.uuid(),
|
|
456
|
+
createdAt: z.iso.datetime(),
|
|
457
|
+
version: z.int().gte(0),
|
|
458
|
+
source: z.string(),
|
|
459
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
460
|
+
message: z.string(),
|
|
461
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
462
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
463
|
+
type: z.enum(["individual.billing-information.upserted"]),
|
|
464
|
+
content: zIndividualBillingInformationUpsertedEventContent
|
|
465
|
+
}), zIndividualStatusUpdatedDomainEventContent = z.object({
|
|
466
|
+
individualUuid: z.uuid(),
|
|
467
|
+
previousStatus: zIndividualStatus,
|
|
468
|
+
status: zIndividualStatus
|
|
469
|
+
}), zIndividualStatusUpdatedDomainEventLog = z.object({
|
|
470
|
+
uuid: z.uuid(),
|
|
471
|
+
createdAt: z.iso.datetime(),
|
|
472
|
+
version: z.int().gte(0),
|
|
473
|
+
source: z.string(),
|
|
474
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
475
|
+
message: z.string(),
|
|
476
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
477
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
478
|
+
type: z.enum(["individual.status.updated"]),
|
|
479
|
+
content: zIndividualStatusUpdatedDomainEventContent
|
|
480
|
+
}), zValueChange = z.object({
|
|
440
481
|
key: z.string(),
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
482
|
+
oldValue: z.union([
|
|
483
|
+
z.string(),
|
|
484
|
+
z.number(),
|
|
485
|
+
z.boolean(),
|
|
486
|
+
z.null()
|
|
487
|
+
]),
|
|
488
|
+
newValue: z.union([
|
|
489
|
+
z.string(),
|
|
490
|
+
z.number(),
|
|
491
|
+
z.boolean(),
|
|
492
|
+
z.null()
|
|
493
|
+
])
|
|
494
|
+
}), zIndividualUpdatedDomainEventContent = z.object({
|
|
495
|
+
individualUuid: z.uuid(),
|
|
496
|
+
firstName: z.string(),
|
|
497
|
+
lastName: z.string(),
|
|
498
|
+
email: z.union([z.email(), z.null()]),
|
|
499
|
+
phone: z.union([z.string(), z.null()]),
|
|
500
|
+
mobilePhone: z.union([z.string(), z.null()]),
|
|
501
|
+
address: z.optional(zAddress),
|
|
502
|
+
changes: z.array(zValueChange),
|
|
503
|
+
customFields: z.optional(z.record(z.string(), z.unknown())),
|
|
504
|
+
language: zLocale
|
|
505
|
+
}), zIndividualUpdatedDomainEventLog = z.object({
|
|
444
506
|
uuid: z.uuid(),
|
|
445
507
|
createdAt: z.iso.datetime(),
|
|
446
508
|
version: z.int().gte(0),
|
|
@@ -449,14 +511,18 @@ const zTranslations = z.object({
|
|
|
449
511
|
message: z.string(),
|
|
450
512
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
451
513
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
452
|
-
type: z.enum(["
|
|
453
|
-
content:
|
|
454
|
-
}),
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
514
|
+
type: z.enum(["individual.updated"]),
|
|
515
|
+
content: zIndividualUpdatedDomainEventContent
|
|
516
|
+
}), zIndividualCreatedDomainEventContent = z.object({
|
|
517
|
+
individualUuid: z.uuid(),
|
|
518
|
+
firstName: z.string(),
|
|
519
|
+
lastName: z.string(),
|
|
520
|
+
email: z.union([z.email(), z.null()]),
|
|
521
|
+
phone: z.union([z.string(), z.null()]),
|
|
522
|
+
mobilePhone: z.union([z.string(), z.null()]),
|
|
523
|
+
address: z.union([zAddress, z.null()]),
|
|
524
|
+
customFields: z.union([z.record(z.string(), z.unknown()), z.null()])
|
|
525
|
+
}), zIndividualCreatedDomainEventLog = z.object({
|
|
460
526
|
uuid: z.uuid(),
|
|
461
527
|
createdAt: z.iso.datetime(),
|
|
462
528
|
version: z.int().gte(0),
|
|
@@ -465,14 +531,20 @@ const zTranslations = z.object({
|
|
|
465
531
|
message: z.string(),
|
|
466
532
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
467
533
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
468
|
-
type: z.enum(["
|
|
469
|
-
content:
|
|
470
|
-
}),
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
534
|
+
type: z.enum(["individual.created"]),
|
|
535
|
+
content: zIndividualCreatedDomainEventContent
|
|
536
|
+
}), zBusinessCreatedDomainEventContent = z.object({
|
|
537
|
+
businessUuid: z.uuid(),
|
|
538
|
+
name: z.string(),
|
|
539
|
+
email: z.union([z.email(), z.null()]),
|
|
540
|
+
phone: z.union([z.string(), z.null()]),
|
|
541
|
+
mobilePhone: z.union([z.string(), z.null()]),
|
|
542
|
+
vatNumber: z.union([z.string(), z.null()]),
|
|
543
|
+
companyNumber: z.union([z.string(), z.null()]),
|
|
544
|
+
address: zAddress,
|
|
545
|
+
customFields: z.union([z.record(z.string(), z.unknown()), z.null()]),
|
|
546
|
+
language: zLocale
|
|
547
|
+
}), zBusinessCreatedDomainEventLog = z.object({
|
|
476
548
|
uuid: z.uuid(),
|
|
477
549
|
createdAt: z.iso.datetime(),
|
|
478
550
|
version: z.int().gte(0),
|
|
@@ -481,9 +553,33 @@ const zTranslations = z.object({
|
|
|
481
553
|
message: z.string(),
|
|
482
554
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
483
555
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
484
|
-
type: z.enum(["
|
|
485
|
-
content:
|
|
486
|
-
}),
|
|
556
|
+
type: z.enum(["business.created"]),
|
|
557
|
+
content: zBusinessCreatedDomainEventContent
|
|
558
|
+
}), zCountryCode = z.enum(/* @__PURE__ */ "AF.AL.DZ.AD.AO.AG.AR.AM.AU.AT.AZ.BS.BH.BD.BB.BY.BE.BZ.BJ.BT.BO.BA.BW.BR.BN.BG.BF.BI.KH.CM.CA.CV.CF.TD.CL.CN.CO.KM.CG.CR.HR.CU.CY.CZ.DK.DJ.DM.DO.EC.EG.SV.GQ.ER.EE.ET.FJ.FI.FR.GA.GM.GE.DE.GH.GR.GD.GT.GN.GW.GY.HT.HN.HU.IS.IN.ID.IR.IQ.IE.IL.IT.JM.JP.JO.KZ.KE.KI.KP.KR.KW.KG.LA.LV.LB.LS.LR.LY.LI.LT.LU.MG.MW.MY.MV.ML.MT.MH.MR.MU.MX.FM.MD.MC.MN.ME.MA.MZ.MM.NA.NR.NP.NL.NZ.NI.NE.NG.XI.MK.NO.OM.PK.PW.PA.PG.PY.PE.PH.PL.PT.QA.RO.RU.RW.KN.LC.VC.WS.SM.ST.SA.SN.RS.SC.SL.SG.SK.SI.SB.SO.ZA.SS.ES.LK.SD.SR.SE.CH.SY.TW.TJ.TZ.TH.TL.TG.TO.TT.TN.TR.TM.TV.UG.UA.AE.GB.US.UY.UZ.VU.VA.VE.VN.YE.ZM.ZW".split(".")), zBusinessUpdatedDomainEventContent = z.object({
|
|
559
|
+
businessUuid: z.uuid(),
|
|
560
|
+
name: z.string(),
|
|
561
|
+
email: z.union([z.email(), z.null()]),
|
|
562
|
+
phone: z.union([z.string(), z.null()]),
|
|
563
|
+
mobilePhone: z.union([z.string(), z.null()]),
|
|
564
|
+
vatNumber: z.union([z.string(), z.null()]),
|
|
565
|
+
vatNumberCountryCode: z.union([zCountryCode, z.null()]),
|
|
566
|
+
companyNumber: z.union([z.string(), z.null()]),
|
|
567
|
+
address: zAddress,
|
|
568
|
+
changes: zValueChange,
|
|
569
|
+
customFields: z.union([z.record(z.string(), z.unknown()), z.null()]),
|
|
570
|
+
language: zLocale
|
|
571
|
+
}), zBusinessUpdatedDomainEventLog = z.object({
|
|
572
|
+
uuid: z.uuid(),
|
|
573
|
+
createdAt: z.iso.datetime(),
|
|
574
|
+
version: z.int().gte(0),
|
|
575
|
+
source: z.string(),
|
|
576
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
577
|
+
message: z.string(),
|
|
578
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
579
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
580
|
+
type: z.enum(["business.updated"]),
|
|
581
|
+
content: zBusinessUpdatedDomainEventContent
|
|
582
|
+
}), zBusinessBillingInformationUpsertedEventContent = z.object({
|
|
487
583
|
businessUuid: z.uuid(),
|
|
488
584
|
billingInformationUuid: z.uuid(),
|
|
489
585
|
address: z.union([zAddress, z.null()]),
|
|
@@ -504,7 +600,12 @@ const zTranslations = z.object({
|
|
|
504
600
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
505
601
|
type: z.enum(["business.billing-information.upserted"]),
|
|
506
602
|
content: zBusinessBillingInformationUpsertedEventContent
|
|
507
|
-
}),
|
|
603
|
+
}), zBusinessStatusUpdatedDomainEventContent = z.object({
|
|
604
|
+
businessUuid: z.uuid(),
|
|
605
|
+
previousStatus: zBusinessStatus,
|
|
606
|
+
status: zBusinessStatus,
|
|
607
|
+
archivedAt: z.union([z.iso.datetime(), z.null()])
|
|
608
|
+
}), zBusinessStatusUpdatedDomainEventLog = z.object({
|
|
508
609
|
uuid: z.uuid(),
|
|
509
610
|
createdAt: z.iso.datetime(),
|
|
510
611
|
version: z.int().gte(0),
|
|
@@ -513,8 +614,52 @@ const zTranslations = z.object({
|
|
|
513
614
|
message: z.string(),
|
|
514
615
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
515
616
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
516
|
-
type: z.enum(["
|
|
517
|
-
content:
|
|
617
|
+
type: z.enum(["business.status.updated"]),
|
|
618
|
+
content: zBusinessStatusUpdatedDomainEventContent
|
|
619
|
+
}), zCbeEnterpriseImportedDomainEventContent = z.object({ enterpriseNumber: z.string() }), zCbeEnterpriseImportedDomainEventLog = z.object({
|
|
620
|
+
uuid: z.uuid(),
|
|
621
|
+
createdAt: z.iso.datetime(),
|
|
622
|
+
version: z.int().gte(0),
|
|
623
|
+
source: z.string(),
|
|
624
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
625
|
+
message: z.string(),
|
|
626
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
627
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
628
|
+
type: z.enum(["cbe-enterprise.imported"]),
|
|
629
|
+
content: zCbeEnterpriseImportedDomainEventContent
|
|
630
|
+
}), zCbeDenominationImportedDomainEventContent = z.object({ enterpriseNumber: z.string() }), zCbeDenominationImportedDomainEventLog = z.object({
|
|
631
|
+
uuid: z.uuid(),
|
|
632
|
+
createdAt: z.iso.datetime(),
|
|
633
|
+
version: z.int().gte(0),
|
|
634
|
+
source: z.string(),
|
|
635
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
636
|
+
message: z.string(),
|
|
637
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
638
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
639
|
+
type: z.enum(["cbe-denomination.imported"]),
|
|
640
|
+
content: zCbeDenominationImportedDomainEventContent
|
|
641
|
+
}), zCbeContactImportedDomainEventContent = z.object({ entityNumber: z.string() }), zCbeContactImportedDomainEventLog = z.object({
|
|
642
|
+
uuid: z.uuid(),
|
|
643
|
+
createdAt: z.iso.datetime(),
|
|
644
|
+
version: z.int().gte(0),
|
|
645
|
+
source: z.string(),
|
|
646
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
647
|
+
message: z.string(),
|
|
648
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
649
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
650
|
+
type: z.enum(["cbe-contact.imported"]),
|
|
651
|
+
content: zCbeContactImportedDomainEventContent
|
|
652
|
+
}), zCbeAddressImportedDomainEventContent = z.object({ entityNumber: z.string() }), zCbeAddressImportedDomainEventLog = z.object({
|
|
653
|
+
uuid: z.uuid(),
|
|
654
|
+
createdAt: z.iso.datetime(),
|
|
655
|
+
version: z.int().gte(0),
|
|
656
|
+
source: z.string(),
|
|
657
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
658
|
+
message: z.string(),
|
|
659
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
660
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
661
|
+
type: z.enum(["cbe-address.imported"]),
|
|
662
|
+
content: zCbeAddressImportedDomainEventContent
|
|
518
663
|
}), zContactPersonContent = z.object({
|
|
519
664
|
uuid: z.uuid(),
|
|
520
665
|
name: z.string()
|
|
@@ -533,10 +678,10 @@ const zTranslations = z.object({
|
|
|
533
678
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
534
679
|
type: z.enum(["business.contact-person.linked"]),
|
|
535
680
|
content: zContactPersonLinkedToBusinessEventContent
|
|
536
|
-
}),
|
|
537
|
-
|
|
681
|
+
}), zContactPersonLinkedToDealEventContent = z.object({
|
|
682
|
+
dealUuid: z.uuid(),
|
|
538
683
|
contactPerson: zContactPersonContent
|
|
539
|
-
}),
|
|
684
|
+
}), zDealContactPersonLinkedDomainEventLog = z.object({
|
|
540
685
|
uuid: z.uuid(),
|
|
541
686
|
createdAt: z.iso.datetime(),
|
|
542
687
|
version: z.int().gte(0),
|
|
@@ -545,27 +690,9 @@ const zTranslations = z.object({
|
|
|
545
690
|
message: z.string(),
|
|
546
691
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
547
692
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
548
|
-
type: z.enum(["
|
|
549
|
-
content:
|
|
550
|
-
}),
|
|
551
|
-
key: z.string(),
|
|
552
|
-
oldValue: z.union([
|
|
553
|
-
z.string(),
|
|
554
|
-
z.number(),
|
|
555
|
-
z.boolean(),
|
|
556
|
-
z.null()
|
|
557
|
-
]),
|
|
558
|
-
newValue: z.union([
|
|
559
|
-
z.string(),
|
|
560
|
-
z.number(),
|
|
561
|
-
z.boolean(),
|
|
562
|
-
z.null()
|
|
563
|
-
])
|
|
564
|
-
}), zBusinessContactPersonUpdatedEventContent = z.object({
|
|
565
|
-
businessUuid: z.uuid(),
|
|
566
|
-
contactPerson: zContactPersonContent,
|
|
567
|
-
diff: z.array(zValueChange)
|
|
568
|
-
}), zBusinessContactPersonUpdatedDomainEventLog = z.object({
|
|
693
|
+
type: z.enum(["deal.contact.person.linked"]),
|
|
694
|
+
content: zContactPersonLinkedToDealEventContent
|
|
695
|
+
}), zCbeEstablishmentImportedDomainEventContent = z.object({ establishmentNumber: z.string() }), zCbeEstablishmentImportedDomainEventLog = z.object({
|
|
569
696
|
uuid: z.uuid(),
|
|
570
697
|
createdAt: z.iso.datetime(),
|
|
571
698
|
version: z.int().gte(0),
|
|
@@ -574,20 +701,20 @@ const zTranslations = z.object({
|
|
|
574
701
|
message: z.string(),
|
|
575
702
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
576
703
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
577
|
-
type: z.enum(["
|
|
578
|
-
content:
|
|
579
|
-
}),
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
language:
|
|
590
|
-
}),
|
|
704
|
+
type: z.enum(["cbe-establishment.imported"]),
|
|
705
|
+
content: zCbeEstablishmentImportedDomainEventContent
|
|
706
|
+
}), zClientId = z.record(z.string(), z.unknown()), zSdkContentLocale = z.enum([
|
|
707
|
+
"nl-BE",
|
|
708
|
+
"en-US",
|
|
709
|
+
"fr-BE",
|
|
710
|
+
"de-DE"
|
|
711
|
+
]), zDealCreatedEventContent = z.object({
|
|
712
|
+
dealUuid: z.uuid(),
|
|
713
|
+
name: z.string(),
|
|
714
|
+
clientId: zClientId,
|
|
715
|
+
columnKey: z.string(),
|
|
716
|
+
language: zSdkContentLocale
|
|
717
|
+
}), zDealCreatedDomainEventLog = z.object({
|
|
591
718
|
uuid: z.uuid(),
|
|
592
719
|
createdAt: z.iso.datetime(),
|
|
593
720
|
version: z.int().gte(0),
|
|
@@ -596,12 +723,14 @@ const zTranslations = z.object({
|
|
|
596
723
|
message: z.string(),
|
|
597
724
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
598
725
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
599
|
-
type: z.enum(["
|
|
600
|
-
content:
|
|
601
|
-
}),
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
726
|
+
type: z.enum(["deal.created"]),
|
|
727
|
+
content: zDealCreatedEventContent
|
|
728
|
+
}), zDealUpdatedEventContent = z.object({
|
|
729
|
+
dealUuid: z.uuid(),
|
|
730
|
+
name: z.string(),
|
|
731
|
+
columnKey: z.string(),
|
|
732
|
+
language: zSdkContentLocale
|
|
733
|
+
}), zDealUpdatedDomainEventLog = z.object({
|
|
605
734
|
uuid: z.uuid(),
|
|
606
735
|
createdAt: z.iso.datetime(),
|
|
607
736
|
version: z.int().gte(0),
|
|
@@ -610,20 +739,12 @@ const zTranslations = z.object({
|
|
|
610
739
|
message: z.string(),
|
|
611
740
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
612
741
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
613
|
-
type: z.enum(["
|
|
614
|
-
content:
|
|
615
|
-
}),
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
phone: z.union([z.string(), z.null()]),
|
|
620
|
-
mobilePhone: z.union([z.string(), z.null()]),
|
|
621
|
-
vatNumber: z.union([z.string(), z.null()]),
|
|
622
|
-
companyNumber: z.union([z.string(), z.null()]),
|
|
623
|
-
address: zAddress,
|
|
624
|
-
customFields: z.union([z.record(z.string(), z.unknown()), z.null()]),
|
|
625
|
-
language: zLocale
|
|
626
|
-
}), zBusinessCreatedDomainEventLog = z.object({
|
|
742
|
+
type: z.enum(["deal.updated"]),
|
|
743
|
+
content: zDealUpdatedEventContent
|
|
744
|
+
}), zDealColumnTransitionedEventContent = z.object({
|
|
745
|
+
fromBoardColumnUuid: z.uuid(),
|
|
746
|
+
toBoardColumnUuid: z.uuid()
|
|
747
|
+
}), zDealColumnTransitionedDomainEventLog = z.object({
|
|
627
748
|
uuid: z.uuid(),
|
|
628
749
|
createdAt: z.iso.datetime(),
|
|
629
750
|
version: z.int().gte(0),
|
|
@@ -632,18 +753,18 @@ const zTranslations = z.object({
|
|
|
632
753
|
message: z.string(),
|
|
633
754
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
634
755
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
635
|
-
type: z.enum(["
|
|
636
|
-
content:
|
|
637
|
-
}),
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}),
|
|
756
|
+
type: z.enum(["deal.column.transitioned"]),
|
|
757
|
+
content: zDealColumnTransitionedEventContent
|
|
758
|
+
}), zMailCreatedEventContent = z.object({
|
|
759
|
+
mailUuid: z.uuid(),
|
|
760
|
+
to: z.array(z.string()),
|
|
761
|
+
cc: z.array(z.string()),
|
|
762
|
+
bcc: z.array(z.string()),
|
|
763
|
+
subject: z.string(),
|
|
764
|
+
mailTemplateUuid: z.union([z.uuid(), z.null()]),
|
|
765
|
+
mailTemplateKey: z.union([z.string(), z.null()]),
|
|
766
|
+
dealUuid: z.union([z.uuid(), z.null()])
|
|
767
|
+
}), zMailCreatedDomainEventLog = z.object({
|
|
647
768
|
uuid: z.uuid(),
|
|
648
769
|
createdAt: z.iso.datetime(),
|
|
649
770
|
version: z.int().gte(0),
|
|
@@ -652,22 +773,40 @@ const zTranslations = z.object({
|
|
|
652
773
|
message: z.string(),
|
|
653
774
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
654
775
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
655
|
-
type: z.enum(["
|
|
656
|
-
content:
|
|
657
|
-
}),
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
776
|
+
type: z.enum(["mail.created"]),
|
|
777
|
+
content: zMailCreatedEventContent
|
|
778
|
+
}), zLocationCreatedEventContent = z.object({ locationUuid: z.uuid() }), zLocationCreatedDomainEventLog = z.object({
|
|
779
|
+
uuid: z.uuid(),
|
|
780
|
+
createdAt: z.iso.datetime(),
|
|
781
|
+
version: z.int().gte(0),
|
|
782
|
+
source: z.string(),
|
|
783
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
784
|
+
message: z.string(),
|
|
785
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
786
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
787
|
+
type: z.enum(["location.created"]),
|
|
788
|
+
content: zLocationCreatedEventContent
|
|
789
|
+
}), zLocationUpdatedEventContent = z.object({ locationUuid: z.uuid() }), zLocationUpdatedDomainEventLog = z.object({
|
|
790
|
+
uuid: z.uuid(),
|
|
791
|
+
createdAt: z.iso.datetime(),
|
|
792
|
+
version: z.int().gte(0),
|
|
793
|
+
source: z.string(),
|
|
794
|
+
userUuid: z.union([z.uuid(), z.null()]),
|
|
795
|
+
message: z.string(),
|
|
796
|
+
subjectType: z.union([zSubjectType, z.null()]),
|
|
797
|
+
subjectId: z.union([z.uuid(), z.null()]),
|
|
798
|
+
type: z.enum(["location.updated"]),
|
|
799
|
+
content: zLocationUpdatedEventContent
|
|
800
|
+
}), zMailSentEventContent = z.object({
|
|
801
|
+
mailUuid: z.uuid(),
|
|
802
|
+
to: z.array(z.string()),
|
|
803
|
+
cc: z.array(z.string()),
|
|
804
|
+
bcc: z.array(z.string()),
|
|
805
|
+
subject: z.string(),
|
|
806
|
+
mailTemplateUuid: z.union([z.uuid(), z.null()]),
|
|
807
|
+
mailTemplateKey: z.union([z.string(), z.null()]),
|
|
808
|
+
dealUuid: z.union([z.uuid(), z.null()])
|
|
809
|
+
}), zMailSentDomainEventLog = z.object({
|
|
671
810
|
uuid: z.uuid(),
|
|
672
811
|
createdAt: z.iso.datetime(),
|
|
673
812
|
version: z.int().gte(0),
|
|
@@ -676,14 +815,14 @@ const zTranslations = z.object({
|
|
|
676
815
|
message: z.string(),
|
|
677
816
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
678
817
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
679
|
-
type: z.enum(["
|
|
680
|
-
content:
|
|
681
|
-
}),
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
}),
|
|
818
|
+
type: z.enum(["mail.sent"]),
|
|
819
|
+
content: zMailSentEventContent
|
|
820
|
+
}), zBoardColumnCreatedEventContent = z.object({
|
|
821
|
+
boardColumnUuid: z.uuid(),
|
|
822
|
+
key: z.string(),
|
|
823
|
+
position: z.number(),
|
|
824
|
+
tenantUuid: z.uuid()
|
|
825
|
+
}), zBoardColumnCreatedDomainEventLog = z.object({
|
|
687
826
|
uuid: z.uuid(),
|
|
688
827
|
createdAt: z.iso.datetime(),
|
|
689
828
|
version: z.int().gte(0),
|
|
@@ -692,9 +831,14 @@ const zTranslations = z.object({
|
|
|
692
831
|
message: z.string(),
|
|
693
832
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
694
833
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
695
|
-
type: z.enum(["
|
|
696
|
-
content:
|
|
697
|
-
}),
|
|
834
|
+
type: z.enum(["board-column.created"]),
|
|
835
|
+
content: zBoardColumnCreatedEventContent
|
|
836
|
+
}), zBoardColumnTransitionCreatedEventContent = z.object({
|
|
837
|
+
boardColumnTransitionUuid: z.uuid(),
|
|
838
|
+
fromColumnUuid: z.uuid(),
|
|
839
|
+
toColumnUuid: z.uuid(),
|
|
840
|
+
tenantUuid: z.uuid()
|
|
841
|
+
}), zBoardColumnTransitionCreatedDomainEventLog = z.object({
|
|
698
842
|
uuid: z.uuid(),
|
|
699
843
|
createdAt: z.iso.datetime(),
|
|
700
844
|
version: z.int().gte(0),
|
|
@@ -703,9 +847,14 @@ const zTranslations = z.object({
|
|
|
703
847
|
message: z.string(),
|
|
704
848
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
705
849
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
706
|
-
type: z.enum(["
|
|
707
|
-
content:
|
|
708
|
-
}),
|
|
850
|
+
type: z.enum(["board-column-transition.created"]),
|
|
851
|
+
content: zBoardColumnTransitionCreatedEventContent
|
|
852
|
+
}), zBoardColumnTransitionTriggerType = z.enum(["manual", "email"]), zBoardColumnTransitionTriggerCreatedEventContent = z.object({
|
|
853
|
+
boardColumnTransitionTriggerUuid: z.uuid(),
|
|
854
|
+
boardColumnTransitionUuid: z.uuid(),
|
|
855
|
+
triggerType: zBoardColumnTransitionTriggerType,
|
|
856
|
+
tenantUuid: z.uuid()
|
|
857
|
+
}), zBoardColumnTransitionTriggerCreatedDomainEventLog = z.object({
|
|
709
858
|
uuid: z.uuid(),
|
|
710
859
|
createdAt: z.iso.datetime(),
|
|
711
860
|
version: z.int().gte(0),
|
|
@@ -714,9 +863,12 @@ const zTranslations = z.object({
|
|
|
714
863
|
message: z.string(),
|
|
715
864
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
716
865
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
717
|
-
type: z.enum(["
|
|
718
|
-
content:
|
|
719
|
-
}),
|
|
866
|
+
type: z.enum(["board-column-transition-trigger.created"]),
|
|
867
|
+
content: zBoardColumnTransitionTriggerCreatedEventContent
|
|
868
|
+
}), zContactPersonUnlinkedFromBusinessEventContent = z.object({
|
|
869
|
+
businessUuid: z.uuid(),
|
|
870
|
+
contactPerson: zContactPersonContent
|
|
871
|
+
}), zBusinessContactPersonUnlinkedDomainEventLog = z.object({
|
|
720
872
|
uuid: z.uuid(),
|
|
721
873
|
createdAt: z.iso.datetime(),
|
|
722
874
|
version: z.int().gte(0),
|
|
@@ -725,9 +877,13 @@ const zTranslations = z.object({
|
|
|
725
877
|
message: z.string(),
|
|
726
878
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
727
879
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
728
|
-
type: z.enum(["
|
|
729
|
-
content:
|
|
730
|
-
}),
|
|
880
|
+
type: z.enum(["business.contact-person.unlinked"]),
|
|
881
|
+
content: zContactPersonUnlinkedFromBusinessEventContent
|
|
882
|
+
}), zBusinessContactPersonUpdatedEventContent = z.object({
|
|
883
|
+
businessUuid: z.uuid(),
|
|
884
|
+
contactPerson: zContactPersonContent,
|
|
885
|
+
diff: z.array(zValueChange)
|
|
886
|
+
}), zBusinessContactPersonUpdatedDomainEventLog = z.object({
|
|
731
887
|
uuid: z.uuid(),
|
|
732
888
|
createdAt: z.iso.datetime(),
|
|
733
889
|
version: z.int().gte(0),
|
|
@@ -736,9 +892,12 @@ const zTranslations = z.object({
|
|
|
736
892
|
message: z.string(),
|
|
737
893
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
738
894
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
739
|
-
type: z.enum(["
|
|
740
|
-
content:
|
|
741
|
-
}),
|
|
895
|
+
type: z.enum(["business.contact-person.updated"]),
|
|
896
|
+
content: zBusinessContactPersonUpdatedEventContent
|
|
897
|
+
}), zBusinessContactPersonMadePrimaryEventContent = z.object({
|
|
898
|
+
businessUuid: z.uuid(),
|
|
899
|
+
contactPerson: zContactPersonContent
|
|
900
|
+
}), zBusinessContactPersonMadePrimaryDomainEventLog = z.object({
|
|
742
901
|
uuid: z.uuid(),
|
|
743
902
|
createdAt: z.iso.datetime(),
|
|
744
903
|
version: z.int().gte(0),
|
|
@@ -747,8 +906,8 @@ const zTranslations = z.object({
|
|
|
747
906
|
message: z.string(),
|
|
748
907
|
subjectType: z.union([zSubjectType, z.null()]),
|
|
749
908
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
750
|
-
type: z.enum(["
|
|
751
|
-
content:
|
|
909
|
+
type: z.enum(["business.contact-person.made-primary"]),
|
|
910
|
+
content: zBusinessContactPersonMadePrimaryEventContent
|
|
752
911
|
}), zCustomFieldDefinitionCreatedEventContent = z.object({ customFieldDefinitionUuid: z.uuid() }), zCustomFieldDefinitionCreatedDomainEventLog = z.object({
|
|
753
912
|
uuid: z.uuid(),
|
|
754
913
|
createdAt: z.iso.datetime(),
|
|
@@ -788,20 +947,6 @@ const zTranslations = z.object({
|
|
|
788
947
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
789
948
|
type: z.enum(["individual-user-grant.email-verified"]),
|
|
790
949
|
content: zIndividualUserGrantEmailVerifiedEventContent
|
|
791
|
-
}), zContactPersonLinkedToDealEventContent = z.object({
|
|
792
|
-
dealUuid: z.uuid(),
|
|
793
|
-
contactPerson: zContactPersonContent
|
|
794
|
-
}), zDealContactPersonLinkedDomainEventLog = z.object({
|
|
795
|
-
uuid: z.uuid(),
|
|
796
|
-
createdAt: z.iso.datetime(),
|
|
797
|
-
version: z.int().gte(0),
|
|
798
|
-
source: z.string(),
|
|
799
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
800
|
-
message: z.string(),
|
|
801
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
802
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
803
|
-
type: z.enum(["deal.contact.person.linked"]),
|
|
804
|
-
content: zContactPersonLinkedToDealEventContent
|
|
805
950
|
}), zDealContactPersonMadePrimaryEventContent = z.object({
|
|
806
951
|
dealUuid: z.uuid(),
|
|
807
952
|
contactPerson: zContactPersonContent
|
|
@@ -845,28 +990,6 @@ const zTranslations = z.object({
|
|
|
845
990
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
846
991
|
type: z.enum(["deal.contact.person.updated"]),
|
|
847
992
|
content: zDealContactPersonUpdatedEventContent
|
|
848
|
-
}), zClientId = z.record(z.string(), z.unknown()), zSdkContentLocale = z.enum([
|
|
849
|
-
"nl-BE",
|
|
850
|
-
"en-US",
|
|
851
|
-
"fr-BE",
|
|
852
|
-
"de-DE"
|
|
853
|
-
]), zDealCreatedEventContent = z.object({
|
|
854
|
-
dealUuid: z.uuid(),
|
|
855
|
-
name: z.string(),
|
|
856
|
-
clientId: zClientId,
|
|
857
|
-
columnKey: z.string(),
|
|
858
|
-
language: zSdkContentLocale
|
|
859
|
-
}), zDealCreatedDomainEventLog = z.object({
|
|
860
|
-
uuid: z.uuid(),
|
|
861
|
-
createdAt: z.iso.datetime(),
|
|
862
|
-
version: z.int().gte(0),
|
|
863
|
-
source: z.string(),
|
|
864
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
865
|
-
message: z.string(),
|
|
866
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
867
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
868
|
-
type: z.enum(["deal.created"]),
|
|
869
|
-
content: zDealCreatedEventContent
|
|
870
993
|
}), zDealOwnerUpdatedEventContent = z.object({
|
|
871
994
|
dealUuid: z.uuid(),
|
|
872
995
|
previousOwnerUuid: z.union([z.record(z.string(), z.unknown()), z.null()]),
|
|
@@ -882,73 +1005,6 @@ const zTranslations = z.object({
|
|
|
882
1005
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
883
1006
|
type: z.enum(["deal.owner.updated"]),
|
|
884
1007
|
content: zDealOwnerUpdatedEventContent
|
|
885
|
-
}), zDealUpdatedEventContent = z.object({
|
|
886
|
-
dealUuid: z.uuid(),
|
|
887
|
-
name: z.string(),
|
|
888
|
-
columnKey: z.string(),
|
|
889
|
-
language: zSdkContentLocale
|
|
890
|
-
}), zDealUpdatedDomainEventLog = z.object({
|
|
891
|
-
uuid: z.uuid(),
|
|
892
|
-
createdAt: z.iso.datetime(),
|
|
893
|
-
version: z.int().gte(0),
|
|
894
|
-
source: z.string(),
|
|
895
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
896
|
-
message: z.string(),
|
|
897
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
898
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
899
|
-
type: z.enum(["deal.updated"]),
|
|
900
|
-
content: zDealUpdatedEventContent
|
|
901
|
-
}), zDealColumnTransitionedEventContent = z.object({
|
|
902
|
-
fromBoardColumnUuid: z.uuid(),
|
|
903
|
-
toBoardColumnUuid: z.uuid()
|
|
904
|
-
}), zDealColumnTransitionedDomainEventLog = z.object({
|
|
905
|
-
uuid: z.uuid(),
|
|
906
|
-
createdAt: z.iso.datetime(),
|
|
907
|
-
version: z.int().gte(0),
|
|
908
|
-
source: z.string(),
|
|
909
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
910
|
-
message: z.string(),
|
|
911
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
912
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
913
|
-
type: z.enum(["deal.column.transitioned"]),
|
|
914
|
-
content: zDealColumnTransitionedEventContent
|
|
915
|
-
}), zMailCreatedEventContent = z.object({
|
|
916
|
-
mailUuid: z.uuid(),
|
|
917
|
-
to: z.array(z.string()),
|
|
918
|
-
cc: z.array(z.string()),
|
|
919
|
-
bcc: z.array(z.string()),
|
|
920
|
-
subject: z.string(),
|
|
921
|
-
mailTemplateUuid: z.union([z.uuid(), z.null()]),
|
|
922
|
-
mailTemplateKey: z.union([z.string(), z.null()]),
|
|
923
|
-
dealUuid: z.union([z.uuid(), z.null()])
|
|
924
|
-
}), zMailCreatedDomainEventLog = z.object({
|
|
925
|
-
uuid: z.uuid(),
|
|
926
|
-
createdAt: z.iso.datetime(),
|
|
927
|
-
version: z.int().gte(0),
|
|
928
|
-
source: z.string(),
|
|
929
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
930
|
-
message: z.string(),
|
|
931
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
932
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
933
|
-
type: z.enum(["mail.created"]),
|
|
934
|
-
content: zMailCreatedEventContent
|
|
935
|
-
}), zIndividualBillingInformationUpsertedEventContent = z.object({
|
|
936
|
-
individualUuid: z.uuid(),
|
|
937
|
-
billingInformationUuid: z.uuid(),
|
|
938
|
-
address: z.union([zAddress, z.null()]),
|
|
939
|
-
invoiceEmail: z.union([z.email(), z.null()]),
|
|
940
|
-
invoiceCcEmails: z.array(z.email())
|
|
941
|
-
}), zIndividualBillingInformationUpsertedDomainEventLog = z.object({
|
|
942
|
-
uuid: z.uuid(),
|
|
943
|
-
createdAt: z.iso.datetime(),
|
|
944
|
-
version: z.int().gte(0),
|
|
945
|
-
source: z.string(),
|
|
946
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
947
|
-
message: z.string(),
|
|
948
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
949
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
950
|
-
type: z.enum(["individual.billing-information.upserted"]),
|
|
951
|
-
content: zIndividualBillingInformationUpsertedEventContent
|
|
952
1008
|
}), zContactPersonLinkedToIndividualEventContent = z.object({
|
|
953
1009
|
individualUuid: z.uuid(),
|
|
954
1010
|
contactPerson: zContactPersonContent,
|
|
@@ -1007,32 +1063,6 @@ const zTranslations = z.object({
|
|
|
1007
1063
|
subjectId: z.union([z.uuid(), z.null()]),
|
|
1008
1064
|
type: z.enum(["individual.contact-person.made-primary"]),
|
|
1009
1065
|
content: zIndividualContactPersonMadePrimaryEventContent
|
|
1010
|
-
}), zIndividualStatusUpdatedDomainEventContent = z.object({
|
|
1011
|
-
individualUuid: z.uuid(),
|
|
1012
|
-
previousStatus: zIndividualStatus,
|
|
1013
|
-
status: zIndividualStatus
|
|
1014
|
-
}), zIndividualStatusUpdatedDomainEventLog = z.object({
|
|
1015
|
-
uuid: z.uuid(),
|
|
1016
|
-
createdAt: z.iso.datetime(),
|
|
1017
|
-
version: z.int().gte(0),
|
|
1018
|
-
source: z.string(),
|
|
1019
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
1020
|
-
message: z.string(),
|
|
1021
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
1022
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
1023
|
-
type: z.enum(["individual.status.updated"]),
|
|
1024
|
-
content: zIndividualStatusUpdatedDomainEventContent
|
|
1025
|
-
}), zLocationUpdatedEventContent = z.object({ locationUuid: z.uuid() }), zLocationUpdatedDomainEventLog = z.object({
|
|
1026
|
-
uuid: z.uuid(),
|
|
1027
|
-
createdAt: z.iso.datetime(),
|
|
1028
|
-
version: z.int().gte(0),
|
|
1029
|
-
source: z.string(),
|
|
1030
|
-
userUuid: z.union([z.uuid(), z.null()]),
|
|
1031
|
-
message: z.string(),
|
|
1032
|
-
subjectType: z.union([zSubjectType, z.null()]),
|
|
1033
|
-
subjectId: z.union([z.uuid(), z.null()]),
|
|
1034
|
-
type: z.enum(["location.updated"]),
|
|
1035
|
-
content: zLocationUpdatedEventContent
|
|
1036
1066
|
}), zMailTemplateCreatedEventContent = z.object({
|
|
1037
1067
|
mailTemplateUuid: z.uuid(),
|
|
1038
1068
|
key: z.string()
|
|
@@ -1294,44 +1324,45 @@ z.object({
|
|
|
1294
1324
|
const zViewDomainEventLogIndexResponseMeta = z.object({ next: z.union([zViewDomainEventLogIndexQueryKey, z.null()]) });
|
|
1295
1325
|
z.object({
|
|
1296
1326
|
items: z.array(z.union([
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
zBoardColumnTransitionTriggerCreatedDomainEventLog,
|
|
1300
|
-
zBusinessBillingInformationUpsertedDomainEventLog,
|
|
1301
|
-
zLocationCreatedDomainEventLog,
|
|
1302
|
-
zBusinessContactPersonLinkedDomainEventLog,
|
|
1303
|
-
zBusinessContactPersonUnlinkedDomainEventLog,
|
|
1304
|
-
zBusinessContactPersonUpdatedDomainEventLog,
|
|
1327
|
+
zIndividualBillingInformationUpsertedDomainEventLog,
|
|
1328
|
+
zIndividualStatusUpdatedDomainEventLog,
|
|
1305
1329
|
zIndividualUpdatedDomainEventLog,
|
|
1306
|
-
zBusinessContactPersonMadePrimaryDomainEventLog,
|
|
1307
|
-
zBusinessCreatedDomainEventLog,
|
|
1308
1330
|
zIndividualCreatedDomainEventLog,
|
|
1331
|
+
zBusinessCreatedDomainEventLog,
|
|
1309
1332
|
zBusinessUpdatedDomainEventLog,
|
|
1333
|
+
zBusinessBillingInformationUpsertedDomainEventLog,
|
|
1310
1334
|
zBusinessStatusUpdatedDomainEventLog,
|
|
1311
1335
|
zCbeEnterpriseImportedDomainEventLog,
|
|
1312
1336
|
zCbeDenominationImportedDomainEventLog,
|
|
1313
1337
|
zCbeContactImportedDomainEventLog,
|
|
1314
1338
|
zCbeAddressImportedDomainEventLog,
|
|
1339
|
+
zBusinessContactPersonLinkedDomainEventLog,
|
|
1340
|
+
zDealContactPersonLinkedDomainEventLog,
|
|
1315
1341
|
zCbeEstablishmentImportedDomainEventLog,
|
|
1342
|
+
zDealCreatedDomainEventLog,
|
|
1343
|
+
zDealUpdatedDomainEventLog,
|
|
1344
|
+
zDealColumnTransitionedDomainEventLog,
|
|
1345
|
+
zMailCreatedDomainEventLog,
|
|
1346
|
+
zLocationCreatedDomainEventLog,
|
|
1347
|
+
zLocationUpdatedDomainEventLog,
|
|
1348
|
+
zMailSentDomainEventLog,
|
|
1349
|
+
zBoardColumnCreatedDomainEventLog,
|
|
1350
|
+
zBoardColumnTransitionCreatedDomainEventLog,
|
|
1351
|
+
zBoardColumnTransitionTriggerCreatedDomainEventLog,
|
|
1352
|
+
zBusinessContactPersonUnlinkedDomainEventLog,
|
|
1353
|
+
zBusinessContactPersonUpdatedDomainEventLog,
|
|
1354
|
+
zBusinessContactPersonMadePrimaryDomainEventLog,
|
|
1316
1355
|
zCustomFieldDefinitionCreatedDomainEventLog,
|
|
1317
1356
|
zIndividualUserGrantCreatedDomainEventLog,
|
|
1318
1357
|
zIndividualUserGrantEmailVerifiedDomainEventLog,
|
|
1319
|
-
zDealContactPersonLinkedDomainEventLog,
|
|
1320
1358
|
zDealContactPersonMadePrimaryDomainEventLog,
|
|
1321
1359
|
zDealContactPersonUnlinkedDomainEventLog,
|
|
1322
1360
|
zDealContactPersonUpdatedDomainEventLog,
|
|
1323
|
-
zDealCreatedDomainEventLog,
|
|
1324
1361
|
zDealOwnerUpdatedDomainEventLog,
|
|
1325
|
-
zDealUpdatedDomainEventLog,
|
|
1326
|
-
zDealColumnTransitionedDomainEventLog,
|
|
1327
|
-
zMailCreatedDomainEventLog,
|
|
1328
|
-
zIndividualBillingInformationUpsertedDomainEventLog,
|
|
1329
1362
|
zIndividualContactPersonLinkedDomainEventLog,
|
|
1330
1363
|
zIndividualContactPersonUnlinkedDomainEventLog,
|
|
1331
1364
|
zIndividualContactPersonUpdatedDomainEventLog,
|
|
1332
1365
|
zIndividualContactPersonMadePrimaryDomainEventLog,
|
|
1333
|
-
zIndividualStatusUpdatedDomainEventLog,
|
|
1334
|
-
zLocationUpdatedDomainEventLog,
|
|
1335
1366
|
zMailTemplateCreatedDomainEventLog,
|
|
1336
1367
|
zMailTemplateUpdatedDomainEventLog,
|
|
1337
1368
|
zBusinessNoteCreatedDomainEventLog,
|
|
@@ -1584,6 +1615,7 @@ z.object({
|
|
|
1584
1615
|
code: z.enum(["location_not_found"])
|
|
1585
1616
|
});
|
|
1586
1617
|
const zCreateIndividualCommand = z.object({
|
|
1618
|
+
uuid: z.optional(z.string()),
|
|
1587
1619
|
firstName: z.string(),
|
|
1588
1620
|
lastName: z.string(),
|
|
1589
1621
|
email: z.union([z.string(), z.null()]),
|
|
@@ -1694,6 +1726,7 @@ const zCreateBusinessIndividualCommand = z.object({
|
|
|
1694
1726
|
countryCode: zCountryCode,
|
|
1695
1727
|
number: z.string()
|
|
1696
1728
|
}), zCreateBusinessCommand = z.object({
|
|
1729
|
+
uuid: z.optional(z.string()),
|
|
1697
1730
|
name: z.string(),
|
|
1698
1731
|
individual: z.union([zCreateBusinessIndividualCommand, z.null()]),
|
|
1699
1732
|
individualUuid: z.union([z.uuid(), z.null()]),
|
|
@@ -2194,10 +2227,6 @@ z.object({
|
|
|
2194
2227
|
detail: z.optional(z.string()),
|
|
2195
2228
|
status: z.enum(["404"]),
|
|
2196
2229
|
code: z.enum(["client_not_found"])
|
|
2197
|
-
}), z.object({
|
|
2198
|
-
detail: z.optional(z.string()),
|
|
2199
|
-
status: z.enum(["404"]),
|
|
2200
|
-
code: z.enum(["tenant_not_found"])
|
|
2201
2230
|
}), z.object({
|
|
2202
2231
|
detail: z.optional(z.string()),
|
|
2203
2232
|
status: z.enum(["400"]),
|
|
@@ -2657,6 +2686,10 @@ z.object({
|
|
|
2657
2686
|
body: zUpdateTenantCommand,
|
|
2658
2687
|
path: z.object({ uuid: z.string() }),
|
|
2659
2688
|
query: z.optional(z.never())
|
|
2689
|
+
}), z.void(), z.object({
|
|
2690
|
+
body: zUpdateTenantBrandColorsCommand,
|
|
2691
|
+
path: z.object({ uuid: z.string() }),
|
|
2692
|
+
query: z.optional(z.never())
|
|
2660
2693
|
}), z.void(), z.object({
|
|
2661
2694
|
body: zUpdateTenantEntitiesConfigCommand,
|
|
2662
2695
|
path: z.object({ uuid: z.string() }),
|