@apaleo/angular-api-proxy-catalog
Advanced tools
Comparing version 0.2.47 to 0.2.48
@@ -41,6 +41,10 @@ /** | ||
/** | ||
* The service type, used by accounting and determining account and VAT | ||
* The service type, used by accounting to determine the correct revenue account | ||
*/ | ||
serviceType: CreateInventoryModel.ServiceTypeEnum; | ||
/** | ||
* The VAT type, used by accounting to determine the correct VAT amount and account | ||
*/ | ||
vatType: CreateInventoryModel.VatTypeEnum; | ||
/** | ||
* Defines the schedule, by which the items are rented out | ||
@@ -55,4 +59,6 @@ */ | ||
export declare namespace CreateInventoryModel { | ||
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19'; | ||
type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; | ||
const ServiceTypeEnumValues: ReadonlyArray<ServiceTypeEnum>; | ||
type VatTypeEnum = 'Null' | 'VeryReduced' | 'Reduced' | 'Normal'; | ||
const VatTypeEnumValues: ReadonlyArray<VatTypeEnum>; | ||
} | ||
@@ -68,2 +74,3 @@ export declare type CreateInventoryModelWithRawHttp = CreateInventoryModel & ResponseModel<CreateInventoryModel>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<ServiceTypeEnum>>; | ||
vatType: Readonly<ApaleoEnumPropertyMetaData<VatTypeEnum>>; | ||
timeSliceDefinitionId: Readonly<ApaleoPropertyMetaData>; | ||
@@ -70,0 +77,0 @@ inventoryId: Readonly<ApaleoPropertyMetaData>; |
@@ -16,3 +16,4 @@ /** | ||
(function (CreateInventoryModel) { | ||
CreateInventoryModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']); | ||
CreateInventoryModel.ServiceTypeEnumValues = Object.freeze(['Other', 'Accommodation', 'FoodAndBeverages']); | ||
CreateInventoryModel.VatTypeEnumValues = Object.freeze(['Null', 'VeryReduced', 'Reduced', 'Normal']); | ||
})(CreateInventoryModel || (CreateInventoryModel = {})); | ||
@@ -56,2 +57,9 @@ (function (CreateInventoryModel) { | ||
}), | ||
vatType: Object.freeze({ | ||
isRequired: true, | ||
type: 'string', | ||
isEnum: true, | ||
allowedEnumValues: CreateInventoryModel.VatTypeEnumValues, | ||
isPrimitiveType: true, | ||
}), | ||
timeSliceDefinitionId: Object.freeze({ | ||
@@ -74,2 +82,3 @@ isRequired: true, | ||
serviceType: getControl(CreateInventoryModel.$metaData.serviceType, options, 'serviceType'), | ||
vatType: getControl(CreateInventoryModel.$metaData.vatType, options, 'vatType'), | ||
timeSliceDefinitionId: getControl(CreateInventoryModel.$metaData.timeSliceDefinitionId, options, 'timeSliceDefinitionId'), | ||
@@ -76,0 +85,0 @@ inventoryId: getControl(CreateInventoryModel.$metaData.inventoryId, options, 'inventoryId'), |
@@ -45,6 +45,10 @@ /** | ||
/** | ||
* The service type, used by accounting and determining account and VAT | ||
* The service type, used by accounting to determine the correct revenue account | ||
*/ | ||
serviceType: CreateServiceModel.ServiceTypeEnum; | ||
/** | ||
* The VAT type, used by accounting to determine the correct VAT amount and account | ||
*/ | ||
vatType: CreateServiceModel.VatTypeEnum; | ||
/** | ||
* When should this be posted to accounting? | ||
@@ -57,4 +61,6 @@ */ | ||
const PricingUnitEnumValues: ReadonlyArray<PricingUnitEnum>; | ||
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">; | ||
type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other" | "Accommodation" | "FoodAndBeverages">; | ||
type VatTypeEnum = 'Null' | 'VeryReduced' | 'Reduced' | 'Normal'; | ||
const VatTypeEnumValues: ReadonlyArray<"Null" | "VeryReduced" | "Reduced" | "Normal">; | ||
} | ||
@@ -70,3 +76,4 @@ export declare type CreateServiceModelWithRawHttp = CreateServiceModel & ResponseModel<CreateServiceModel>; | ||
pricingUnit: Readonly<ApaleoEnumPropertyMetaData<PricingUnitEnum>>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other" | "Accommodation" | "FoodAndBeverages">>; | ||
vatType: Readonly<ApaleoEnumPropertyMetaData<"Null" | "VeryReduced" | "Reduced" | "Normal">>; | ||
postNextDay: Readonly<ApaleoPropertyMetaData>; | ||
@@ -73,0 +80,0 @@ }; |
@@ -17,3 +17,4 @@ /** | ||
CreateServiceModel.PricingUnitEnumValues = Object.freeze(['Room', 'Person']); | ||
CreateServiceModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']); | ||
CreateServiceModel.ServiceTypeEnumValues = Object.freeze(['Other', 'Accommodation', 'FoodAndBeverages']); | ||
CreateServiceModel.VatTypeEnumValues = Object.freeze(['Null', 'VeryReduced', 'Reduced', 'Normal']); | ||
})(CreateServiceModel || (CreateServiceModel = {})); | ||
@@ -64,2 +65,9 @@ (function (CreateServiceModel) { | ||
}), | ||
vatType: Object.freeze({ | ||
isRequired: true, | ||
type: 'string', | ||
isEnum: true, | ||
allowedEnumValues: CreateServiceModel.VatTypeEnumValues, | ||
isPrimitiveType: true, | ||
}), | ||
postNextDay: Object.freeze({ | ||
@@ -78,2 +86,3 @@ isRequired: true, | ||
serviceType: getControl(CreateServiceModel.$metaData.serviceType, options, 'serviceType'), | ||
vatType: getControl(CreateServiceModel.$metaData.vatType, options, 'vatType'), | ||
postNextDay: getControl(CreateServiceModel.$metaData.postNextDay, options, 'postNextDay'), | ||
@@ -80,0 +89,0 @@ }; |
@@ -49,4 +49,4 @@ /** | ||
export declare namespace InventoryItemModel { | ||
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">; | ||
type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other" | "Accommodation" | "FoodAndBeverages">; | ||
} | ||
@@ -60,3 +60,3 @@ export declare type InventoryItemModelWithRawHttp = InventoryItemModel & ResponseModel<InventoryItemModel>; | ||
description: Readonly<ApaleoPropertyMetaData>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other" | "Accommodation" | "FoodAndBeverages">>; | ||
defaultPrice: Readonly<ApaleoPropertyMetaData>; | ||
@@ -63,0 +63,0 @@ links: Readonly<ApaleoPropertyMetaData>; |
@@ -16,3 +16,3 @@ /** | ||
(function (InventoryItemModel) { | ||
InventoryItemModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']); | ||
InventoryItemModel.ServiceTypeEnumValues = Object.freeze(['Other', 'Accommodation', 'FoodAndBeverages']); | ||
})(InventoryItemModel || (InventoryItemModel = {})); | ||
@@ -19,0 +19,0 @@ (function (InventoryItemModel) { |
@@ -44,6 +44,10 @@ /** | ||
/** | ||
* The service type, used by accounting and determining account and VAT | ||
* The service type, used by accounting to determine the correct revenue account | ||
*/ | ||
serviceType: InventoryModel.ServiceTypeEnum; | ||
/** | ||
* The VAT type, used by accounting to determine the correct VAT amount and account | ||
*/ | ||
vatType: InventoryModel.VatTypeEnum; | ||
/** | ||
* Defines the schedule, by which the items are rented out | ||
@@ -62,4 +66,6 @@ */ | ||
export declare namespace InventoryModel { | ||
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">; | ||
type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other" | "Accommodation" | "FoodAndBeverages">; | ||
type VatTypeEnum = 'Null' | 'VeryReduced' | 'Reduced' | 'Normal'; | ||
const VatTypeEnumValues: ReadonlyArray<"Null" | "VeryReduced" | "Reduced" | "Normal">; | ||
} | ||
@@ -74,3 +80,4 @@ export declare type InventoryModelWithRawHttp = InventoryModel & ResponseModel<InventoryModel>; | ||
defaultPrice: Readonly<ApaleoPropertyMetaData>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other" | "Accommodation" | "FoodAndBeverages">>; | ||
vatType: Readonly<ApaleoEnumPropertyMetaData<"Null" | "VeryReduced" | "Reduced" | "Normal">>; | ||
timeSliceDefinition: Readonly<ApaleoPropertyMetaData>; | ||
@@ -77,0 +84,0 @@ inventory: Readonly<ApaleoPropertyMetaData>; |
@@ -19,3 +19,4 @@ /** | ||
(function (InventoryModel) { | ||
InventoryModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']); | ||
InventoryModel.ServiceTypeEnumValues = Object.freeze(['Other', 'Accommodation', 'FoodAndBeverages']); | ||
InventoryModel.VatTypeEnumValues = Object.freeze(['Null', 'VeryReduced', 'Reduced', 'Normal']); | ||
})(InventoryModel || (InventoryModel = {})); | ||
@@ -57,2 +58,9 @@ (function (InventoryModel) { | ||
}), | ||
vatType: Object.freeze({ | ||
isRequired: true, | ||
type: 'string', | ||
isEnum: true, | ||
allowedEnumValues: InventoryModel.VatTypeEnumValues, | ||
isPrimitiveType: true, | ||
}), | ||
timeSliceDefinition: Object.freeze({ | ||
@@ -77,2 +85,3 @@ isRequired: true, | ||
serviceType: getControl(InventoryModel.$metaData.serviceType, options, 'serviceType'), | ||
vatType: getControl(InventoryModel.$metaData.vatType, options, 'vatType'), | ||
timeSliceDefinition: EmbeddedTimeSliceDefinitionModel.$buildForm(fb), | ||
@@ -79,0 +88,0 @@ inventory: EmbeddedUnitGroupModel.$buildForm(fb), |
@@ -43,6 +43,10 @@ /** | ||
/** | ||
* The service type, used by accounting and determining account and VAT | ||
* The service type, used by accounting to determine the correct revenue account | ||
*/ | ||
serviceType: ServiceItemModel.ServiceTypeEnum; | ||
/** | ||
* The vat type, used by accounting to determine the correct vat amount and account | ||
*/ | ||
vatType: ServiceItemModel.VatTypeEnum; | ||
/** | ||
* The property to which the service belongs | ||
@@ -61,4 +65,6 @@ */ | ||
const PricingUnitEnumValues: ReadonlyArray<"Room" | "Person">; | ||
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">; | ||
type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other" | "Accommodation" | "FoodAndBeverages">; | ||
type VatTypeEnum = 'Null' | 'VeryReduced' | 'Reduced' | 'Normal'; | ||
const VatTypeEnumValues: ReadonlyArray<"Null" | "VeryReduced" | "Reduced" | "Normal">; | ||
} | ||
@@ -74,3 +80,4 @@ export declare type ServiceItemModelWithRawHttp = ServiceItemModel & ResponseModel<ServiceItemModel>; | ||
pricingUnit: Readonly<ApaleoEnumPropertyMetaData<"Room" | "Person">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other" | "Accommodation" | "FoodAndBeverages">>; | ||
vatType: Readonly<ApaleoEnumPropertyMetaData<"Null" | "VeryReduced" | "Reduced" | "Normal">>; | ||
property: Readonly<ApaleoPropertyMetaData>; | ||
@@ -77,0 +84,0 @@ links: Readonly<ApaleoPropertyMetaData>; |
@@ -18,3 +18,4 @@ /** | ||
ServiceItemModel.PricingUnitEnumValues = Object.freeze(['Room', 'Person']); | ||
ServiceItemModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']); | ||
ServiceItemModel.ServiceTypeEnumValues = Object.freeze(['Other', 'Accommodation', 'FoodAndBeverages']); | ||
ServiceItemModel.VatTypeEnumValues = Object.freeze(['Null', 'VeryReduced', 'Reduced', 'Normal']); | ||
})(ServiceItemModel || (ServiceItemModel = {})); | ||
@@ -60,2 +61,9 @@ (function (ServiceItemModel) { | ||
}), | ||
vatType: Object.freeze({ | ||
isRequired: true, | ||
type: 'string', | ||
isEnum: true, | ||
allowedEnumValues: ServiceItemModel.VatTypeEnumValues, | ||
isPrimitiveType: true, | ||
}), | ||
property: Object.freeze({ | ||
@@ -79,2 +87,3 @@ isRequired: true, | ||
serviceType: getControl(ServiceItemModel.$metaData.serviceType, options, 'serviceType'), | ||
vatType: getControl(ServiceItemModel.$metaData.vatType, options, 'vatType'), | ||
property: EmbeddedPropertyModel.$buildForm(fb), | ||
@@ -81,0 +90,0 @@ }; |
@@ -46,6 +46,10 @@ /** | ||
/** | ||
* The service type, used by accounting and determining account and VAT | ||
* The service type, used by accounting to determine the correct revenue account | ||
*/ | ||
serviceType: ServiceModel.ServiceTypeEnum; | ||
/** | ||
* The VAT type, used by accounting to determine the correct VAT amount and account | ||
*/ | ||
vatType: ServiceModel.VatTypeEnum; | ||
/** | ||
* When should this be posted to accounting? | ||
@@ -62,4 +66,6 @@ */ | ||
const PricingUnitEnumValues: ReadonlyArray<"Room" | "Person">; | ||
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">; | ||
type ServiceTypeEnum = 'Other' | 'Accommodation' | 'FoodAndBeverages'; | ||
const ServiceTypeEnumValues: ReadonlyArray<"Other" | "Accommodation" | "FoodAndBeverages">; | ||
type VatTypeEnum = 'Null' | 'VeryReduced' | 'Reduced' | 'Normal'; | ||
const VatTypeEnumValues: ReadonlyArray<"Null" | "VeryReduced" | "Reduced" | "Normal">; | ||
} | ||
@@ -75,3 +81,4 @@ export declare type ServiceModelWithRawHttp = ServiceModel & ResponseModel<ServiceModel>; | ||
pricingUnit: Readonly<ApaleoEnumPropertyMetaData<"Room" | "Person">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>; | ||
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other" | "Accommodation" | "FoodAndBeverages">>; | ||
vatType: Readonly<ApaleoEnumPropertyMetaData<"Null" | "VeryReduced" | "Reduced" | "Normal">>; | ||
postNextDay: Readonly<ApaleoPropertyMetaData>; | ||
@@ -78,0 +85,0 @@ property: Readonly<ApaleoPropertyMetaData>; |
@@ -18,3 +18,4 @@ /** | ||
ServiceModel.PricingUnitEnumValues = Object.freeze(['Room', 'Person']); | ||
ServiceModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']); | ||
ServiceModel.ServiceTypeEnumValues = Object.freeze(['Other', 'Accommodation', 'FoodAndBeverages']); | ||
ServiceModel.VatTypeEnumValues = Object.freeze(['Null', 'VeryReduced', 'Reduced', 'Normal']); | ||
})(ServiceModel || (ServiceModel = {})); | ||
@@ -63,2 +64,9 @@ (function (ServiceModel) { | ||
}), | ||
vatType: Object.freeze({ | ||
isRequired: true, | ||
type: 'string', | ||
isEnum: true, | ||
allowedEnumValues: ServiceModel.VatTypeEnumValues, | ||
isPrimitiveType: true, | ||
}), | ||
postNextDay: Object.freeze({ | ||
@@ -81,2 +89,3 @@ isRequired: true, | ||
serviceType: getControl(ServiceModel.$metaData.serviceType, options, 'serviceType'), | ||
vatType: getControl(ServiceModel.$metaData.vatType, options, 'vatType'), | ||
postNextDay: getControl(ServiceModel.$metaData.postNextDay, options, 'postNextDay'), | ||
@@ -83,0 +92,0 @@ property: EmbeddedPropertyModel.$buildForm(fb), |
{ | ||
"name": "@apaleo/angular-api-proxy-catalog", | ||
"version": "0.2.47", | ||
"version": "0.2.48", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"@angular/platform-browser": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.47", | ||
"@apaleo/angular-api-proxy-common": "^0.2.48", | ||
"rxjs": "^5.4.2", | ||
@@ -28,3 +28,3 @@ "tslib": "^1.7.1", | ||
"@angular/platform-server": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.47", | ||
"@apaleo/angular-api-proxy-common": "^0.2.48", | ||
"rxjs": "^5.4.2", | ||
@@ -31,0 +31,0 @@ "tslib": "^1.7.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
284301
3306