@vini-wine/admin-core-models 1.1.54 → 1.1.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vini-wine/admin-core-models",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "Core package for Vini models related to the admin API.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/dist/index.d.mts DELETED
@@ -1,706 +0,0 @@
1
- import { CurrencyCodeEnum, UploadVisibilityTypeEnum, CountryEnum, ContactPointTypeEnum, SupplierStatusEnum, OrganisationStatusEnum, ImageVariationEnum, ImageTypeEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, RoleEnum, PermissionEnum, PlanEnum, TimezoneEnum, UserOrganisationStatusEnum, GenderEnum, LocaleEnum, UserStatusEnum, DateTimeFormatEnum, B2bMarketPriceUploadStatusEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CurrencyRateSourceEnum, CustomerStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, UploadStatusEnum, UploadTypeEnum, PackageEnum, OfferRequestStatusEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, OrderStatusEnum, DocumentTypeEnum, MimeTypeEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, InboundEmailParsedStatusEnum, NotificationTypeEnum, NotificationChannelEnum, OfferAlertTimelineActionEnum, OrganisationUserInvitationStatusEnum, PlanFeatureEnum, UserOrganisationClaimStatusEnum, VintageScoreUploadStatusEnum } from '@vini-wine/core-enums';
2
- import { PriceDto, B2bMarketPriceDto, VatTaxDto, SupplierDto, OrganisationDto, CountryDto, SellerDto, RegionDto, WineTypeDto, WineryDto, WineDto, VintageDto, VintageProductDto, UploadDto, OfferDto } from '@vini-wine/core-dtos';
3
-
4
- interface PriceModel {
5
- priceMicros: number;
6
- currency: CurrencyCodeEnum;
7
- visibility: {
8
- id: UploadVisibilityTypeEnum;
9
- };
10
- }
11
- declare const createPriceDtoFromAdminPriceModel: (price: PriceModel) => PriceDto;
12
-
13
- interface B2bMarketPriceModel {
14
- price: PriceModel | null;
15
- updatedAt: Date;
16
- }
17
- declare const createB2BMarketPriceDtoFromAdminB2BMarketPriceModel: (b2bMarketPrice: B2bMarketPriceModel) => B2bMarketPriceDto;
18
-
19
- interface UUID {
20
- uuid: string;
21
- }
22
-
23
- interface PostalAddressModel {
24
- countryCode: CountryEnum;
25
- locality: string;
26
- region: string | null;
27
- postalCode: string;
28
- streetAddress: string;
29
- }
30
-
31
- interface VatTaxModel {
32
- countryCode: CountryEnum;
33
- value: string;
34
- }
35
- declare const createVatTaxDtoFromAdminVatTaxModel: (vatTax: VatTaxModel) => VatTaxDto;
36
-
37
- interface ContactTypeModel {
38
- id: ContactPointTypeEnum;
39
- }
40
-
41
- interface TelephoneModel {
42
- number: string;
43
- countryCode: CountryEnum;
44
- }
45
-
46
- interface ContactPointModel extends UUID {
47
- email: string | null;
48
- telephone: TelephoneModel | null;
49
- name: string;
50
- contactType: ContactTypeModel;
51
- createdAt: Date;
52
- updatedAt: Date;
53
- createdOrganisation?: OrganisationModel;
54
- createdUser?: UserAccountModel | null;
55
- }
56
-
57
- interface SupplierModel extends UUID {
58
- isCustomer: boolean;
59
- name: string;
60
- createdAt: Date;
61
- status: {
62
- id: SupplierStatusEnum;
63
- };
64
- supplierOrganisation?: OrganisationModel;
65
- organisation?: OrganisationModel;
66
- primaryLogisticsContactPoint?: ContactPointModel | null;
67
- primarySalesContactPoint?: ContactPointModel | null;
68
- }
69
- declare const createSupplierDtoFromAdminSupplierModel: (supplier: SupplierModel) => SupplierDto;
70
-
71
- interface OrganisationStatusModel {
72
- id: OrganisationStatusEnum;
73
- }
74
-
75
- interface ImageVariationModel {
76
- id: ImageVariationEnum;
77
- }
78
-
79
- interface ImageTypeModel {
80
- id: ImageTypeEnum;
81
- }
82
-
83
- interface ImageImageTypeCropPropertyModel {
84
- imageType: {
85
- id: ImageTypeEnum;
86
- };
87
- crop: {
88
- width: number;
89
- height: number;
90
- x: number;
91
- y: number;
92
- };
93
- }
94
-
95
- interface ImageModel extends UUID {
96
- name: string;
97
- mime: string;
98
- height: number;
99
- width: number;
100
- url: string;
101
- variation: ImageVariationModel;
102
- type: ImageTypeModel;
103
- size: number;
104
- originalImage?: ImageModel;
105
- imageImageTypeCropProperties?: ImageImageTypeCropPropertyModel[];
106
- }
107
-
108
- interface IntegrationExactModel extends UUID {
109
- organisation?: OrganisationModel;
110
- exactClientId: string;
111
- exactCountryCode: IntegrationExactCountryCodeEnum;
112
- exactDivision: string | null;
113
- status: {
114
- id: IntegrationExactStatusEnum;
115
- };
116
- }
117
-
118
- interface RoleModel {
119
- id: RoleEnum;
120
- permissions?: PermissionModel[];
121
- }
122
-
123
- interface PermissionModel {
124
- roles?: RoleModel[];
125
- id: PermissionEnum;
126
- }
127
-
128
- interface PlanDataRetentionModel {
129
- numDays: number;
130
- }
131
-
132
- interface PlanUploadModel {
133
- threshold: number;
134
- }
135
-
136
- interface PlanUploadServiceModel {
137
- threshold: number;
138
- }
139
-
140
- interface PlanAlertModel {
141
- limitActiveAlerts: number;
142
- }
143
-
144
- interface PlanUserOrganisationModel {
145
- threshold: number;
146
- }
147
-
148
- interface PlanModel {
149
- id: PlanEnum;
150
- dataRetention: PlanDataRetentionModel;
151
- upload: PlanUploadModel;
152
- uploadService: PlanUploadServiceModel;
153
- alert: PlanAlertModel;
154
- userOrganisation: PlanUserOrganisationModel;
155
- }
156
-
157
- interface OrganisationModel extends UUID {
158
- suppliers?: Partial<SupplierModel>[];
159
- billingPostalAddress?: PostalAddressModel;
160
- defaultShippingPostalAddress?: PostalAddressModel | null;
161
- organisationOwner?: Partial<UserAccountModel>;
162
- registeredBy?: Partial<UserAccountModel>;
163
- userOrganisations?: UserOrganisationModel[];
164
- avatar?: ImageModel | null;
165
- integrationExact?: IntegrationExactModel | null;
166
- permissions?: PermissionModel[];
167
- plan?: PlanModel;
168
- name: string;
169
- legalName: string;
170
- vatTax: VatTaxModel;
171
- createdAt: Date;
172
- defaultTimezone: TimezoneEnum;
173
- status: OrganisationStatusModel;
174
- }
175
- declare const createOrganisationDtoFromAdminOrganisationModel: (organisation: OrganisationModel) => OrganisationDto;
176
-
177
- interface UserOrganisationStatusModel {
178
- id: UserOrganisationStatusEnum;
179
- }
180
-
181
- interface UserOrganisationModel {
182
- organisation: OrganisationModel;
183
- createdAt: Date;
184
- isOrganisationOwner: boolean;
185
- isUserDefaultOrganisation: boolean;
186
- status: UserOrganisationStatusModel;
187
- user?: UserAccountModel;
188
- permissions?: PermissionModel[];
189
- roles?: RoleModel[];
190
- }
191
-
192
- interface GenderModel extends UUID {
193
- id: GenderEnum;
194
- name: string;
195
- }
196
-
197
- interface PersonModel extends UUID {
198
- gender: GenderModel;
199
- firstName: string;
200
- lastName: string;
201
- preferredLanguage: LocaleEnum;
202
- preferredCurrency: CurrencyCodeEnum;
203
- }
204
-
205
- interface UserStatusModel {
206
- id: UserStatusEnum;
207
- }
208
-
209
- interface UserAccountModel extends UUID {
210
- person: PersonModel;
211
- selectedUserOrganisation?: UserOrganisationModel | null;
212
- permissions?: PermissionModel[];
213
- roles?: RoleModel[];
214
- userOrganisations?: UserOrganisationModel[];
215
- numNotificationsUnPreRead?: number;
216
- avatar?: ImageModel;
217
- status: UserStatusModel;
218
- email: string;
219
- emailVerified: boolean;
220
- lastLoginAt: Date;
221
- defaultTimezone: TimezoneEnum;
222
- defaultDateTimeFormat: DateTimeFormatEnum;
223
- createdAt: Date;
224
- updatedAt: Date;
225
- }
226
-
227
- interface B2bMarketPriceUploadModel extends UUID {
228
- numItems: number;
229
- createdAt: Date;
230
- updatedAt: Date;
231
- status: {
232
- id: B2bMarketPriceUploadStatusEnum;
233
- };
234
- uploadedBy: UserAccountModel;
235
- }
236
-
237
- interface ContactRequestModel extends UUID {
238
- user?: UserAccountModel | null;
239
- status: {
240
- id: ContactRequestStatusEnum;
241
- };
242
- type: {
243
- id: ContactRequestTypeEnum;
244
- };
245
- code: string;
246
- firstName: string;
247
- lastName: string;
248
- email: string;
249
- telephone: TelephoneModel;
250
- preferredLanguage: LocaleEnum;
251
- message: string;
252
- }
253
-
254
- interface CountryModel {
255
- codeAlpha2: CountryEnum;
256
- codeAlpha3: string;
257
- codeUn: string;
258
- }
259
- declare const createCountryDtoFromAdminCountryModel: (country: CountryModel) => CountryDto;
260
-
261
- interface CurrencyRateModel {
262
- currencyCode: CurrencyCodeEnum;
263
- rate: number;
264
- synchronizedAt: Date;
265
- source: CurrencyRateSourceEnum;
266
- }
267
-
268
- interface CustomerModel extends UUID {
269
- isSupplier: boolean;
270
- name: string;
271
- createdAt: Date;
272
- status: {
273
- id: CustomerStatusEnum;
274
- };
275
- customerOrganisation?: OrganisationModel;
276
- organisation?: OrganisationModel;
277
- primaryLogisticsContactPoint?: ContactPointModel | null;
278
- primarySalesContactPoint?: ContactPointModel | null;
279
- }
280
-
281
- interface SellerModel {
282
- organisation?: OrganisationModel;
283
- }
284
- declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
285
-
286
- interface RegionModel extends UUID {
287
- country: CountryModel;
288
- mappedItems?: any;
289
- parentRegion?: RegionModel | null;
290
- subRegions?: RegionModel[];
291
- images?: ImageModel[];
292
- name: string;
293
- }
294
- declare const createRegionDtoFromAdminRegionModel: (region: RegionModel) => RegionDto;
295
-
296
- interface WineTypeModel extends UUID {
297
- mappedItems?: any;
298
- name: string;
299
- }
300
- declare const createWineTypeDtoFromAdminWineTypeModel: (wineType: WineTypeModel) => WineTypeDto;
301
-
302
- interface WineryModel extends UUID {
303
- mappedItems?: any;
304
- name: string;
305
- }
306
- declare const createWineryDtoFromAdminWineryModel: (winery: WineryModel) => WineryDto;
307
-
308
- interface WineModel extends UUID {
309
- region?: RegionModel;
310
- wineType?: WineTypeModel;
311
- winery?: WineryModel;
312
- mappedItems?: any;
313
- name: string;
314
- }
315
- declare const createWineDtoFromAdminWineModel: (wine: WineModel) => WineDto;
316
-
317
- interface VintageRatingModel {
318
- numberOfRatings: number;
319
- averageOfRatings: number;
320
- updatedAt: Date;
321
- status: VintageRatingEnum;
322
- vintage?: VintageModel;
323
- }
324
-
325
- interface VintageScoreAuthorModel {
326
- id: VintageScoreAuthorEnum;
327
- }
328
-
329
- interface VintageScoreModel {
330
- scoreValue: number;
331
- scoreYear: number;
332
- author: VintageScoreAuthorModel;
333
- vintage?: VintageModel;
334
- }
335
-
336
- interface VintageModel extends UUID {
337
- year: number;
338
- bottleImage: ImageModel | null;
339
- wine?: WineModel;
340
- mappedExternal1Rating?: VintageRatingModel | null;
341
- scores?: VintageScoreModel[];
342
- labelImage?: ImageModel | null;
343
- }
344
- declare const createVintageDtoFromAdminVintageModel: (vintage: VintageModel) => VintageDto;
345
-
346
- interface VintageProductModel extends UUID {
347
- milliliters: number;
348
- vintage?: VintageModel;
349
- b2bMarketPrice?: B2bMarketPriceModel | null;
350
- }
351
- declare const createVintageProductDtoFromAdminVintageProductModel: (vintageProduct: VintageProductModel) => VintageProductDto;
352
-
353
- interface UploadVisibilityTypeModel {
354
- upload?: UploadModel;
355
- id: UploadVisibilityTypeEnum;
356
- }
357
-
358
- interface ImportFileHeaderModel {
359
- upload?: UploadModel;
360
- mappedHeader: string;
361
- value: string;
362
- }
363
-
364
- interface UploadModel extends UUID {
365
- status: {
366
- id: UploadStatusEnum;
367
- statusUpdatedAt: Date;
368
- };
369
- type: {
370
- id: UploadTypeEnum;
371
- };
372
- name: string;
373
- validFrom: Date;
374
- validUntil: Date;
375
- numItems: number;
376
- createdAt: Date;
377
- organisation: OrganisationModel;
378
- organisationSupplier: SupplierModel;
379
- createdUser?: UserAccountModel;
380
- visibilityTypes?: UploadVisibilityTypeModel[];
381
- importFileHeaders?: ImportFileHeaderModel[];
382
- statusUpdatedBy?: UserAccountModel | null;
383
- }
384
- declare const createUploadDtoFromAdminUploadModel: (upload: UploadModel) => UploadDto;
385
-
386
- interface OfferModel extends UUID {
387
- price: PriceModel | null;
388
- supplier?: SupplierModel | null;
389
- seller?: SellerModel;
390
- vintageProducts?: VintageProductModel[];
391
- upload?: UploadModel;
392
- shippedFromCountry?: CountryModel | null;
393
- quantity: number;
394
- package: PackageEnum | null;
395
- createdAt: Date;
396
- }
397
- declare const createOfferDtoFromAdminOfferModel: (offer: OfferModel) => OfferDto;
398
-
399
- interface OfferRequestStatusModel {
400
- id: OfferRequestStatusEnum;
401
- updatedAt: Date;
402
- }
403
-
404
- interface OfferRequestOptionModel {
405
- id: OfferRequestOptionEnum;
406
- status: {
407
- id: OfferRequestOptionStatusEnum;
408
- updatedAt: Date;
409
- };
410
- requestedValue: string | null;
411
- providedValue: string | null;
412
- offerRequest?: OfferRequestModel;
413
- }
414
-
415
- interface OfferRequestTimelineModel {
416
- actionCreatedAt: Date;
417
- action: {
418
- id: OfferRequestTimelineActionEnum;
419
- };
420
- offerRequest?: OfferRequestModel;
421
- createdByUser?: UserAccountModel | null;
422
- }
423
-
424
- interface OfferRequestModel extends UUID {
425
- status: OfferRequestStatusModel;
426
- createdAt: Date;
427
- changedAt: Date;
428
- updatedAt: Date;
429
- quantity: number;
430
- price: PriceModel | null;
431
- offer: Partial<OfferModel> | null;
432
- organisation: OrganisationModel;
433
- seller: OrganisationModel;
434
- images?: ImageModel[];
435
- vintageProducts?: VintageProductModel[];
436
- timeline?: OfferRequestTimelineModel[];
437
- subOfferRequests?: Partial<OfferRequestModel>[] | [];
438
- userOrganisation?: UserOrganisationModel;
439
- options?: OfferRequestOptionModel[];
440
- }
441
-
442
- interface OrderItemPurchaseModel {
443
- supplier?: SupplierModel | null;
444
- price?: PriceModel | null;
445
- }
446
-
447
- interface OrderItemModel extends UUID {
448
- type: {
449
- id: OrderItemTypeEnum;
450
- };
451
- description: string;
452
- quantity: number;
453
- createdAt: Date;
454
- updatedAt: Date;
455
- invoiceReceived: boolean;
456
- goodsShipped: boolean;
457
- invoiceSent: boolean;
458
- invoiceReceivedAt: Date | null;
459
- goodsShippedAt: Date | null;
460
- invoiceSentAt: Date | null;
461
- amountFC: PriceModel;
462
- order?: OrderModel;
463
- vintageProducts?: VintageProductModel[];
464
- purchase?: OrderItemPurchaseModel;
465
- }
466
-
467
- interface OrderModel extends UUID {
468
- currency: CurrencyCodeEnum;
469
- status: {
470
- id: OrderStatusEnum;
471
- statusUpdatedAt: Date;
472
- };
473
- referenceCode: string;
474
- orderedAt: Date;
475
- sellerOrganisation?: OrganisationModel;
476
- customer?: CustomerModel;
477
- requestedUser?: UserAccountModel;
478
- originatedByOfferRequest?: OfferRequestModel | null;
479
- items?: OrderItemModel[];
480
- numItems?: number;
481
- amountFCExclVatMicros?: number;
482
- purchaseOrders?: OrderModel[];
483
- salesOrders?: OrderModel[];
484
- proFormaDocument?: DocumentModel | null;
485
- invoiceDocument?: DocumentModel | null;
486
- }
487
-
488
- interface DocumentModel extends UUID {
489
- type: {
490
- id: DocumentTypeEnum;
491
- };
492
- mime: {
493
- id: MimeTypeEnum;
494
- };
495
- size: number;
496
- createdAt: Date;
497
- organisation?: OrganisationModel | null;
498
- order?: OrderModel | null;
499
- }
500
-
501
- interface FilterCriteriaModel {
502
- field: OfferAlertFilterCriteriaFieldEnum;
503
- operator: FilterOperatorEnum;
504
- value: string | number | null;
505
- }
506
-
507
- interface ImportResolvedFileHeaderValueModel {
508
- field: string;
509
- fieldValue: string;
510
- resolvedValue: string;
511
- }
512
-
513
- interface InboundEmailParsedModel extends UUID {
514
- status: {
515
- id: InboundEmailParsedStatusEnum;
516
- };
517
- uploadType: {
518
- id: UploadTypeEnum | null;
519
- };
520
- fromEmailAddress: string | null;
521
- toEmailAddress: string | null;
522
- subject: string | null;
523
- attachmentCount: number;
524
- createdAt: Date;
525
- organisation?: OrganisationModel;
526
- inboundEmail?: InboundEmailModel;
527
- contentText?: string | null;
528
- contentHtml?: string | null;
529
- }
530
-
531
- interface InboundEmailFileModel extends UUID {
532
- name: string;
533
- mime: {
534
- id: MimeTypeEnum;
535
- };
536
- size: number;
537
- createdAt: Date;
538
- inboundEmail?: InboundEmailModel;
539
- }
540
-
541
- interface InboundEmailModel {
542
- id: number;
543
- messageId: string;
544
- createdAt: Date;
545
- inboundEmailParsed?: InboundEmailParsedModel | null;
546
- files?: InboundEmailFileModel[];
547
- }
548
-
549
- interface IntegrationExactItemModel extends UUID {
550
- integrationExact?: IntegrationExactModel;
551
- vintageProduct?: VintageProductModel;
552
- vintageProducts?: VintageProductModel[];
553
- }
554
-
555
- interface IntegrationExactSalesOrderLineModel extends UUID {
556
- quantity: number;
557
- lineNumber: number;
558
- quantityInvoiced: number;
559
- integrationExactSalesOrder?: IntegrationExactSalesOrderModel;
560
- item?: IntegrationExactItemModel;
561
- orderItem?: OrderItemModel;
562
- }
563
-
564
- interface IntegrationExactSalesOrderModel extends UUID {
565
- createdAt: Date;
566
- code: string;
567
- lines?: IntegrationExactSalesOrderLineModel[];
568
- }
569
-
570
- interface IntegrationExactWebhookLogModel extends UUID {
571
- payload: string;
572
- createdAt: Date;
573
- integrationExact: IntegrationExactModel;
574
- }
575
-
576
- interface MarginMarketModel {
577
- countryCode: CountryEnum;
578
- margin: number;
579
- organisation?: OrganisationModel;
580
- createdBy?: UserAccountModel | null;
581
- updatedBy?: UserAccountModel | null;
582
- }
583
-
584
- interface MarginOrganisationModel {
585
- margin: number;
586
- marginOrganisation?: OrganisationModel;
587
- organisation?: OrganisationModel;
588
- createdBy?: UserAccountModel | null;
589
- updatedBy?: UserAccountModel | null;
590
- }
591
-
592
- interface NotificationModel extends UUID {
593
- type: {
594
- id: NotificationTypeEnum;
595
- };
596
- messagePlain: string;
597
- messageHtml: string | null;
598
- actionText: string;
599
- actionUrl: string;
600
- readAt: Date | null;
601
- createdAt: Date;
602
- updatedAt: Date;
603
- name: string;
604
- }
605
-
606
- interface NotificationChannelModel {
607
- id: NotificationChannelEnum;
608
- isActive: boolean;
609
- }
610
-
611
- interface NotificationTypeModel {
612
- id: NotificationTypeEnum;
613
- channels: NotificationChannelModel[];
614
- }
615
-
616
- interface OfferAlertTimelineModel {
617
- actionCreatedAt: Date;
618
- action: {
619
- id: OfferAlertTimelineActionEnum;
620
- };
621
- offerAlert?: OfferAlertModel;
622
- createdByUser?: UserAccountModel;
623
- }
624
-
625
- interface OfferAlertModel extends UUID {
626
- title: string;
627
- header: string;
628
- description: string | null;
629
- validFrom: string;
630
- validUntil: string;
631
- isExpired: boolean;
632
- organisation?: OrganisationModel;
633
- backgroundImage?: ImageModel | null;
634
- filterCriteria?: FilterCriteriaModel[];
635
- timeline?: OfferAlertTimelineModel;
636
- meta?: any;
637
- }
638
-
639
- interface OrganisationUserInvitationStatusModel {
640
- id: OrganisationUserInvitationStatusEnum;
641
- }
642
-
643
- interface PricingPlanFeatureModel {
644
- feature: {
645
- id: PlanFeatureEnum;
646
- };
647
- createdBy?: UserAccountModel | null;
648
- updatedBy?: UserAccountModel | null;
649
- pricingPlanTimeslot?: UserAccountModel;
650
- }
651
-
652
- interface PricingPlanModel {
653
- plan: {
654
- id: PlanEnum;
655
- };
656
- monthlyPrice: {
657
- priceMicros: number;
658
- currency: CurrencyCodeEnum;
659
- };
660
- yearlyPrice: {
661
- priceMicros: number;
662
- currency: CurrencyCodeEnum;
663
- };
664
- createdBy?: UserAccountModel | null;
665
- updatedBy?: UserAccountModel | null;
666
- features?: PricingPlanFeatureModel[];
667
- }
668
-
669
- interface OrganisationUserInvitationModel {
670
- organisation?: Partial<OrganisationModel>;
671
- invitedBy?: UserAccountModel;
672
- acceptedByUserOrganisation?: UserOrganisationModel;
673
- revokedBy?: UserAccountModel | null;
674
- roles?: RoleModel[] | [];
675
- status: OrganisationUserInvitationStatusModel;
676
- token: string;
677
- expiredAt: Date;
678
- createdAt: Date;
679
- personFirstName: string;
680
- personLastName: string;
681
- personEmail: string;
682
- acceptedAt: Date | null;
683
- }
684
-
685
- interface UserOrganisationClaimRequestModel extends UUID {
686
- createdAt: Date;
687
- status: {
688
- id: UserOrganisationClaimStatusEnum;
689
- statusUpdatedAt: Date;
690
- };
691
- user?: UserAccountModel;
692
- organisation?: OrganisationModel;
693
- statusUpdatedBy?: UserAccountModel | null;
694
- }
695
-
696
- interface VintageScoreUploadModel extends UUID {
697
- numItems: number;
698
- createdAt: Date;
699
- updatedAt: Date;
700
- status: {
701
- id: VintageScoreUploadStatusEnum;
702
- };
703
- uploadedBy: UserAccountModel;
704
- }
705
-
706
- export { type B2bMarketPriceModel, type B2bMarketPriceUploadModel, type ContactPointModel, type ContactRequestModel, type ContactTypeModel, type CountryModel, type CurrencyRateModel, type CustomerModel, type DocumentModel, type FilterCriteriaModel, type GenderModel, type ImageImageTypeCropPropertyModel, type ImageModel, type ImageTypeModel, type ImageVariationModel, type ImportFileHeaderModel, type ImportResolvedFileHeaderValueModel, type InboundEmailFileModel, type InboundEmailModel, type InboundEmailParsedModel, type IntegrationExactItemModel, type IntegrationExactModel, type IntegrationExactSalesOrderLineModel, type IntegrationExactSalesOrderModel, type IntegrationExactWebhookLogModel, type MarginMarketModel, type MarginOrganisationModel, type NotificationChannelModel, type NotificationModel, type NotificationTypeModel, type OfferAlertModel, type OfferAlertTimelineModel, type OfferModel, type OfferRequestModel, type OfferRequestOptionModel, type OfferRequestStatusModel, type OfferRequestTimelineModel, type OrderItemModel, type OrderItemPurchaseModel, type OrderModel, type OrganisationModel, type OrganisationUserInvitationModel, type OrganisationUserInvitationStatusModel, type PermissionModel, type PersonModel, type PlanAlertModel, type PlanDataRetentionModel, type PlanModel, type PlanUploadModel, type PlanUploadServiceModel, type PlanUserOrganisationModel, type PostalAddressModel, type PriceModel, type PricingPlanFeatureModel, type PricingPlanModel, type RegionModel, type RoleModel, type SellerModel, type SupplierModel, type TelephoneModel, type UploadModel, type UploadVisibilityTypeModel, type UserAccountModel, type UserOrganisationClaimRequestModel, type UserOrganisationModel, type UserOrganisationStatusModel, type UserStatusModel, type VatTaxModel, type VintageModel, type VintageProductModel, type VintageRatingModel, type VintageScoreAuthorModel, type VintageScoreModel, type VintageScoreUploadModel, type WineModel, type WineTypeModel, type WineryModel, createB2BMarketPriceDtoFromAdminB2BMarketPriceModel, createCountryDtoFromAdminCountryModel, createOfferDtoFromAdminOfferModel, createOrganisationDtoFromAdminOrganisationModel, createPriceDtoFromAdminPriceModel, createRegionDtoFromAdminRegionModel, createSellerDtoFromAdminSellerModel, createSupplierDtoFromAdminSupplierModel, createUploadDtoFromAdminUploadModel, createVatTaxDtoFromAdminVatTaxModel, createVintageDtoFromAdminVintageModel, createVintageProductDtoFromAdminVintageProductModel, createWineDtoFromAdminWineModel, createWineTypeDtoFromAdminWineTypeModel, createWineryDtoFromAdminWineryModel };