@vini-wine/admin-core-models 1.0.1 → 1.0.3
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 +16 -9
- package/dist/index.d.ts +16 -9
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyCodeEnum, UploadVisibilityTypeEnum, ContactPointTypeEnum, CurrencyRateSourceEnum, OrganisationStatusEnum, UserStatusEnum, GenderEnum, LocaleEnum, ImageVariationEnum, ImageTypeEnum, UserOrganisationStatusEnum, TimezoneEnum, DateTimeFormatEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, UploadStatusEnum, UploadTypeEnum,
|
|
1
|
+
import { CurrencyCodeEnum, UploadVisibilityTypeEnum, ContactPointTypeEnum, CountryEnum, CurrencyRateSourceEnum, OrganisationStatusEnum, UserStatusEnum, GenderEnum, LocaleEnum, ImageVariationEnum, ImageTypeEnum, UserOrganisationStatusEnum, TimezoneEnum, DateTimeFormatEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, UploadStatusEnum, UploadTypeEnum, NotificationChannelEnum, NotificationTypeEnum, VintageScoreAuthorEnum, PackageEnum, OfferAlertTimelineActionEnum, OfferRequestStatusEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestTimelineActionEnum, OrganisationUserInvitationStatusEnum } from '@vini-wine/core-enums';
|
|
2
2
|
|
|
3
3
|
interface PriceModel {
|
|
4
4
|
priceMicros: number;
|
|
@@ -23,7 +23,7 @@ interface ContactTypeModel {
|
|
|
23
23
|
|
|
24
24
|
interface TelephoneModel {
|
|
25
25
|
number: string;
|
|
26
|
-
countryCode:
|
|
26
|
+
countryCode: CountryEnum;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
interface ContactPointModel extends UUID {
|
|
@@ -34,8 +34,7 @@ interface ContactPointModel extends UUID {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface CountryModel {
|
|
37
|
-
|
|
38
|
-
codeAlpha2: string;
|
|
37
|
+
codeAlpha2: CountryEnum;
|
|
39
38
|
codeAlpha3: string;
|
|
40
39
|
codeUn: string;
|
|
41
40
|
}
|
|
@@ -48,7 +47,7 @@ interface CurrencyRateModel {
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
interface PostalAddressModel {
|
|
51
|
-
countryCode:
|
|
50
|
+
countryCode: CountryEnum;
|
|
52
51
|
locality: string;
|
|
53
52
|
region: string | null;
|
|
54
53
|
postalCode: string;
|
|
@@ -56,7 +55,7 @@ interface PostalAddressModel {
|
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
interface VatTaxModel {
|
|
59
|
-
countryCode:
|
|
58
|
+
countryCode: CountryEnum;
|
|
60
59
|
value: string;
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -285,22 +284,30 @@ interface SellerModel extends UUID {
|
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
interface RegionModel extends UUID {
|
|
287
|
+
country: CountryModel;
|
|
288
|
+
mappedItems?: any;
|
|
289
|
+
parentRegion?: RegionModel;
|
|
290
|
+
subRegions?: RegionModel[];
|
|
291
|
+
images?: ImageModel[];
|
|
288
292
|
name: string;
|
|
289
293
|
}
|
|
290
294
|
|
|
291
295
|
interface WineTypeModel extends UUID {
|
|
296
|
+
mappedItems?: any;
|
|
292
297
|
name: string;
|
|
293
298
|
}
|
|
294
299
|
|
|
295
300
|
interface WineryModel extends UUID {
|
|
301
|
+
mappedItems?: any;
|
|
296
302
|
name: string;
|
|
297
303
|
}
|
|
298
304
|
|
|
299
305
|
interface WineModel extends UUID {
|
|
306
|
+
region?: RegionModel;
|
|
307
|
+
wineType?: WineTypeModel;
|
|
308
|
+
winery?: WineryModel;
|
|
309
|
+
mappedItems?: any;
|
|
300
310
|
name: string;
|
|
301
|
-
region: RegionModel;
|
|
302
|
-
wineType: WineTypeModel;
|
|
303
|
-
winery: WineryModel;
|
|
304
311
|
}
|
|
305
312
|
|
|
306
313
|
interface VintageRatingModel {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyCodeEnum, UploadVisibilityTypeEnum, ContactPointTypeEnum, CurrencyRateSourceEnum, OrganisationStatusEnum, UserStatusEnum, GenderEnum, LocaleEnum, ImageVariationEnum, ImageTypeEnum, UserOrganisationStatusEnum, TimezoneEnum, DateTimeFormatEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, UploadStatusEnum, UploadTypeEnum,
|
|
1
|
+
import { CurrencyCodeEnum, UploadVisibilityTypeEnum, ContactPointTypeEnum, CountryEnum, CurrencyRateSourceEnum, OrganisationStatusEnum, UserStatusEnum, GenderEnum, LocaleEnum, ImageVariationEnum, ImageTypeEnum, UserOrganisationStatusEnum, TimezoneEnum, DateTimeFormatEnum, OfferAlertFilterCriteriaFieldEnum, FilterOperatorEnum, UploadStatusEnum, UploadTypeEnum, NotificationChannelEnum, NotificationTypeEnum, VintageScoreAuthorEnum, PackageEnum, OfferAlertTimelineActionEnum, OfferRequestStatusEnum, OfferRequestOptionEnum, OfferRequestOptionStatusEnum, OfferRequestTimelineActionEnum, OrganisationUserInvitationStatusEnum } from '@vini-wine/core-enums';
|
|
2
2
|
|
|
3
3
|
interface PriceModel {
|
|
4
4
|
priceMicros: number;
|
|
@@ -23,7 +23,7 @@ interface ContactTypeModel {
|
|
|
23
23
|
|
|
24
24
|
interface TelephoneModel {
|
|
25
25
|
number: string;
|
|
26
|
-
countryCode:
|
|
26
|
+
countryCode: CountryEnum;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
interface ContactPointModel extends UUID {
|
|
@@ -34,8 +34,7 @@ interface ContactPointModel extends UUID {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
interface CountryModel {
|
|
37
|
-
|
|
38
|
-
codeAlpha2: string;
|
|
37
|
+
codeAlpha2: CountryEnum;
|
|
39
38
|
codeAlpha3: string;
|
|
40
39
|
codeUn: string;
|
|
41
40
|
}
|
|
@@ -48,7 +47,7 @@ interface CurrencyRateModel {
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
interface PostalAddressModel {
|
|
51
|
-
countryCode:
|
|
50
|
+
countryCode: CountryEnum;
|
|
52
51
|
locality: string;
|
|
53
52
|
region: string | null;
|
|
54
53
|
postalCode: string;
|
|
@@ -56,7 +55,7 @@ interface PostalAddressModel {
|
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
interface VatTaxModel {
|
|
59
|
-
countryCode:
|
|
58
|
+
countryCode: CountryEnum;
|
|
60
59
|
value: string;
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -285,22 +284,30 @@ interface SellerModel extends UUID {
|
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
interface RegionModel extends UUID {
|
|
287
|
+
country: CountryModel;
|
|
288
|
+
mappedItems?: any;
|
|
289
|
+
parentRegion?: RegionModel;
|
|
290
|
+
subRegions?: RegionModel[];
|
|
291
|
+
images?: ImageModel[];
|
|
288
292
|
name: string;
|
|
289
293
|
}
|
|
290
294
|
|
|
291
295
|
interface WineTypeModel extends UUID {
|
|
296
|
+
mappedItems?: any;
|
|
292
297
|
name: string;
|
|
293
298
|
}
|
|
294
299
|
|
|
295
300
|
interface WineryModel extends UUID {
|
|
301
|
+
mappedItems?: any;
|
|
296
302
|
name: string;
|
|
297
303
|
}
|
|
298
304
|
|
|
299
305
|
interface WineModel extends UUID {
|
|
306
|
+
region?: RegionModel;
|
|
307
|
+
wineType?: WineTypeModel;
|
|
308
|
+
winery?: WineryModel;
|
|
309
|
+
mappedItems?: any;
|
|
300
310
|
name: string;
|
|
301
|
-
region: RegionModel;
|
|
302
|
-
wineType: WineTypeModel;
|
|
303
|
-
winery: WineryModel;
|
|
304
311
|
}
|
|
305
312
|
|
|
306
313
|
interface VintageRatingModel {
|