@vini-wine/admin-core-models 1.1.97 → 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 -40
- package/dist/index.d.ts +40 -40
- 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,30 +264,23 @@ interface B2bMarketPriceUploadModel extends UUID {
|
|
|
264
264
|
uploadedBy: UserAccountModel;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
notes: string;
|
|
274
|
-
modified: string | null;
|
|
275
|
-
bankEntryType: {
|
|
276
|
-
id: BankEntryTypeEnum;
|
|
267
|
+
interface CustomerModel extends UUID {
|
|
268
|
+
isSupplier: boolean;
|
|
269
|
+
name: string;
|
|
270
|
+
createdAt: Date;
|
|
271
|
+
status: {
|
|
272
|
+
id: CustomerStatusEnum;
|
|
277
273
|
};
|
|
274
|
+
customerOrganisation?: OrganisationModel;
|
|
275
|
+
organisation?: OrganisationModel;
|
|
276
|
+
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
277
|
+
primarySalesContactPoint?: ContactPointModel | null;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
interface
|
|
281
|
-
|
|
282
|
-
entryID: string;
|
|
283
|
-
status: {
|
|
284
|
-
id: IntegrationExactBankEntryStatusEnum;
|
|
285
|
-
};
|
|
286
|
-
openingBalanceFC: number;
|
|
287
|
-
closingBalanceFC: number;
|
|
288
|
-
currency: CurrencyCodeEnum;
|
|
289
|
-
modified: string | null;
|
|
280
|
+
interface SellerModel {
|
|
281
|
+
organisation?: OrganisationModel;
|
|
290
282
|
}
|
|
283
|
+
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
291
284
|
|
|
292
285
|
interface CountryModel {
|
|
293
286
|
codeAlpha2: CountryEnum;
|
|
@@ -363,11 +356,6 @@ interface VintageProductModel extends UUID {
|
|
|
363
356
|
}
|
|
364
357
|
declare const createVintageProductDtoFromAdminVintageProductModel: (vintageProduct: VintageProductModel) => VintageProductDto;
|
|
365
358
|
|
|
366
|
-
interface SellerModel {
|
|
367
|
-
organisation?: OrganisationModel;
|
|
368
|
-
}
|
|
369
|
-
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
370
|
-
|
|
371
359
|
interface UploadVisibilityTypeModel {
|
|
372
360
|
upload?: UploadModel;
|
|
373
361
|
id: UploadVisibilityTypeEnum;
|
|
@@ -414,19 +402,6 @@ interface OfferModel extends UUID {
|
|
|
414
402
|
}
|
|
415
403
|
declare const createOfferDtoFromAdminOfferModel: (offer: OfferModel) => OfferDto;
|
|
416
404
|
|
|
417
|
-
interface CustomerModel extends UUID {
|
|
418
|
-
isSupplier: boolean;
|
|
419
|
-
name: string;
|
|
420
|
-
createdAt: Date;
|
|
421
|
-
status: {
|
|
422
|
-
id: CustomerStatusEnum;
|
|
423
|
-
};
|
|
424
|
-
customerOrganisation?: OrganisationModel;
|
|
425
|
-
organisation?: OrganisationModel;
|
|
426
|
-
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
427
|
-
primarySalesContactPoint?: ContactPointModel | null;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
405
|
interface OfferRequestStatusModel {
|
|
431
406
|
id: OfferRequestStatusEnum;
|
|
432
407
|
updatedAt: Date;
|
|
@@ -550,6 +525,31 @@ interface OrderModel extends UUID {
|
|
|
550
525
|
orderBalance?: OrderBalanceModel;
|
|
551
526
|
}
|
|
552
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
|
+
|
|
553
553
|
interface ChatMessageModel extends UUID {
|
|
554
554
|
type: {
|
|
555
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,30 +264,23 @@ interface B2bMarketPriceUploadModel extends UUID {
|
|
|
264
264
|
uploadedBy: UserAccountModel;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
notes: string;
|
|
274
|
-
modified: string | null;
|
|
275
|
-
bankEntryType: {
|
|
276
|
-
id: BankEntryTypeEnum;
|
|
267
|
+
interface CustomerModel extends UUID {
|
|
268
|
+
isSupplier: boolean;
|
|
269
|
+
name: string;
|
|
270
|
+
createdAt: Date;
|
|
271
|
+
status: {
|
|
272
|
+
id: CustomerStatusEnum;
|
|
277
273
|
};
|
|
274
|
+
customerOrganisation?: OrganisationModel;
|
|
275
|
+
organisation?: OrganisationModel;
|
|
276
|
+
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
277
|
+
primarySalesContactPoint?: ContactPointModel | null;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
interface
|
|
281
|
-
|
|
282
|
-
entryID: string;
|
|
283
|
-
status: {
|
|
284
|
-
id: IntegrationExactBankEntryStatusEnum;
|
|
285
|
-
};
|
|
286
|
-
openingBalanceFC: number;
|
|
287
|
-
closingBalanceFC: number;
|
|
288
|
-
currency: CurrencyCodeEnum;
|
|
289
|
-
modified: string | null;
|
|
280
|
+
interface SellerModel {
|
|
281
|
+
organisation?: OrganisationModel;
|
|
290
282
|
}
|
|
283
|
+
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
291
284
|
|
|
292
285
|
interface CountryModel {
|
|
293
286
|
codeAlpha2: CountryEnum;
|
|
@@ -363,11 +356,6 @@ interface VintageProductModel extends UUID {
|
|
|
363
356
|
}
|
|
364
357
|
declare const createVintageProductDtoFromAdminVintageProductModel: (vintageProduct: VintageProductModel) => VintageProductDto;
|
|
365
358
|
|
|
366
|
-
interface SellerModel {
|
|
367
|
-
organisation?: OrganisationModel;
|
|
368
|
-
}
|
|
369
|
-
declare const createSellerDtoFromAdminSellerModel: (seller: SellerModel) => SellerDto;
|
|
370
|
-
|
|
371
359
|
interface UploadVisibilityTypeModel {
|
|
372
360
|
upload?: UploadModel;
|
|
373
361
|
id: UploadVisibilityTypeEnum;
|
|
@@ -414,19 +402,6 @@ interface OfferModel extends UUID {
|
|
|
414
402
|
}
|
|
415
403
|
declare const createOfferDtoFromAdminOfferModel: (offer: OfferModel) => OfferDto;
|
|
416
404
|
|
|
417
|
-
interface CustomerModel extends UUID {
|
|
418
|
-
isSupplier: boolean;
|
|
419
|
-
name: string;
|
|
420
|
-
createdAt: Date;
|
|
421
|
-
status: {
|
|
422
|
-
id: CustomerStatusEnum;
|
|
423
|
-
};
|
|
424
|
-
customerOrganisation?: OrganisationModel;
|
|
425
|
-
organisation?: OrganisationModel;
|
|
426
|
-
primaryLogisticsContactPoint?: ContactPointModel | null;
|
|
427
|
-
primarySalesContactPoint?: ContactPointModel | null;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
405
|
interface OfferRequestStatusModel {
|
|
431
406
|
id: OfferRequestStatusEnum;
|
|
432
407
|
updatedAt: Date;
|
|
@@ -550,6 +525,31 @@ interface OrderModel extends UUID {
|
|
|
550
525
|
orderBalance?: OrderBalanceModel;
|
|
551
526
|
}
|
|
552
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
|
+
|
|
553
553
|
interface ChatMessageModel extends UUID {
|
|
554
554
|
type: {
|
|
555
555
|
id: ChatMessageTypeEnum;
|