@wisemen/wise-crm-web 2.0.0-alpha.25 → 2.0.0-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,41 +1,16 @@
1
- import { BoardColumnTransitionTriggerType } from '#client/index.ts';
2
- import { BoardColumnUuid } from '#models/board/boardColumnUuid.model.ts';
3
- import { BusinessIndexQueryParams } from '#models/business/index/businessIndexQueryParams.model.ts';
4
- import { BusinessUuid } from '#models/business/businessUuid.model.ts';
5
- import { ClientType } from '#client/types.gen.ts';
6
1
  import { Component } from 'vue';
7
2
  import { ComponentOptionsMixin } from 'vue';
8
3
  import { ComponentProvideOptions } from 'vue';
9
4
  import { ComputedRef } from 'vue';
10
- import { CustomFieldDefinitionIndex } from '#models/custom-field-definition/customFieldDefinitionIndex.model.ts';
11
- import { DealIndexQueryParams } from '#models/deal/index/dealIndexQueryParams.model.ts';
12
- import { DealUuid } from '#models/deal/dealUuid.model.ts';
5
+ import { default as default_2 } from 'zod';
13
6
  import { DefineComponent } from 'vue';
14
- import { DialogContentTab } from '#types/dialog-content-tab/dialogContentTab.type.ts';
15
- import { EntityConfig } from '#models/tenant-config/tenantConfig.model.ts';
16
- import { EntityType } from '#client/types.gen.ts';
17
- import { EntityType as EntityType_2 } from '#client/index.ts';
18
- import { EntityType as EntityType_3 } from '#models/enitityType.model.ts';
19
- import { GlobalSearchCollectionName } from '#models/global-search/globalSearchItem.model.ts';
20
- import { IndividualIndexQueryParams } from '#models/individual/index/individualIndexQueryParams.model.ts';
21
- import { IndividualUuid } from '#models/individual/individualUuid.model.ts';
22
7
  import { InfiniteQueryOptions } from '@wisemen/vue-core-api-utils';
23
- import { Locale } from '#client/index.ts';
24
- import { MailIndexQueryParams } from '#models/mail/index/mailIndexQueryParams.model.ts';
25
- import { MailTemplateIndexQueryParams } from '#models/mail-template/index/mailTemplateIndexQueryParams.model.ts';
26
- import { MailTemplateUuid } from '#models/mail-template/mailTemplateUuid.model.ts';
27
- import { NoteIndexQueryParams } from '#models/notes/index/noteIndexQueryParams.model.ts';
28
- import { PublicFileReference } from '#models/file-reference/fileReference.model.ts';
29
8
  import { PublicProps } from 'vue';
30
9
  import { Ref } from 'vue';
31
10
  import { RouteLocationNormalized } from 'vue-router';
32
11
  import { RouteRecordRaw } from 'vue-router';
33
- import { SidebarSection } from '#types/sidebar-section/sidebarSection.type.ts';
34
- import { TenantConfig } from '#models/tenant-config/tenantConfig.model.ts';
35
- import { UserIndexQueryParams } from '#models/user/index/userIndexQueryParams.model.ts';
12
+ import { Temporal } from 'temporal-polyfill';
36
13
  import { VNode } from 'vue';
37
- import { WiseCrmBusinessUuid as WiseCrmBusinessUuid_2 } from '#index.ts';
38
- import { WiseCrmIndividualUuid as WiseCrmIndividualUuid_2 } from '#index.ts';
39
14
  import { z } from 'zod';
40
15
 
41
16
  declare const __VLS_component: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -43,10 +18,10 @@ declare const __VLS_component: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Co
43
18
  declare const __VLS_component_2: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
44
19
 
45
20
  declare type __VLS_Props = {
46
- businessUuid: BusinessUuid;
21
+ businessUuid: WiseCrmBusinessUuid;
47
22
  title: string;
48
23
  description: string;
49
- tabs: DialogContentTab[];
24
+ tabs: WiseCrmDialogContentTab[];
50
25
  };
51
26
 
52
27
  declare type __VLS_Props_10 = {
@@ -61,16 +36,16 @@ declare type __VLS_Props_10 = {
61
36
  };
62
37
 
63
38
  declare type __VLS_Props_11 = {
64
- entityType?: EntityType_3 | null;
65
- onCreate?: (uuid: BusinessUuid | IndividualUuid, name: string, type: EntityType_3) => void;
39
+ entityType?: EntityType_2 | null;
40
+ onCreate?: (uuid: WiseCrmBusinessUuid | WiseCrmIndividualUuid, name: string, type: EntityType_2) => void;
66
41
  };
67
42
 
68
43
  declare type __VLS_Props_2 = {
69
- businessUuid: BusinessUuid;
44
+ businessUuid: WiseCrmBusinessUuid;
70
45
  };
71
46
 
72
47
  declare type __VLS_Props_3 = {
73
- businessUuid: BusinessUuid;
48
+ businessUuid: WiseCrmBusinessUuid;
74
49
  };
75
50
 
76
51
  declare type __VLS_Props_4 = {
@@ -87,18 +62,18 @@ declare type __VLS_Props_6 = {
87
62
  };
88
63
 
89
64
  declare type __VLS_Props_7 = {
90
- individualUuid: IndividualUuid;
65
+ individualUuid: WiseCrmIndividualUuid;
91
66
  };
92
67
 
93
68
  declare type __VLS_Props_8 = {
94
- individualUuid: IndividualUuid;
69
+ individualUuid: WiseCrmIndividualUuid;
95
70
  };
96
71
 
97
72
  declare type __VLS_Props_9 = {
98
- individualUuid: IndividualUuid;
73
+ individualUuid: WiseCrmIndividualUuid;
99
74
  title: string;
100
75
  description: string;
101
- tabs: DialogContentTab[];
76
+ tabs: WiseCrmDialogContentTab[];
102
77
  };
103
78
 
104
79
  declare function __VLS_template(): {
@@ -136,8 +111,69 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
136
111
  };
137
112
  };
138
113
 
114
+ declare interface BaseCustomFieldDefinitionIndex {
115
+ uuid: string;
116
+ isDisplayedOnCreate: boolean;
117
+ displayName: string;
118
+ key: string;
119
+ order: number;
120
+ type: CustomFieldDefinitionType;
121
+ width: CustomFieldWidth;
122
+ }
123
+
124
+ declare enum BillingInformationRequirement {
125
+ EMAIL_ONLY = "EMAIL_ONLY",
126
+ ADDRESS_ONLY = "ADDRESS_ONLY",
127
+ EMAIL_AND_ADDRESS = "EMAIL_AND_ADDRESS",
128
+ EMAIL_OR_ADDRESS = "EMAIL_OR_ADDRESS"
129
+ }
130
+
131
+ declare enum BoardColumnTransitionTriggerType {
132
+ MANUAL = "manual",
133
+ EMAIL = "email"
134
+ }
135
+
136
+ declare type BoardColumnUuid = z.infer<typeof boardColumnUuidSchema>;
137
+
138
+ declare const boardColumnUuidSchema: z.core.$ZodBranded<z.ZodString, "BoardColumnUuid", "out">;
139
+
140
+ declare interface BrandColor {
141
+ brand25: string;
142
+ brand50: string;
143
+ brand100: string;
144
+ brand200: string;
145
+ brand300: string;
146
+ brand400: string;
147
+ brand500: string;
148
+ brand600: string;
149
+ brand700: string;
150
+ brand800: string;
151
+ brand900: string;
152
+ brand950: string;
153
+ }
154
+
155
+ declare interface BusinessConfig {
156
+ requireIndividualOnCreate: boolean;
157
+ viesValidation: boolean;
158
+ }
159
+
160
+ declare interface BusinessIndexQueryParams extends WithSearchQuery {
161
+ }
162
+
163
+ declare enum BusinessStatus {
164
+ LEAD = "lead",
165
+ CUSTOMER = "customer",
166
+ INACTIVE = "inactive",
167
+ ARCHIVED = "archived"
168
+ }
169
+
139
170
  export declare const businessUuidSchema: z.core.$ZodBranded<z.ZodString, "BusinessUuid", "out">;
140
171
 
172
+ declare enum ClientType {
173
+ BUSINESS = "business",
174
+ INDIVIDUAL = "individual"
175
+ }
176
+
141
177
  declare interface CrmRouteOptions {
142
178
  label: ComputedRef<string>;
143
179
  route: RouteRecordRaw;
@@ -149,12 +185,135 @@ select: (args_0: EntityType, args_1: string) => any;
149
185
  onSelect?: ((args_0: EntityType, args_1: string) => any) | undefined;
150
186
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
151
187
 
188
+ declare interface CustomFieldDefinitionCheckboxIndex extends BaseCustomFieldDefinitionIndex {
189
+ defaultValue?: boolean;
190
+ type: 'checkbox';
191
+ }
192
+
193
+ declare interface CustomFieldDefinitionDateIndex extends BaseCustomFieldDefinitionIndex {
194
+ maxDate?: Temporal.PlainDate;
195
+ minDate?: Temporal.PlainDate;
196
+ type: 'date';
197
+ }
198
+
199
+ declare type CustomFieldDefinitionIndex = CustomFieldDefinitionCheckboxIndex | CustomFieldDefinitionDateIndex | CustomFieldDefinitionMultiSelectIndex | CustomFieldDefinitionNumberIndex | CustomFieldDefinitionRadioButtonIndex | CustomFieldDefinitionSelectIndex | CustomFieldDefinitionStringIndex;
200
+
201
+ declare interface CustomFieldDefinitionMultiSelectIndex extends BaseCustomFieldDefinitionIndex {
202
+ maxSelections?: number;
203
+ minSelections?: number;
204
+ options: {
205
+ key: string;
206
+ value: string;
207
+ }[];
208
+ type: 'multiselect';
209
+ }
210
+
211
+ declare interface CustomFieldDefinitionNumberIndex extends BaseCustomFieldDefinitionIndex {
212
+ maxValue?: number;
213
+ minValue?: number;
214
+ type: 'number';
215
+ }
216
+
217
+ declare interface CustomFieldDefinitionRadioButtonIndex extends BaseCustomFieldDefinitionIndex {
218
+ options: {
219
+ key: string;
220
+ value: string;
221
+ }[];
222
+ type: 'radio';
223
+ }
224
+
225
+ declare interface CustomFieldDefinitionSelectIndex extends BaseCustomFieldDefinitionIndex {
226
+ options: {
227
+ key: string;
228
+ value: string;
229
+ }[];
230
+ type: 'select';
231
+ }
232
+
233
+ declare interface CustomFieldDefinitionStringIndex extends BaseCustomFieldDefinitionIndex {
234
+ maxLength?: number;
235
+ minLength?: number;
236
+ type: 'string';
237
+ }
238
+
239
+ declare type CustomFieldDefinitionType = 'checkbox' | 'date' | 'multiselect' | 'number' | 'radio' | 'select' | 'string';
240
+
241
+ declare type CustomFieldWidth = 'full' | 'half';
242
+
243
+ declare interface DealConfig {
244
+ creatableBusinessStatuses: BusinessStatus[];
245
+ creatableIndividualStatuses: IndividualStatus[];
246
+ enableBusinessDeals: boolean;
247
+ enableIndividualDeals: boolean;
248
+ }
249
+
250
+ declare interface DealIndexQueryParams extends WithFilterQuery<{
251
+ boardColumnUuid?: BoardColumnUuid[];
252
+ dealOwnerUuids?: string[];
253
+ }> {
254
+ }
255
+
256
+ declare type DealUuid = z.infer<typeof dealUuidSchema>;
257
+
258
+ declare const dealUuidSchema: z.core.$ZodBranded<z.ZodUUID, "DealUuid", "out">;
259
+
260
+ declare enum EntityColor {
261
+ MOSS = "moss",
262
+ GREEN_LIGHT = "green-light",
263
+ GREEN = "green",
264
+ TEAL = "teal",
265
+ CYAN = "cyan",
266
+ BLUE_LIGHT = "blue-light",
267
+ BLUE = "blue",
268
+ BLUE_DARK = "blue-dark",
269
+ INDIGO = "indigo",
270
+ VIOLET = "violet",
271
+ PURPLE = "purple",
272
+ FUCHSIA = "fuchsia",
273
+ PINK = "pink",
274
+ ROSE = "rose",
275
+ ORANGE_DARK = "orange-dark",
276
+ ORANGE = "orange",
277
+ YELLOW = "yellow",
278
+ ERROR = "error",
279
+ WARNING = "warning",
280
+ SUCCESS = "success"
281
+ }
282
+
283
+ declare interface EntityConfig {
284
+ name: string;
285
+ color: EntityColor;
286
+ type: EntityType;
287
+ }
288
+
289
+ declare enum EntityType {
290
+ INDIVIDUAL = "individual",
291
+ BUSINESS = "business"
292
+ }
293
+
294
+ declare enum EntityType_2 {
295
+ BUSINESS = "business",
296
+ INDIVIDUAL = "individual"
297
+ }
298
+
152
299
  declare function getConfig(): TenantConfig;
153
300
 
154
- declare function getCustomFieldDefinitionForEntity(entityType: EntityType_2): CustomFieldDefinitionIndex[];
301
+ declare function getCustomFieldDefinitionForEntity(entityType: EntityType): CustomFieldDefinitionIndex[];
155
302
 
156
303
  declare function getOptions(): InitProps['options'];
157
304
 
305
+ declare type GlobalSearchCollectionName = 'business' | 'individual' | 'user';
306
+
307
+ declare interface IndividualIndexQueryParams extends WithSearchQuery {
308
+ }
309
+
310
+ declare enum IndividualStatus {
311
+ CONTACT = "contact",
312
+ LEAD = "lead",
313
+ CUSTOMER = "customer",
314
+ INACTIVE = "inactive"
315
+ }
316
+
158
317
  export declare const individualUuidSchema: z.core.$ZodBranded<z.ZodString, "IndividualUuid", "out">;
159
318
 
160
319
  declare interface InitProps {
@@ -168,8 +327,8 @@ declare interface InitProps {
168
327
  /**
169
328
  * Rendered after the built-in sections in the Overview tab of the business sidebar.
170
329
  */
171
- sidebarSections?: SidebarSection<{
172
- businessUuid: BusinessUuid;
330
+ sidebarSections?: WiseCrmSidebarSection<{
331
+ businessUuid: WiseCrmBusinessUuid;
173
332
  }>[];
174
333
  };
175
334
  deals: {
@@ -184,8 +343,8 @@ declare interface InitProps {
184
343
  /**
185
344
  * Rendered after the built-in sections in the Overview tab of the individual sidebar.
186
345
  */
187
- sidebarSections?: SidebarSection<{
188
- individualUuid: IndividualUuid;
346
+ sidebarSections?: WiseCrmSidebarSection<{
347
+ individualUuid: WiseCrmIndividualUuid;
189
348
  }>[];
190
349
  };
191
350
  widgets?: {
@@ -198,13 +357,81 @@ declare interface InitProps {
198
357
  };
199
358
  }
200
359
 
360
+ declare enum Locale {
361
+ EN_US = "en-US",
362
+ NL_BE = "nl-BE",
363
+ FR_BE = "fr-BE"
364
+ }
365
+
366
+ declare interface MailIndexQueryParams extends WithFilterQuery<{
367
+ clientUuid?: string;
368
+ dealUuid?: DealUuid;
369
+ clientType?: ClientType;
370
+ }> {
371
+ }
372
+
373
+ declare interface MailTemplateIndexQueryParams {
374
+ }
375
+
376
+ declare type MailTemplateUuid = default_2.infer<typeof mailTemplateUuidSchema>;
377
+
378
+ declare const mailTemplateUuidSchema: default_2.core.$ZodBranded<default_2.ZodUUID, "MailTemplateUuid", "out">;
379
+
380
+ declare enum MimeType_2 {
381
+ APPLICATION_PDF = "application/pdf",
382
+ APPLICATION_MSWORD = "application/msword",
383
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
384
+ APPLICATION_VND_MS_POWERPOINT = "application/vnd.ms-powerpoint",
385
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
386
+ TEXT_PLAIN = "text/plain",
387
+ TEXT_HTML = "text/html",
388
+ TEXT_CSV = "text/csv",
389
+ IMAGE_JPEG = "image/jpeg",
390
+ IMAGE_PNG = "image/png",
391
+ IMAGE_TIFF = "image/tiff",
392
+ IMAGE_BMP = "image/bmp",
393
+ IMAGE_HEIC = "image/heic",
394
+ IMAGE_WEBP = "image/webp",
395
+ IMAGE_GIF = "image/gif",
396
+ APPLICATION_OCTET_STREAM = "application/octet-stream"
397
+ }
398
+
399
+ declare interface NoteIndexQueryParams {
400
+ }
401
+
201
402
  declare function notifyDealChanged(dealUuid: DealUuid): void;
202
403
 
404
+ declare interface PublicFileReference {
405
+ uuid: string;
406
+ name: string;
407
+ blurHash?: string | null;
408
+ downloadUrl: string;
409
+ mimeType: MimeType_2;
410
+ }
411
+
412
+ declare interface TenantConfig {
413
+ name: string;
414
+ billingConfig: TenantConfigBilling;
415
+ brandColors: BrandColor;
416
+ businessConfig: BusinessConfig;
417
+ dealConfig: DealConfig;
418
+ entities: EntityConfig[];
419
+ logoUrl: string | null;
420
+ }
421
+
422
+ declare type TenantConfigBilling = {
423
+ individualBillingInformationRequirement: BillingInformationRequirement;
424
+ businessBillingInformationRequirement: BillingInformationRequirement;
425
+ };
426
+
427
+ declare interface UserIndexQueryParams extends WithSearchQuery {
428
+ }
429
+
203
430
  export declare function useWiseCrm(): {
204
- getEntityConfig: (type: EntityType_2) => EntityConfig | null;
431
+ getEntityConfig: (type: EntityType) => EntityConfig | null;
205
432
  goToReturnRoute: () => void;
206
- openBusinessDetail: (businessUuid: BusinessUuid) => void;
207
- openIndividualDetail: (individualUuid: IndividualUuid) => void;
433
+ openBusinessDetail: (businessUuid: WiseCrmBusinessUuid) => void;
434
+ openIndividualDetail: (individualUuid: WiseCrmIndividualUuid) => void;
208
435
  storeReturnRoute: (route: RouteLocationNormalized, excludedRoutes?: (string | RegExp)[]) => void;
209
436
  };
210
437
 
@@ -220,8 +447,8 @@ export declare function useWiseCrmConfig(): {
220
447
  export declare function useWiseCrmContactCreateDialog(): {
221
448
  close: (value?: any) => void;
222
449
  open: (options?: {
223
- entityType?: EntityType_2 | null;
224
- onCreate?: (uuid: BusinessUuid | IndividualUuid, name: string, type: EntityType_2) => void;
450
+ entityType?: EntityType | null;
451
+ onCreate?: (uuid: WiseCrmBusinessUuid | WiseCrmIndividualUuid, name: string, type: EntityType) => void;
225
452
  }) => void;
226
453
  };
227
454
 
@@ -263,8 +490,8 @@ close: () => any;
263
490
  }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
264
491
  onClose?: (() => any) | undefined;
265
492
  }>, {
266
- entityType: EntityType_3 | null;
267
- onCreate: (uuid: BusinessUuid | IndividualUuid, name: string, type: EntityType_3) => void;
493
+ entityType: EntityType_2 | null;
494
+ onCreate: (uuid: WiseCrmBusinessUuid | WiseCrmIndividualUuid, name: string, type: EntityType_2) => void;
268
495
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
269
496
 
270
497
  export declare const WiseCrmCrmDealOverview: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
@@ -1648,12 +1875,12 @@ export declare interface WiseCrmQueryKeys {
1648
1875
  };
1649
1876
  contactPersonDetail: {
1650
1877
  params: {
1651
- contactPersonUuid: ComputedRef<WiseCrmIndividualUuid_2 | null>;
1878
+ contactPersonUuid: ComputedRef<WiseCrmIndividualUuid | null>;
1652
1879
  };
1653
1880
  };
1654
1881
  dealContactPersonDetail: {
1655
1882
  params: {
1656
- contactPersonUuid: ComputedRef<IndividualUuid>;
1883
+ contactPersonUuid: ComputedRef<WiseCrmIndividualUuid>;
1657
1884
  dealUuid: ComputedRef<DealUuid>;
1658
1885
  };
1659
1886
  };
@@ -1726,23 +1953,23 @@ export declare interface WiseCrmQueryKeys {
1726
1953
  };
1727
1954
  wiseCrmBusinessBillingInformation: {
1728
1955
  params: {
1729
- businessUuid: ComputedRef<WiseCrmBusinessUuid_2>;
1956
+ businessUuid: ComputedRef<WiseCrmBusinessUuid>;
1730
1957
  };
1731
1958
  };
1732
1959
  wiseCrmBusinessDetail: {
1733
1960
  params: {
1734
- businessUuid: ComputedRef<WiseCrmBusinessUuid_2 | null>;
1961
+ businessUuid: ComputedRef<WiseCrmBusinessUuid | null>;
1735
1962
  };
1736
1963
  };
1737
1964
  wiseCrmBusinessStatistics: void;
1738
1965
  wiseCrmIndividualBillingInformation: {
1739
1966
  params: {
1740
- individualUuid: ComputedRef<WiseCrmIndividualUuid_2 | null>;
1967
+ individualUuid: ComputedRef<WiseCrmIndividualUuid | null>;
1741
1968
  };
1742
1969
  };
1743
1970
  wiseCrmIndividualDetail: {
1744
1971
  params: {
1745
- individualUuid: ComputedRef<WiseCrmIndividualUuid_2 | null>;
1972
+ individualUuid: ComputedRef<WiseCrmIndividualUuid | null>;
1746
1973
  };
1747
1974
  };
1748
1975
  wiseCrmIndividualStatistics: void;
@@ -1772,4 +1999,12 @@ export declare interface WiseCrmSidebarSection<TProps extends Record<string, unk
1772
1999
  component: Component<TProps>;
1773
2000
  }
1774
2001
 
2002
+ declare interface WithFilterQuery<TFilters extends Record<string, any>> {
2003
+ filters: TFilters;
2004
+ }
2005
+
2006
+ declare interface WithSearchQuery {
2007
+ search?: string;
2008
+ }
2009
+
1775
2010
  export { }
package/dist/testing.d.ts CHANGED
@@ -1,20 +1,59 @@
1
- import { BusinessContactPersonResponse } from '#client/index.ts';
2
- import { BusinessNotesResponse } from '#client/index.ts';
3
- import { DealContactPersonResponse } from '#client/index.ts';
4
- import { DealNotesResponse } from '#client/index.ts';
5
- import { IndividualContactPersonResponse } from '#client/index.ts';
6
- import { IndividualNotesResponse } from '#client/index.ts';
7
- import { ViewBusinessBillingInformationDetailResponse } from '#client/index.ts';
8
- import { ViewBusinessDetailResponse } from '#client/index.ts';
9
- import { ViewBusinessIndexResponseItem } from '#client/index.ts';
10
- import { ViewBusinessStatisticsResponse } from '#client/index.ts';
11
- import { ViewDealDetailResponse } from '#client/index.ts';
12
- import { ViewDealIndexResponseItem } from '#client/index.ts';
13
- import { ViewIndividualBillingInformationDetailResponse } from '#client/index.ts';
14
- import { ViewIndividualDetailResponse } from '#client/index.ts';
15
- import { ViewIndividualIndexResponseItem } from '#client/index.ts';
16
- import { ViewIndividualStatisticsResponse } from '#client/index.ts';
17
- import { ViewTenantConfigDetailV1Response } from '#client/index.ts';
1
+ declare type AddressResponse = {
2
+ placeName: string | null;
3
+ placeId: string | null;
4
+ country: string | null;
5
+ countryCode: string | null;
6
+ city: string | null;
7
+ postalCode: string | null;
8
+ streetName: string | null;
9
+ streetNumber: string | null;
10
+ unit: string | null;
11
+ coordinates: CoordinatesResponse | null;
12
+ };
13
+
14
+ declare enum BillingInformationRequirement {
15
+ EMAIL_ONLY = "EMAIL_ONLY",
16
+ ADDRESS_ONLY = "ADDRESS_ONLY",
17
+ EMAIL_AND_ADDRESS = "EMAIL_AND_ADDRESS",
18
+ EMAIL_OR_ADDRESS = "EMAIL_OR_ADDRESS"
19
+ }
20
+
21
+ declare type BrandColorsResponse = {
22
+ brand25: string;
23
+ brand50: string;
24
+ brand100: string;
25
+ brand200: string;
26
+ brand300: string;
27
+ brand400: string;
28
+ brand500: string;
29
+ brand600: string;
30
+ brand700: string;
31
+ brand800: string;
32
+ brand900: string;
33
+ brand950: string;
34
+ };
35
+
36
+ declare type BusinessBillingInformationResponse = {
37
+ uuid: string;
38
+ invoiceEmail: string | null;
39
+ invoiceCcEmails: Array<string>;
40
+ reminderEmail: string | null;
41
+ reminderCcEmails: Array<string>;
42
+ purchaseNoteEmail: string | null;
43
+ purchaseNoteCcEmails: Array<string>;
44
+ location: LocationDetailResponse | null;
45
+ };
46
+
47
+ declare type BusinessContactPersonResponse = {
48
+ uuid: string;
49
+ firstName: string;
50
+ lastName: string;
51
+ email: string | null;
52
+ phone: string | null;
53
+ mobilePhone: string | null;
54
+ position: string | null;
55
+ isPrimary: boolean;
56
+ };
18
57
 
19
58
  export declare class BusinessFactory {
20
59
  static createBillingInformation(overrides?: DeepPartial<ViewBusinessBillingInformationDetailResponse>): ViewBusinessBillingInformationDetailResponse;
@@ -25,6 +64,273 @@ export declare class BusinessFactory {
25
64
  static createStatistics(overrides?: Partial<ViewBusinessStatisticsResponse>): ViewBusinessStatisticsResponse;
26
65
  }
27
66
 
67
+ declare type BusinessNotesResponse = {
68
+ uuid: string;
69
+ updatedAt: string;
70
+ content: string;
71
+ files: Array<PresignedFileResponse>;
72
+ lastUpdatedByUser: string;
73
+ lastUpdatedByUserUuid: string;
74
+ };
75
+
76
+ declare enum BusinessStatus {
77
+ LEAD = "lead",
78
+ CUSTOMER = "customer",
79
+ INACTIVE = "inactive",
80
+ ARCHIVED = "archived"
81
+ }
82
+
83
+ declare type ChildParentBusinessResponse = {
84
+ uuid: string;
85
+ name: string;
86
+ createdAt: string;
87
+ updatedAt: string;
88
+ email: string | null;
89
+ phone: string | null;
90
+ mobilePhone: string | null;
91
+ vatNumber: VatNumberResponse | null;
92
+ companyNumber: string | null;
93
+ location: LocationDetailResponse | null;
94
+ };
95
+
96
+ declare enum ClientStatus {
97
+ LEAD = "lead",
98
+ CUSTOMER = "customer",
99
+ INACTIVE = "inactive",
100
+ ARCHIVED = "archived",
101
+ CONTACT = "contact"
102
+ }
103
+
104
+ declare enum ClientType {
105
+ BUSINESS = "business",
106
+ INDIVIDUAL = "individual"
107
+ }
108
+
109
+ declare type CoordinatesResponse = {
110
+ longitude: number;
111
+ latitude: number;
112
+ };
113
+
114
+ declare enum CountryCode {
115
+ AF = "AF",
116
+ AL = "AL",
117
+ DZ = "DZ",
118
+ AD = "AD",
119
+ AO = "AO",
120
+ AG = "AG",
121
+ AR = "AR",
122
+ AM = "AM",
123
+ AU = "AU",
124
+ AT = "AT",
125
+ AZ = "AZ",
126
+ BS = "BS",
127
+ BH = "BH",
128
+ BD = "BD",
129
+ BB = "BB",
130
+ BY = "BY",
131
+ BE = "BE",
132
+ BZ = "BZ",
133
+ BJ = "BJ",
134
+ BT = "BT",
135
+ BO = "BO",
136
+ BA = "BA",
137
+ BW = "BW",
138
+ BR = "BR",
139
+ BN = "BN",
140
+ BG = "BG",
141
+ BF = "BF",
142
+ BI = "BI",
143
+ KH = "KH",
144
+ CM = "CM",
145
+ CA = "CA",
146
+ CV = "CV",
147
+ CF = "CF",
148
+ TD = "TD",
149
+ CL = "CL",
150
+ CN = "CN",
151
+ CO = "CO",
152
+ KM = "KM",
153
+ CG = "CG",
154
+ CR = "CR",
155
+ HR = "HR",
156
+ CU = "CU",
157
+ CY = "CY",
158
+ CZ = "CZ",
159
+ DK = "DK",
160
+ DJ = "DJ",
161
+ DM = "DM",
162
+ DO = "DO",
163
+ EC = "EC",
164
+ EG = "EG",
165
+ SV = "SV",
166
+ GQ = "GQ",
167
+ ER = "ER",
168
+ EE = "EE",
169
+ ET = "ET",
170
+ FJ = "FJ",
171
+ FI = "FI",
172
+ FR = "FR",
173
+ GA = "GA",
174
+ GM = "GM",
175
+ GE = "GE",
176
+ DE = "DE",
177
+ GH = "GH",
178
+ GR = "GR",
179
+ GD = "GD",
180
+ GT = "GT",
181
+ GN = "GN",
182
+ GW = "GW",
183
+ GY = "GY",
184
+ HT = "HT",
185
+ HN = "HN",
186
+ HU = "HU",
187
+ IS = "IS",
188
+ IN = "IN",
189
+ ID = "ID",
190
+ IR = "IR",
191
+ IQ = "IQ",
192
+ IE = "IE",
193
+ IL = "IL",
194
+ IT = "IT",
195
+ JM = "JM",
196
+ JP = "JP",
197
+ JO = "JO",
198
+ KZ = "KZ",
199
+ KE = "KE",
200
+ KI = "KI",
201
+ KP = "KP",
202
+ KR = "KR",
203
+ KW = "KW",
204
+ KG = "KG",
205
+ LA = "LA",
206
+ LV = "LV",
207
+ LB = "LB",
208
+ LS = "LS",
209
+ LR = "LR",
210
+ LY = "LY",
211
+ LI = "LI",
212
+ LT = "LT",
213
+ LU = "LU",
214
+ MG = "MG",
215
+ MW = "MW",
216
+ MY = "MY",
217
+ MV = "MV",
218
+ ML = "ML",
219
+ MT = "MT",
220
+ MH = "MH",
221
+ MR = "MR",
222
+ MU = "MU",
223
+ MX = "MX",
224
+ FM = "FM",
225
+ MD = "MD",
226
+ MC = "MC",
227
+ MN = "MN",
228
+ ME = "ME",
229
+ MA = "MA",
230
+ MZ = "MZ",
231
+ MM = "MM",
232
+ NA = "NA",
233
+ NR = "NR",
234
+ NP = "NP",
235
+ NL = "NL",
236
+ NZ = "NZ",
237
+ NI = "NI",
238
+ NE = "NE",
239
+ NG = "NG",
240
+ XI = "XI",
241
+ MK = "MK",
242
+ NO = "NO",
243
+ OM = "OM",
244
+ PK = "PK",
245
+ PW = "PW",
246
+ PA = "PA",
247
+ PG = "PG",
248
+ PY = "PY",
249
+ PE = "PE",
250
+ PH = "PH",
251
+ PL = "PL",
252
+ PT = "PT",
253
+ QA = "QA",
254
+ RO = "RO",
255
+ RU = "RU",
256
+ RW = "RW",
257
+ KN = "KN",
258
+ LC = "LC",
259
+ VC = "VC",
260
+ WS = "WS",
261
+ SM = "SM",
262
+ ST = "ST",
263
+ SA = "SA",
264
+ SN = "SN",
265
+ RS = "RS",
266
+ SC = "SC",
267
+ SL = "SL",
268
+ SG = "SG",
269
+ SK = "SK",
270
+ SI = "SI",
271
+ SB = "SB",
272
+ SO = "SO",
273
+ ZA = "ZA",
274
+ SS = "SS",
275
+ ES = "ES",
276
+ LK = "LK",
277
+ SD = "SD",
278
+ SR = "SR",
279
+ SE = "SE",
280
+ CH = "CH",
281
+ SY = "SY",
282
+ TW = "TW",
283
+ TJ = "TJ",
284
+ TZ = "TZ",
285
+ TH = "TH",
286
+ TL = "TL",
287
+ TG = "TG",
288
+ TO = "TO",
289
+ TT = "TT",
290
+ TN = "TN",
291
+ TR = "TR",
292
+ TM = "TM",
293
+ TV = "TV",
294
+ UG = "UG",
295
+ UA = "UA",
296
+ AE = "AE",
297
+ GB = "GB",
298
+ US = "US",
299
+ UY = "UY",
300
+ UZ = "UZ",
301
+ VU = "VU",
302
+ VA = "VA",
303
+ VE = "VE",
304
+ VN = "VN",
305
+ YE = "YE",
306
+ ZM = "ZM",
307
+ ZW = "ZW"
308
+ }
309
+
310
+ declare type DealBoardColumnResponse = {
311
+ uuid: string;
312
+ key: string;
313
+ displayName: string;
314
+ color: EntityColor;
315
+ };
316
+
317
+ declare type DealClientResponse = {
318
+ uuid: string;
319
+ type: ClientType;
320
+ status: ClientStatus;
321
+ name: string;
322
+ };
323
+
324
+ declare type DealContactPersonResponse = {
325
+ uuid: string;
326
+ firstName: string;
327
+ lastName: string;
328
+ email: string | null;
329
+ phone: string | null;
330
+ mobilePhone: string | null;
331
+ isPrimary: boolean;
332
+ };
333
+
28
334
  export declare class DealFactory {
29
335
  static createContactPerson(overrides?: DeepPartial<DealContactPersonResponse>): DealContactPersonResponse;
30
336
  static createDetail(overrides?: DeepPartial<ViewDealDetailResponse>): ViewDealDetailResponse;
@@ -32,6 +338,40 @@ export declare class DealFactory {
32
338
  static createIndexList(count: number, overrides?: DeepPartial<ViewDealIndexResponseItem>): ViewDealIndexResponseItem[];
33
339
  }
34
340
 
341
+ declare type DealIndexBoardColumnResponse = {
342
+ uuid: string;
343
+ key: string;
344
+ displayName: string;
345
+ };
346
+
347
+ declare type DealIndexUserResponse = {
348
+ uuid: string;
349
+ firstName: string | null;
350
+ lastName: string | null;
351
+ };
352
+
353
+ declare type DealNotesResponse = {
354
+ uuid: string;
355
+ updatedAt: string;
356
+ content: string;
357
+ files: Array<PresignedFileResponse>;
358
+ lastUpdatedByUser: string;
359
+ lastUpdatedByUserUuid: string;
360
+ };
361
+
362
+ declare enum DealSource {
363
+ MAIL = "mail",
364
+ WEBSITE = "website",
365
+ PHONE = "phone",
366
+ TENDER = "tender"
367
+ }
368
+
369
+ declare type DealUserResponse = {
370
+ uuid: string;
371
+ firstName: string | null;
372
+ lastName: string | null;
373
+ };
374
+
35
375
  /**
36
376
  * A utility type that makes all properties of a given type T optional,
37
377
  * including nested properties. This is useful for creating partial objects
@@ -41,6 +381,52 @@ declare type DeepPartial<T> = {
41
381
  [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
42
382
  };
43
383
 
384
+ declare enum EntityColor {
385
+ MOSS = "moss",
386
+ GREEN_LIGHT = "green-light",
387
+ GREEN = "green",
388
+ TEAL = "teal",
389
+ CYAN = "cyan",
390
+ BLUE_LIGHT = "blue-light",
391
+ BLUE = "blue",
392
+ BLUE_DARK = "blue-dark",
393
+ INDIGO = "indigo",
394
+ VIOLET = "violet",
395
+ PURPLE = "purple",
396
+ FUCHSIA = "fuchsia",
397
+ PINK = "pink",
398
+ ROSE = "rose",
399
+ ORANGE_DARK = "orange-dark",
400
+ ORANGE = "orange",
401
+ YELLOW = "yellow",
402
+ ERROR = "error",
403
+ WARNING = "warning",
404
+ SUCCESS = "success"
405
+ }
406
+
407
+ declare enum EntityType {
408
+ INDIVIDUAL = "individual",
409
+ BUSINESS = "business"
410
+ }
411
+
412
+ declare type IndividualBillingInformationResponse = {
413
+ uuid: string;
414
+ invoiceEmail: string | null;
415
+ invoiceCcEmails: Array<string>;
416
+ location: LocationDetailResponse | null;
417
+ };
418
+
419
+ declare type IndividualContactPersonResponse = {
420
+ uuid: string;
421
+ firstName: string;
422
+ lastName: string;
423
+ email: string | null;
424
+ phone: string | null;
425
+ mobilePhone: string | null;
426
+ position: string | null;
427
+ isPrimary: boolean;
428
+ };
429
+
44
430
  export declare class IndividualFactory {
45
431
  static createBillingInformation(overrides?: DeepPartial<ViewIndividualBillingInformationDetailResponse>): ViewIndividualBillingInformationDetailResponse;
46
432
  static createContactPerson(overrides?: DeepPartial<IndividualContactPersonResponse>): IndividualContactPersonResponse;
@@ -50,6 +436,63 @@ export declare class IndividualFactory {
50
436
  static createStatistics(overrides?: Partial<ViewIndividualStatisticsResponse>): ViewIndividualStatisticsResponse;
51
437
  }
52
438
 
439
+ declare type IndividualNotesResponse = {
440
+ uuid: string;
441
+ updatedAt: string;
442
+ content: string;
443
+ files: Array<PresignedFileResponse>;
444
+ lastUpdatedByUser: string;
445
+ lastUpdatedByUserUuid: string;
446
+ };
447
+
448
+ declare enum IndividualStatus {
449
+ CONTACT = "contact",
450
+ LEAD = "lead",
451
+ CUSTOMER = "customer",
452
+ INACTIVE = "inactive"
453
+ }
454
+
455
+ declare type LinkedBusinessResponse = {
456
+ uuid: string;
457
+ name: string;
458
+ position: string | null;
459
+ email: string | null;
460
+ phone: string | null;
461
+ mobilePhone: string | null;
462
+ };
463
+
464
+ declare enum Locale {
465
+ EN_US = "en-US",
466
+ NL_BE = "nl-BE",
467
+ FR_BE = "fr-BE"
468
+ }
469
+
470
+ declare type LocationDetailResponse = {
471
+ uuid: string;
472
+ createdAt: string;
473
+ updatedAt: string;
474
+ address: AddressResponse;
475
+ };
476
+
477
+ declare enum MimeType_2 {
478
+ APPLICATION_PDF = "application/pdf",
479
+ APPLICATION_MSWORD = "application/msword",
480
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
481
+ APPLICATION_VND_MS_POWERPOINT = "application/vnd.ms-powerpoint",
482
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
483
+ TEXT_PLAIN = "text/plain",
484
+ TEXT_HTML = "text/html",
485
+ TEXT_CSV = "text/csv",
486
+ IMAGE_JPEG = "image/jpeg",
487
+ IMAGE_PNG = "image/png",
488
+ IMAGE_TIFF = "image/tiff",
489
+ IMAGE_BMP = "image/bmp",
490
+ IMAGE_HEIC = "image/heic",
491
+ IMAGE_WEBP = "image/webp",
492
+ IMAGE_GIF = "image/gif",
493
+ APPLICATION_OCTET_STREAM = "application/octet-stream"
494
+ }
495
+
53
496
  export declare class NoteFactory {
54
497
  static createBusinessNote(overrides?: DeepPartial<BusinessNotesResponse>): BusinessNotesResponse;
55
498
  static createBusinessNoteList(count: number, overrides?: DeepPartial<BusinessNotesResponse>): BusinessNotesResponse[];
@@ -59,8 +502,227 @@ export declare class NoteFactory {
59
502
  static createIndividualNoteList(count: number, overrides?: DeepPartial<IndividualNotesResponse>): IndividualNotesResponse[];
60
503
  }
61
504
 
505
+ declare type PresignedFileResponse = {
506
+ uuid: string;
507
+ name: string;
508
+ mimeType: MimeType_2 | null;
509
+ url: string;
510
+ blurHash: string | null;
511
+ variants: Array<PresignedFileVariantResponse>;
512
+ };
513
+
514
+ declare type PresignedFileVariantResponse = {
515
+ label: string;
516
+ url: string;
517
+ };
518
+
519
+ declare enum SdkContentLocale {
520
+ NL_BE = "nl-BE",
521
+ EN_US = "en-US",
522
+ FR_BE = "fr-BE",
523
+ DE_DE = "de-DE"
524
+ }
525
+
526
+ declare type TenantConfigBilling = {
527
+ individualBillingInformationRequirement: BillingInformationRequirement;
528
+ businessBillingInformationRequirement: BillingInformationRequirement;
529
+ };
530
+
531
+ declare type TenantConfigBusiness = {
532
+ viesValidation: boolean;
533
+ requireIndividualOnCreate: boolean;
534
+ };
535
+
536
+ declare type TenantConfigEntities = {
537
+ entityType: EntityType;
538
+ entityName: string;
539
+ entityColor: EntityColor;
540
+ };
541
+
62
542
  export declare class TenantConfigFactory {
63
543
  static createDetail(overrides?: DeepPartial<ViewTenantConfigDetailV1Response>): ViewTenantConfigDetailV1Response;
64
544
  }
65
545
 
546
+ declare type TenantDealConfigResponse = {
547
+ enableBusinessDeals: boolean;
548
+ enableIndividualDeals: boolean;
549
+ creatableBusinessStatuses: Array<BusinessStatus>;
550
+ creatableIndividualStatuses: Array<IndividualStatus>;
551
+ };
552
+
553
+ declare type VatNumberResponse = {
554
+ countryCode: CountryCode;
555
+ /**
556
+ * only numbers
557
+ */
558
+ number: string;
559
+ };
560
+
561
+ declare type ViewBusinessBillingInformationDetailResponse = {
562
+ uuid: string;
563
+ createdAt: string;
564
+ updatedAt: string;
565
+ invoiceEmail: string | null;
566
+ invoiceCcEmails: Array<string>;
567
+ reminderEmail: string | null;
568
+ reminderCcEmails: Array<string>;
569
+ purchaseNoteEmail: string | null;
570
+ purchaseNoteCcEmails: Array<string>;
571
+ billingLocation: LocationDetailResponse | null;
572
+ };
573
+
574
+ declare type ViewBusinessDetailResponse = {
575
+ uuid: string;
576
+ createdAt: string;
577
+ updatedAt: string;
578
+ name: string;
579
+ email: string | null;
580
+ phone: string | null;
581
+ mobilePhone: string | null;
582
+ vatNumber: VatNumberResponse | null;
583
+ companyNumber: string | null;
584
+ location: LocationDetailResponse | null;
585
+ billingInformation: BusinessBillingInformationResponse | null;
586
+ contactPersons: Array<BusinessContactPersonResponse>;
587
+ parent: ChildParentBusinessResponse | null;
588
+ children: Array<ChildParentBusinessResponse>;
589
+ language: Locale;
590
+ customFields: {
591
+ [key: string]: unknown;
592
+ } | null;
593
+ };
594
+
595
+ declare type ViewBusinessIndexResponseItem = {
596
+ uuid: string;
597
+ name: string;
598
+ language: Locale;
599
+ email: string | null;
600
+ phone: string | null;
601
+ mobilePhone: string | null;
602
+ vatNumber: VatNumberResponse | null;
603
+ companyNumber: string | null;
604
+ parentName: string | null;
605
+ country: string | null;
606
+ city: string | null;
607
+ postalCode: string | null;
608
+ streetName: string | null;
609
+ streetNumber: string | null;
610
+ unit: string | null;
611
+ };
612
+
613
+ declare type ViewBusinessStatisticsResponse = {
614
+ total: number;
615
+ /**
616
+ * Percentage growth of businesses created in the last 30 days compared to the preceding 30 days
617
+ */
618
+ monthlyPercentageGrowth: number;
619
+ /**
620
+ * Amount of added businesses in the past 30 days
621
+ */
622
+ monthlyAdded: number;
623
+ };
624
+
625
+ declare type ViewDealDetailResponse = {
626
+ uuid: string;
627
+ name: string;
628
+ dealNumber: number;
629
+ dealLanguage: SdkContentLocale;
630
+ dealSource: DealSource;
631
+ client: DealClientResponse;
632
+ createdBy: DealUserResponse;
633
+ owner: DealUserResponse | null;
634
+ boardColumn: DealBoardColumnResponse;
635
+ contactPersons: Array<DealContactPersonResponse>;
636
+ createdAt: string;
637
+ updatedAt: string;
638
+ };
639
+
640
+ declare type ViewDealIndexResponseItem = {
641
+ uuid: string;
642
+ name: string;
643
+ dealNumber: number;
644
+ dealLanguage: 'nl-BE' | 'en-US' | 'fr-BE' | 'de-DE';
645
+ dealSource: 'mail' | 'website' | 'phone' | 'tender';
646
+ client: DealClientResponse;
647
+ createdBy: DealIndexUserResponse;
648
+ owner: DealIndexUserResponse | null;
649
+ boardColumn: DealIndexBoardColumnResponse;
650
+ createdAt: string;
651
+ updatedAt: string;
652
+ };
653
+
654
+ declare type ViewIndividualBillingInformationDetailResponse = {
655
+ uuid: string;
656
+ createdAt: string;
657
+ updatedAt: string;
658
+ invoiceEmail: string | null;
659
+ invoiceCcEmails: Array<string>;
660
+ billingLocation: LocationDetailResponse | null;
661
+ };
662
+
663
+ declare type ViewIndividualDetailResponse = {
664
+ uuid: string;
665
+ createdAt: string;
666
+ updatedAt: string;
667
+ firstName: string;
668
+ lastName: string;
669
+ email: string | null;
670
+ phone: string | null;
671
+ mobilePhone: string | null;
672
+ location: LocationDetailResponse | null;
673
+ billingInformation: IndividualBillingInformationResponse | null;
674
+ contactPersons: Array<IndividualContactPersonResponse>;
675
+ linkedBusinesses: Array<LinkedBusinessResponse>;
676
+ status: IndividualStatus;
677
+ language: Locale;
678
+ customFields: {
679
+ [key: string]: unknown;
680
+ } | null;
681
+ };
682
+
683
+ declare type ViewIndividualIndexResponseItem = {
684
+ uuid: string;
685
+ name: string;
686
+ language: Locale;
687
+ email: string | null;
688
+ phone: string | null;
689
+ mobilePhone: string | null;
690
+ status: IndividualStatus;
691
+ country: string | null;
692
+ city: string | null;
693
+ postalCode: string | null;
694
+ streetName: string | null;
695
+ streetNumber: string | null;
696
+ unit: string | null;
697
+ };
698
+
699
+ declare type ViewIndividualStatisticsResponse = {
700
+ total: number;
701
+ /**
702
+ * Percentage growth of individuals created in the last 30 days compared to the preceding 30 days
703
+ */
704
+ monthlyPercentageGrowth: number | null;
705
+ /**
706
+ * Amount of added individuals in the past 30 days
707
+ */
708
+ monthlyAdded: number;
709
+ };
710
+
711
+ declare type ViewTenantConfigDetailResponse = {
712
+ uuid: string;
713
+ name: string;
714
+ entities: Array<TenantConfigEntities>;
715
+ businessConfig: TenantConfigBusiness;
716
+ billingConfig: TenantConfigBilling;
717
+ dealConfig: TenantDealConfigResponse;
718
+ brandColors: BrandColorsResponse;
719
+ logoUrl: string | null;
720
+ };
721
+
722
+ declare type ViewTenantConfigDetailV1Response = ViewTenantConfigDetailV1Responses[keyof ViewTenantConfigDetailV1Responses];
723
+
724
+ declare type ViewTenantConfigDetailV1Responses = {
725
+ 200: ViewTenantConfigDetailResponse;
726
+ };
727
+
66
728
  export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wisemen/wise-crm-web",
3
3
  "type": "module",
4
- "version": "2.0.0-alpha.25",
4
+ "version": "2.0.0-alpha.28",
5
5
  "private": false,
6
6
  "description": "CRM frontend package with Vue 3 components, composables and types",
7
7
  "author": "Wisemen",