Socket
Socket
Sign inDemoInstall

@apaleo/angular-api-proxy-catalog

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apaleo/angular-api-proxy-catalog - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

10

api/inventory.service.d.ts

@@ -39,2 +39,10 @@ import { Http, Headers } from '@angular/http';

/**
* Return inventory items for specific property
*/
propertyId: string;
/**
* Return inventory items with the specific time slice definition
*/
timeSliceDefinitionId?: string;
/**
* Page number, starting from 1. Results in 204 if there are no items on that page.

@@ -118,2 +126,4 @@ */

* Get the list of inventory-based catalog entries.
* @param propertyId Return inventory items for specific property
* @param timeSliceDefinitionId Return inventory items with the specific time slice definition
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page.

@@ -120,0 +130,0 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored

@@ -234,2 +234,4 @@ /**

* Get the list of inventory-based catalog entries.
* @param propertyId Return inventory items for specific property
* @param timeSliceDefinitionId Return inventory items with the specific time slice definition
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page.

@@ -244,2 +246,12 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored

var headers = new Headers(this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845
// verify required parameter 'propertyId' is not null or undefined
if (params.propertyId === null || params.propertyId === undefined) {
throw new Error('Required parameter propertyId was null or undefined when calling catalogInventoryGet.');
}
if (params.propertyId !== undefined) {
queryParameters.set('propertyId', params.propertyId);
}
if (params.timeSliceDefinitionId !== undefined) {
queryParameters.set('timeSliceDefinitionId', params.timeSliceDefinitionId);
}
if (params.pageNumber !== undefined) {

@@ -246,0 +258,0 @@ queryParameters.set('pageNumber', params.pageNumber);

7

model/createInventoryModel.d.ts

@@ -41,2 +41,6 @@ /**

/**
* Whether the default price includes VAT or not.
*/
includesVat: boolean;
/**
* The service type, used by accounting and determining account and VAT

@@ -55,3 +59,3 @@ */

export declare namespace CreateInventoryModel {
type ServiceTypeEnum = 'Accomodation7' | 'Other0' | 'Other7' | 'Other19' | 'Food7' | 'Food19' | 'Beverages7' | 'Beverages19';
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19';
const ServiceTypeEnumValues: ReadonlyArray<ServiceTypeEnum>;

@@ -67,2 +71,3 @@ }

defaultPrice: Readonly<ApaleoPropertyMetaData>;
includesVat: Readonly<ApaleoPropertyMetaData>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<ServiceTypeEnum>>;

@@ -69,0 +74,0 @@ timeSliceDefinitionId: Readonly<ApaleoPropertyMetaData>;

@@ -16,3 +16,3 @@ /**

(function (CreateInventoryModel) {
CreateInventoryModel.ServiceTypeEnumValues = Object.freeze(['Accomodation7', 'Other0', 'Other7', 'Other19', 'Food7', 'Food19', 'Beverages7', 'Beverages19']);
CreateInventoryModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']);
})(CreateInventoryModel || (CreateInventoryModel = {}));

@@ -49,2 +49,7 @@ (function (CreateInventoryModel) {

}),
includesVat: Object.freeze({
isRequired: true,
type: 'boolean',
isPrimitiveType: true,
}),
serviceType: Object.freeze({

@@ -73,2 +78,3 @@ isRequired: true,

defaultPrice: MonetaryValueModel.$buildForm(fb),
includesVat: getControl(CreateInventoryModel.$metaData.includesVat, options, 'includesVat'),
serviceType: getControl(CreateInventoryModel.$metaData.serviceType, options, 'serviceType'),

@@ -75,0 +81,0 @@ timeSliceDefinitionId: getControl(CreateInventoryModel.$metaData.timeSliceDefinitionId, options, 'timeSliceDefinitionId'),

11

model/createServiceModel.d.ts

@@ -41,2 +41,6 @@ /**

/**
* Whether the default price includes VAT or not.
*/
includesVat: boolean;
/**
* Defines the granularity (flat, room, person) for which this item is offered and priced.

@@ -57,4 +61,4 @@ */

const PricingUnitEnumValues: ReadonlyArray<PricingUnitEnum>;
type ServiceTypeEnum = 'Accomodation7' | 'Other0' | 'Other7' | 'Other19' | 'Food7' | 'Food19' | 'Beverages7' | 'Beverages19';
const ServiceTypeEnumValues: ReadonlyArray<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">;
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19';
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">;
}

@@ -69,4 +73,5 @@ export declare type CreateServiceModelWithRawHttp = CreateServiceModel & ResponseModel<CreateServiceModel>;

defaultPrice: Readonly<ApaleoPropertyMetaData>;
includesVat: Readonly<ApaleoPropertyMetaData>;
pricingUnit: Readonly<ApaleoEnumPropertyMetaData<PricingUnitEnum>>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>;
postNextDay: Readonly<ApaleoPropertyMetaData>;

@@ -73,0 +78,0 @@ };

@@ -17,3 +17,3 @@ /**

CreateServiceModel.PricingUnitEnumValues = Object.freeze(['Room', 'Person']);
CreateServiceModel.ServiceTypeEnumValues = Object.freeze(['Accomodation7', 'Other0', 'Other7', 'Other19', 'Food7', 'Food19', 'Beverages7', 'Beverages19']);
CreateServiceModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']);
})(CreateServiceModel || (CreateServiceModel = {}));

@@ -50,2 +50,7 @@ (function (CreateServiceModel) {

}),
includesVat: Object.freeze({
isRequired: true,
type: 'boolean',
isPrimitiveType: true,
}),
pricingUnit: Object.freeze({

@@ -76,2 +81,3 @@ isRequired: true,

defaultPrice: MonetaryValueModel.$buildForm(fb),
includesVat: getControl(CreateServiceModel.$metaData.includesVat, options, 'includesVat'),
pricingUnit: getControl(CreateServiceModel.$metaData.pricingUnit, options, 'pricingUnit'),

@@ -78,0 +84,0 @@ serviceType: getControl(CreateServiceModel.$metaData.serviceType, options, 'serviceType'),

@@ -49,4 +49,4 @@ /**

export declare namespace InventoryItemModel {
type ServiceTypeEnum = 'Accomodation7' | 'Other0' | 'Other7' | 'Other19' | 'Food7' | 'Food19' | 'Beverages7' | 'Beverages19';
const ServiceTypeEnumValues: ReadonlyArray<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">;
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19';
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">;
}

@@ -60,3 +60,3 @@ export declare type InventoryItemModelWithRawHttp = InventoryItemModel & ResponseModel<InventoryItemModel>;

description: Readonly<ApaleoPropertyMetaData>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>;
defaultPrice: Readonly<ApaleoPropertyMetaData>;

@@ -63,0 +63,0 @@ links: Readonly<ApaleoPropertyMetaData>;

@@ -16,3 +16,3 @@ /**

(function (InventoryItemModel) {
InventoryItemModel.ServiceTypeEnumValues = Object.freeze(['Accomodation7', 'Other0', 'Other7', 'Other19', 'Food7', 'Food19', 'Beverages7', 'Beverages19']);
InventoryItemModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']);
})(InventoryItemModel || (InventoryItemModel = {}));

@@ -19,0 +19,0 @@ (function (InventoryItemModel) {

@@ -61,4 +61,4 @@ /**

export declare namespace InventoryModel {
type ServiceTypeEnum = 'Accomodation7' | 'Other0' | 'Other7' | 'Other19' | 'Food7' | 'Food19' | 'Beverages7' | 'Beverages19';
const ServiceTypeEnumValues: ReadonlyArray<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">;
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19';
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">;
}

@@ -73,3 +73,3 @@ export declare type InventoryModelWithRawHttp = InventoryModel & ResponseModel<InventoryModel>;

defaultPrice: Readonly<ApaleoPropertyMetaData>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>;
timeSliceDefinition: Readonly<ApaleoPropertyMetaData>;

@@ -76,0 +76,0 @@ inventory: Readonly<ApaleoPropertyMetaData>;

@@ -19,3 +19,3 @@ /**

(function (InventoryModel) {
InventoryModel.ServiceTypeEnumValues = Object.freeze(['Accomodation7', 'Other0', 'Other7', 'Other19', 'Food7', 'Food19', 'Beverages7', 'Beverages19']);
InventoryModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']);
})(InventoryModel || (InventoryModel = {}));

@@ -22,0 +22,0 @@ (function (InventoryModel) {

@@ -55,4 +55,4 @@ /**

const PricingUnitEnumValues: ReadonlyArray<"Room" | "Person">;
type ServiceTypeEnum = 'Accomodation7' | 'Other0' | 'Other7' | 'Other19' | 'Food7' | 'Food19' | 'Beverages7' | 'Beverages19';
const ServiceTypeEnumValues: ReadonlyArray<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">;
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19';
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">;
}

@@ -68,3 +68,3 @@ export declare type ServiceItemModelWithRawHttp = ServiceItemModel & ResponseModel<ServiceItemModel>;

pricingUnit: Readonly<ApaleoEnumPropertyMetaData<"Room" | "Person">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>;
links: Readonly<ApaleoPropertyMetaData>;

@@ -71,0 +71,0 @@ };

@@ -17,3 +17,3 @@ /**

ServiceItemModel.PricingUnitEnumValues = Object.freeze(['Room', 'Person']);
ServiceItemModel.ServiceTypeEnumValues = Object.freeze(['Accomodation7', 'Other0', 'Other7', 'Other19', 'Food7', 'Food19', 'Beverages7', 'Beverages19']);
ServiceItemModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']);
})(ServiceItemModel || (ServiceItemModel = {}));

@@ -20,0 +20,0 @@ (function (ServiceItemModel) {

@@ -61,4 +61,4 @@ /**

const PricingUnitEnumValues: ReadonlyArray<"Room" | "Person">;
type ServiceTypeEnum = 'Accomodation7' | 'Other0' | 'Other7' | 'Other19' | 'Food7' | 'Food19' | 'Beverages7' | 'Beverages19';
const ServiceTypeEnumValues: ReadonlyArray<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">;
type ServiceTypeEnum = 'Other0' | 'Accomodation7' | 'Food7' | 'Beverages7' | 'Other7' | 'Food19' | 'Beverages19' | 'Other19';
const ServiceTypeEnumValues: ReadonlyArray<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">;
}

@@ -74,3 +74,3 @@ export declare type ServiceModelWithRawHttp = ServiceModel & ResponseModel<ServiceModel>;

pricingUnit: Readonly<ApaleoEnumPropertyMetaData<"Room" | "Person">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Accomodation7" | "Other0" | "Other7" | "Other19" | "Food7" | "Food19" | "Beverages7" | "Beverages19">>;
serviceType: Readonly<ApaleoEnumPropertyMetaData<"Other0" | "Accomodation7" | "Food7" | "Beverages7" | "Other7" | "Food19" | "Beverages19" | "Other19">>;
postNextDay: Readonly<ApaleoPropertyMetaData>;

@@ -77,0 +77,0 @@ property: Readonly<ApaleoPropertyMetaData>;

@@ -18,3 +18,3 @@ /**

ServiceModel.PricingUnitEnumValues = Object.freeze(['Room', 'Person']);
ServiceModel.ServiceTypeEnumValues = Object.freeze(['Accomodation7', 'Other0', 'Other7', 'Other19', 'Food7', 'Food19', 'Beverages7', 'Beverages19']);
ServiceModel.ServiceTypeEnumValues = Object.freeze(['Other0', 'Accomodation7', 'Food7', 'Beverages7', 'Other7', 'Food19', 'Beverages19', 'Other19']);
})(ServiceModel || (ServiceModel = {}));

@@ -21,0 +21,0 @@ (function (ServiceModel) {

{
"name": "@apaleo/angular-api-proxy-catalog",
"version": "0.2.4",
"version": "0.2.5",
"description": "",

@@ -12,3 +12,3 @@ "main": "index.js",

"@angular/platform-browser": "^4.3.5",
"@apaleo/angular-api-proxy-common": "^0.2.4",
"@apaleo/angular-api-proxy-common": "^0.2.5",
"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.4",
"@apaleo/angular-api-proxy-common": "^0.2.5",
"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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc