@wisemen/wise-crm-web 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1037 -0
- package/dist/BusinessDetailSidebarProvider-BQMRbGHQ.js +2083 -0
- package/dist/{BusinessDetailView-BbfUJk4T.js → BusinessDetailView-BxGxWOme.js} +5 -5
- package/dist/{CrmDetailHeaderCard-oRgvRuFD.js → CrmDetailHeaderCard-CCNJpMAK.js} +68 -67
- package/dist/{CrmDetailView-B0ZN_Fnu.js → CrmDetailView-ozCpuaX2.js} +14 -14
- package/dist/{DealCommunicationTabView-e7NkRy9r.js → DealCommunicationTabView-Df5EeolN.js} +2 -2
- package/dist/{DealDetailView-BPIatW_2.js → DealDetailView-DdWHqaBr.js} +163 -163
- package/dist/{DealExternalAttachment-D1PznE3V.js → DealExternalAttachment-qHdh4yMI.js} +1 -1
- package/dist/{DealSendMailDialog-BK_lUIx6.js → DealSendMailDialog-BaYcWZP-.js} +65 -69
- package/dist/Error-BArv9rNb.js +12650 -0
- package/dist/IndividualDetailSidebarProvider-BXZH951l.js +608 -0
- package/dist/{IndividualDetailView-Cdodb8Ii.js → IndividualDetailView-DfYS31-e.js} +5 -5
- package/dist/LinkBrokenIcon-CTlqmapl.js +17 -0
- package/dist/api/mutations/deal/dealCreate.mutation.d.ts +1 -1
- package/dist/api/mutations/deal/dealUpdate.mutation.d.ts +3 -3
- package/dist/api/mutations/mail-template/mailTemplateUpdate.mutation.d.ts +1 -1
- package/dist/client/apiErrorCode.gen.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +20 -17
- package/dist/client/types.gen.d.ts +1057 -1376
- package/dist/client/zod.gen.d.ts +15453 -17750
- package/dist/{client-BP13IBbl.js → client-pCaNxE3C.js} +748 -1047
- package/dist/components/crm-detail/CrmDetailHeaderCard.vue.d.ts +2 -0
- package/dist/deal/components/DealSendMailForm.vue.d.ts +2 -2
- package/dist/icons/LinkBrokenIcon.vue.d.ts +3 -0
- package/dist/icons/icon.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +448 -453
- package/dist/models/brand-colors/brandColor.model.d.ts +14 -0
- package/dist/models/brand-colors/brandColor.transformer.d.ts +5 -0
- package/dist/models/conent-locale/contentLocaleEnum.model.d.ts +3 -3
- package/dist/models/deal/create/dealCreateForm.model.d.ts +2 -2
- package/dist/models/deal/detail/dealDetail.model.d.ts +2 -2
- package/dist/models/deal/index/dealIndex.model.d.ts +2 -2
- package/dist/models/deal/update/dealUpdateForm.model.d.ts +2 -2
- package/dist/models/mail-template/detail/mailTemplateDetail.model.d.ts +2 -2
- package/dist/models/mail-template/update/mailTemplateUpdateForm.model.d.ts +3 -3
- package/dist/models/phone-number/phoneNumberForm.model.d.ts +3 -0
- package/dist/models/tenant-config/tenantConfig.model.d.ts +3 -0
- package/dist/plugins/i18n.plugin.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/testing/factories/business.factory.d.ts +2 -1
- package/dist/testing.js +23 -2
- package/package.json +2 -1
- package/dist/BusinessDetailSidebarProvider-BrpWqjRs.js +0 -2081
- package/dist/Error-iBGGWZtH.js +0 -3695
- package/dist/IndividualDetailSidebarProvider-DUVi7XF0.js +0 -606
- /package/dist/{LinkExternalIcon-B9Qg55Oa.js → LinkExternalIcon-LOVtSqBT.js} +0 -0
- /package/dist/{LinkIcon-DCW5zjbQ.js → LinkIcon-DqBbVrvs.js} +0 -0
- /package/dist/{LocationPinIcon-DBc-wt2e.js → LocationPinIcon-Cp-wRgk2.js} +0 -0
- /package/dist/{MailIcon-Do4a7S2W.js → MailIcon-CnTrB1k3.js} +0 -0
- /package/dist/{MobilePhoneIcon-DSXyKwjd.js → MobilePhoneIcon-B747hmpS.js} +0 -0
- /package/dist/{NumberedListIcon-DUaSJSYu.js → NumberedListIcon-amJxDaaD.js} +0 -0
- /package/dist/{PhoneIcon-C8Cv1IiW.js → PhoneIcon-94MYVL85.js} +0 -0
- /package/dist/{RefreshIcon-CKZgHIZU.js → RefreshIcon-DRe3coBc.js} +0 -0
- /package/dist/{SendIcon-B-sQkQ3W.js → SendIcon-MYItp1xI.js} +0 -0
- /package/dist/{SettingsIcon-DzP-IQS5.js → SettingsIcon-C0qTAv0w.js} +0 -0
- /package/dist/{StarOutlineIcon-c0VfXRdQ.js → StarOutlineIcon-CiFLgepk.js} +0 -0
- /package/dist/{StarYellowIcon-CH0CnlSU.js → StarYellowIcon-C0v_XGwI.js} +0 -0
- /package/dist/{ThreeDotsIcon-C6PCFq5J.js → ThreeDotsIcon-lujOTU3G.js} +0 -0
- /package/dist/{TimeLineMarkerIcon-6B6SbwTN.js → TimeLineMarkerIcon-C4LfErbc.js} +0 -0
- /package/dist/{TrashIcon-BTPSVviz.js → TrashIcon-v4L9SEK_.js} +0 -0
- /package/dist/{UploadCloudIcon-1aMW5OJq.js → UploadCloudIcon-j1-1Rvqb.js} +0 -0
- /package/dist/{UserCircleIcon-D-19dc-2.js → UserCircleIcon-BjUt_2C4.js} +0 -0
- /package/dist/{UserIcon-D1H8TGlg.js → UserIcon-Cb2jFKLr.js} +0 -0
- /package/dist/{VerticalDotsIcon-DmPza4Jd.js → VerticalDotsIcon-Y3m6tlQ2.js} +0 -0
- /package/dist/{WalletIcon-BlI3D3v-.js → WalletIcon-pPsKbzmh.js} +0 -0
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
export declare enum TypesenseCollectionName {
|
|
2
|
-
USER = "user",
|
|
3
|
-
LOCATION = "location",
|
|
4
|
-
INDIVIDUAL = "individual",
|
|
5
|
-
BUSINESS = "business",
|
|
6
|
-
CBE_ENTERPRISE = "cbe-enterprise",
|
|
7
|
-
CBE_ESTABLISHMENT = "cbe-establishment"
|
|
8
|
-
}
|
|
9
|
-
export type ViewCollectionIndexResponse = {
|
|
10
|
-
collections: Array<'user' | 'location' | 'individual' | 'business' | 'cbe-enterprise' | 'cbe-establishment'>;
|
|
11
|
-
};
|
|
12
|
-
export type UserNotFoundError = {
|
|
13
|
-
/**
|
|
14
|
-
* a human-readable explanation specific to this occurrence of the problem
|
|
15
|
-
*/
|
|
16
|
-
detail?: string;
|
|
17
|
-
status: '404';
|
|
18
|
-
code: 'user_not_found';
|
|
19
|
-
};
|
|
20
|
-
export type SetUserRolesCommand = {
|
|
21
|
-
roleUuids: Array<string>;
|
|
22
|
-
};
|
|
23
1
|
export declare enum Permission {
|
|
24
2
|
ALL_PERMISSIONS = "all_permissions",
|
|
25
3
|
ACTIVITY_LOG_READ = "activity-log.read",
|
|
@@ -106,45 +84,178 @@ export declare enum Permission {
|
|
|
106
84
|
MAIL_READ = "mail.read",
|
|
107
85
|
MAIL_CREATE = "mail.create"
|
|
108
86
|
}
|
|
109
|
-
export type
|
|
110
|
-
uuid: string;
|
|
111
|
-
createdAt: string;
|
|
112
|
-
updatedAt: string;
|
|
87
|
+
export type ViewPermissionIndexPermissionResponse = {
|
|
113
88
|
name: string;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
isSystemAdmin: boolean;
|
|
89
|
+
key: Permission;
|
|
90
|
+
description: string;
|
|
117
91
|
};
|
|
118
|
-
export type
|
|
92
|
+
export type ViewPermissionIndexGroupResponse = {
|
|
93
|
+
name: string;
|
|
94
|
+
permissions: Array<ViewPermissionIndexPermissionResponse>;
|
|
95
|
+
};
|
|
96
|
+
export type ViewPermissionIndexResponse = {
|
|
97
|
+
groups: Array<ViewPermissionIndexGroupResponse>;
|
|
98
|
+
};
|
|
99
|
+
export type BrandColorsCommand = {
|
|
100
|
+
brand25: string;
|
|
101
|
+
brand50: string;
|
|
102
|
+
brand100: string;
|
|
103
|
+
brand200: string;
|
|
104
|
+
brand300: string;
|
|
105
|
+
brand400: string;
|
|
106
|
+
brand500: string;
|
|
107
|
+
brand600: string;
|
|
108
|
+
brand700: string;
|
|
109
|
+
brand800: string;
|
|
110
|
+
brand900: string;
|
|
111
|
+
brand950: string;
|
|
112
|
+
};
|
|
113
|
+
export declare enum Locale {
|
|
114
|
+
EN_US = "en-US",
|
|
115
|
+
NL_BE = "nl-BE",
|
|
116
|
+
FR_BE = "fr-BE"
|
|
117
|
+
}
|
|
118
|
+
export type LocalizedString = {
|
|
119
|
+
language: Locale;
|
|
120
|
+
value: string;
|
|
121
|
+
};
|
|
122
|
+
export declare enum EntityColor {
|
|
123
|
+
MOSS = "moss",
|
|
124
|
+
GREEN_LIGHT = "green-light",
|
|
125
|
+
GREEN = "green",
|
|
126
|
+
TEAL = "teal",
|
|
127
|
+
CYAN = "cyan",
|
|
128
|
+
BLUE_LIGHT = "blue-light",
|
|
129
|
+
BLUE = "blue",
|
|
130
|
+
BLUE_DARK = "blue-dark",
|
|
131
|
+
INDIGO = "indigo",
|
|
132
|
+
VIOLET = "violet",
|
|
133
|
+
PURPLE = "purple",
|
|
134
|
+
FUCHSIA = "fuchsia",
|
|
135
|
+
PINK = "pink",
|
|
136
|
+
ROSE = "rose",
|
|
137
|
+
ORANGE_DARK = "orange-dark",
|
|
138
|
+
ORANGE = "orange",
|
|
139
|
+
YELLOW = "yellow",
|
|
140
|
+
ERROR = "error",
|
|
141
|
+
WARNING = "warning",
|
|
142
|
+
SUCCESS = "success"
|
|
143
|
+
}
|
|
144
|
+
export declare enum BillingInformationRequirement {
|
|
145
|
+
EMAIL_ONLY = "EMAIL_ONLY",
|
|
146
|
+
ADDRESS_ONLY = "ADDRESS_ONLY",
|
|
147
|
+
EMAIL_AND_ADDRESS = "EMAIL_AND_ADDRESS",
|
|
148
|
+
EMAIL_OR_ADDRESS = "EMAIL_OR_ADDRESS"
|
|
149
|
+
}
|
|
150
|
+
export type BusinessConfigCommand = {
|
|
151
|
+
name: Array<LocalizedString>;
|
|
152
|
+
entityColor: EntityColor;
|
|
153
|
+
viesValidation: boolean;
|
|
154
|
+
requireIndividualOnCreate: boolean;
|
|
155
|
+
billingInformationRequirement: BillingInformationRequirement;
|
|
156
|
+
};
|
|
157
|
+
export type IndividualConfigCommand = {
|
|
158
|
+
name: Array<LocalizedString>;
|
|
159
|
+
entityColor: EntityColor;
|
|
160
|
+
billingInformationRequirement: BillingInformationRequirement;
|
|
161
|
+
};
|
|
162
|
+
export type CreateTenantCommand = {
|
|
163
|
+
name: string;
|
|
164
|
+
slug: string;
|
|
165
|
+
domain: string;
|
|
166
|
+
oidcIssuer: string;
|
|
167
|
+
oidcClientId: string;
|
|
168
|
+
oidcOrganizationId: string;
|
|
169
|
+
nativeClientId: string;
|
|
170
|
+
czOidcIssuer: string;
|
|
171
|
+
czOidcAudience: string;
|
|
172
|
+
czOidcOrganizationId: string;
|
|
173
|
+
czNativeClientId: string;
|
|
174
|
+
brandColors: BrandColorsCommand;
|
|
175
|
+
businessConfig: BusinessConfigCommand;
|
|
176
|
+
individualConfig: IndividualConfigCommand;
|
|
177
|
+
};
|
|
178
|
+
export type CreateTenantResponse = {
|
|
119
179
|
uuid: string;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
roles: Array<ViewRoleDetailResponse>;
|
|
180
|
+
name: string;
|
|
181
|
+
slug: string;
|
|
182
|
+
oidcIssuer: string;
|
|
183
|
+
oidcClientId: string;
|
|
125
184
|
};
|
|
126
|
-
export type
|
|
185
|
+
export type UpdateTenantCommand = {
|
|
186
|
+
name: string;
|
|
187
|
+
slug: string;
|
|
188
|
+
domain: string | null;
|
|
189
|
+
oidcIssuer?: string;
|
|
190
|
+
oidcClientId?: string;
|
|
191
|
+
oidcOrganizationId?: string;
|
|
192
|
+
nativeClientId?: string;
|
|
193
|
+
czOidcIssuer?: string;
|
|
194
|
+
czOidcAudience?: string;
|
|
195
|
+
czOidcOrganizationId?: string;
|
|
196
|
+
czNativeClientId?: string;
|
|
197
|
+
brandColors: BrandColorsCommand;
|
|
198
|
+
businessConfig: BusinessConfigCommand;
|
|
199
|
+
individualConfig: IndividualConfigCommand;
|
|
200
|
+
};
|
|
201
|
+
export declare enum EntityType {
|
|
202
|
+
INDIVIDUAL = "individual",
|
|
203
|
+
BUSINESS = "business"
|
|
204
|
+
}
|
|
205
|
+
export type TenantEntityConfigCommand = {
|
|
206
|
+
entityType: EntityType;
|
|
207
|
+
entityName: Array<LocalizedString>;
|
|
208
|
+
entityColor: EntityColor;
|
|
209
|
+
};
|
|
210
|
+
export type UpdateTenantEntitiesConfigCommand = {
|
|
211
|
+
entities: Array<TenantEntityConfigCommand>;
|
|
212
|
+
};
|
|
213
|
+
export declare enum TenantCompanywebLocale {
|
|
214
|
+
NL = "NL",
|
|
215
|
+
FR = "FR",
|
|
216
|
+
EN = "EN"
|
|
217
|
+
}
|
|
218
|
+
export type TenantCompanywebConfigCommand = {
|
|
219
|
+
login: string;
|
|
220
|
+
password: string;
|
|
221
|
+
secret: string;
|
|
222
|
+
language: TenantCompanywebLocale;
|
|
223
|
+
integrator: string;
|
|
224
|
+
};
|
|
225
|
+
export type TenantBusinessConfigCommand = {
|
|
226
|
+
viesValidation: boolean;
|
|
227
|
+
requireIndividualOnCreate: boolean;
|
|
228
|
+
companyweb: TenantCompanywebConfigCommand | null;
|
|
229
|
+
};
|
|
230
|
+
export type UpdateTenantBusinessConfigCommand = {
|
|
231
|
+
businessConfig: TenantBusinessConfigCommand;
|
|
232
|
+
};
|
|
233
|
+
export type TenantBillingConfigCommand = {
|
|
234
|
+
individualBillingInformationRequirement: BillingInformationRequirement;
|
|
235
|
+
businessBillingInformationRequirement: BillingInformationRequirement;
|
|
236
|
+
};
|
|
237
|
+
export type UpdateTenantBillingConfigCommand = {
|
|
238
|
+
billingConfig: TenantBillingConfigCommand;
|
|
239
|
+
};
|
|
240
|
+
export type ViewTenantDetailResponse = {
|
|
127
241
|
uuid: string;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
242
|
+
createdAt: string;
|
|
243
|
+
updatedAt: string;
|
|
244
|
+
name: string;
|
|
245
|
+
slug: string;
|
|
246
|
+
domain: string | null;
|
|
133
247
|
};
|
|
134
248
|
export type PaginatedOffsetQuery = {
|
|
135
249
|
limit: number;
|
|
136
250
|
offset: number;
|
|
137
251
|
};
|
|
138
|
-
export type
|
|
252
|
+
export type TenantResponse = {
|
|
139
253
|
uuid: string;
|
|
254
|
+
createdAt: string;
|
|
255
|
+
updatedAt: string;
|
|
140
256
|
name: string;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
uuid: string;
|
|
144
|
-
email: string | null;
|
|
145
|
-
firstName: string | null;
|
|
146
|
-
lastName: string | null;
|
|
147
|
-
roles: Array<UserIndexRoleView>;
|
|
257
|
+
slug: string;
|
|
258
|
+
domain: string | null;
|
|
148
259
|
};
|
|
149
260
|
export type PaginatedOffsetResponseMeta = {
|
|
150
261
|
/**
|
|
@@ -160,24 +271,43 @@ export type PaginatedOffsetResponseMeta = {
|
|
|
160
271
|
*/
|
|
161
272
|
limit: number;
|
|
162
273
|
};
|
|
163
|
-
export type
|
|
274
|
+
export type ViewTenantIndexResponse = {
|
|
164
275
|
/**
|
|
165
276
|
* The items for the current page
|
|
166
277
|
*/
|
|
167
|
-
items: Array<
|
|
278
|
+
items: Array<TenantResponse>;
|
|
168
279
|
meta: PaginatedOffsetResponseMeta;
|
|
169
280
|
};
|
|
170
|
-
export type
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
281
|
+
export type TenantConfigEntities = {
|
|
282
|
+
entityType: EntityType;
|
|
283
|
+
entityName: string;
|
|
284
|
+
entityColor: EntityColor;
|
|
174
285
|
};
|
|
175
|
-
export type
|
|
176
|
-
|
|
177
|
-
|
|
286
|
+
export type TenantConfigBusiness = {
|
|
287
|
+
viesValidation: boolean;
|
|
288
|
+
requireIndividualOnCreate: boolean;
|
|
178
289
|
};
|
|
179
|
-
export type
|
|
180
|
-
|
|
290
|
+
export type TenantConfigBilling = {
|
|
291
|
+
individualBillingInformationRequirement: BillingInformationRequirement;
|
|
292
|
+
businessBillingInformationRequirement: BillingInformationRequirement;
|
|
293
|
+
};
|
|
294
|
+
export declare enum BusinessStatus {
|
|
295
|
+
LEAD = "lead",
|
|
296
|
+
CUSTOMER = "customer",
|
|
297
|
+
INACTIVE = "inactive",
|
|
298
|
+
ARCHIVED = "archived"
|
|
299
|
+
}
|
|
300
|
+
export declare enum IndividualStatus {
|
|
301
|
+
CONTACT = "contact",
|
|
302
|
+
LEAD = "lead",
|
|
303
|
+
CUSTOMER = "customer",
|
|
304
|
+
INACTIVE = "inactive"
|
|
305
|
+
}
|
|
306
|
+
export type TenantDealConfigResponse = {
|
|
307
|
+
enableBusinessDeals: boolean;
|
|
308
|
+
enableIndividualDeals: boolean;
|
|
309
|
+
creatableBusinessStatuses: Array<BusinessStatus>;
|
|
310
|
+
creatableIndividualStatuses: Array<IndividualStatus>;
|
|
181
311
|
};
|
|
182
312
|
export type BrandColorsResponse = {
|
|
183
313
|
brand25: string;
|
|
@@ -193,6 +323,69 @@ export type BrandColorsResponse = {
|
|
|
193
323
|
brand900: string;
|
|
194
324
|
brand950: string;
|
|
195
325
|
};
|
|
326
|
+
export type ViewTenantConfigDetailResponse = {
|
|
327
|
+
uuid: string;
|
|
328
|
+
name: string;
|
|
329
|
+
entities: Array<TenantConfigEntities>;
|
|
330
|
+
businessConfig: TenantConfigBusiness;
|
|
331
|
+
billingConfig: TenantConfigBilling;
|
|
332
|
+
dealConfig: TenantDealConfigResponse;
|
|
333
|
+
brandColors: BrandColorsResponse;
|
|
334
|
+
};
|
|
335
|
+
export declare enum RecentEntityType {
|
|
336
|
+
INDIVIDUAL = "individual",
|
|
337
|
+
BUSINESS = "business",
|
|
338
|
+
DEAL = "deal"
|
|
339
|
+
}
|
|
340
|
+
export type ViewRecentEntitiesFilterQuery = {
|
|
341
|
+
types?: Array<RecentEntityType>;
|
|
342
|
+
};
|
|
343
|
+
export type ViewRecentEntitiesResponseItem = {
|
|
344
|
+
type: 'individual' | 'business' | 'deal';
|
|
345
|
+
uuid: string;
|
|
346
|
+
name: string;
|
|
347
|
+
createdAt: string;
|
|
348
|
+
};
|
|
349
|
+
export type ViewRecentEntitiesResponse = {
|
|
350
|
+
/**
|
|
351
|
+
* The items for the current page
|
|
352
|
+
*/
|
|
353
|
+
items: Array<ViewRecentEntitiesResponseItem>;
|
|
354
|
+
meta: PaginatedOffsetResponseMeta;
|
|
355
|
+
};
|
|
356
|
+
export type UserConnectedToOtherTenantError = {
|
|
357
|
+
/**
|
|
358
|
+
* a human-readable explanation specific to this occurrence of the problem
|
|
359
|
+
*/
|
|
360
|
+
detail?: string;
|
|
361
|
+
status: '409';
|
|
362
|
+
code: 'user_connected_to_other_tenant';
|
|
363
|
+
};
|
|
364
|
+
export type UserNotFoundError = {
|
|
365
|
+
/**
|
|
366
|
+
* a human-readable explanation specific to this occurrence of the problem
|
|
367
|
+
*/
|
|
368
|
+
detail?: string;
|
|
369
|
+
status: '404';
|
|
370
|
+
code: 'user_not_found';
|
|
371
|
+
};
|
|
372
|
+
export type AssignUserAsAdminCommand = {
|
|
373
|
+
/**
|
|
374
|
+
* Zitadel user identifier
|
|
375
|
+
*/
|
|
376
|
+
userId: string;
|
|
377
|
+
};
|
|
378
|
+
export declare enum TypesenseCollectionName {
|
|
379
|
+
USER = "user",
|
|
380
|
+
LOCATION = "location",
|
|
381
|
+
INDIVIDUAL = "individual",
|
|
382
|
+
BUSINESS = "business",
|
|
383
|
+
CBE_ENTERPRISE = "cbe-enterprise",
|
|
384
|
+
CBE_ESTABLISHMENT = "cbe-establishment"
|
|
385
|
+
}
|
|
386
|
+
export type ViewCollectionIndexResponse = {
|
|
387
|
+
collections: Array<'user' | 'location' | 'individual' | 'business' | 'cbe-enterprise' | 'cbe-establishment'>;
|
|
388
|
+
};
|
|
196
389
|
export type ViewLoginConfigResponse = {
|
|
197
390
|
/**
|
|
198
391
|
* The base URL for login
|
|
@@ -240,6 +433,52 @@ export type GetApiInfoResponse = {
|
|
|
240
433
|
*/
|
|
241
434
|
timestamp: string;
|
|
242
435
|
};
|
|
436
|
+
export type SetUserRolesCommand = {
|
|
437
|
+
roleUuids: Array<string>;
|
|
438
|
+
};
|
|
439
|
+
export type ViewRoleDetailResponse = {
|
|
440
|
+
uuid: string;
|
|
441
|
+
createdAt: string;
|
|
442
|
+
updatedAt: string;
|
|
443
|
+
name: string;
|
|
444
|
+
permissions: Array<Permission>;
|
|
445
|
+
isDefault: boolean;
|
|
446
|
+
isSystemAdmin: boolean;
|
|
447
|
+
};
|
|
448
|
+
export type ViewMeResponse = {
|
|
449
|
+
uuid: string;
|
|
450
|
+
email: string | null;
|
|
451
|
+
firstName: string | null;
|
|
452
|
+
lastName: string | null;
|
|
453
|
+
tenantUuid: string | null;
|
|
454
|
+
roles: Array<ViewRoleDetailResponse>;
|
|
455
|
+
};
|
|
456
|
+
export type ViewUserDetailResponse = {
|
|
457
|
+
uuid: string;
|
|
458
|
+
email: string | null;
|
|
459
|
+
firstName: string | null;
|
|
460
|
+
lastName: string | null;
|
|
461
|
+
tenantUuid: string | null;
|
|
462
|
+
roles: Array<ViewRoleDetailResponse>;
|
|
463
|
+
};
|
|
464
|
+
export type UserIndexRoleView = {
|
|
465
|
+
uuid: string;
|
|
466
|
+
name: string;
|
|
467
|
+
};
|
|
468
|
+
export type UserIndexView = {
|
|
469
|
+
uuid: string;
|
|
470
|
+
email: string | null;
|
|
471
|
+
firstName: string | null;
|
|
472
|
+
lastName: string | null;
|
|
473
|
+
roles: Array<UserIndexRoleView>;
|
|
474
|
+
};
|
|
475
|
+
export type ViewUserIndexResponse = {
|
|
476
|
+
/**
|
|
477
|
+
* The items for the current page
|
|
478
|
+
*/
|
|
479
|
+
items: Array<UserIndexView>;
|
|
480
|
+
meta: PaginatedOffsetResponseMeta;
|
|
481
|
+
};
|
|
243
482
|
export type CreateRoleCommand = {
|
|
244
483
|
/**
|
|
245
484
|
* The name of the role
|
|
@@ -332,11 +571,6 @@ export declare enum UiTheme {
|
|
|
332
571
|
DARK = "dark",
|
|
333
572
|
SYSTEM = "system"
|
|
334
573
|
}
|
|
335
|
-
export declare enum Locale {
|
|
336
|
-
EN_US = "en-US",
|
|
337
|
-
NL_BE = "nl-BE",
|
|
338
|
-
FR_BE = "fr-BE"
|
|
339
|
-
}
|
|
340
574
|
export declare enum FontSize {
|
|
341
575
|
SMALLER = "smaller",
|
|
342
576
|
SMALL = "small",
|
|
@@ -407,27 +641,13 @@ export type ViewDomainEventLogIndexPaginationQuery = {
|
|
|
407
641
|
limit: number;
|
|
408
642
|
key?: ViewDomainEventLogIndexQueryKey | null;
|
|
409
643
|
};
|
|
410
|
-
export type
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
uuid: string;
|
|
416
|
-
createdAt: string;
|
|
417
|
-
version: number;
|
|
418
|
-
source: string;
|
|
419
|
-
userUuid: string | null;
|
|
420
|
-
message: string;
|
|
421
|
-
subjectType: SubjectType | null;
|
|
422
|
-
subjectId: string | null;
|
|
423
|
-
type: 'user.created';
|
|
424
|
-
content: UserCreatedEventContent;
|
|
425
|
-
};
|
|
426
|
-
export type RoleAssignedToUserEventContent = {
|
|
427
|
-
userUuid: string;
|
|
428
|
-
roleUuid: string;
|
|
644
|
+
export type BoardColumnCreatedEventContent = {
|
|
645
|
+
boardColumnUuid: string;
|
|
646
|
+
key: string;
|
|
647
|
+
position: number;
|
|
648
|
+
tenantUuid: string;
|
|
429
649
|
};
|
|
430
|
-
export type
|
|
650
|
+
export type BoardColumnCreatedDomainEventLog = {
|
|
431
651
|
uuid: string;
|
|
432
652
|
createdAt: string;
|
|
433
653
|
version: number;
|
|
@@ -436,14 +656,16 @@ export type UserRoleAssignedDomainEventLog = {
|
|
|
436
656
|
message: string;
|
|
437
657
|
subjectType: SubjectType | null;
|
|
438
658
|
subjectId: string | null;
|
|
439
|
-
type: '
|
|
440
|
-
content:
|
|
659
|
+
type: 'board-column.created';
|
|
660
|
+
content: BoardColumnCreatedEventContent;
|
|
441
661
|
};
|
|
442
|
-
export type
|
|
443
|
-
|
|
444
|
-
|
|
662
|
+
export type BoardColumnTransitionCreatedEventContent = {
|
|
663
|
+
boardColumnTransitionUuid: string;
|
|
664
|
+
fromColumnUuid: string;
|
|
665
|
+
toColumnUuid: string;
|
|
666
|
+
tenantUuid: string;
|
|
445
667
|
};
|
|
446
|
-
export type
|
|
668
|
+
export type BoardColumnTransitionCreatedDomainEventLog = {
|
|
447
669
|
uuid: string;
|
|
448
670
|
createdAt: string;
|
|
449
671
|
version: number;
|
|
@@ -452,14 +674,20 @@ export type RoleCreatedDomainEventLog = {
|
|
|
452
674
|
message: string;
|
|
453
675
|
subjectType: SubjectType | null;
|
|
454
676
|
subjectId: string | null;
|
|
455
|
-
type: '
|
|
456
|
-
content:
|
|
677
|
+
type: 'board-column-transition.created';
|
|
678
|
+
content: BoardColumnTransitionCreatedEventContent;
|
|
457
679
|
};
|
|
458
|
-
export
|
|
459
|
-
|
|
460
|
-
|
|
680
|
+
export declare enum BoardColumnTransitionTriggerType {
|
|
681
|
+
MANUAL = "manual",
|
|
682
|
+
EMAIL = "email"
|
|
683
|
+
}
|
|
684
|
+
export type BoardColumnTransitionTriggerCreatedEventContent = {
|
|
685
|
+
boardColumnTransitionTriggerUuid: string;
|
|
686
|
+
boardColumnTransitionUuid: string;
|
|
687
|
+
triggerType: BoardColumnTransitionTriggerType;
|
|
688
|
+
tenantUuid: string;
|
|
461
689
|
};
|
|
462
|
-
export type
|
|
690
|
+
export type BoardColumnTransitionTriggerCreatedDomainEventLog = {
|
|
463
691
|
uuid: string;
|
|
464
692
|
createdAt: string;
|
|
465
693
|
version: number;
|
|
@@ -468,32 +696,24 @@ export type RoleDeletedDomainEventLog = {
|
|
|
468
696
|
message: string;
|
|
469
697
|
subjectType: SubjectType | null;
|
|
470
698
|
subjectId: string | null;
|
|
471
|
-
type: '
|
|
472
|
-
content:
|
|
473
|
-
};
|
|
474
|
-
export type RoleRenamedEventContent = {
|
|
475
|
-
roleUuid: string;
|
|
476
|
-
previousName: string;
|
|
477
|
-
newName: string;
|
|
699
|
+
type: 'board-column-transition-trigger.created';
|
|
700
|
+
content: BoardColumnTransitionTriggerCreatedEventContent;
|
|
478
701
|
};
|
|
479
|
-
export type
|
|
480
|
-
|
|
481
|
-
createdAt: string;
|
|
482
|
-
version: number;
|
|
483
|
-
source: string;
|
|
484
|
-
userUuid: string | null;
|
|
485
|
-
message: string;
|
|
486
|
-
subjectType: SubjectType | null;
|
|
487
|
-
subjectId: string | null;
|
|
488
|
-
type: 'role.renamed';
|
|
489
|
-
content: RoleRenamedEventContent;
|
|
702
|
+
export type Address = {
|
|
703
|
+
[key: string]: unknown;
|
|
490
704
|
};
|
|
491
|
-
export type
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
705
|
+
export type BusinessBillingInformationUpsertedEventContent = {
|
|
706
|
+
businessUuid: string;
|
|
707
|
+
billingInformationUuid: string;
|
|
708
|
+
address: Address | null;
|
|
709
|
+
invoiceEmail: string | null;
|
|
710
|
+
invoiceCcEmails: Array<string>;
|
|
711
|
+
reminderEmail: string | null;
|
|
712
|
+
reminderCcEmails: Array<string>;
|
|
713
|
+
purchaseNoteEmail: string | null;
|
|
714
|
+
purchaseNoteCcEmails: Array<string>;
|
|
495
715
|
};
|
|
496
|
-
export type
|
|
716
|
+
export type BusinessBillingInformationUpsertedDomainEventLog = {
|
|
497
717
|
uuid: string;
|
|
498
718
|
createdAt: string;
|
|
499
719
|
version: number;
|
|
@@ -502,13 +722,13 @@ export type RolePermissionsUpdatedDomainEventLog = {
|
|
|
502
722
|
message: string;
|
|
503
723
|
subjectType: SubjectType | null;
|
|
504
724
|
subjectId: string | null;
|
|
505
|
-
type: '
|
|
506
|
-
content:
|
|
725
|
+
type: 'business.billing-information.upserted';
|
|
726
|
+
content: BusinessBillingInformationUpsertedEventContent;
|
|
507
727
|
};
|
|
508
|
-
export type
|
|
509
|
-
|
|
728
|
+
export type LocationCreatedEventContent = {
|
|
729
|
+
locationUuid: string;
|
|
510
730
|
};
|
|
511
|
-
export type
|
|
731
|
+
export type LocationCreatedDomainEventLog = {
|
|
512
732
|
uuid: string;
|
|
513
733
|
createdAt: string;
|
|
514
734
|
version: number;
|
|
@@ -517,30 +737,19 @@ export type RolePermissionsCacheClearedDomainEventLog = {
|
|
|
517
737
|
message: string;
|
|
518
738
|
subjectType: SubjectType | null;
|
|
519
739
|
subjectId: string | null;
|
|
520
|
-
type: '
|
|
521
|
-
content:
|
|
522
|
-
};
|
|
523
|
-
export type UserUpdatedEventContent = {
|
|
524
|
-
userUuid: string;
|
|
525
|
-
firstName: string | null;
|
|
526
|
-
lastName: string | null;
|
|
740
|
+
type: 'location.created';
|
|
741
|
+
content: LocationCreatedEventContent;
|
|
527
742
|
};
|
|
528
|
-
export type
|
|
743
|
+
export type ContactPersonContent = {
|
|
529
744
|
uuid: string;
|
|
530
|
-
|
|
531
|
-
version: number;
|
|
532
|
-
source: string;
|
|
533
|
-
userUuid: string | null;
|
|
534
|
-
message: string;
|
|
535
|
-
subjectType: SubjectType | null;
|
|
536
|
-
subjectId: string | null;
|
|
537
|
-
type: 'user.updated';
|
|
538
|
-
content: UserUpdatedEventContent;
|
|
745
|
+
name: string;
|
|
539
746
|
};
|
|
540
|
-
export type
|
|
541
|
-
|
|
747
|
+
export type ContactPersonLinkedToBusinessEventContent = {
|
|
748
|
+
businessUuid: string;
|
|
749
|
+
contactPerson: ContactPersonContent;
|
|
750
|
+
position: string | null;
|
|
542
751
|
};
|
|
543
|
-
export type
|
|
752
|
+
export type BusinessContactPersonLinkedDomainEventLog = {
|
|
544
753
|
uuid: string;
|
|
545
754
|
createdAt: string;
|
|
546
755
|
version: number;
|
|
@@ -549,13 +758,14 @@ export type LocationCreatedDomainEventLog = {
|
|
|
549
758
|
message: string;
|
|
550
759
|
subjectType: SubjectType | null;
|
|
551
760
|
subjectId: string | null;
|
|
552
|
-
type: '
|
|
553
|
-
content:
|
|
761
|
+
type: 'business.contact-person.linked';
|
|
762
|
+
content: ContactPersonLinkedToBusinessEventContent;
|
|
554
763
|
};
|
|
555
|
-
export type
|
|
556
|
-
|
|
764
|
+
export type ContactPersonUnlinkedFromBusinessEventContent = {
|
|
765
|
+
businessUuid: string;
|
|
766
|
+
contactPerson: ContactPersonContent;
|
|
557
767
|
};
|
|
558
|
-
export type
|
|
768
|
+
export type BusinessContactPersonUnlinkedDomainEventLog = {
|
|
559
769
|
uuid: string;
|
|
560
770
|
createdAt: string;
|
|
561
771
|
version: number;
|
|
@@ -564,25 +774,20 @@ export type LocationUpdatedDomainEventLog = {
|
|
|
564
774
|
message: string;
|
|
565
775
|
subjectType: SubjectType | null;
|
|
566
776
|
subjectId: string | null;
|
|
567
|
-
type: '
|
|
568
|
-
content:
|
|
777
|
+
type: 'business.contact-person.unlinked';
|
|
778
|
+
content: ContactPersonUnlinkedFromBusinessEventContent;
|
|
569
779
|
};
|
|
570
|
-
export type
|
|
571
|
-
|
|
780
|
+
export type ValueChange = {
|
|
781
|
+
key: string;
|
|
782
|
+
oldValue: string | number | boolean | null;
|
|
783
|
+
newValue: string | number | boolean | null;
|
|
572
784
|
};
|
|
573
|
-
export type
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
email: string | null;
|
|
578
|
-
phone: string | null;
|
|
579
|
-
mobilePhone: string | null;
|
|
580
|
-
address: Address | null;
|
|
581
|
-
customFields: {
|
|
582
|
-
[key: string]: unknown;
|
|
583
|
-
} | null;
|
|
785
|
+
export type BusinessContactPersonUpdatedEventContent = {
|
|
786
|
+
businessUuid: string;
|
|
787
|
+
contactPerson: ContactPersonContent;
|
|
788
|
+
diff: Array<ValueChange>;
|
|
584
789
|
};
|
|
585
|
-
export type
|
|
790
|
+
export type BusinessContactPersonUpdatedDomainEventLog = {
|
|
586
791
|
uuid: string;
|
|
587
792
|
createdAt: string;
|
|
588
793
|
version: number;
|
|
@@ -591,13 +796,8 @@ export type IndividualCreatedDomainEventLog = {
|
|
|
591
796
|
message: string;
|
|
592
797
|
subjectType: SubjectType | null;
|
|
593
798
|
subjectId: string | null;
|
|
594
|
-
type: '
|
|
595
|
-
content:
|
|
596
|
-
};
|
|
597
|
-
export type ValueChange = {
|
|
598
|
-
key: string;
|
|
599
|
-
oldValue: string | number | boolean | null;
|
|
600
|
-
newValue: string | number | boolean | null;
|
|
799
|
+
type: 'business.contact-person.updated';
|
|
800
|
+
content: BusinessContactPersonUpdatedEventContent;
|
|
601
801
|
};
|
|
602
802
|
export type IndividualUpdatedDomainEventContent = {
|
|
603
803
|
individualUuid: string;
|
|
@@ -625,6 +825,22 @@ export type IndividualUpdatedDomainEventLog = {
|
|
|
625
825
|
type: 'individual.updated';
|
|
626
826
|
content: IndividualUpdatedDomainEventContent;
|
|
627
827
|
};
|
|
828
|
+
export type BusinessContactPersonMadePrimaryEventContent = {
|
|
829
|
+
businessUuid: string;
|
|
830
|
+
contactPerson: ContactPersonContent;
|
|
831
|
+
};
|
|
832
|
+
export type BusinessContactPersonMadePrimaryDomainEventLog = {
|
|
833
|
+
uuid: string;
|
|
834
|
+
createdAt: string;
|
|
835
|
+
version: number;
|
|
836
|
+
source: string;
|
|
837
|
+
userUuid: string | null;
|
|
838
|
+
message: string;
|
|
839
|
+
subjectType: SubjectType | null;
|
|
840
|
+
subjectId: string | null;
|
|
841
|
+
type: 'business.contact-person.made-primary';
|
|
842
|
+
content: BusinessContactPersonMadePrimaryEventContent;
|
|
843
|
+
};
|
|
628
844
|
export type BusinessCreatedDomainEventContent = {
|
|
629
845
|
businessUuid: string;
|
|
630
846
|
name: string;
|
|
@@ -651,6 +867,30 @@ export type BusinessCreatedDomainEventLog = {
|
|
|
651
867
|
type: 'business.created';
|
|
652
868
|
content: BusinessCreatedDomainEventContent;
|
|
653
869
|
};
|
|
870
|
+
export type IndividualCreatedDomainEventContent = {
|
|
871
|
+
individualUuid: string;
|
|
872
|
+
firstName: string;
|
|
873
|
+
lastName: string;
|
|
874
|
+
email: string | null;
|
|
875
|
+
phone: string | null;
|
|
876
|
+
mobilePhone: string | null;
|
|
877
|
+
address: Address | null;
|
|
878
|
+
customFields: {
|
|
879
|
+
[key: string]: unknown;
|
|
880
|
+
} | null;
|
|
881
|
+
};
|
|
882
|
+
export type IndividualCreatedDomainEventLog = {
|
|
883
|
+
uuid: string;
|
|
884
|
+
createdAt: string;
|
|
885
|
+
version: number;
|
|
886
|
+
source: string;
|
|
887
|
+
userUuid: string | null;
|
|
888
|
+
message: string;
|
|
889
|
+
subjectType: SubjectType | null;
|
|
890
|
+
subjectId: string | null;
|
|
891
|
+
type: 'individual.created';
|
|
892
|
+
content: IndividualCreatedDomainEventContent;
|
|
893
|
+
};
|
|
654
894
|
export declare enum CountryCode {
|
|
655
895
|
AF = "AF",
|
|
656
896
|
AL = "AL",
|
|
@@ -813,271 +1053,56 @@ export declare enum CountryCode {
|
|
|
813
1053
|
ZA = "ZA",
|
|
814
1054
|
SS = "SS",
|
|
815
1055
|
ES = "ES",
|
|
816
|
-
LK = "LK",
|
|
817
|
-
SD = "SD",
|
|
818
|
-
SR = "SR",
|
|
819
|
-
SE = "SE",
|
|
820
|
-
CH = "CH",
|
|
821
|
-
SY = "SY",
|
|
822
|
-
TW = "TW",
|
|
823
|
-
TJ = "TJ",
|
|
824
|
-
TZ = "TZ",
|
|
825
|
-
TH = "TH",
|
|
826
|
-
TL = "TL",
|
|
827
|
-
TG = "TG",
|
|
828
|
-
TO = "TO",
|
|
829
|
-
TT = "TT",
|
|
830
|
-
TN = "TN",
|
|
831
|
-
TR = "TR",
|
|
832
|
-
TM = "TM",
|
|
833
|
-
TV = "TV",
|
|
834
|
-
UG = "UG",
|
|
835
|
-
UA = "UA",
|
|
836
|
-
AE = "AE",
|
|
837
|
-
GB = "GB",
|
|
838
|
-
US = "US",
|
|
839
|
-
UY = "UY",
|
|
840
|
-
UZ = "UZ",
|
|
841
|
-
VU = "VU",
|
|
842
|
-
VA = "VA",
|
|
843
|
-
VE = "VE",
|
|
844
|
-
VN = "VN",
|
|
845
|
-
YE = "YE",
|
|
846
|
-
ZM = "ZM",
|
|
847
|
-
ZW = "ZW"
|
|
848
|
-
}
|
|
849
|
-
export type BusinessUpdatedDomainEventContent = {
|
|
850
|
-
businessUuid: string;
|
|
851
|
-
name: string;
|
|
852
|
-
email: string | null;
|
|
853
|
-
phone: string | null;
|
|
854
|
-
mobilePhone: string | null;
|
|
855
|
-
vatNumber: string | null;
|
|
856
|
-
vatNumberCountryCode: CountryCode | null;
|
|
857
|
-
companyNumber: string | null;
|
|
858
|
-
address: Address;
|
|
859
|
-
changes: ValueChange;
|
|
860
|
-
customFields: {
|
|
861
|
-
[key: string]: unknown;
|
|
862
|
-
} | null;
|
|
863
|
-
language: Locale;
|
|
864
|
-
};
|
|
865
|
-
export type BusinessUpdatedDomainEventLog = {
|
|
866
|
-
uuid: string;
|
|
867
|
-
createdAt: string;
|
|
868
|
-
version: number;
|
|
869
|
-
source: string;
|
|
870
|
-
userUuid: string | null;
|
|
871
|
-
message: string;
|
|
872
|
-
subjectType: SubjectType | null;
|
|
873
|
-
subjectId: string | null;
|
|
874
|
-
type: 'business.updated';
|
|
875
|
-
content: BusinessUpdatedDomainEventContent;
|
|
876
|
-
};
|
|
877
|
-
export declare enum BusinessStatus {
|
|
878
|
-
LEAD = "lead",
|
|
879
|
-
CUSTOMER = "customer",
|
|
880
|
-
INACTIVE = "inactive",
|
|
881
|
-
ARCHIVED = "archived"
|
|
882
|
-
}
|
|
883
|
-
export type BusinessStatusUpdatedDomainEventContent = {
|
|
884
|
-
businessUuid: string;
|
|
885
|
-
previousStatus: BusinessStatus;
|
|
886
|
-
status: BusinessStatus;
|
|
887
|
-
archivedAt: string | null;
|
|
888
|
-
};
|
|
889
|
-
export type BusinessStatusUpdatedDomainEventLog = {
|
|
890
|
-
uuid: string;
|
|
891
|
-
createdAt: string;
|
|
892
|
-
version: number;
|
|
893
|
-
source: string;
|
|
894
|
-
userUuid: string | null;
|
|
895
|
-
message: string;
|
|
896
|
-
subjectType: SubjectType | null;
|
|
897
|
-
subjectId: string | null;
|
|
898
|
-
type: 'business.status.updated';
|
|
899
|
-
content: BusinessStatusUpdatedDomainEventContent;
|
|
900
|
-
};
|
|
901
|
-
export declare enum NotificationType {
|
|
902
|
-
USER_CREATED = "user.created",
|
|
903
|
-
SYSTEM_TEST_NOTIFICATION = "system.test-notification"
|
|
904
|
-
}
|
|
905
|
-
export type NotificationCreatedEventContent = {
|
|
906
|
-
uuid: string;
|
|
907
|
-
type: NotificationType;
|
|
908
|
-
};
|
|
909
|
-
export type NotificationCreatedDomainEventLog = {
|
|
910
|
-
uuid: string;
|
|
911
|
-
createdAt: string;
|
|
912
|
-
version: number;
|
|
913
|
-
source: string;
|
|
914
|
-
userUuid: string | null;
|
|
915
|
-
message: string;
|
|
916
|
-
subjectType: SubjectType | null;
|
|
917
|
-
subjectId: string | null;
|
|
918
|
-
type: 'notification.created';
|
|
919
|
-
content: NotificationCreatedEventContent;
|
|
920
|
-
};
|
|
921
|
-
export declare enum NotificationChannel {
|
|
922
|
-
EMAIL = "email",
|
|
923
|
-
SMS = "sms",
|
|
924
|
-
APP = "app",
|
|
925
|
-
PUSH = "push"
|
|
926
|
-
}
|
|
927
|
-
export type UserNotificationCreatedEventContent = {
|
|
928
|
-
notificationUuid: string;
|
|
929
|
-
channel: NotificationChannel;
|
|
930
|
-
userUuid: string;
|
|
931
|
-
};
|
|
932
|
-
export type UserNotificationCreatedDomainEventLog = {
|
|
933
|
-
uuid: string;
|
|
934
|
-
createdAt: string;
|
|
935
|
-
version: number;
|
|
936
|
-
source: string;
|
|
937
|
-
userUuid: string | null;
|
|
938
|
-
message: string;
|
|
939
|
-
subjectType: SubjectType | null;
|
|
940
|
-
subjectId: string | null;
|
|
941
|
-
type: 'user.notification.created';
|
|
942
|
-
content: UserNotificationCreatedEventContent;
|
|
943
|
-
};
|
|
944
|
-
export type TenantCreatedEventContent = {
|
|
945
|
-
tenantUuid: string;
|
|
946
|
-
};
|
|
947
|
-
export type TenantCreatedDomainEventLog = {
|
|
948
|
-
uuid: string;
|
|
949
|
-
createdAt: string;
|
|
950
|
-
version: number;
|
|
951
|
-
source: string;
|
|
952
|
-
userUuid: string | null;
|
|
953
|
-
message: string;
|
|
954
|
-
subjectType: SubjectType | null;
|
|
955
|
-
subjectId: string | null;
|
|
956
|
-
type: 'tenant.created';
|
|
957
|
-
content: TenantCreatedEventContent;
|
|
958
|
-
};
|
|
959
|
-
export declare enum IndividualStatus {
|
|
960
|
-
CONTACT = "contact",
|
|
961
|
-
LEAD = "lead",
|
|
962
|
-
CUSTOMER = "customer",
|
|
963
|
-
INACTIVE = "inactive"
|
|
964
|
-
}
|
|
965
|
-
export type IndividualStatusUpdatedDomainEventContent = {
|
|
966
|
-
individualUuid: string;
|
|
967
|
-
previousStatus: IndividualStatus;
|
|
968
|
-
status: IndividualStatus;
|
|
969
|
-
};
|
|
970
|
-
export type IndividualStatusUpdatedDomainEventLog = {
|
|
971
|
-
uuid: string;
|
|
972
|
-
createdAt: string;
|
|
973
|
-
version: number;
|
|
974
|
-
source: string;
|
|
975
|
-
userUuid: string | null;
|
|
976
|
-
message: string;
|
|
977
|
-
subjectType: SubjectType | null;
|
|
978
|
-
subjectId: string | null;
|
|
979
|
-
type: 'individual.status.updated';
|
|
980
|
-
content: IndividualStatusUpdatedDomainEventContent;
|
|
981
|
-
};
|
|
982
|
-
export type IndividualBillingInformationUpsertedEventContent = {
|
|
983
|
-
individualUuid: string;
|
|
984
|
-
billingInformationUuid: string;
|
|
985
|
-
address: Address | null;
|
|
986
|
-
invoiceEmail: string | null;
|
|
987
|
-
invoiceCcEmails: Array<string>;
|
|
988
|
-
};
|
|
989
|
-
export type IndividualBillingInformationUpsertedDomainEventLog = {
|
|
990
|
-
uuid: string;
|
|
991
|
-
createdAt: string;
|
|
992
|
-
version: number;
|
|
993
|
-
source: string;
|
|
994
|
-
userUuid: string | null;
|
|
995
|
-
message: string;
|
|
996
|
-
subjectType: SubjectType | null;
|
|
997
|
-
subjectId: string | null;
|
|
998
|
-
type: 'individual.billing-information.upserted';
|
|
999
|
-
content: IndividualBillingInformationUpsertedEventContent;
|
|
1000
|
-
};
|
|
1001
|
-
export type BusinessBillingInformationUpsertedEventContent = {
|
|
1002
|
-
businessUuid: string;
|
|
1003
|
-
billingInformationUuid: string;
|
|
1004
|
-
address: Address | null;
|
|
1005
|
-
invoiceEmail: string | null;
|
|
1006
|
-
invoiceCcEmails: Array<string>;
|
|
1007
|
-
reminderEmail: string | null;
|
|
1008
|
-
reminderCcEmails: Array<string>;
|
|
1009
|
-
purchaseNoteEmail: string | null;
|
|
1010
|
-
purchaseNoteCcEmails: Array<string>;
|
|
1011
|
-
};
|
|
1012
|
-
export type BusinessBillingInformationUpsertedDomainEventLog = {
|
|
1013
|
-
uuid: string;
|
|
1014
|
-
createdAt: string;
|
|
1015
|
-
version: number;
|
|
1016
|
-
source: string;
|
|
1017
|
-
userUuid: string | null;
|
|
1018
|
-
message: string;
|
|
1019
|
-
subjectType: SubjectType | null;
|
|
1020
|
-
subjectId: string | null;
|
|
1021
|
-
type: 'business.billing-information.upserted';
|
|
1022
|
-
content: BusinessBillingInformationUpsertedEventContent;
|
|
1023
|
-
};
|
|
1024
|
-
export type ClientId = {
|
|
1025
|
-
[key: string]: unknown;
|
|
1026
|
-
};
|
|
1027
|
-
export declare enum ContentLocale {
|
|
1028
|
-
NL_BE = "nl-BE",
|
|
1029
|
-
EN_US = "en-US",
|
|
1030
|
-
FR_BE = "fr-BE",
|
|
1031
|
-
DE_DE = "de-DE"
|
|
1056
|
+
LK = "LK",
|
|
1057
|
+
SD = "SD",
|
|
1058
|
+
SR = "SR",
|
|
1059
|
+
SE = "SE",
|
|
1060
|
+
CH = "CH",
|
|
1061
|
+
SY = "SY",
|
|
1062
|
+
TW = "TW",
|
|
1063
|
+
TJ = "TJ",
|
|
1064
|
+
TZ = "TZ",
|
|
1065
|
+
TH = "TH",
|
|
1066
|
+
TL = "TL",
|
|
1067
|
+
TG = "TG",
|
|
1068
|
+
TO = "TO",
|
|
1069
|
+
TT = "TT",
|
|
1070
|
+
TN = "TN",
|
|
1071
|
+
TR = "TR",
|
|
1072
|
+
TM = "TM",
|
|
1073
|
+
TV = "TV",
|
|
1074
|
+
UG = "UG",
|
|
1075
|
+
UA = "UA",
|
|
1076
|
+
AE = "AE",
|
|
1077
|
+
GB = "GB",
|
|
1078
|
+
US = "US",
|
|
1079
|
+
UY = "UY",
|
|
1080
|
+
UZ = "UZ",
|
|
1081
|
+
VU = "VU",
|
|
1082
|
+
VA = "VA",
|
|
1083
|
+
VE = "VE",
|
|
1084
|
+
VN = "VN",
|
|
1085
|
+
YE = "YE",
|
|
1086
|
+
ZM = "ZM",
|
|
1087
|
+
ZW = "ZW"
|
|
1032
1088
|
}
|
|
1033
|
-
export type
|
|
1034
|
-
|
|
1035
|
-
name: string;
|
|
1036
|
-
clientId: ClientId;
|
|
1037
|
-
columnKey: string;
|
|
1038
|
-
language: ContentLocale;
|
|
1039
|
-
};
|
|
1040
|
-
export type DealCreatedDomainEventLog = {
|
|
1041
|
-
uuid: string;
|
|
1042
|
-
createdAt: string;
|
|
1043
|
-
version: number;
|
|
1044
|
-
source: string;
|
|
1045
|
-
userUuid: string | null;
|
|
1046
|
-
message: string;
|
|
1047
|
-
subjectType: SubjectType | null;
|
|
1048
|
-
subjectId: string | null;
|
|
1049
|
-
type: 'deal.created';
|
|
1050
|
-
content: DealCreatedEventContent;
|
|
1051
|
-
};
|
|
1052
|
-
export type DealUpdatedEventContent = {
|
|
1053
|
-
dealUuid: string;
|
|
1089
|
+
export type BusinessUpdatedDomainEventContent = {
|
|
1090
|
+
businessUuid: string;
|
|
1054
1091
|
name: string;
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
type: 'deal.updated';
|
|
1068
|
-
content: DealUpdatedEventContent;
|
|
1069
|
-
};
|
|
1070
|
-
export type MailCreatedEventContent = {
|
|
1071
|
-
mailUuid: string;
|
|
1072
|
-
to: Array<string>;
|
|
1073
|
-
cc: Array<string>;
|
|
1074
|
-
bcc: Array<string>;
|
|
1075
|
-
subject: string;
|
|
1076
|
-
mailTemplateUuid: string | null;
|
|
1077
|
-
mailTemplateKey: string | null;
|
|
1078
|
-
dealUuid: string | null;
|
|
1092
|
+
email: string | null;
|
|
1093
|
+
phone: string | null;
|
|
1094
|
+
mobilePhone: string | null;
|
|
1095
|
+
vatNumber: string | null;
|
|
1096
|
+
vatNumberCountryCode: CountryCode | null;
|
|
1097
|
+
companyNumber: string | null;
|
|
1098
|
+
address: Address;
|
|
1099
|
+
changes: ValueChange;
|
|
1100
|
+
customFields: {
|
|
1101
|
+
[key: string]: unknown;
|
|
1102
|
+
} | null;
|
|
1103
|
+
language: Locale;
|
|
1079
1104
|
};
|
|
1080
|
-
export type
|
|
1105
|
+
export type BusinessUpdatedDomainEventLog = {
|
|
1081
1106
|
uuid: string;
|
|
1082
1107
|
createdAt: string;
|
|
1083
1108
|
version: number;
|
|
@@ -1086,14 +1111,16 @@ export type MailCreatedDomainEventLog = {
|
|
|
1086
1111
|
message: string;
|
|
1087
1112
|
subjectType: SubjectType | null;
|
|
1088
1113
|
subjectId: string | null;
|
|
1089
|
-
type: '
|
|
1090
|
-
content:
|
|
1114
|
+
type: 'business.updated';
|
|
1115
|
+
content: BusinessUpdatedDomainEventContent;
|
|
1091
1116
|
};
|
|
1092
|
-
export type
|
|
1093
|
-
|
|
1094
|
-
|
|
1117
|
+
export type BusinessStatusUpdatedDomainEventContent = {
|
|
1118
|
+
businessUuid: string;
|
|
1119
|
+
previousStatus: BusinessStatus;
|
|
1120
|
+
status: BusinessStatus;
|
|
1121
|
+
archivedAt: string | null;
|
|
1095
1122
|
};
|
|
1096
|
-
export type
|
|
1123
|
+
export type BusinessStatusUpdatedDomainEventLog = {
|
|
1097
1124
|
uuid: string;
|
|
1098
1125
|
createdAt: string;
|
|
1099
1126
|
version: number;
|
|
@@ -1102,8 +1129,8 @@ export type DealColumnTransitionedDomainEventLog = {
|
|
|
1102
1129
|
message: string;
|
|
1103
1130
|
subjectType: SubjectType | null;
|
|
1104
1131
|
subjectId: string | null;
|
|
1105
|
-
type: '
|
|
1106
|
-
content:
|
|
1132
|
+
type: 'business.status.updated';
|
|
1133
|
+
content: BusinessStatusUpdatedDomainEventContent;
|
|
1107
1134
|
};
|
|
1108
1135
|
export type CbeEnterpriseImportedDomainEventContent = {
|
|
1109
1136
|
enterpriseNumber: string;
|
|
@@ -1180,17 +1207,10 @@ export type CbeEstablishmentImportedDomainEventLog = {
|
|
|
1180
1207
|
type: 'cbe-establishment.imported';
|
|
1181
1208
|
content: CbeEstablishmentImportedDomainEventContent;
|
|
1182
1209
|
};
|
|
1183
|
-
export type
|
|
1184
|
-
|
|
1185
|
-
to: Array<string>;
|
|
1186
|
-
cc: Array<string>;
|
|
1187
|
-
bcc: Array<string>;
|
|
1188
|
-
subject: string;
|
|
1189
|
-
mailTemplateUuid: string | null;
|
|
1190
|
-
mailTemplateKey: string | null;
|
|
1191
|
-
dealUuid: string | null;
|
|
1210
|
+
export type CustomFieldDefinitionCreatedEventContent = {
|
|
1211
|
+
customFieldDefinitionUuid: string;
|
|
1192
1212
|
};
|
|
1193
|
-
export type
|
|
1213
|
+
export type CustomFieldDefinitionCreatedDomainEventLog = {
|
|
1194
1214
|
uuid: string;
|
|
1195
1215
|
createdAt: string;
|
|
1196
1216
|
version: number;
|
|
@@ -1199,12 +1219,40 @@ export type MailSentDomainEventLog = {
|
|
|
1199
1219
|
message: string;
|
|
1200
1220
|
subjectType: SubjectType | null;
|
|
1201
1221
|
subjectId: string | null;
|
|
1202
|
-
type: '
|
|
1203
|
-
content:
|
|
1222
|
+
type: 'custom-field-definition.created';
|
|
1223
|
+
content: CustomFieldDefinitionCreatedEventContent;
|
|
1204
1224
|
};
|
|
1205
|
-
export type
|
|
1225
|
+
export type CreateUserIndividualGrantCreatedEventContent = {
|
|
1226
|
+
userUuid: string;
|
|
1227
|
+
customerZoneIndividualUserUuid: string;
|
|
1228
|
+
};
|
|
1229
|
+
export type IndividualUserGrantCreatedDomainEventLog = {
|
|
1206
1230
|
uuid: string;
|
|
1207
|
-
|
|
1231
|
+
createdAt: string;
|
|
1232
|
+
version: number;
|
|
1233
|
+
source: string;
|
|
1234
|
+
userUuid: string | null;
|
|
1235
|
+
message: string;
|
|
1236
|
+
subjectType: SubjectType | null;
|
|
1237
|
+
subjectId: string | null;
|
|
1238
|
+
type: 'individual-user-grant.created';
|
|
1239
|
+
content: CreateUserIndividualGrantCreatedEventContent;
|
|
1240
|
+
};
|
|
1241
|
+
export type IndividualUserGrantEmailVerifiedEventContent = {
|
|
1242
|
+
customerZoneIndividualUserUuid: string;
|
|
1243
|
+
userUuid: string;
|
|
1244
|
+
};
|
|
1245
|
+
export type IndividualUserGrantEmailVerifiedDomainEventLog = {
|
|
1246
|
+
uuid: string;
|
|
1247
|
+
createdAt: string;
|
|
1248
|
+
version: number;
|
|
1249
|
+
source: string;
|
|
1250
|
+
userUuid: string | null;
|
|
1251
|
+
message: string;
|
|
1252
|
+
subjectType: SubjectType | null;
|
|
1253
|
+
subjectId: string | null;
|
|
1254
|
+
type: 'individual-user-grant.email-verified';
|
|
1255
|
+
content: IndividualUserGrantEmailVerifiedEventContent;
|
|
1208
1256
|
};
|
|
1209
1257
|
export type ContactPersonLinkedToDealEventContent = {
|
|
1210
1258
|
dealUuid: string;
|
|
@@ -1222,12 +1270,11 @@ export type DealContactPersonLinkedDomainEventLog = {
|
|
|
1222
1270
|
type: 'deal.contact.person.linked';
|
|
1223
1271
|
content: ContactPersonLinkedToDealEventContent;
|
|
1224
1272
|
};
|
|
1225
|
-
export type
|
|
1226
|
-
|
|
1273
|
+
export type DealContactPersonMadePrimaryEventContent = {
|
|
1274
|
+
dealUuid: string;
|
|
1227
1275
|
contactPerson: ContactPersonContent;
|
|
1228
|
-
position: string | null;
|
|
1229
1276
|
};
|
|
1230
|
-
export type
|
|
1277
|
+
export type DealContactPersonMadePrimaryDomainEventLog = {
|
|
1231
1278
|
uuid: string;
|
|
1232
1279
|
createdAt: string;
|
|
1233
1280
|
version: number;
|
|
@@ -1236,14 +1283,14 @@ export type BusinessContactPersonLinkedDomainEventLog = {
|
|
|
1236
1283
|
message: string;
|
|
1237
1284
|
subjectType: SubjectType | null;
|
|
1238
1285
|
subjectId: string | null;
|
|
1239
|
-
type: '
|
|
1240
|
-
content:
|
|
1286
|
+
type: 'deal.contact.person.made-primary';
|
|
1287
|
+
content: DealContactPersonMadePrimaryEventContent;
|
|
1241
1288
|
};
|
|
1242
|
-
export type
|
|
1243
|
-
|
|
1244
|
-
|
|
1289
|
+
export type ContactPersonUnlinkedFromDealEventContent = {
|
|
1290
|
+
dealUuid: string;
|
|
1291
|
+
contactPerson: ContactPersonContent;
|
|
1245
1292
|
};
|
|
1246
|
-
export type
|
|
1293
|
+
export type DealContactPersonUnlinkedDomainEventLog = {
|
|
1247
1294
|
uuid: string;
|
|
1248
1295
|
createdAt: string;
|
|
1249
1296
|
version: number;
|
|
@@ -1252,15 +1299,15 @@ export type FileCreatedDomainEventLog = {
|
|
|
1252
1299
|
message: string;
|
|
1253
1300
|
subjectType: SubjectType | null;
|
|
1254
1301
|
subjectId: string | null;
|
|
1255
|
-
type: '
|
|
1256
|
-
content:
|
|
1302
|
+
type: 'deal.contact.person.unlinked';
|
|
1303
|
+
content: ContactPersonUnlinkedFromDealEventContent;
|
|
1257
1304
|
};
|
|
1258
|
-
export type
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1305
|
+
export type DealContactPersonUpdatedEventContent = {
|
|
1306
|
+
dealUuid: string;
|
|
1307
|
+
contactPerson: ContactPersonContent;
|
|
1308
|
+
diff: Array<ValueChange>;
|
|
1262
1309
|
};
|
|
1263
|
-
export type
|
|
1310
|
+
export type DealContactPersonUpdatedDomainEventLog = {
|
|
1264
1311
|
uuid: string;
|
|
1265
1312
|
createdAt: string;
|
|
1266
1313
|
version: number;
|
|
@@ -1269,14 +1316,26 @@ export type FileUploadedDomainEventLog = {
|
|
|
1269
1316
|
message: string;
|
|
1270
1317
|
subjectType: SubjectType | null;
|
|
1271
1318
|
subjectId: string | null;
|
|
1272
|
-
type: '
|
|
1273
|
-
content:
|
|
1319
|
+
type: 'deal.contact.person.updated';
|
|
1320
|
+
content: DealContactPersonUpdatedEventContent;
|
|
1274
1321
|
};
|
|
1275
|
-
export type
|
|
1276
|
-
|
|
1277
|
-
|
|
1322
|
+
export type ClientId = {
|
|
1323
|
+
[key: string]: unknown;
|
|
1324
|
+
};
|
|
1325
|
+
export declare enum SdkContentLocale {
|
|
1326
|
+
NL_BE = "nl-BE",
|
|
1327
|
+
EN_US = "en-US",
|
|
1328
|
+
FR_BE = "fr-BE",
|
|
1329
|
+
DE_DE = "de-DE"
|
|
1330
|
+
}
|
|
1331
|
+
export type DealCreatedEventContent = {
|
|
1332
|
+
dealUuid: string;
|
|
1333
|
+
name: string;
|
|
1334
|
+
clientId: ClientId;
|
|
1335
|
+
columnKey: string;
|
|
1336
|
+
language: SdkContentLocale;
|
|
1278
1337
|
};
|
|
1279
|
-
export type
|
|
1338
|
+
export type DealCreatedDomainEventLog = {
|
|
1280
1339
|
uuid: string;
|
|
1281
1340
|
createdAt: string;
|
|
1282
1341
|
version: number;
|
|
@@ -1285,14 +1344,19 @@ export type NotificationReadDomainEventLog = {
|
|
|
1285
1344
|
message: string;
|
|
1286
1345
|
subjectType: SubjectType | null;
|
|
1287
1346
|
subjectId: string | null;
|
|
1288
|
-
type: '
|
|
1289
|
-
content:
|
|
1347
|
+
type: 'deal.created';
|
|
1348
|
+
content: DealCreatedEventContent;
|
|
1290
1349
|
};
|
|
1291
|
-
export type
|
|
1292
|
-
|
|
1293
|
-
|
|
1350
|
+
export type DealOwnerUpdatedEventContent = {
|
|
1351
|
+
dealUuid: string;
|
|
1352
|
+
previousOwnerUuid: {
|
|
1353
|
+
[key: string]: unknown;
|
|
1354
|
+
} | null;
|
|
1355
|
+
dealOwnerUuid: {
|
|
1356
|
+
[key: string]: unknown;
|
|
1357
|
+
} | null;
|
|
1294
1358
|
};
|
|
1295
|
-
export type
|
|
1359
|
+
export type DealOwnerUpdatedDomainEventLog = {
|
|
1296
1360
|
uuid: string;
|
|
1297
1361
|
createdAt: string;
|
|
1298
1362
|
version: number;
|
|
@@ -1301,20 +1365,16 @@ export type NotificationUnreadDomainEventLog = {
|
|
|
1301
1365
|
message: string;
|
|
1302
1366
|
subjectType: SubjectType | null;
|
|
1303
1367
|
subjectId: string | null;
|
|
1304
|
-
type: '
|
|
1305
|
-
content:
|
|
1368
|
+
type: 'deal.owner.updated';
|
|
1369
|
+
content: DealOwnerUpdatedEventContent;
|
|
1306
1370
|
};
|
|
1307
|
-
export
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
}
|
|
1313
|
-
export type NotificationPreferencePresetEventContent = {
|
|
1314
|
-
userUuid: string;
|
|
1315
|
-
preset: NotificationPreset;
|
|
1371
|
+
export type DealUpdatedEventContent = {
|
|
1372
|
+
dealUuid: string;
|
|
1373
|
+
name: string;
|
|
1374
|
+
columnKey: string;
|
|
1375
|
+
language: SdkContentLocale;
|
|
1316
1376
|
};
|
|
1317
|
-
export type
|
|
1377
|
+
export type DealUpdatedDomainEventLog = {
|
|
1318
1378
|
uuid: string;
|
|
1319
1379
|
createdAt: string;
|
|
1320
1380
|
version: number;
|
|
@@ -1323,13 +1383,14 @@ export type NotificationPreferencePresetUpdatedDomainEventLog = {
|
|
|
1323
1383
|
message: string;
|
|
1324
1384
|
subjectType: SubjectType | null;
|
|
1325
1385
|
subjectId: string | null;
|
|
1326
|
-
type: '
|
|
1327
|
-
content:
|
|
1386
|
+
type: 'deal.updated';
|
|
1387
|
+
content: DealUpdatedEventContent;
|
|
1328
1388
|
};
|
|
1329
|
-
export type
|
|
1330
|
-
|
|
1389
|
+
export type DealColumnTransitionedEventContent = {
|
|
1390
|
+
fromBoardColumnUuid: string;
|
|
1391
|
+
toBoardColumnUuid: string;
|
|
1331
1392
|
};
|
|
1332
|
-
export type
|
|
1393
|
+
export type DealColumnTransitionedDomainEventLog = {
|
|
1333
1394
|
uuid: string;
|
|
1334
1395
|
createdAt: string;
|
|
1335
1396
|
version: number;
|
|
@@ -1338,13 +1399,20 @@ export type NotificationTypesMigratedDomainEventLog = {
|
|
|
1338
1399
|
message: string;
|
|
1339
1400
|
subjectType: SubjectType | null;
|
|
1340
1401
|
subjectId: string | null;
|
|
1341
|
-
type: '
|
|
1342
|
-
content:
|
|
1402
|
+
type: 'deal.column.transitioned';
|
|
1403
|
+
content: DealColumnTransitionedEventContent;
|
|
1343
1404
|
};
|
|
1344
|
-
export type
|
|
1345
|
-
|
|
1405
|
+
export type MailCreatedEventContent = {
|
|
1406
|
+
mailUuid: string;
|
|
1407
|
+
to: Array<string>;
|
|
1408
|
+
cc: Array<string>;
|
|
1409
|
+
bcc: Array<string>;
|
|
1410
|
+
subject: string;
|
|
1411
|
+
mailTemplateUuid: string | null;
|
|
1412
|
+
mailTemplateKey: string | null;
|
|
1413
|
+
dealUuid: string | null;
|
|
1346
1414
|
};
|
|
1347
|
-
export type
|
|
1415
|
+
export type MailCreatedDomainEventLog = {
|
|
1348
1416
|
uuid: string;
|
|
1349
1417
|
createdAt: string;
|
|
1350
1418
|
version: number;
|
|
@@ -1353,13 +1421,17 @@ export type NotificationReadAllDomainEventLog = {
|
|
|
1353
1421
|
message: string;
|
|
1354
1422
|
subjectType: SubjectType | null;
|
|
1355
1423
|
subjectId: string | null;
|
|
1356
|
-
type: '
|
|
1357
|
-
content:
|
|
1424
|
+
type: 'mail.created';
|
|
1425
|
+
content: MailCreatedEventContent;
|
|
1358
1426
|
};
|
|
1359
|
-
export type
|
|
1360
|
-
|
|
1427
|
+
export type IndividualBillingInformationUpsertedEventContent = {
|
|
1428
|
+
individualUuid: string;
|
|
1429
|
+
billingInformationUuid: string;
|
|
1430
|
+
address: Address | null;
|
|
1431
|
+
invoiceEmail: string | null;
|
|
1432
|
+
invoiceCcEmails: Array<string>;
|
|
1361
1433
|
};
|
|
1362
|
-
export type
|
|
1434
|
+
export type IndividualBillingInformationUpsertedDomainEventLog = {
|
|
1363
1435
|
uuid: string;
|
|
1364
1436
|
createdAt: string;
|
|
1365
1437
|
version: number;
|
|
@@ -1368,8 +1440,8 @@ export type TestNotificationSentDomainEventLog = {
|
|
|
1368
1440
|
message: string;
|
|
1369
1441
|
subjectType: SubjectType | null;
|
|
1370
1442
|
subjectId: string | null;
|
|
1371
|
-
type: '
|
|
1372
|
-
content:
|
|
1443
|
+
type: 'individual.billing-information.upserted';
|
|
1444
|
+
content: IndividualBillingInformationUpsertedEventContent;
|
|
1373
1445
|
};
|
|
1374
1446
|
export type ContactPersonLinkedToIndividualEventContent = {
|
|
1375
1447
|
individualUuid: string;
|
|
@@ -1437,28 +1509,12 @@ export type IndividualContactPersonMadePrimaryDomainEventLog = {
|
|
|
1437
1509
|
type: 'individual.contact-person.made-primary';
|
|
1438
1510
|
content: IndividualContactPersonMadePrimaryEventContent;
|
|
1439
1511
|
};
|
|
1440
|
-
export type
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
export type BusinessContactPersonUnlinkedDomainEventLog = {
|
|
1445
|
-
uuid: string;
|
|
1446
|
-
createdAt: string;
|
|
1447
|
-
version: number;
|
|
1448
|
-
source: string;
|
|
1449
|
-
userUuid: string | null;
|
|
1450
|
-
message: string;
|
|
1451
|
-
subjectType: SubjectType | null;
|
|
1452
|
-
subjectId: string | null;
|
|
1453
|
-
type: 'business.contact-person.unlinked';
|
|
1454
|
-
content: ContactPersonUnlinkedFromBusinessEventContent;
|
|
1455
|
-
};
|
|
1456
|
-
export type BusinessContactPersonUpdatedEventContent = {
|
|
1457
|
-
businessUuid: string;
|
|
1458
|
-
contactPerson: ContactPersonContent;
|
|
1459
|
-
diff: Array<ValueChange>;
|
|
1512
|
+
export type IndividualStatusUpdatedDomainEventContent = {
|
|
1513
|
+
individualUuid: string;
|
|
1514
|
+
previousStatus: IndividualStatus;
|
|
1515
|
+
status: IndividualStatus;
|
|
1460
1516
|
};
|
|
1461
|
-
export type
|
|
1517
|
+
export type IndividualStatusUpdatedDomainEventLog = {
|
|
1462
1518
|
uuid: string;
|
|
1463
1519
|
createdAt: string;
|
|
1464
1520
|
version: number;
|
|
@@ -1467,14 +1523,13 @@ export type BusinessContactPersonUpdatedDomainEventLog = {
|
|
|
1467
1523
|
message: string;
|
|
1468
1524
|
subjectType: SubjectType | null;
|
|
1469
1525
|
subjectId: string | null;
|
|
1470
|
-
type: '
|
|
1471
|
-
content:
|
|
1526
|
+
type: 'individual.status.updated';
|
|
1527
|
+
content: IndividualStatusUpdatedDomainEventContent;
|
|
1472
1528
|
};
|
|
1473
|
-
export type
|
|
1474
|
-
|
|
1475
|
-
contactPerson: ContactPersonContent;
|
|
1529
|
+
export type LocationUpdatedEventContent = {
|
|
1530
|
+
locationUuid: string;
|
|
1476
1531
|
};
|
|
1477
|
-
export type
|
|
1532
|
+
export type LocationUpdatedDomainEventLog = {
|
|
1478
1533
|
uuid: string;
|
|
1479
1534
|
createdAt: string;
|
|
1480
1535
|
version: number;
|
|
@@ -1483,13 +1538,14 @@ export type BusinessContactPersonMadePrimaryDomainEventLog = {
|
|
|
1483
1538
|
message: string;
|
|
1484
1539
|
subjectType: SubjectType | null;
|
|
1485
1540
|
subjectId: string | null;
|
|
1486
|
-
type: '
|
|
1487
|
-
content:
|
|
1541
|
+
type: 'location.updated';
|
|
1542
|
+
content: LocationUpdatedEventContent;
|
|
1488
1543
|
};
|
|
1489
|
-
export type
|
|
1490
|
-
|
|
1544
|
+
export type MailTemplateCreatedEventContent = {
|
|
1545
|
+
mailTemplateUuid: string;
|
|
1546
|
+
key: string;
|
|
1491
1547
|
};
|
|
1492
|
-
export type
|
|
1548
|
+
export type MailTemplateCreatedDomainEventLog = {
|
|
1493
1549
|
uuid: string;
|
|
1494
1550
|
createdAt: string;
|
|
1495
1551
|
version: number;
|
|
@@ -1498,13 +1554,13 @@ export type TenantUpdatedDomainEventLog = {
|
|
|
1498
1554
|
message: string;
|
|
1499
1555
|
subjectType: SubjectType | null;
|
|
1500
1556
|
subjectId: string | null;
|
|
1501
|
-
type: '
|
|
1502
|
-
content:
|
|
1557
|
+
type: 'mail.template.created';
|
|
1558
|
+
content: MailTemplateCreatedEventContent;
|
|
1503
1559
|
};
|
|
1504
|
-
export type
|
|
1505
|
-
|
|
1560
|
+
export type MailTemplateUpdatedEventContent = {
|
|
1561
|
+
mailTemplateUuid: string;
|
|
1506
1562
|
};
|
|
1507
|
-
export type
|
|
1563
|
+
export type MailTemplateUpdatedDomainEventLog = {
|
|
1508
1564
|
uuid: string;
|
|
1509
1565
|
createdAt: string;
|
|
1510
1566
|
version: number;
|
|
@@ -1513,8 +1569,8 @@ export type CustomFieldDefinitionCreatedDomainEventLog = {
|
|
|
1513
1569
|
message: string;
|
|
1514
1570
|
subjectType: SubjectType | null;
|
|
1515
1571
|
subjectId: string | null;
|
|
1516
|
-
type: '
|
|
1517
|
-
content:
|
|
1572
|
+
type: 'mail.template.updated';
|
|
1573
|
+
content: MailTemplateUpdatedEventContent;
|
|
1518
1574
|
};
|
|
1519
1575
|
export type NoteDomainEventContent = {
|
|
1520
1576
|
uuid: string;
|
|
@@ -1735,205 +1791,13 @@ export type BusinessNoteDeletedDomainEventLog = {
|
|
|
1735
1791
|
subjectType: SubjectType | null;
|
|
1736
1792
|
subjectId: string | null;
|
|
1737
1793
|
type: 'business.note.deleted';
|
|
1738
|
-
content: BusinessNoteDeletedDomainEventContent;
|
|
1739
|
-
};
|
|
1740
|
-
export type IndividualNoteDeletedDomainEventContent = {
|
|
1741
|
-
noteUuid: string;
|
|
1742
|
-
individualUuid: string;
|
|
1743
|
-
};
|
|
1744
|
-
export type IndividualNoteDeletedDomainEventLog = {
|
|
1745
|
-
uuid: string;
|
|
1746
|
-
createdAt: string;
|
|
1747
|
-
version: number;
|
|
1748
|
-
source: string;
|
|
1749
|
-
userUuid: string | null;
|
|
1750
|
-
message: string;
|
|
1751
|
-
subjectType: SubjectType | null;
|
|
1752
|
-
subjectId: string | null;
|
|
1753
|
-
type: 'individual.note.deleted';
|
|
1754
|
-
content: IndividualNoteDeletedDomainEventContent;
|
|
1755
|
-
};
|
|
1756
|
-
export type DealNoteDeletedDomainEventContent = {
|
|
1757
|
-
note: NoteDomainEventContent;
|
|
1758
|
-
dealUuid: string;
|
|
1759
|
-
};
|
|
1760
|
-
export type DealNoteDeletedDomainEventLog = {
|
|
1761
|
-
uuid: string;
|
|
1762
|
-
createdAt: string;
|
|
1763
|
-
version: number;
|
|
1764
|
-
source: string;
|
|
1765
|
-
userUuid: string | null;
|
|
1766
|
-
message: string;
|
|
1767
|
-
subjectType: SubjectType | null;
|
|
1768
|
-
subjectId: string | null;
|
|
1769
|
-
type: 'deal.note.deleted';
|
|
1770
|
-
content: DealNoteDeletedDomainEventContent;
|
|
1771
|
-
};
|
|
1772
|
-
export type BoardColumnCreatedEventContent = {
|
|
1773
|
-
boardColumnUuid: string;
|
|
1774
|
-
key: string;
|
|
1775
|
-
position: number;
|
|
1776
|
-
tenantUuid: string;
|
|
1777
|
-
};
|
|
1778
|
-
export type BoardColumnCreatedDomainEventLog = {
|
|
1779
|
-
uuid: string;
|
|
1780
|
-
createdAt: string;
|
|
1781
|
-
version: number;
|
|
1782
|
-
source: string;
|
|
1783
|
-
userUuid: string | null;
|
|
1784
|
-
message: string;
|
|
1785
|
-
subjectType: SubjectType | null;
|
|
1786
|
-
subjectId: string | null;
|
|
1787
|
-
type: 'board-column.created';
|
|
1788
|
-
content: BoardColumnCreatedEventContent;
|
|
1789
|
-
};
|
|
1790
|
-
export type BoardColumnTransitionCreatedEventContent = {
|
|
1791
|
-
boardColumnTransitionUuid: string;
|
|
1792
|
-
fromColumnUuid: string;
|
|
1793
|
-
toColumnUuid: string;
|
|
1794
|
-
tenantUuid: string;
|
|
1795
|
-
};
|
|
1796
|
-
export type BoardColumnTransitionCreatedDomainEventLog = {
|
|
1797
|
-
uuid: string;
|
|
1798
|
-
createdAt: string;
|
|
1799
|
-
version: number;
|
|
1800
|
-
source: string;
|
|
1801
|
-
userUuid: string | null;
|
|
1802
|
-
message: string;
|
|
1803
|
-
subjectType: SubjectType | null;
|
|
1804
|
-
subjectId: string | null;
|
|
1805
|
-
type: 'board-column-transition.created';
|
|
1806
|
-
content: BoardColumnTransitionCreatedEventContent;
|
|
1807
|
-
};
|
|
1808
|
-
export declare enum BoardColumnTransitionTriggerType {
|
|
1809
|
-
MANUAL = "manual",
|
|
1810
|
-
EMAIL = "email"
|
|
1811
|
-
}
|
|
1812
|
-
export type BoardColumnTransitionTriggerCreatedEventContent = {
|
|
1813
|
-
boardColumnTransitionTriggerUuid: string;
|
|
1814
|
-
boardColumnTransitionUuid: string;
|
|
1815
|
-
triggerType: BoardColumnTransitionTriggerType;
|
|
1816
|
-
tenantUuid: string;
|
|
1817
|
-
};
|
|
1818
|
-
export type BoardColumnTransitionTriggerCreatedDomainEventLog = {
|
|
1819
|
-
uuid: string;
|
|
1820
|
-
createdAt: string;
|
|
1821
|
-
version: number;
|
|
1822
|
-
source: string;
|
|
1823
|
-
userUuid: string | null;
|
|
1824
|
-
message: string;
|
|
1825
|
-
subjectType: SubjectType | null;
|
|
1826
|
-
subjectId: string | null;
|
|
1827
|
-
type: 'board-column-transition-trigger.created';
|
|
1828
|
-
content: BoardColumnTransitionTriggerCreatedEventContent;
|
|
1829
|
-
};
|
|
1830
|
-
export type DealOwnerUpdatedEventContent = {
|
|
1831
|
-
dealUuid: string;
|
|
1832
|
-
previousOwnerUuid: {
|
|
1833
|
-
[key: string]: unknown;
|
|
1834
|
-
} | null;
|
|
1835
|
-
dealOwnerUuid: {
|
|
1836
|
-
[key: string]: unknown;
|
|
1837
|
-
} | null;
|
|
1838
|
-
};
|
|
1839
|
-
export type DealOwnerUpdatedDomainEventLog = {
|
|
1840
|
-
uuid: string;
|
|
1841
|
-
createdAt: string;
|
|
1842
|
-
version: number;
|
|
1843
|
-
source: string;
|
|
1844
|
-
userUuid: string | null;
|
|
1845
|
-
message: string;
|
|
1846
|
-
subjectType: SubjectType | null;
|
|
1847
|
-
subjectId: string | null;
|
|
1848
|
-
type: 'deal.owner.updated';
|
|
1849
|
-
content: DealOwnerUpdatedEventContent;
|
|
1850
|
-
};
|
|
1851
|
-
export type DealContactPersonMadePrimaryEventContent = {
|
|
1852
|
-
dealUuid: string;
|
|
1853
|
-
contactPerson: ContactPersonContent;
|
|
1854
|
-
};
|
|
1855
|
-
export type DealContactPersonMadePrimaryDomainEventLog = {
|
|
1856
|
-
uuid: string;
|
|
1857
|
-
createdAt: string;
|
|
1858
|
-
version: number;
|
|
1859
|
-
source: string;
|
|
1860
|
-
userUuid: string | null;
|
|
1861
|
-
message: string;
|
|
1862
|
-
subjectType: SubjectType | null;
|
|
1863
|
-
subjectId: string | null;
|
|
1864
|
-
type: 'deal.contact.person.made-primary';
|
|
1865
|
-
content: DealContactPersonMadePrimaryEventContent;
|
|
1866
|
-
};
|
|
1867
|
-
export type ContactPersonUnlinkedFromDealEventContent = {
|
|
1868
|
-
dealUuid: string;
|
|
1869
|
-
contactPerson: ContactPersonContent;
|
|
1870
|
-
};
|
|
1871
|
-
export type DealContactPersonUnlinkedDomainEventLog = {
|
|
1872
|
-
uuid: string;
|
|
1873
|
-
createdAt: string;
|
|
1874
|
-
version: number;
|
|
1875
|
-
source: string;
|
|
1876
|
-
userUuid: string | null;
|
|
1877
|
-
message: string;
|
|
1878
|
-
subjectType: SubjectType | null;
|
|
1879
|
-
subjectId: string | null;
|
|
1880
|
-
type: 'deal.contact.person.unlinked';
|
|
1881
|
-
content: ContactPersonUnlinkedFromDealEventContent;
|
|
1882
|
-
};
|
|
1883
|
-
export type DealContactPersonUpdatedEventContent = {
|
|
1884
|
-
dealUuid: string;
|
|
1885
|
-
contactPerson: ContactPersonContent;
|
|
1886
|
-
diff: Array<ValueChange>;
|
|
1887
|
-
};
|
|
1888
|
-
export type DealContactPersonUpdatedDomainEventLog = {
|
|
1889
|
-
uuid: string;
|
|
1890
|
-
createdAt: string;
|
|
1891
|
-
version: number;
|
|
1892
|
-
source: string;
|
|
1893
|
-
userUuid: string | null;
|
|
1894
|
-
message: string;
|
|
1895
|
-
subjectType: SubjectType | null;
|
|
1896
|
-
subjectId: string | null;
|
|
1897
|
-
type: 'deal.contact.person.updated';
|
|
1898
|
-
content: DealContactPersonUpdatedEventContent;
|
|
1899
|
-
};
|
|
1900
|
-
export type CreateUserIndividualGrantCreatedEventContent = {
|
|
1901
|
-
userUuid: string;
|
|
1902
|
-
customerZoneIndividualUserUuid: string;
|
|
1903
|
-
};
|
|
1904
|
-
export type IndividualUserGrantCreatedDomainEventLog = {
|
|
1905
|
-
uuid: string;
|
|
1906
|
-
createdAt: string;
|
|
1907
|
-
version: number;
|
|
1908
|
-
source: string;
|
|
1909
|
-
userUuid: string | null;
|
|
1910
|
-
message: string;
|
|
1911
|
-
subjectType: SubjectType | null;
|
|
1912
|
-
subjectId: string | null;
|
|
1913
|
-
type: 'individual-user-grant.created';
|
|
1914
|
-
content: CreateUserIndividualGrantCreatedEventContent;
|
|
1915
|
-
};
|
|
1916
|
-
export type IndividualUserGrantEmailVerifiedEventContent = {
|
|
1917
|
-
customerZoneIndividualUserUuid: string;
|
|
1918
|
-
userUuid: string;
|
|
1919
|
-
};
|
|
1920
|
-
export type IndividualUserGrantEmailVerifiedDomainEventLog = {
|
|
1921
|
-
uuid: string;
|
|
1922
|
-
createdAt: string;
|
|
1923
|
-
version: number;
|
|
1924
|
-
source: string;
|
|
1925
|
-
userUuid: string | null;
|
|
1926
|
-
message: string;
|
|
1927
|
-
subjectType: SubjectType | null;
|
|
1928
|
-
subjectId: string | null;
|
|
1929
|
-
type: 'individual-user-grant.email-verified';
|
|
1930
|
-
content: IndividualUserGrantEmailVerifiedEventContent;
|
|
1931
|
-
};
|
|
1932
|
-
export type MailTemplateCreatedEventContent = {
|
|
1933
|
-
mailTemplateUuid: string;
|
|
1934
|
-
key: string;
|
|
1794
|
+
content: BusinessNoteDeletedDomainEventContent;
|
|
1935
1795
|
};
|
|
1936
|
-
export type
|
|
1796
|
+
export type IndividualNoteDeletedDomainEventContent = {
|
|
1797
|
+
noteUuid: string;
|
|
1798
|
+
individualUuid: string;
|
|
1799
|
+
};
|
|
1800
|
+
export type IndividualNoteDeletedDomainEventLog = {
|
|
1937
1801
|
uuid: string;
|
|
1938
1802
|
createdAt: string;
|
|
1939
1803
|
version: number;
|
|
@@ -1942,13 +1806,14 @@ export type MailTemplateCreatedDomainEventLog = {
|
|
|
1942
1806
|
message: string;
|
|
1943
1807
|
subjectType: SubjectType | null;
|
|
1944
1808
|
subjectId: string | null;
|
|
1945
|
-
type: '
|
|
1946
|
-
content:
|
|
1809
|
+
type: 'individual.note.deleted';
|
|
1810
|
+
content: IndividualNoteDeletedDomainEventContent;
|
|
1947
1811
|
};
|
|
1948
|
-
export type
|
|
1949
|
-
|
|
1812
|
+
export type DealNoteDeletedDomainEventContent = {
|
|
1813
|
+
note: NoteDomainEventContent;
|
|
1814
|
+
dealUuid: string;
|
|
1950
1815
|
};
|
|
1951
|
-
export type
|
|
1816
|
+
export type DealNoteDeletedDomainEventLog = {
|
|
1952
1817
|
uuid: string;
|
|
1953
1818
|
createdAt: string;
|
|
1954
1819
|
version: number;
|
|
@@ -1957,8 +1822,8 @@ export type MailTemplateUpdatedDomainEventLog = {
|
|
|
1957
1822
|
message: string;
|
|
1958
1823
|
subjectType: SubjectType | null;
|
|
1959
1824
|
subjectId: string | null;
|
|
1960
|
-
type: '
|
|
1961
|
-
content:
|
|
1825
|
+
type: 'deal.note.deleted';
|
|
1826
|
+
content: DealNoteDeletedDomainEventContent;
|
|
1962
1827
|
};
|
|
1963
1828
|
export type DomainEventLogResponse = {
|
|
1964
1829
|
uuid: string;
|
|
@@ -1974,7 +1839,7 @@ export type ViewDomainEventLogIndexResponseMeta = {
|
|
|
1974
1839
|
next: ViewDomainEventLogIndexQueryKey | null;
|
|
1975
1840
|
};
|
|
1976
1841
|
export type ViewDomainEventLogIndexResponse = {
|
|
1977
|
-
items: Array<
|
|
1842
|
+
items: Array<BoardColumnCreatedDomainEventLog | BoardColumnTransitionCreatedDomainEventLog | BoardColumnTransitionTriggerCreatedDomainEventLog | BusinessBillingInformationUpsertedDomainEventLog | LocationCreatedDomainEventLog | BusinessContactPersonLinkedDomainEventLog | BusinessContactPersonUnlinkedDomainEventLog | BusinessContactPersonUpdatedDomainEventLog | IndividualUpdatedDomainEventLog | BusinessContactPersonMadePrimaryDomainEventLog | BusinessCreatedDomainEventLog | IndividualCreatedDomainEventLog | BusinessUpdatedDomainEventLog | BusinessStatusUpdatedDomainEventLog | CbeEnterpriseImportedDomainEventLog | CbeDenominationImportedDomainEventLog | CbeContactImportedDomainEventLog | CbeAddressImportedDomainEventLog | CbeEstablishmentImportedDomainEventLog | CustomFieldDefinitionCreatedDomainEventLog | IndividualUserGrantCreatedDomainEventLog | IndividualUserGrantEmailVerifiedDomainEventLog | DealContactPersonLinkedDomainEventLog | DealContactPersonMadePrimaryDomainEventLog | DealContactPersonUnlinkedDomainEventLog | DealContactPersonUpdatedDomainEventLog | DealCreatedDomainEventLog | DealOwnerUpdatedDomainEventLog | DealUpdatedDomainEventLog | DealColumnTransitionedDomainEventLog | MailCreatedDomainEventLog | IndividualBillingInformationUpsertedDomainEventLog | IndividualContactPersonLinkedDomainEventLog | IndividualContactPersonUnlinkedDomainEventLog | IndividualContactPersonUpdatedDomainEventLog | IndividualContactPersonMadePrimaryDomainEventLog | IndividualStatusUpdatedDomainEventLog | LocationUpdatedDomainEventLog | MailTemplateCreatedDomainEventLog | MailTemplateUpdatedDomainEventLog | BusinessNoteCreatedDomainEventLog | IndividualNoteCreatedDomainEventLog | DealNoteCreatedDomainEventLog | BusinessNoteUpdatedDomainEventLog | IndividualNoteUpdatedDomainEventLog | DealNoteUpdatedDomainEventLog | IndividualNoteFileAddedDomainEventLog | BusinessNoteFileAddedDomainEventLog | DealNoteFileAddedDomainEventLog | BusinessNoteFileDeletedDomainEventLog | IndividualNoteFileDeletedDomainEventLog | DealNoteFileDeletedDomainEventLog | BusinessNoteDeletedDomainEventLog | IndividualNoteDeletedDomainEventLog | DealNoteDeletedDomainEventLog>;
|
|
1978
1843
|
meta: ViewDomainEventLogIndexResponseMeta;
|
|
1979
1844
|
};
|
|
1980
1845
|
export declare enum GlobalSearchCollectionName {
|
|
@@ -2041,6 +1906,16 @@ export type SearchCollectionsResponseItem = {
|
|
|
2041
1906
|
export type SearchCollectionsResponse = {
|
|
2042
1907
|
items: Array<SearchCollectionsResponseItem>;
|
|
2043
1908
|
};
|
|
1909
|
+
export declare enum NotificationPreset {
|
|
1910
|
+
ALL = "all",
|
|
1911
|
+
DEFAULT = "default",
|
|
1912
|
+
CUSTOM = "custom",
|
|
1913
|
+
NONE = "none"
|
|
1914
|
+
}
|
|
1915
|
+
export declare enum NotificationType {
|
|
1916
|
+
USER_CREATED = "user.created",
|
|
1917
|
+
SYSTEM_TEST_NOTIFICATION = "system.test-notification"
|
|
1918
|
+
}
|
|
2044
1919
|
export type PreferenceTypes = {
|
|
2045
1920
|
email: Array<NotificationType>;
|
|
2046
1921
|
sms: Array<NotificationType>;
|
|
@@ -2055,6 +1930,12 @@ export type GetMyNotificationPreferencesResponse = {
|
|
|
2055
1930
|
pushEnabled: boolean;
|
|
2056
1931
|
preferences: PreferenceTypes;
|
|
2057
1932
|
};
|
|
1933
|
+
export declare enum NotificationChannel {
|
|
1934
|
+
EMAIL = "email",
|
|
1935
|
+
SMS = "sms",
|
|
1936
|
+
APP = "app",
|
|
1937
|
+
PUSH = "push"
|
|
1938
|
+
}
|
|
2058
1939
|
export type NotificationTypeChannelConfig = {
|
|
2059
1940
|
channel: NotificationChannel;
|
|
2060
1941
|
defaultValue: boolean;
|
|
@@ -2086,7 +1967,7 @@ export type GetMyNotificationsQueryKey = {
|
|
|
2086
1967
|
};
|
|
2087
1968
|
export type GetMyNotificationsPaginationQuery = {
|
|
2088
1969
|
limit: number;
|
|
2089
|
-
key?: GetMyNotificationsQueryKey;
|
|
1970
|
+
key?: GetMyNotificationsQueryKey | null;
|
|
2090
1971
|
};
|
|
2091
1972
|
export type CreatedByUserResponse = {
|
|
2092
1973
|
uuid: string;
|
|
@@ -2168,7 +2049,6 @@ export declare enum QueueName {
|
|
|
2168
2049
|
}
|
|
2169
2050
|
export type ViewJobsIndexFilterQuery = {
|
|
2170
2051
|
queueNames?: Array<QueueName>;
|
|
2171
|
-
archived?: boolean;
|
|
2172
2052
|
};
|
|
2173
2053
|
export type ViewJobsIndexQueryKey = {
|
|
2174
2054
|
createdAt?: string;
|
|
@@ -2445,6 +2325,7 @@ export declare enum DomainEventType {
|
|
|
2445
2325
|
USER_CREATED = "user.created",
|
|
2446
2326
|
USER_UPDATED = "user.updated",
|
|
2447
2327
|
USER_ROLE_ASSIGNED = "user.role-assigned",
|
|
2328
|
+
USER_ROLES_SET = "user.roles-set",
|
|
2448
2329
|
USER_NOTIFICATION_CREATED = "user.notification.created",
|
|
2449
2330
|
USER_DEFAULT_NOTIFICATION_PREFERENCES_ASSIGNED = "user.default-notification-preferences.assigned",
|
|
2450
2331
|
LOCATION_CREATED = "location.created",
|
|
@@ -2911,248 +2792,46 @@ export type LinkContactPersonToBusinessCommand = {
|
|
|
2911
2792
|
mobilePhone: string | null;
|
|
2912
2793
|
};
|
|
2913
2794
|
export type LinkContactPersonToBusinessResponse = {
|
|
2914
|
-
businessUuid: string;
|
|
2915
|
-
contactPersonUuid: string;
|
|
2916
|
-
};
|
|
2917
|
-
export type PrimaryContactOfBusinessNotUnlinkableError = {
|
|
2918
|
-
/**
|
|
2919
|
-
* a human-readable explanation specific to this occurrence of the problem
|
|
2920
|
-
*/
|
|
2921
|
-
detail?: string;
|
|
2922
|
-
status: '400';
|
|
2923
|
-
code: 'primary_contact_of_business_not_unlinkable';
|
|
2924
|
-
};
|
|
2925
|
-
export type BusinessContactPersonNotFoundError = {
|
|
2926
|
-
/**
|
|
2927
|
-
* a human-readable explanation specific to this occurrence of the problem
|
|
2928
|
-
*/
|
|
2929
|
-
detail?: string;
|
|
2930
|
-
status: '404';
|
|
2931
|
-
code: 'business_contact_person_not_found';
|
|
2932
|
-
};
|
|
2933
|
-
export type UnlinkContactPersonFromBusinessCommand = {
|
|
2934
|
-
contactPersonUuid: string;
|
|
2935
|
-
};
|
|
2936
|
-
export type UpdateBusinessContactPersonCommand = {
|
|
2937
|
-
firstName: string;
|
|
2938
|
-
lastName: string;
|
|
2939
|
-
email: string | null;
|
|
2940
|
-
phone: string | null;
|
|
2941
|
-
mobilePhone: string | null;
|
|
2942
|
-
position: string | null;
|
|
2943
|
-
};
|
|
2944
|
-
export type ViewBusinessContactPersonDetailResponse = {
|
|
2945
|
-
businessUuid: string;
|
|
2946
|
-
contactPersonUuid: string;
|
|
2947
|
-
firstName: string;
|
|
2948
|
-
lastName: string;
|
|
2949
|
-
email: string | null;
|
|
2950
|
-
phone: string | null;
|
|
2951
|
-
mobilePhone: string | null;
|
|
2952
|
-
position: string | null;
|
|
2953
|
-
isPrimary: boolean;
|
|
2954
|
-
};
|
|
2955
|
-
export type BrandColorsCommand = {
|
|
2956
|
-
brand25: string;
|
|
2957
|
-
brand50: string;
|
|
2958
|
-
brand100: string;
|
|
2959
|
-
brand200: string;
|
|
2960
|
-
brand300: string;
|
|
2961
|
-
brand400: string;
|
|
2962
|
-
brand500: string;
|
|
2963
|
-
brand600: string;
|
|
2964
|
-
brand700: string;
|
|
2965
|
-
brand800: string;
|
|
2966
|
-
brand900: string;
|
|
2967
|
-
brand950: string;
|
|
2968
|
-
};
|
|
2969
|
-
export type CreateTenantCommand = {
|
|
2970
|
-
name: string;
|
|
2971
|
-
slug: string;
|
|
2972
|
-
domain: string;
|
|
2973
|
-
oidcIssuer: string;
|
|
2974
|
-
oidcAudience: string;
|
|
2975
|
-
oidcOrganizationId: string;
|
|
2976
|
-
nativeClientId: string;
|
|
2977
|
-
czOidcIssuer: string;
|
|
2978
|
-
czOidcAudience: string;
|
|
2979
|
-
czOidcOrganizationId: string;
|
|
2980
|
-
czNativeClientId: string;
|
|
2981
|
-
brandColors: BrandColorsCommand;
|
|
2982
|
-
};
|
|
2983
|
-
export type CreateTenantResponse = {
|
|
2984
|
-
uuid: string;
|
|
2985
|
-
name: string;
|
|
2986
|
-
slug: string;
|
|
2987
|
-
oidcIssuer: string;
|
|
2988
|
-
oidcAudience: string;
|
|
2989
|
-
nativeClientId: string;
|
|
2990
|
-
czOidcIssuer: string;
|
|
2991
|
-
czOidcAudience: string;
|
|
2992
|
-
czOidcOrganizationId: string;
|
|
2993
|
-
czNativeClientId: string;
|
|
2994
|
-
};
|
|
2995
|
-
export type UpdateTenantCommand = {
|
|
2996
|
-
name: string;
|
|
2997
|
-
slug: string;
|
|
2998
|
-
domain: string;
|
|
2999
|
-
oidcIssuer: string;
|
|
3000
|
-
oidcAudience: string;
|
|
3001
|
-
};
|
|
3002
|
-
export declare enum EntityType {
|
|
3003
|
-
INDIVIDUAL = "individual",
|
|
3004
|
-
BUSINESS = "business"
|
|
3005
|
-
}
|
|
3006
|
-
export type LocalizedString = {
|
|
3007
|
-
language: Locale;
|
|
3008
|
-
value: string;
|
|
3009
|
-
};
|
|
3010
|
-
export declare enum EntityColor {
|
|
3011
|
-
MOSS = "moss",
|
|
3012
|
-
GREEN_LIGHT = "green-light",
|
|
3013
|
-
GREEN = "green",
|
|
3014
|
-
TEAL = "teal",
|
|
3015
|
-
CYAN = "cyan",
|
|
3016
|
-
BLUE_LIGHT = "blue-light",
|
|
3017
|
-
BLUE = "blue",
|
|
3018
|
-
BLUE_DARK = "blue-dark",
|
|
3019
|
-
INDIGO = "indigo",
|
|
3020
|
-
VIOLET = "violet",
|
|
3021
|
-
PURPLE = "purple",
|
|
3022
|
-
FUCHSIA = "fuchsia",
|
|
3023
|
-
PINK = "pink",
|
|
3024
|
-
ROSE = "rose",
|
|
3025
|
-
ORANGE_DARK = "orange-dark",
|
|
3026
|
-
ORANGE = "orange",
|
|
3027
|
-
YELLOW = "yellow",
|
|
3028
|
-
ERROR = "error",
|
|
3029
|
-
WARNING = "warning",
|
|
3030
|
-
SUCCESS = "success"
|
|
3031
|
-
}
|
|
3032
|
-
export type TenantEntityConfigCommand = {
|
|
3033
|
-
entityType: EntityType;
|
|
3034
|
-
entityName: Array<LocalizedString>;
|
|
3035
|
-
entityColor: EntityColor;
|
|
3036
|
-
};
|
|
3037
|
-
export type UpdateTenantEntitiesConfigCommand = {
|
|
3038
|
-
entities: Array<TenantEntityConfigCommand>;
|
|
3039
|
-
};
|
|
3040
|
-
export declare enum TenantCompanywebLocale {
|
|
3041
|
-
NL = "NL",
|
|
3042
|
-
FR = "FR",
|
|
3043
|
-
EN = "EN"
|
|
3044
|
-
}
|
|
3045
|
-
export type TenantCompanywebConfigCommand = {
|
|
3046
|
-
login: string;
|
|
3047
|
-
password: string;
|
|
3048
|
-
secret: string;
|
|
3049
|
-
language: TenantCompanywebLocale;
|
|
3050
|
-
integrator: string;
|
|
3051
|
-
};
|
|
3052
|
-
export type TenantBusinessConfigCommand = {
|
|
3053
|
-
viesValidation: boolean;
|
|
3054
|
-
requireIndividualOnCreate: boolean;
|
|
3055
|
-
companyweb: TenantCompanywebConfigCommand | null;
|
|
3056
|
-
};
|
|
3057
|
-
export type UpdateTenantBusinessConfigCommand = {
|
|
3058
|
-
businessConfig: TenantBusinessConfigCommand;
|
|
3059
|
-
};
|
|
3060
|
-
export declare enum BillingInformationRequirement {
|
|
3061
|
-
EMAIL_ONLY = "EMAIL_ONLY",
|
|
3062
|
-
ADDRESS_ONLY = "ADDRESS_ONLY",
|
|
3063
|
-
EMAIL_AND_ADDRESS = "EMAIL_AND_ADDRESS",
|
|
3064
|
-
EMAIL_OR_ADDRESS = "EMAIL_OR_ADDRESS"
|
|
3065
|
-
}
|
|
3066
|
-
export type TenantBillingConfigCommand = {
|
|
3067
|
-
individualBillingInformationRequirement: BillingInformationRequirement;
|
|
3068
|
-
businessBillingInformationRequirement: BillingInformationRequirement;
|
|
3069
|
-
};
|
|
3070
|
-
export type UpdateTenantBillingConfigCommand = {
|
|
3071
|
-
billingConfig: TenantBillingConfigCommand;
|
|
3072
|
-
};
|
|
3073
|
-
export type ViewTenantDetailResponse = {
|
|
3074
|
-
uuid: string;
|
|
3075
|
-
createdAt: string;
|
|
3076
|
-
updatedAt: string;
|
|
3077
|
-
name: string;
|
|
3078
|
-
slug: string;
|
|
3079
|
-
domain: string | null;
|
|
3080
|
-
};
|
|
3081
|
-
export type TenantResponse = {
|
|
3082
|
-
uuid: string;
|
|
3083
|
-
createdAt: string;
|
|
3084
|
-
updatedAt: string;
|
|
3085
|
-
name: string;
|
|
3086
|
-
slug: string;
|
|
3087
|
-
domain: string | null;
|
|
3088
|
-
};
|
|
3089
|
-
export type ViewTenantIndexResponse = {
|
|
3090
|
-
/**
|
|
3091
|
-
* The items for the current page
|
|
3092
|
-
*/
|
|
3093
|
-
items: Array<TenantResponse>;
|
|
3094
|
-
meta: PaginatedOffsetResponseMeta;
|
|
3095
|
-
};
|
|
3096
|
-
export type TenantConfigEntities = {
|
|
3097
|
-
entityType: EntityType;
|
|
3098
|
-
entityName: string;
|
|
3099
|
-
entityColor: EntityColor;
|
|
3100
|
-
};
|
|
3101
|
-
export type TenantConfigBusiness = {
|
|
3102
|
-
viesValidation: boolean;
|
|
3103
|
-
requireIndividualOnCreate: boolean;
|
|
3104
|
-
};
|
|
3105
|
-
export type TenantConfigBilling = {
|
|
3106
|
-
individualBillingInformationRequirement: BillingInformationRequirement;
|
|
3107
|
-
businessBillingInformationRequirement: BillingInformationRequirement;
|
|
3108
|
-
};
|
|
3109
|
-
export type TenantDealConfigResponse = {
|
|
3110
|
-
enableBusinessDeals: boolean;
|
|
3111
|
-
enableIndividualDeals: boolean;
|
|
3112
|
-
creatableBusinessStatuses: Array<BusinessStatus>;
|
|
3113
|
-
creatableIndividualStatuses: Array<IndividualStatus>;
|
|
3114
|
-
};
|
|
3115
|
-
export type ViewTenantConfigDetailResponse = {
|
|
3116
|
-
uuid: string;
|
|
3117
|
-
entities: Array<TenantConfigEntities>;
|
|
3118
|
-
businessConfig: TenantConfigBusiness;
|
|
3119
|
-
billingConfig: TenantConfigBilling;
|
|
3120
|
-
dealConfig: TenantDealConfigResponse;
|
|
3121
|
-
};
|
|
3122
|
-
export declare enum RecentEntityType {
|
|
3123
|
-
INDIVIDUAL = "individual",
|
|
3124
|
-
BUSINESS = "business",
|
|
3125
|
-
DEAL = "deal"
|
|
3126
|
-
}
|
|
3127
|
-
export type ViewRecentEntitiesFilterQuery = {
|
|
3128
|
-
types?: Array<RecentEntityType>;
|
|
3129
|
-
};
|
|
3130
|
-
export type ViewRecentEntitiesResponseItem = {
|
|
3131
|
-
type: 'individual' | 'business' | 'deal';
|
|
3132
|
-
uuid: string;
|
|
3133
|
-
name: string;
|
|
3134
|
-
createdAt: string;
|
|
2795
|
+
businessUuid: string;
|
|
2796
|
+
contactPersonUuid: string;
|
|
3135
2797
|
};
|
|
3136
|
-
export type
|
|
2798
|
+
export type PrimaryContactOfBusinessNotUnlinkableError = {
|
|
3137
2799
|
/**
|
|
3138
|
-
*
|
|
2800
|
+
* a human-readable explanation specific to this occurrence of the problem
|
|
3139
2801
|
*/
|
|
3140
|
-
|
|
3141
|
-
|
|
2802
|
+
detail?: string;
|
|
2803
|
+
status: '400';
|
|
2804
|
+
code: 'primary_contact_of_business_not_unlinkable';
|
|
3142
2805
|
};
|
|
3143
|
-
export type
|
|
2806
|
+
export type BusinessContactPersonNotFoundError = {
|
|
3144
2807
|
/**
|
|
3145
2808
|
* a human-readable explanation specific to this occurrence of the problem
|
|
3146
2809
|
*/
|
|
3147
2810
|
detail?: string;
|
|
3148
|
-
status: '
|
|
3149
|
-
code: '
|
|
2811
|
+
status: '404';
|
|
2812
|
+
code: 'business_contact_person_not_found';
|
|
3150
2813
|
};
|
|
3151
|
-
export type
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
2814
|
+
export type UnlinkContactPersonFromBusinessCommand = {
|
|
2815
|
+
contactPersonUuid: string;
|
|
2816
|
+
};
|
|
2817
|
+
export type UpdateBusinessContactPersonCommand = {
|
|
2818
|
+
firstName: string;
|
|
2819
|
+
lastName: string;
|
|
2820
|
+
email: string | null;
|
|
2821
|
+
phone: string | null;
|
|
2822
|
+
mobilePhone: string | null;
|
|
2823
|
+
position: string | null;
|
|
2824
|
+
};
|
|
2825
|
+
export type ViewBusinessContactPersonDetailResponse = {
|
|
2826
|
+
businessUuid: string;
|
|
2827
|
+
contactPersonUuid: string;
|
|
2828
|
+
firstName: string;
|
|
2829
|
+
lastName: string;
|
|
2830
|
+
email: string | null;
|
|
2831
|
+
phone: string | null;
|
|
2832
|
+
mobilePhone: string | null;
|
|
2833
|
+
position: string | null;
|
|
2834
|
+
isPrimary: boolean;
|
|
3156
2835
|
};
|
|
3157
2836
|
export type StringValidationRulesCommand = {
|
|
3158
2837
|
minLength?: number;
|
|
@@ -3168,14 +2847,14 @@ export type ValidationSelectOption = {
|
|
|
3168
2847
|
translations: Array<LocalizedString>;
|
|
3169
2848
|
};
|
|
3170
2849
|
export type SelectValidationRulesCommand = {
|
|
3171
|
-
options
|
|
2850
|
+
options: Array<ValidationSelectOption>;
|
|
3172
2851
|
};
|
|
3173
2852
|
export type DateValidationRulesCommand = {
|
|
3174
2853
|
minDate?: string;
|
|
3175
2854
|
maxDate?: string;
|
|
3176
2855
|
};
|
|
3177
2856
|
export type MultiSelectValidationRulesCommand = {
|
|
3178
|
-
options
|
|
2857
|
+
options: Array<ValidationSelectOption>;
|
|
3179
2858
|
minSelections?: number;
|
|
3180
2859
|
maxSelections?: number;
|
|
3181
2860
|
};
|
|
@@ -3183,7 +2862,7 @@ export type CheckboxValidationRulesCommand = {
|
|
|
3183
2862
|
defaultValue?: boolean;
|
|
3184
2863
|
};
|
|
3185
2864
|
export type RadioButtonValidationRulesCommand = {
|
|
3186
|
-
options
|
|
2865
|
+
options: Array<ValidationSelectOption>;
|
|
3187
2866
|
};
|
|
3188
2867
|
export declare enum CustomFieldEntityType {
|
|
3189
2868
|
INDIVIDUAL = "individual",
|
|
@@ -3306,13 +2985,13 @@ export type ImportCbeEnterprisesCommand = {
|
|
|
3306
2985
|
fileUuid: string;
|
|
3307
2986
|
};
|
|
3308
2987
|
export type ImportCbeDenominationCommand = {
|
|
3309
|
-
fileUuid: string
|
|
2988
|
+
fileUuid: string;
|
|
3310
2989
|
};
|
|
3311
2990
|
export type ImportCbeContactCommand = {
|
|
3312
|
-
fileUuid: string
|
|
2991
|
+
fileUuid: string;
|
|
3313
2992
|
};
|
|
3314
2993
|
export type ImportCbeAddressCommand = {
|
|
3315
|
-
fileUuid: string
|
|
2994
|
+
fileUuid: string;
|
|
3316
2995
|
};
|
|
3317
2996
|
export type ImportCbeEstablishmentsCommand = {
|
|
3318
2997
|
fileUuid: string;
|
|
@@ -3341,7 +3020,7 @@ export type SearchCbeEnterprisesResponse = {
|
|
|
3341
3020
|
meta: PaginatedOffsetResponseMeta;
|
|
3342
3021
|
};
|
|
3343
3022
|
export type SearchCbeEstablishmentsFilterQuery = {
|
|
3344
|
-
enterpriseNumber
|
|
3023
|
+
enterpriseNumber?: string;
|
|
3345
3024
|
};
|
|
3346
3025
|
export type SearchCbeEstablishmentsView = {
|
|
3347
3026
|
establishmentNumber: string;
|
|
@@ -3379,7 +3058,7 @@ export type CreateBoardColumnCommand = {
|
|
|
3379
3058
|
*/
|
|
3380
3059
|
position: number;
|
|
3381
3060
|
color: EntityColor;
|
|
3382
|
-
config
|
|
3061
|
+
config?: BoardColumnConfigCommand;
|
|
3383
3062
|
};
|
|
3384
3063
|
export type CreateBoardTransitionTriggerEmailConfigCommand = {
|
|
3385
3064
|
mailTemplateKey: string;
|
|
@@ -3503,7 +3182,7 @@ export type ClientIdCommand = {
|
|
|
3503
3182
|
};
|
|
3504
3183
|
export type CreateDealCommand = {
|
|
3505
3184
|
name: string;
|
|
3506
|
-
dealLanguage:
|
|
3185
|
+
dealLanguage: SdkContentLocale;
|
|
3507
3186
|
dealSource: DealSource;
|
|
3508
3187
|
clientId: ClientIdCommand;
|
|
3509
3188
|
dealOwnerUuid: string | null;
|
|
@@ -3521,7 +3200,7 @@ export type DealNotFoundError = {
|
|
|
3521
3200
|
};
|
|
3522
3201
|
export type UpdateDealCommand = {
|
|
3523
3202
|
name?: string;
|
|
3524
|
-
dealLanguage?:
|
|
3203
|
+
dealLanguage?: SdkContentLocale;
|
|
3525
3204
|
dealSource?: DealSource;
|
|
3526
3205
|
dealOwnerUuid?: string | null;
|
|
3527
3206
|
};
|
|
@@ -3580,7 +3259,7 @@ export type DealContactPersonResponse = {
|
|
|
3580
3259
|
export type ViewDealDetailResponse = {
|
|
3581
3260
|
uuid: string;
|
|
3582
3261
|
name: string;
|
|
3583
|
-
dealLanguage:
|
|
3262
|
+
dealLanguage: SdkContentLocale;
|
|
3584
3263
|
dealSource: DealSource;
|
|
3585
3264
|
client: DealClientResponse;
|
|
3586
3265
|
createdBy: DealUserResponse;
|
|
@@ -3831,7 +3510,7 @@ export type CreateMailTemplateLocaleAttachmentCommand = {
|
|
|
3831
3510
|
fileUuid: string;
|
|
3832
3511
|
};
|
|
3833
3512
|
export type CreateMailTemplateLocaleCommand = {
|
|
3834
|
-
language:
|
|
3513
|
+
language: SdkContentLocale;
|
|
3835
3514
|
replyTo: string | null;
|
|
3836
3515
|
subject: string;
|
|
3837
3516
|
message: string;
|
|
@@ -3848,7 +3527,7 @@ export type CreateMailTemplateResponse = {
|
|
|
3848
3527
|
uuid: string;
|
|
3849
3528
|
};
|
|
3850
3529
|
export type UpdateMailTemplateLocaleCommand = {
|
|
3851
|
-
language:
|
|
3530
|
+
language: SdkContentLocale;
|
|
3852
3531
|
replyTo: string | null;
|
|
3853
3532
|
subject: string;
|
|
3854
3533
|
message: string;
|
|
@@ -3990,51 +3669,276 @@ export type ActivityActorResponse = {
|
|
|
3990
3669
|
lastName: string | null;
|
|
3991
3670
|
email: string | null;
|
|
3992
3671
|
};
|
|
3993
|
-
export declare enum ActivityEntityRole {
|
|
3994
|
-
ACTOR = "actor",
|
|
3995
|
-
BUSINESS = "business",
|
|
3996
|
-
INDIVIDUAL = "individual",
|
|
3997
|
-
FILE = "file",
|
|
3998
|
-
NOTE = "note"
|
|
3999
|
-
}
|
|
4000
|
-
export declare enum ActivityEntityType {
|
|
4001
|
-
BUSINESS = "business",
|
|
4002
|
-
INDIVIDUAL = "individual",
|
|
4003
|
-
FILE = "file",
|
|
4004
|
-
NOTE = "note"
|
|
4005
|
-
}
|
|
4006
|
-
export type ActivityEntityResponse = {
|
|
4007
|
-
role: ActivityEntityRole;
|
|
4008
|
-
type: ActivityEntityType;
|
|
4009
|
-
uuid: string;
|
|
4010
|
-
label: string | null;
|
|
3672
|
+
export declare enum ActivityEntityRole {
|
|
3673
|
+
ACTOR = "actor",
|
|
3674
|
+
BUSINESS = "business",
|
|
3675
|
+
INDIVIDUAL = "individual",
|
|
3676
|
+
FILE = "file",
|
|
3677
|
+
NOTE = "note"
|
|
3678
|
+
}
|
|
3679
|
+
export declare enum ActivityEntityType {
|
|
3680
|
+
BUSINESS = "business",
|
|
3681
|
+
INDIVIDUAL = "individual",
|
|
3682
|
+
FILE = "file",
|
|
3683
|
+
NOTE = "note"
|
|
3684
|
+
}
|
|
3685
|
+
export type ActivityEntityResponse = {
|
|
3686
|
+
role: ActivityEntityRole;
|
|
3687
|
+
type: ActivityEntityType;
|
|
3688
|
+
uuid: string;
|
|
3689
|
+
label: string | null;
|
|
3690
|
+
};
|
|
3691
|
+
export type ActivityChange = {
|
|
3692
|
+
entityRole: ActivityEntityRole;
|
|
3693
|
+
field: string;
|
|
3694
|
+
from: string | number | boolean | null;
|
|
3695
|
+
to: string | number | boolean | null;
|
|
3696
|
+
};
|
|
3697
|
+
export type ActivityLogItemResponse = {
|
|
3698
|
+
action: ActivityType;
|
|
3699
|
+
changeType: ActivityChangeType;
|
|
3700
|
+
actorType: ActivityActorType;
|
|
3701
|
+
actor: ActivityActorResponse | null;
|
|
3702
|
+
entities: Array<ActivityEntityResponse>;
|
|
3703
|
+
changes: Array<ActivityChange> | null;
|
|
3704
|
+
};
|
|
3705
|
+
export type ViewActivityLogIndexResponse = {
|
|
3706
|
+
logs: Array<ActivityLogItemResponse>;
|
|
3707
|
+
nextKey: ViewActivityLogIndexQueryKey | null;
|
|
3708
|
+
};
|
|
3709
|
+
export type InternalServerApiError = {
|
|
3710
|
+
/**
|
|
3711
|
+
* a human-readable explanation specific to this occurrence of the problem
|
|
3712
|
+
*/
|
|
3713
|
+
detail?: string;
|
|
3714
|
+
status: '500';
|
|
3715
|
+
code: 'internal_server_error';
|
|
3716
|
+
};
|
|
3717
|
+
export type ViewPermissionIndexV1Data = {
|
|
3718
|
+
body?: never;
|
|
3719
|
+
path?: never;
|
|
3720
|
+
query?: never;
|
|
3721
|
+
url: '/api/v1/permissions';
|
|
3722
|
+
};
|
|
3723
|
+
export type ViewPermissionIndexV1Errors = {
|
|
3724
|
+
500: {
|
|
3725
|
+
traceId?: string | null;
|
|
3726
|
+
errors?: Array<InternalServerApiError>;
|
|
3727
|
+
};
|
|
3728
|
+
};
|
|
3729
|
+
export type ViewPermissionIndexV1Error = ViewPermissionIndexV1Errors[keyof ViewPermissionIndexV1Errors];
|
|
3730
|
+
export type ViewPermissionIndexV1Responses = {
|
|
3731
|
+
200: ViewPermissionIndexResponse;
|
|
3732
|
+
};
|
|
3733
|
+
export type ViewPermissionIndexV1Response = ViewPermissionIndexV1Responses[keyof ViewPermissionIndexV1Responses];
|
|
3734
|
+
export type ViewTenantIndexV1Data = {
|
|
3735
|
+
body?: never;
|
|
3736
|
+
path?: never;
|
|
3737
|
+
query?: {
|
|
3738
|
+
pagination?: PaginatedOffsetQuery;
|
|
3739
|
+
search?: string;
|
|
3740
|
+
};
|
|
3741
|
+
url: '/api/v1/tenants';
|
|
3742
|
+
};
|
|
3743
|
+
export type ViewTenantIndexV1Errors = {
|
|
3744
|
+
500: {
|
|
3745
|
+
traceId?: string | null;
|
|
3746
|
+
errors?: Array<InternalServerApiError>;
|
|
3747
|
+
};
|
|
3748
|
+
};
|
|
3749
|
+
export type ViewTenantIndexV1Error = ViewTenantIndexV1Errors[keyof ViewTenantIndexV1Errors];
|
|
3750
|
+
export type ViewTenantIndexV1Responses = {
|
|
3751
|
+
200: ViewTenantIndexResponse;
|
|
3752
|
+
};
|
|
3753
|
+
export type ViewTenantIndexV1Response = ViewTenantIndexV1Responses[keyof ViewTenantIndexV1Responses];
|
|
3754
|
+
export type CreateTenantV1Data = {
|
|
3755
|
+
body: CreateTenantCommand;
|
|
3756
|
+
path?: never;
|
|
3757
|
+
query?: never;
|
|
3758
|
+
url: '/api/v1/tenants';
|
|
3759
|
+
};
|
|
3760
|
+
export type CreateTenantV1Errors = {
|
|
3761
|
+
500: {
|
|
3762
|
+
traceId?: string | null;
|
|
3763
|
+
errors?: Array<InternalServerApiError>;
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
3766
|
+
export type CreateTenantV1Error = CreateTenantV1Errors[keyof CreateTenantV1Errors];
|
|
3767
|
+
export type CreateTenantV1Responses = {
|
|
3768
|
+
201: CreateTenantResponse;
|
|
3769
|
+
};
|
|
3770
|
+
export type CreateTenantV1Response = CreateTenantV1Responses[keyof CreateTenantV1Responses];
|
|
3771
|
+
export type ViewTenantDetailV1Data = {
|
|
3772
|
+
body?: never;
|
|
3773
|
+
path: {
|
|
3774
|
+
uuid: string;
|
|
3775
|
+
};
|
|
3776
|
+
query?: never;
|
|
3777
|
+
url: '/api/v1/tenants/{uuid}';
|
|
3778
|
+
};
|
|
3779
|
+
export type ViewTenantDetailV1Errors = {
|
|
3780
|
+
500: {
|
|
3781
|
+
traceId?: string | null;
|
|
3782
|
+
errors?: Array<InternalServerApiError>;
|
|
3783
|
+
};
|
|
3784
|
+
};
|
|
3785
|
+
export type ViewTenantDetailV1Error = ViewTenantDetailV1Errors[keyof ViewTenantDetailV1Errors];
|
|
3786
|
+
export type ViewTenantDetailV1Responses = {
|
|
3787
|
+
200: ViewTenantDetailResponse;
|
|
3788
|
+
};
|
|
3789
|
+
export type ViewTenantDetailV1Response = ViewTenantDetailV1Responses[keyof ViewTenantDetailV1Responses];
|
|
3790
|
+
export type UpdateTenantV1Data = {
|
|
3791
|
+
body: UpdateTenantCommand;
|
|
3792
|
+
path: {
|
|
3793
|
+
uuid: string;
|
|
3794
|
+
};
|
|
3795
|
+
query?: never;
|
|
3796
|
+
url: '/api/v1/tenants/{uuid}';
|
|
3797
|
+
};
|
|
3798
|
+
export type UpdateTenantV1Errors = {
|
|
3799
|
+
404: {
|
|
3800
|
+
traceId?: string | null;
|
|
3801
|
+
errors?: Array<unknown>;
|
|
3802
|
+
};
|
|
3803
|
+
500: {
|
|
3804
|
+
traceId?: string | null;
|
|
3805
|
+
errors?: Array<InternalServerApiError>;
|
|
3806
|
+
};
|
|
3807
|
+
};
|
|
3808
|
+
export type UpdateTenantV1Error = UpdateTenantV1Errors[keyof UpdateTenantV1Errors];
|
|
3809
|
+
export type UpdateTenantV1Responses = {
|
|
3810
|
+
204: void;
|
|
3811
|
+
};
|
|
3812
|
+
export type UpdateTenantV1Response = UpdateTenantV1Responses[keyof UpdateTenantV1Responses];
|
|
3813
|
+
export type UpdateTenantEntitiesConfigV1Data = {
|
|
3814
|
+
body: UpdateTenantEntitiesConfigCommand;
|
|
3815
|
+
path: {
|
|
3816
|
+
uuid: string;
|
|
3817
|
+
};
|
|
3818
|
+
query?: never;
|
|
3819
|
+
url: '/api/v1/tenants/{uuid}/entities-config';
|
|
3820
|
+
};
|
|
3821
|
+
export type UpdateTenantEntitiesConfigV1Errors = {
|
|
3822
|
+
404: {
|
|
3823
|
+
traceId?: string | null;
|
|
3824
|
+
errors?: Array<unknown>;
|
|
3825
|
+
};
|
|
3826
|
+
500: {
|
|
3827
|
+
traceId?: string | null;
|
|
3828
|
+
errors?: Array<InternalServerApiError>;
|
|
3829
|
+
};
|
|
3830
|
+
};
|
|
3831
|
+
export type UpdateTenantEntitiesConfigV1Error = UpdateTenantEntitiesConfigV1Errors[keyof UpdateTenantEntitiesConfigV1Errors];
|
|
3832
|
+
export type UpdateTenantEntitiesConfigV1Responses = {
|
|
3833
|
+
204: void;
|
|
3834
|
+
};
|
|
3835
|
+
export type UpdateTenantEntitiesConfigV1Response = UpdateTenantEntitiesConfigV1Responses[keyof UpdateTenantEntitiesConfigV1Responses];
|
|
3836
|
+
export type UpdateTenantBusinessConfigV1Data = {
|
|
3837
|
+
body: UpdateTenantBusinessConfigCommand;
|
|
3838
|
+
path: {
|
|
3839
|
+
uuid: string;
|
|
3840
|
+
};
|
|
3841
|
+
query?: never;
|
|
3842
|
+
url: '/api/v1/tenants/{uuid}/business-config';
|
|
3843
|
+
};
|
|
3844
|
+
export type UpdateTenantBusinessConfigV1Errors = {
|
|
3845
|
+
404: {
|
|
3846
|
+
traceId?: string | null;
|
|
3847
|
+
errors?: Array<unknown>;
|
|
3848
|
+
};
|
|
3849
|
+
500: {
|
|
3850
|
+
traceId?: string | null;
|
|
3851
|
+
errors?: Array<InternalServerApiError>;
|
|
3852
|
+
};
|
|
3853
|
+
};
|
|
3854
|
+
export type UpdateTenantBusinessConfigV1Error = UpdateTenantBusinessConfigV1Errors[keyof UpdateTenantBusinessConfigV1Errors];
|
|
3855
|
+
export type UpdateTenantBusinessConfigV1Responses = {
|
|
3856
|
+
204: void;
|
|
3857
|
+
};
|
|
3858
|
+
export type UpdateTenantBusinessConfigV1Response = UpdateTenantBusinessConfigV1Responses[keyof UpdateTenantBusinessConfigV1Responses];
|
|
3859
|
+
export type UpdateTenantBillingConfigV1Data = {
|
|
3860
|
+
body: UpdateTenantBillingConfigCommand;
|
|
3861
|
+
path: {
|
|
3862
|
+
uuid: string;
|
|
3863
|
+
};
|
|
3864
|
+
query?: never;
|
|
3865
|
+
url: '/api/v1/tenants/{uuid}/billing-config';
|
|
3866
|
+
};
|
|
3867
|
+
export type UpdateTenantBillingConfigV1Errors = {
|
|
3868
|
+
404: {
|
|
3869
|
+
traceId?: string | null;
|
|
3870
|
+
errors?: Array<unknown>;
|
|
3871
|
+
};
|
|
3872
|
+
500: {
|
|
3873
|
+
traceId?: string | null;
|
|
3874
|
+
errors?: Array<InternalServerApiError>;
|
|
3875
|
+
};
|
|
3876
|
+
};
|
|
3877
|
+
export type UpdateTenantBillingConfigV1Error = UpdateTenantBillingConfigV1Errors[keyof UpdateTenantBillingConfigV1Errors];
|
|
3878
|
+
export type UpdateTenantBillingConfigV1Responses = {
|
|
3879
|
+
204: void;
|
|
3880
|
+
};
|
|
3881
|
+
export type UpdateTenantBillingConfigV1Response = UpdateTenantBillingConfigV1Responses[keyof UpdateTenantBillingConfigV1Responses];
|
|
3882
|
+
export type ViewTenantConfigDetailV1Data = {
|
|
3883
|
+
body?: never;
|
|
3884
|
+
path?: never;
|
|
3885
|
+
query?: never;
|
|
3886
|
+
url: '/api/v1/tenant-configs';
|
|
4011
3887
|
};
|
|
4012
|
-
export type
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
3888
|
+
export type ViewTenantConfigDetailV1Errors = {
|
|
3889
|
+
500: {
|
|
3890
|
+
traceId?: string | null;
|
|
3891
|
+
errors?: Array<InternalServerApiError>;
|
|
3892
|
+
};
|
|
4017
3893
|
};
|
|
4018
|
-
export type
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
actorType: ActivityActorType;
|
|
4022
|
-
actor: ActivityActorResponse | null;
|
|
4023
|
-
entities: Array<ActivityEntityResponse>;
|
|
4024
|
-
changes: Array<ActivityChange> | null;
|
|
3894
|
+
export type ViewTenantConfigDetailV1Error = ViewTenantConfigDetailV1Errors[keyof ViewTenantConfigDetailV1Errors];
|
|
3895
|
+
export type ViewTenantConfigDetailV1Responses = {
|
|
3896
|
+
200: ViewTenantConfigDetailResponse;
|
|
4025
3897
|
};
|
|
4026
|
-
export type
|
|
4027
|
-
|
|
4028
|
-
|
|
3898
|
+
export type ViewTenantConfigDetailV1Response = ViewTenantConfigDetailV1Responses[keyof ViewTenantConfigDetailV1Responses];
|
|
3899
|
+
export type ViewRecentEntitiesV1Data = {
|
|
3900
|
+
body?: never;
|
|
3901
|
+
path?: never;
|
|
3902
|
+
query?: {
|
|
3903
|
+
pagination?: PaginatedOffsetQuery;
|
|
3904
|
+
filter?: ViewRecentEntitiesFilterQuery;
|
|
3905
|
+
};
|
|
3906
|
+
url: '/api/v1/recent-entities';
|
|
4029
3907
|
};
|
|
4030
|
-
export type
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
3908
|
+
export type ViewRecentEntitiesV1Errors = {
|
|
3909
|
+
500: {
|
|
3910
|
+
traceId?: string | null;
|
|
3911
|
+
errors?: Array<InternalServerApiError>;
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3914
|
+
export type ViewRecentEntitiesV1Error = ViewRecentEntitiesV1Errors[keyof ViewRecentEntitiesV1Errors];
|
|
3915
|
+
export type ViewRecentEntitiesV1Responses = {
|
|
3916
|
+
200: ViewRecentEntitiesResponse;
|
|
3917
|
+
};
|
|
3918
|
+
export type ViewRecentEntitiesV1Response = ViewRecentEntitiesV1Responses[keyof ViewRecentEntitiesV1Responses];
|
|
3919
|
+
export type AssignUserAsAdminV1Data = {
|
|
3920
|
+
body: AssignUserAsAdminCommand;
|
|
3921
|
+
path: {
|
|
3922
|
+
uuid: string;
|
|
3923
|
+
};
|
|
3924
|
+
query?: never;
|
|
3925
|
+
url: '/api/v1/tenants/{uuid}/assign-user-as-admin';
|
|
3926
|
+
};
|
|
3927
|
+
export type AssignUserAsAdminV1Errors = {
|
|
3928
|
+
404: {
|
|
3929
|
+
traceId?: string | null;
|
|
3930
|
+
errors?: Array<UserNotFoundError>;
|
|
3931
|
+
};
|
|
3932
|
+
409: {
|
|
3933
|
+
traceId?: string | null;
|
|
3934
|
+
errors?: Array<UserConnectedToOtherTenantError>;
|
|
3935
|
+
};
|
|
3936
|
+
500: {
|
|
3937
|
+
traceId?: string | null;
|
|
3938
|
+
errors?: Array<InternalServerApiError>;
|
|
3939
|
+
};
|
|
4037
3940
|
};
|
|
3941
|
+
export type AssignUserAsAdminV1Error = AssignUserAsAdminV1Errors[keyof AssignUserAsAdminV1Errors];
|
|
4038
3942
|
export type MigrateCollectionsV1Data = {
|
|
4039
3943
|
body?: never;
|
|
4040
3944
|
path?: never;
|
|
@@ -4105,195 +4009,159 @@ export type ViewCollectionIndexV1Responses = {
|
|
|
4105
4009
|
200: ViewCollectionIndexResponse;
|
|
4106
4010
|
};
|
|
4107
4011
|
export type ViewCollectionIndexV1Response = ViewCollectionIndexV1Responses[keyof ViewCollectionIndexV1Responses];
|
|
4108
|
-
export type
|
|
4109
|
-
body
|
|
4012
|
+
export type ViewLoginConfigV1Data = {
|
|
4013
|
+
body?: never;
|
|
4110
4014
|
path: {
|
|
4111
|
-
|
|
4112
|
-
};
|
|
4113
|
-
query?: never;
|
|
4114
|
-
url: '/api/v1/users/{user}/role';
|
|
4115
|
-
};
|
|
4116
|
-
export type SetUserRolesV1Errors = {
|
|
4117
|
-
404: {
|
|
4118
|
-
traceId?: string | null;
|
|
4119
|
-
errors?: Array<UserNotFoundError>;
|
|
4120
|
-
};
|
|
4121
|
-
500: {
|
|
4122
|
-
traceId?: string | null;
|
|
4123
|
-
errors?: Array<InternalServerApiError>;
|
|
4015
|
+
domain: string;
|
|
4124
4016
|
};
|
|
4125
|
-
};
|
|
4126
|
-
export type SetUserRolesV1Error = SetUserRolesV1Errors[keyof SetUserRolesV1Errors];
|
|
4127
|
-
export type ViewMeV1Data = {
|
|
4128
|
-
body?: never;
|
|
4129
|
-
path?: never;
|
|
4130
4017
|
query?: never;
|
|
4131
|
-
url: '/api/v1/
|
|
4018
|
+
url: '/api/v1/auth/login-config/{domain}';
|
|
4132
4019
|
};
|
|
4133
|
-
export type
|
|
4134
|
-
404: {
|
|
4135
|
-
traceId?: string | null;
|
|
4136
|
-
errors?: Array<UserNotFoundError>;
|
|
4137
|
-
};
|
|
4020
|
+
export type ViewLoginConfigV1Errors = {
|
|
4138
4021
|
500: {
|
|
4139
4022
|
traceId?: string | null;
|
|
4140
4023
|
errors?: Array<InternalServerApiError>;
|
|
4141
4024
|
};
|
|
4142
4025
|
};
|
|
4143
|
-
export type
|
|
4144
|
-
export type
|
|
4026
|
+
export type ViewLoginConfigV1Error = ViewLoginConfigV1Errors[keyof ViewLoginConfigV1Errors];
|
|
4027
|
+
export type ViewLoginConfigV1Responses = {
|
|
4145
4028
|
/**
|
|
4146
|
-
*
|
|
4029
|
+
* The login configuration has been successfully received.
|
|
4147
4030
|
*/
|
|
4148
|
-
200:
|
|
4031
|
+
200: ViewLoginConfigResponse;
|
|
4149
4032
|
};
|
|
4150
|
-
export type
|
|
4151
|
-
export type
|
|
4033
|
+
export type ViewLoginConfigV1Response = ViewLoginConfigV1Responses[keyof ViewLoginConfigV1Responses];
|
|
4034
|
+
export type ViewCzLoginConfigV1Data = {
|
|
4152
4035
|
body?: never;
|
|
4153
4036
|
path: {
|
|
4154
|
-
|
|
4037
|
+
domain: string;
|
|
4155
4038
|
};
|
|
4156
4039
|
query?: never;
|
|
4157
|
-
url: '/api/v1/
|
|
4040
|
+
url: '/api/v1/auth/cz-login-config/{domain}';
|
|
4158
4041
|
};
|
|
4159
|
-
export type
|
|
4160
|
-
404: {
|
|
4161
|
-
traceId?: string | null;
|
|
4162
|
-
errors?: Array<UserNotFoundError>;
|
|
4163
|
-
};
|
|
4042
|
+
export type ViewCzLoginConfigV1Errors = {
|
|
4164
4043
|
500: {
|
|
4165
4044
|
traceId?: string | null;
|
|
4166
4045
|
errors?: Array<InternalServerApiError>;
|
|
4167
4046
|
};
|
|
4168
4047
|
};
|
|
4169
|
-
export type
|
|
4170
|
-
export type
|
|
4048
|
+
export type ViewCzLoginConfigV1Error = ViewCzLoginConfigV1Errors[keyof ViewCzLoginConfigV1Errors];
|
|
4049
|
+
export type ViewCzLoginConfigV1Responses = {
|
|
4171
4050
|
/**
|
|
4172
|
-
*
|
|
4051
|
+
* The CZ login configuration has been successfully received.
|
|
4173
4052
|
*/
|
|
4174
|
-
200:
|
|
4053
|
+
200: ViewCzLoginConfigResponse;
|
|
4175
4054
|
};
|
|
4176
|
-
export type
|
|
4177
|
-
export type
|
|
4055
|
+
export type ViewCzLoginConfigV1Response = ViewCzLoginConfigV1Responses[keyof ViewCzLoginConfigV1Responses];
|
|
4056
|
+
export type GetApiInfoData = {
|
|
4178
4057
|
body?: never;
|
|
4179
4058
|
path?: never;
|
|
4180
|
-
query?:
|
|
4181
|
-
|
|
4182
|
-
search?: string;
|
|
4183
|
-
};
|
|
4184
|
-
url: '/api/v1/users';
|
|
4059
|
+
query?: never;
|
|
4060
|
+
url: '/api';
|
|
4185
4061
|
};
|
|
4186
|
-
export type
|
|
4062
|
+
export type GetApiInfoErrors = {
|
|
4187
4063
|
500: {
|
|
4188
4064
|
traceId?: string | null;
|
|
4189
4065
|
errors?: Array<InternalServerApiError>;
|
|
4190
4066
|
};
|
|
4191
4067
|
};
|
|
4192
|
-
export type
|
|
4193
|
-
export type
|
|
4194
|
-
|
|
4195
|
-
* Users retrieved
|
|
4196
|
-
*/
|
|
4197
|
-
200: ViewUserIndexResponse;
|
|
4068
|
+
export type GetApiInfoError = GetApiInfoErrors[keyof GetApiInfoErrors];
|
|
4069
|
+
export type GetApiInfoResponses = {
|
|
4070
|
+
200: GetApiInfoResponse;
|
|
4198
4071
|
};
|
|
4199
|
-
export type
|
|
4200
|
-
export type
|
|
4201
|
-
body
|
|
4202
|
-
path
|
|
4072
|
+
export type GetApiInfoResponse2 = GetApiInfoResponses[keyof GetApiInfoResponses];
|
|
4073
|
+
export type SetUserRolesV1Data = {
|
|
4074
|
+
body: SetUserRolesCommand;
|
|
4075
|
+
path: {
|
|
4076
|
+
user: string;
|
|
4077
|
+
};
|
|
4203
4078
|
query?: never;
|
|
4204
|
-
url: '/api/v1/
|
|
4079
|
+
url: '/api/v1/users/{user}/role';
|
|
4205
4080
|
};
|
|
4206
|
-
export type
|
|
4081
|
+
export type SetUserRolesV1Errors = {
|
|
4082
|
+
404: {
|
|
4083
|
+
traceId?: string | null;
|
|
4084
|
+
errors?: Array<UserNotFoundError>;
|
|
4085
|
+
};
|
|
4207
4086
|
500: {
|
|
4208
4087
|
traceId?: string | null;
|
|
4209
4088
|
errors?: Array<InternalServerApiError>;
|
|
4210
4089
|
};
|
|
4211
4090
|
};
|
|
4212
|
-
export type
|
|
4213
|
-
export type
|
|
4214
|
-
200: ViewPermissionIndexResponse;
|
|
4215
|
-
};
|
|
4216
|
-
export type ViewPermissionIndexV1Response = ViewPermissionIndexV1Responses[keyof ViewPermissionIndexV1Responses];
|
|
4217
|
-
export type ViewLoginConfigV1Data = {
|
|
4091
|
+
export type SetUserRolesV1Error = SetUserRolesV1Errors[keyof SetUserRolesV1Errors];
|
|
4092
|
+
export type ViewMeV1Data = {
|
|
4218
4093
|
body?: never;
|
|
4219
|
-
path
|
|
4220
|
-
domain: string;
|
|
4221
|
-
};
|
|
4094
|
+
path?: never;
|
|
4222
4095
|
query?: never;
|
|
4223
|
-
url: '/api/v1/
|
|
4096
|
+
url: '/api/v1/users/me';
|
|
4224
4097
|
};
|
|
4225
|
-
export type
|
|
4098
|
+
export type ViewMeV1Errors = {
|
|
4099
|
+
404: {
|
|
4100
|
+
traceId?: string | null;
|
|
4101
|
+
errors?: Array<UserNotFoundError>;
|
|
4102
|
+
};
|
|
4226
4103
|
500: {
|
|
4227
4104
|
traceId?: string | null;
|
|
4228
4105
|
errors?: Array<InternalServerApiError>;
|
|
4229
4106
|
};
|
|
4230
4107
|
};
|
|
4231
|
-
export type
|
|
4232
|
-
export type
|
|
4108
|
+
export type ViewMeV1Error = ViewMeV1Errors[keyof ViewMeV1Errors];
|
|
4109
|
+
export type ViewMeV1Responses = {
|
|
4233
4110
|
/**
|
|
4234
|
-
*
|
|
4111
|
+
* User details retrieved
|
|
4235
4112
|
*/
|
|
4236
|
-
200:
|
|
4113
|
+
200: ViewMeResponse;
|
|
4237
4114
|
};
|
|
4238
|
-
export type
|
|
4239
|
-
export type
|
|
4115
|
+
export type ViewMeV1Response = ViewMeV1Responses[keyof ViewMeV1Responses];
|
|
4116
|
+
export type ViewUserDetailV1Data = {
|
|
4240
4117
|
body?: never;
|
|
4241
4118
|
path: {
|
|
4242
|
-
|
|
4119
|
+
uuid: string;
|
|
4243
4120
|
};
|
|
4244
4121
|
query?: never;
|
|
4245
|
-
url: '/api/v1/
|
|
4122
|
+
url: '/api/v1/users/{uuid}';
|
|
4246
4123
|
};
|
|
4247
|
-
export type
|
|
4248
|
-
|
|
4124
|
+
export type ViewUserDetailV1Errors = {
|
|
4125
|
+
404: {
|
|
4249
4126
|
traceId?: string | null;
|
|
4250
|
-
errors?: Array<
|
|
4127
|
+
errors?: Array<UserNotFoundError>;
|
|
4251
4128
|
};
|
|
4252
|
-
};
|
|
4253
|
-
export type ViewCzLoginConfigV1Error = ViewCzLoginConfigV1Errors[keyof ViewCzLoginConfigV1Errors];
|
|
4254
|
-
export type ViewCzLoginConfigV1Responses = {
|
|
4255
|
-
/**
|
|
4256
|
-
* The CZ login configuration has been successfully received.
|
|
4257
|
-
*/
|
|
4258
|
-
200: ViewCzLoginConfigResponse;
|
|
4259
|
-
};
|
|
4260
|
-
export type ViewCzLoginConfigV1Response = ViewCzLoginConfigV1Responses[keyof ViewCzLoginConfigV1Responses];
|
|
4261
|
-
export type SwaggerData = {
|
|
4262
|
-
body?: never;
|
|
4263
|
-
path?: never;
|
|
4264
|
-
query?: never;
|
|
4265
|
-
url: '/api/oauth2-redirect';
|
|
4266
|
-
};
|
|
4267
|
-
export type SwaggerErrors = {
|
|
4268
4129
|
500: {
|
|
4269
4130
|
traceId?: string | null;
|
|
4270
4131
|
errors?: Array<InternalServerApiError>;
|
|
4271
4132
|
};
|
|
4272
4133
|
};
|
|
4273
|
-
export type
|
|
4274
|
-
export type
|
|
4275
|
-
|
|
4134
|
+
export type ViewUserDetailV1Error = ViewUserDetailV1Errors[keyof ViewUserDetailV1Errors];
|
|
4135
|
+
export type ViewUserDetailV1Responses = {
|
|
4136
|
+
/**
|
|
4137
|
+
* User details retrieved
|
|
4138
|
+
*/
|
|
4139
|
+
200: ViewUserDetailResponse;
|
|
4276
4140
|
};
|
|
4277
|
-
export type
|
|
4141
|
+
export type ViewUserDetailV1Response = ViewUserDetailV1Responses[keyof ViewUserDetailV1Responses];
|
|
4142
|
+
export type ViewUserIndexV1Data = {
|
|
4278
4143
|
body?: never;
|
|
4279
4144
|
path?: never;
|
|
4280
|
-
query?:
|
|
4281
|
-
|
|
4145
|
+
query?: {
|
|
4146
|
+
pagination?: PaginatedOffsetQuery;
|
|
4147
|
+
search?: string;
|
|
4148
|
+
};
|
|
4149
|
+
url: '/api/v1/users';
|
|
4282
4150
|
};
|
|
4283
|
-
export type
|
|
4151
|
+
export type ViewUserIndexV1Errors = {
|
|
4284
4152
|
500: {
|
|
4285
4153
|
traceId?: string | null;
|
|
4286
4154
|
errors?: Array<InternalServerApiError>;
|
|
4287
4155
|
};
|
|
4288
4156
|
};
|
|
4289
|
-
export type
|
|
4290
|
-
export type
|
|
4157
|
+
export type ViewUserIndexV1Error = ViewUserIndexV1Errors[keyof ViewUserIndexV1Errors];
|
|
4158
|
+
export type ViewUserIndexV1Responses = {
|
|
4291
4159
|
/**
|
|
4292
|
-
*
|
|
4160
|
+
* Users retrieved
|
|
4293
4161
|
*/
|
|
4294
|
-
200:
|
|
4162
|
+
200: ViewUserIndexResponse;
|
|
4295
4163
|
};
|
|
4296
|
-
export type
|
|
4164
|
+
export type ViewUserIndexV1Response = ViewUserIndexV1Responses[keyof ViewUserIndexV1Responses];
|
|
4297
4165
|
export type ViewRoleIndexV1Data = {
|
|
4298
4166
|
body?: never;
|
|
4299
4167
|
path?: never;
|
|
@@ -4459,7 +4327,7 @@ export type CreateFileV1Responses = {
|
|
|
4459
4327
|
};
|
|
4460
4328
|
export type CreateFileV1Response = CreateFileV1Responses[keyof CreateFileV1Responses];
|
|
4461
4329
|
export type ConfirmFileUploadV1Data = {
|
|
4462
|
-
body
|
|
4330
|
+
body?: never;
|
|
4463
4331
|
path: {
|
|
4464
4332
|
file: string;
|
|
4465
4333
|
};
|
|
@@ -4481,6 +4349,29 @@ export type ConfirmFileUploadV1Responses = {
|
|
|
4481
4349
|
204: void;
|
|
4482
4350
|
};
|
|
4483
4351
|
export type ConfirmFileUploadV1Response = ConfirmFileUploadV1Responses[keyof ConfirmFileUploadV1Responses];
|
|
4352
|
+
export type ConfirmFileUploadV2Data = {
|
|
4353
|
+
body: ConfirmFileUploadCommand;
|
|
4354
|
+
path: {
|
|
4355
|
+
file: string;
|
|
4356
|
+
};
|
|
4357
|
+
query?: never;
|
|
4358
|
+
url: '/api/v2/files/{file}/confirm-upload';
|
|
4359
|
+
};
|
|
4360
|
+
export type ConfirmFileUploadV2Errors = {
|
|
4361
|
+
404: {
|
|
4362
|
+
traceId?: string | null;
|
|
4363
|
+
errors?: Array<FileNotFoundError>;
|
|
4364
|
+
};
|
|
4365
|
+
500: {
|
|
4366
|
+
traceId?: string | null;
|
|
4367
|
+
errors?: Array<InternalServerApiError>;
|
|
4368
|
+
};
|
|
4369
|
+
};
|
|
4370
|
+
export type ConfirmFileUploadV2Error = ConfirmFileUploadV2Errors[keyof ConfirmFileUploadV2Errors];
|
|
4371
|
+
export type ConfirmFileUploadV2Responses = {
|
|
4372
|
+
204: void;
|
|
4373
|
+
};
|
|
4374
|
+
export type ConfirmFileUploadV2Response = ConfirmFileUploadV2Responses[keyof ConfirmFileUploadV2Responses];
|
|
4484
4375
|
export type DownloadFileV1Data = {
|
|
4485
4376
|
body?: never;
|
|
4486
4377
|
path: {
|
|
@@ -4611,7 +4502,7 @@ export type SearchCollectionsV1Data = {
|
|
|
4611
4502
|
body?: never;
|
|
4612
4503
|
path?: never;
|
|
4613
4504
|
query: {
|
|
4614
|
-
filter
|
|
4505
|
+
filter?: SearchCollectionsFilterQuery;
|
|
4615
4506
|
search: string;
|
|
4616
4507
|
};
|
|
4617
4508
|
url: '/api/v1/search';
|
|
@@ -4899,9 +4790,7 @@ export type ViewJobDetailV1Data = {
|
|
|
4899
4790
|
path: {
|
|
4900
4791
|
jobId: string;
|
|
4901
4792
|
};
|
|
4902
|
-
query
|
|
4903
|
-
isArchived: boolean;
|
|
4904
|
-
};
|
|
4793
|
+
query?: never;
|
|
4905
4794
|
url: '/api/v1/jobs/{jobId}';
|
|
4906
4795
|
};
|
|
4907
4796
|
export type ViewJobDetailV1Errors = {
|
|
@@ -4922,11 +4811,11 @@ export type ViewJobDetailV1Response = ViewJobDetailV1Responses[keyof ViewJobDeta
|
|
|
4922
4811
|
export type ViewLocationIndexV1Data = {
|
|
4923
4812
|
body?: never;
|
|
4924
4813
|
path?: never;
|
|
4925
|
-
query
|
|
4814
|
+
query?: {
|
|
4926
4815
|
pagination?: PaginatedOffsetQuery;
|
|
4927
4816
|
filter?: ViewLocationIndexFilterQuery;
|
|
4928
4817
|
search?: string;
|
|
4929
|
-
sort
|
|
4818
|
+
sort?: Array<ViewLocationIndexSortQuery>;
|
|
4930
4819
|
};
|
|
4931
4820
|
url: '/api/v1/locations';
|
|
4932
4821
|
};
|
|
@@ -5842,214 +5731,6 @@ export type MakeBusinessContactPersonPrimaryV1Responses = {
|
|
|
5842
5731
|
204: void;
|
|
5843
5732
|
};
|
|
5844
5733
|
export type MakeBusinessContactPersonPrimaryV1Response = MakeBusinessContactPersonPrimaryV1Responses[keyof MakeBusinessContactPersonPrimaryV1Responses];
|
|
5845
|
-
export type ViewTenantIndexV1Data = {
|
|
5846
|
-
body?: never;
|
|
5847
|
-
path?: never;
|
|
5848
|
-
query?: {
|
|
5849
|
-
pagination?: PaginatedOffsetQuery;
|
|
5850
|
-
search?: string;
|
|
5851
|
-
};
|
|
5852
|
-
url: '/api/v1/tenants';
|
|
5853
|
-
};
|
|
5854
|
-
export type ViewTenantIndexV1Errors = {
|
|
5855
|
-
500: {
|
|
5856
|
-
traceId?: string | null;
|
|
5857
|
-
errors?: Array<InternalServerApiError>;
|
|
5858
|
-
};
|
|
5859
|
-
};
|
|
5860
|
-
export type ViewTenantIndexV1Error = ViewTenantIndexV1Errors[keyof ViewTenantIndexV1Errors];
|
|
5861
|
-
export type ViewTenantIndexV1Responses = {
|
|
5862
|
-
200: ViewTenantIndexResponse;
|
|
5863
|
-
};
|
|
5864
|
-
export type ViewTenantIndexV1Response = ViewTenantIndexV1Responses[keyof ViewTenantIndexV1Responses];
|
|
5865
|
-
export type CreateTenantV1Data = {
|
|
5866
|
-
body: CreateTenantCommand;
|
|
5867
|
-
path?: never;
|
|
5868
|
-
query?: never;
|
|
5869
|
-
url: '/api/v1/tenants';
|
|
5870
|
-
};
|
|
5871
|
-
export type CreateTenantV1Errors = {
|
|
5872
|
-
500: {
|
|
5873
|
-
traceId?: string | null;
|
|
5874
|
-
errors?: Array<InternalServerApiError>;
|
|
5875
|
-
};
|
|
5876
|
-
};
|
|
5877
|
-
export type CreateTenantV1Error = CreateTenantV1Errors[keyof CreateTenantV1Errors];
|
|
5878
|
-
export type CreateTenantV1Responses = {
|
|
5879
|
-
201: CreateTenantResponse;
|
|
5880
|
-
};
|
|
5881
|
-
export type CreateTenantV1Response = CreateTenantV1Responses[keyof CreateTenantV1Responses];
|
|
5882
|
-
export type ViewTenantDetailV1Data = {
|
|
5883
|
-
body?: never;
|
|
5884
|
-
path: {
|
|
5885
|
-
uuid: string;
|
|
5886
|
-
};
|
|
5887
|
-
query?: never;
|
|
5888
|
-
url: '/api/v1/tenants/{uuid}';
|
|
5889
|
-
};
|
|
5890
|
-
export type ViewTenantDetailV1Errors = {
|
|
5891
|
-
500: {
|
|
5892
|
-
traceId?: string | null;
|
|
5893
|
-
errors?: Array<InternalServerApiError>;
|
|
5894
|
-
};
|
|
5895
|
-
};
|
|
5896
|
-
export type ViewTenantDetailV1Error = ViewTenantDetailV1Errors[keyof ViewTenantDetailV1Errors];
|
|
5897
|
-
export type ViewTenantDetailV1Responses = {
|
|
5898
|
-
200: ViewTenantDetailResponse;
|
|
5899
|
-
};
|
|
5900
|
-
export type ViewTenantDetailV1Response = ViewTenantDetailV1Responses[keyof ViewTenantDetailV1Responses];
|
|
5901
|
-
export type UpdateTenantV1Data = {
|
|
5902
|
-
body: UpdateTenantCommand;
|
|
5903
|
-
path: {
|
|
5904
|
-
uuid: string;
|
|
5905
|
-
};
|
|
5906
|
-
query?: never;
|
|
5907
|
-
url: '/api/v1/tenants/{uuid}';
|
|
5908
|
-
};
|
|
5909
|
-
export type UpdateTenantV1Errors = {
|
|
5910
|
-
404: {
|
|
5911
|
-
traceId?: string | null;
|
|
5912
|
-
errors?: Array<unknown>;
|
|
5913
|
-
};
|
|
5914
|
-
500: {
|
|
5915
|
-
traceId?: string | null;
|
|
5916
|
-
errors?: Array<InternalServerApiError>;
|
|
5917
|
-
};
|
|
5918
|
-
};
|
|
5919
|
-
export type UpdateTenantV1Error = UpdateTenantV1Errors[keyof UpdateTenantV1Errors];
|
|
5920
|
-
export type UpdateTenantV1Responses = {
|
|
5921
|
-
204: void;
|
|
5922
|
-
};
|
|
5923
|
-
export type UpdateTenantV1Response = UpdateTenantV1Responses[keyof UpdateTenantV1Responses];
|
|
5924
|
-
export type UpdateTenantEntitiesConfigV1Data = {
|
|
5925
|
-
body: UpdateTenantEntitiesConfigCommand;
|
|
5926
|
-
path: {
|
|
5927
|
-
uuid: string;
|
|
5928
|
-
};
|
|
5929
|
-
query?: never;
|
|
5930
|
-
url: '/api/v1/tenants/{uuid}/entities-config';
|
|
5931
|
-
};
|
|
5932
|
-
export type UpdateTenantEntitiesConfigV1Errors = {
|
|
5933
|
-
404: {
|
|
5934
|
-
traceId?: string | null;
|
|
5935
|
-
errors?: Array<unknown>;
|
|
5936
|
-
};
|
|
5937
|
-
500: {
|
|
5938
|
-
traceId?: string | null;
|
|
5939
|
-
errors?: Array<InternalServerApiError>;
|
|
5940
|
-
};
|
|
5941
|
-
};
|
|
5942
|
-
export type UpdateTenantEntitiesConfigV1Error = UpdateTenantEntitiesConfigV1Errors[keyof UpdateTenantEntitiesConfigV1Errors];
|
|
5943
|
-
export type UpdateTenantEntitiesConfigV1Responses = {
|
|
5944
|
-
204: void;
|
|
5945
|
-
};
|
|
5946
|
-
export type UpdateTenantEntitiesConfigV1Response = UpdateTenantEntitiesConfigV1Responses[keyof UpdateTenantEntitiesConfigV1Responses];
|
|
5947
|
-
export type UpdateTenantBusinessConfigV1Data = {
|
|
5948
|
-
body: UpdateTenantBusinessConfigCommand;
|
|
5949
|
-
path: {
|
|
5950
|
-
uuid: string;
|
|
5951
|
-
};
|
|
5952
|
-
query?: never;
|
|
5953
|
-
url: '/api/v1/tenants/{uuid}/business-config';
|
|
5954
|
-
};
|
|
5955
|
-
export type UpdateTenantBusinessConfigV1Errors = {
|
|
5956
|
-
404: {
|
|
5957
|
-
traceId?: string | null;
|
|
5958
|
-
errors?: Array<unknown>;
|
|
5959
|
-
};
|
|
5960
|
-
500: {
|
|
5961
|
-
traceId?: string | null;
|
|
5962
|
-
errors?: Array<InternalServerApiError>;
|
|
5963
|
-
};
|
|
5964
|
-
};
|
|
5965
|
-
export type UpdateTenantBusinessConfigV1Error = UpdateTenantBusinessConfigV1Errors[keyof UpdateTenantBusinessConfigV1Errors];
|
|
5966
|
-
export type UpdateTenantBusinessConfigV1Responses = {
|
|
5967
|
-
204: void;
|
|
5968
|
-
};
|
|
5969
|
-
export type UpdateTenantBusinessConfigV1Response = UpdateTenantBusinessConfigV1Responses[keyof UpdateTenantBusinessConfigV1Responses];
|
|
5970
|
-
export type UpdateTenantBillingConfigV1Data = {
|
|
5971
|
-
body: UpdateTenantBillingConfigCommand;
|
|
5972
|
-
path: {
|
|
5973
|
-
uuid: string;
|
|
5974
|
-
};
|
|
5975
|
-
query?: never;
|
|
5976
|
-
url: '/api/v1/tenants/{uuid}/billing-config';
|
|
5977
|
-
};
|
|
5978
|
-
export type UpdateTenantBillingConfigV1Errors = {
|
|
5979
|
-
404: {
|
|
5980
|
-
traceId?: string | null;
|
|
5981
|
-
errors?: Array<unknown>;
|
|
5982
|
-
};
|
|
5983
|
-
500: {
|
|
5984
|
-
traceId?: string | null;
|
|
5985
|
-
errors?: Array<InternalServerApiError>;
|
|
5986
|
-
};
|
|
5987
|
-
};
|
|
5988
|
-
export type UpdateTenantBillingConfigV1Error = UpdateTenantBillingConfigV1Errors[keyof UpdateTenantBillingConfigV1Errors];
|
|
5989
|
-
export type UpdateTenantBillingConfigV1Responses = {
|
|
5990
|
-
204: void;
|
|
5991
|
-
};
|
|
5992
|
-
export type UpdateTenantBillingConfigV1Response = UpdateTenantBillingConfigV1Responses[keyof UpdateTenantBillingConfigV1Responses];
|
|
5993
|
-
export type ViewTenantConfigDetailV1Data = {
|
|
5994
|
-
body?: never;
|
|
5995
|
-
path?: never;
|
|
5996
|
-
query?: never;
|
|
5997
|
-
url: '/api/v1/tenant-configs';
|
|
5998
|
-
};
|
|
5999
|
-
export type ViewTenantConfigDetailV1Errors = {
|
|
6000
|
-
500: {
|
|
6001
|
-
traceId?: string | null;
|
|
6002
|
-
errors?: Array<InternalServerApiError>;
|
|
6003
|
-
};
|
|
6004
|
-
};
|
|
6005
|
-
export type ViewTenantConfigDetailV1Error = ViewTenantConfigDetailV1Errors[keyof ViewTenantConfigDetailV1Errors];
|
|
6006
|
-
export type ViewTenantConfigDetailV1Responses = {
|
|
6007
|
-
200: ViewTenantConfigDetailResponse;
|
|
6008
|
-
};
|
|
6009
|
-
export type ViewTenantConfigDetailV1Response = ViewTenantConfigDetailV1Responses[keyof ViewTenantConfigDetailV1Responses];
|
|
6010
|
-
export type ViewRecentEntitiesV1Data = {
|
|
6011
|
-
body?: never;
|
|
6012
|
-
path?: never;
|
|
6013
|
-
query?: {
|
|
6014
|
-
pagination?: PaginatedOffsetQuery;
|
|
6015
|
-
filter?: ViewRecentEntitiesFilterQuery;
|
|
6016
|
-
};
|
|
6017
|
-
url: '/api/v1/recent-entities';
|
|
6018
|
-
};
|
|
6019
|
-
export type ViewRecentEntitiesV1Errors = {
|
|
6020
|
-
500: {
|
|
6021
|
-
traceId?: string | null;
|
|
6022
|
-
errors?: Array<InternalServerApiError>;
|
|
6023
|
-
};
|
|
6024
|
-
};
|
|
6025
|
-
export type ViewRecentEntitiesV1Error = ViewRecentEntitiesV1Errors[keyof ViewRecentEntitiesV1Errors];
|
|
6026
|
-
export type ViewRecentEntitiesV1Responses = {
|
|
6027
|
-
200: ViewRecentEntitiesResponse;
|
|
6028
|
-
};
|
|
6029
|
-
export type ViewRecentEntitiesV1Response = ViewRecentEntitiesV1Responses[keyof ViewRecentEntitiesV1Responses];
|
|
6030
|
-
export type AssignUserAsAdminV1Data = {
|
|
6031
|
-
body: AssignUserAsAdminCommand;
|
|
6032
|
-
path: {
|
|
6033
|
-
uuid: string;
|
|
6034
|
-
};
|
|
6035
|
-
query?: never;
|
|
6036
|
-
url: '/api/v1/tenants/{uuid}/assign-user-as-admin';
|
|
6037
|
-
};
|
|
6038
|
-
export type AssignUserAsAdminV1Errors = {
|
|
6039
|
-
404: {
|
|
6040
|
-
traceId?: string | null;
|
|
6041
|
-
errors?: Array<UserNotFoundError>;
|
|
6042
|
-
};
|
|
6043
|
-
409: {
|
|
6044
|
-
traceId?: string | null;
|
|
6045
|
-
errors?: Array<UserConnectedToOtherTenantError>;
|
|
6046
|
-
};
|
|
6047
|
-
500: {
|
|
6048
|
-
traceId?: string | null;
|
|
6049
|
-
errors?: Array<InternalServerApiError>;
|
|
6050
|
-
};
|
|
6051
|
-
};
|
|
6052
|
-
export type AssignUserAsAdminV1Error = AssignUserAsAdminV1Errors[keyof AssignUserAsAdminV1Errors];
|
|
6053
5734
|
export type ViewCustomFieldDefinitionIndexV1Data = {
|
|
6054
5735
|
body?: never;
|
|
6055
5736
|
path?: never;
|