@vini-wine/admin-core-models 1.1.96 → 1.1.98
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.mts +40 -39
- package/dist/index.d.ts +40 -39
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CountryEnum, ContactPointTypeEnum, GenderEnum, LocaleEnum, CurrencyCodeEnum, UserStatusEnum, PermissionEnum, RoleEnum, ImageVariationEnum, ImageTypeEnum, TimezoneEnum, DateTimeFormatEnum, SupplierStatusEnum, OrganisationStatusEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, PlanEnum, UserOrganisationStatusEnum, AIQuestionSummaryStatusEnum, B2bMarketPriceUploadStatusEnum,
|
|
2
|
-
import { VatTaxDto, GenderDto, PersonDto, PermissionDto, RoleDto, ImageDto, UserAccountDto, SupplierDto, OrganisationDto, UserOrganisationDto, PriceDto, B2bMarketPriceDto, CountryDto, RegionDto, WineTypeDto, WineryDto, WineDto, VintageDto, VintageProductDto,
|
|
1
|
+
import { CountryEnum, ContactPointTypeEnum, GenderEnum, LocaleEnum, CurrencyCodeEnum, UserStatusEnum, PermissionEnum, RoleEnum, ImageVariationEnum, ImageTypeEnum, TimezoneEnum, DateTimeFormatEnum, SupplierStatusEnum, OrganisationStatusEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, PlanEnum, UserOrganisationStatusEnum, AIQuestionSummaryStatusEnum, B2bMarketPriceUploadStatusEnum, CustomerStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, UploadVisibilityTypeEnum, UploadStatusEnum, UploadTypeEnum, PackageEnum, OfferRequestStatusEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, DocumentTypeEnum, MimeTypeEnum, OrderStatusEnum, BankEntryTypeEnum, IntegrationExactBankEntryStatusEnum, ChatMessageTypeEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CurrencyRateSourceEnum, ExportStatusEnum, ExportTypeEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, InboundEmailParsedStatusEnum, IntegrationWineLabsApiTypeEnum, IntegrationWineLabsStatusEnum, NotificationTypeEnum, NotificationChannelEnum, OfferAlertTimelineActionEnum, OrganisationUserInvitationStatusEnum, PlanFeatureEnum, UserOrganisationClaimStatusEnum, VintageScoreUploadStatusEnum } from '@vini-wine/core-enums';
|
|
2
|
+
import { VatTaxDto, GenderDto, PersonDto, PermissionDto, RoleDto, ImageDto, UserAccountDto, SupplierDto, OrganisationDto, UserOrganisationDto, PriceDto, B2bMarketPriceDto, SellerDto, CountryDto, RegionDto, WineTypeDto, WineryDto, WineDto, VintageDto, VintageProductDto, UploadDto, OfferDto } from '@vini-wine/core-dtos';
|
|
3
3
|
|
|
4
4
|
interface UUID {
|
|
5
5
|
uuid: string;
|
|
@@ -264,29 +264,23 @@ interface B2bMarketPriceUploadModel extends UUID {
|
|
|
264
264
|
uploadedBy: UserAccountModel;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
modified: string | null;
|
|
274
|
-
bankEntryType: {
|
|
275
|
-
id: BankEntryTypeEnum;
|
|
267
|
+
interface CustomerModel extends UUID {
|
|
268
|
+
isSupplier: boolean;
|
|
269
|
+
name: string;
|
|
270
|
+
createdAt: Date;
|
|
271
|
+
status: {
|
|
272
|
+
id: CustomerStatusEnum;
|
|
276
273
|
};
|
|
274
|
+
customerOrganisation?: OrganisationModel;
|
|
275
|
+
organisation?: OrganisationModel;
|
|
276
|
+
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
277
|
+
primarySalesContactPoint?: ContactPointModel | null;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
|
-
interface
|
|
280
|
-
|
|
281
|
-
entryID: string;
|
|
282
|
-
status: {
|
|
283
|
-
id: IntegrationExactBankEntryStatusEnum;
|
|
284
|
-
};
|
|
285
|
-
openingBalanceFC: number;
|
|
286
|
-
closingBalanceFC: number;
|
|
287
|
-
currency: CurrencyCodeEnum;
|
|
288
|
-
modified: string | null;
|
|
280
|
+
interface SellerModel {
|
|
281
|
+
organisation?: OrganisationModel;
|
|
289
282
|
}
|
|
283
|
+
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
290
284
|
|
|
291
285
|
interface CountryModel {
|
|
292
286
|
codeAlpha2: CountryEnum;
|
|
@@ -362,11 +356,6 @@ interface VintageProductModel extends UUID {
|
|
|
362
356
|
}
|
|
363
357
|
declare const createVintageProductDtoFromAdminVintageProductModel: (vintageProduct: VintageProductModel) => VintageProductDto;
|
|
364
358
|
|
|
365
|
-
interface SellerModel {
|
|
366
|
-
organisation?: OrganisationModel;
|
|
367
|
-
}
|
|
368
|
-
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
369
|
-
|
|
370
359
|
interface UploadVisibilityTypeModel {
|
|
371
360
|
upload?: UploadModel;
|
|
372
361
|
id: UploadVisibilityTypeEnum;
|
|
@@ -413,19 +402,6 @@ interface OfferModel extends UUID {
|
|
|
413
402
|
}
|
|
414
403
|
declare const createOfferDtoFromAdminOfferModel: (offer: OfferModel) => OfferDto;
|
|
415
404
|
|
|
416
|
-
interface CustomerModel extends UUID {
|
|
417
|
-
isSupplier: boolean;
|
|
418
|
-
name: string;
|
|
419
|
-
createdAt: Date;
|
|
420
|
-
status: {
|
|
421
|
-
id: CustomerStatusEnum;
|
|
422
|
-
};
|
|
423
|
-
customerOrganisation?: OrganisationModel;
|
|
424
|
-
organisation?: OrganisationModel;
|
|
425
|
-
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
426
|
-
primarySalesContactPoint?: ContactPointModel | null;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
405
|
interface OfferRequestStatusModel {
|
|
430
406
|
id: OfferRequestStatusEnum;
|
|
431
407
|
updatedAt: Date;
|
|
@@ -549,6 +525,31 @@ interface OrderModel extends UUID {
|
|
|
549
525
|
orderBalance?: OrderBalanceModel;
|
|
550
526
|
}
|
|
551
527
|
|
|
528
|
+
interface BankEntryLineModel extends UUID {
|
|
529
|
+
amount: PriceModel | null;
|
|
530
|
+
bankEntry?: BankEntryModel;
|
|
531
|
+
organisation?: OrganisationModel | null;
|
|
532
|
+
orders?: OrderModel[];
|
|
533
|
+
description: string;
|
|
534
|
+
notes: string;
|
|
535
|
+
modified: string | null;
|
|
536
|
+
bankEntryType: {
|
|
537
|
+
id: BankEntryTypeEnum;
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
interface BankEntryModel extends UUID {
|
|
542
|
+
bankEntryLines?: BankEntryLineModel[];
|
|
543
|
+
entryID: string;
|
|
544
|
+
status: {
|
|
545
|
+
id: IntegrationExactBankEntryStatusEnum;
|
|
546
|
+
};
|
|
547
|
+
openingBalanceFC: number;
|
|
548
|
+
closingBalanceFC: number;
|
|
549
|
+
currency: CurrencyCodeEnum;
|
|
550
|
+
modified: string | null;
|
|
551
|
+
}
|
|
552
|
+
|
|
552
553
|
interface ChatMessageModel extends UUID {
|
|
553
554
|
type: {
|
|
554
555
|
id: ChatMessageTypeEnum;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CountryEnum, ContactPointTypeEnum, GenderEnum, LocaleEnum, CurrencyCodeEnum, UserStatusEnum, PermissionEnum, RoleEnum, ImageVariationEnum, ImageTypeEnum, TimezoneEnum, DateTimeFormatEnum, SupplierStatusEnum, OrganisationStatusEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, PlanEnum, UserOrganisationStatusEnum, AIQuestionSummaryStatusEnum, B2bMarketPriceUploadStatusEnum,
|
|
2
|
-
import { VatTaxDto, GenderDto, PersonDto, PermissionDto, RoleDto, ImageDto, UserAccountDto, SupplierDto, OrganisationDto, UserOrganisationDto, PriceDto, B2bMarketPriceDto, CountryDto, RegionDto, WineTypeDto, WineryDto, WineDto, VintageDto, VintageProductDto,
|
|
1
|
+
import { CountryEnum, ContactPointTypeEnum, GenderEnum, LocaleEnum, CurrencyCodeEnum, UserStatusEnum, PermissionEnum, RoleEnum, ImageVariationEnum, ImageTypeEnum, TimezoneEnum, DateTimeFormatEnum, SupplierStatusEnum, OrganisationStatusEnum, IntegrationExactCountryCodeEnum, IntegrationExactStatusEnum, PlanEnum, UserOrganisationStatusEnum, AIQuestionSummaryStatusEnum, B2bMarketPriceUploadStatusEnum, CustomerStatusEnum, VintageRatingEnum, VintageScoreAuthorEnum, UploadVisibilityTypeEnum, UploadStatusEnum, UploadTypeEnum, PackageEnum, OfferRequestStatusEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestTimelineActionEnum, OrderItemTypeEnum, DocumentTypeEnum, MimeTypeEnum, OrderStatusEnum, BankEntryTypeEnum, IntegrationExactBankEntryStatusEnum, ChatMessageTypeEnum, ContactRequestStatusEnum, ContactRequestTypeEnum, CurrencyRateSourceEnum, ExportStatusEnum, ExportTypeEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, InboundEmailParsedStatusEnum, IntegrationWineLabsApiTypeEnum, IntegrationWineLabsStatusEnum, NotificationTypeEnum, NotificationChannelEnum, OfferAlertTimelineActionEnum, OrganisationUserInvitationStatusEnum, PlanFeatureEnum, UserOrganisationClaimStatusEnum, VintageScoreUploadStatusEnum } from '@vini-wine/core-enums';
|
|
2
|
+
import { VatTaxDto, GenderDto, PersonDto, PermissionDto, RoleDto, ImageDto, UserAccountDto, SupplierDto, OrganisationDto, UserOrganisationDto, PriceDto, B2bMarketPriceDto, SellerDto, CountryDto, RegionDto, WineTypeDto, WineryDto, WineDto, VintageDto, VintageProductDto, UploadDto, OfferDto } from '@vini-wine/core-dtos';
|
|
3
3
|
|
|
4
4
|
interface UUID {
|
|
5
5
|
uuid: string;
|
|
@@ -264,29 +264,23 @@ interface B2bMarketPriceUploadModel extends UUID {
|
|
|
264
264
|
uploadedBy: UserAccountModel;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
modified: string | null;
|
|
274
|
-
bankEntryType: {
|
|
275
|
-
id: BankEntryTypeEnum;
|
|
267
|
+
interface CustomerModel extends UUID {
|
|
268
|
+
isSupplier: boolean;
|
|
269
|
+
name: string;
|
|
270
|
+
createdAt: Date;
|
|
271
|
+
status: {
|
|
272
|
+
id: CustomerStatusEnum;
|
|
276
273
|
};
|
|
274
|
+
customerOrganisation?: OrganisationModel;
|
|
275
|
+
organisation?: OrganisationModel;
|
|
276
|
+
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
277
|
+
primarySalesContactPoint?: ContactPointModel | null;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
|
-
interface
|
|
280
|
-
|
|
281
|
-
entryID: string;
|
|
282
|
-
status: {
|
|
283
|
-
id: IntegrationExactBankEntryStatusEnum;
|
|
284
|
-
};
|
|
285
|
-
openingBalanceFC: number;
|
|
286
|
-
closingBalanceFC: number;
|
|
287
|
-
currency: CurrencyCodeEnum;
|
|
288
|
-
modified: string | null;
|
|
280
|
+
interface SellerModel {
|
|
281
|
+
organisation?: OrganisationModel;
|
|
289
282
|
}
|
|
283
|
+
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
290
284
|
|
|
291
285
|
interface CountryModel {
|
|
292
286
|
codeAlpha2: CountryEnum;
|
|
@@ -362,11 +356,6 @@ interface VintageProductModel extends UUID {
|
|
|
362
356
|
}
|
|
363
357
|
declare const createVintageProductDtoFromAdminVintageProductModel: (vintageProduct: VintageProductModel) => VintageProductDto;
|
|
364
358
|
|
|
365
|
-
interface SellerModel {
|
|
366
|
-
organisation?: OrganisationModel;
|
|
367
|
-
}
|
|
368
|
-
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
369
|
-
|
|
370
359
|
interface UploadVisibilityTypeModel {
|
|
371
360
|
upload?: UploadModel;
|
|
372
361
|
id: UploadVisibilityTypeEnum;
|
|
@@ -413,19 +402,6 @@ interface OfferModel extends UUID {
|
|
|
413
402
|
}
|
|
414
403
|
declare const createOfferDtoFromAdminOfferModel: (offer: OfferModel) => OfferDto;
|
|
415
404
|
|
|
416
|
-
interface CustomerModel extends UUID {
|
|
417
|
-
isSupplier: boolean;
|
|
418
|
-
name: string;
|
|
419
|
-
createdAt: Date;
|
|
420
|
-
status: {
|
|
421
|
-
id: CustomerStatusEnum;
|
|
422
|
-
};
|
|
423
|
-
customerOrganisation?: OrganisationModel;
|
|
424
|
-
organisation?: OrganisationModel;
|
|
425
|
-
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
426
|
-
primarySalesContactPoint?: ContactPointModel | null;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
405
|
interface OfferRequestStatusModel {
|
|
430
406
|
id: OfferRequestStatusEnum;
|
|
431
407
|
updatedAt: Date;
|
|
@@ -549,6 +525,31 @@ interface OrderModel extends UUID {
|
|
|
549
525
|
orderBalance?: OrderBalanceModel;
|
|
550
526
|
}
|
|
551
527
|
|
|
528
|
+
interface BankEntryLineModel extends UUID {
|
|
529
|
+
amount: PriceModel | null;
|
|
530
|
+
bankEntry?: BankEntryModel;
|
|
531
|
+
organisation?: OrganisationModel | null;
|
|
532
|
+
orders?: OrderModel[];
|
|
533
|
+
description: string;
|
|
534
|
+
notes: string;
|
|
535
|
+
modified: string | null;
|
|
536
|
+
bankEntryType: {
|
|
537
|
+
id: BankEntryTypeEnum;
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
interface BankEntryModel extends UUID {
|
|
542
|
+
bankEntryLines?: BankEntryLineModel[];
|
|
543
|
+
entryID: string;
|
|
544
|
+
status: {
|
|
545
|
+
id: IntegrationExactBankEntryStatusEnum;
|
|
546
|
+
};
|
|
547
|
+
openingBalanceFC: number;
|
|
548
|
+
closingBalanceFC: number;
|
|
549
|
+
currency: CurrencyCodeEnum;
|
|
550
|
+
modified: string | null;
|
|
551
|
+
}
|
|
552
|
+
|
|
552
553
|
interface ChatMessageModel extends UUID {
|
|
553
554
|
type: {
|
|
554
555
|
id: ChatMessageTypeEnum;
|