@aptly-as/types 3.10.2 → 3.10.4

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/models/app.d.ts CHANGED
@@ -71,7 +71,8 @@ export declare enum AptlyOrganizationInjection {
71
71
  Service = "service",
72
72
  Products = "products",
73
73
  Content = "content",
74
- Admin = "admin"
74
+ Admin = "admin",
75
+ AdminContent = "admin-content"
75
76
  }
76
77
  export declare enum AptlyProjectInjection {
77
78
  Base = "",
package/models/app.js CHANGED
@@ -30,6 +30,7 @@ export var AptlyOrganizationInjection;
30
30
  AptlyOrganizationInjection["Products"] = "products";
31
31
  AptlyOrganizationInjection["Content"] = "content";
32
32
  AptlyOrganizationInjection["Admin"] = "admin";
33
+ AptlyOrganizationInjection["AdminContent"] = "admin-content";
33
34
  })(AptlyOrganizationInjection || (AptlyOrganizationInjection = {}));
34
35
  export var AptlyProjectInjection;
35
36
  (function (AptlyProjectInjection) {
package/models/item.d.ts CHANGED
@@ -20,7 +20,8 @@ export declare enum AptlyItemType {
20
20
  Service = "service",
21
21
  Resource = "resource",
22
22
  Material = "material",
23
- Category = "category"
23
+ Category = "category",
24
+ Package = "package"
24
25
  }
25
26
  export interface AptlyItemStandardIdentification {
26
27
  scheme: AptlyInternationalCodeDesignator;
package/models/item.js CHANGED
@@ -6,4 +6,5 @@ export var AptlyItemType;
6
6
  AptlyItemType["Resource"] = "resource";
7
7
  AptlyItemType["Material"] = "material";
8
8
  AptlyItemType["Category"] = "category";
9
+ AptlyItemType["Package"] = "package";
9
10
  })(AptlyItemType || (AptlyItemType = {}));
@@ -21,7 +21,7 @@ export interface AptlyOptionSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> {
21
21
  unit: ID | AptlyUnitSchema<ID, DATE> | null;
22
22
  product: ID | AptlyProductSchema<ID, DATE> | null;
23
23
  offer: ID | AptlyOfferSchema<ID, DATE> | null;
24
- category: ID | null;
24
+ category: ID | AptlyCategorySchema<ID, DATE> | null;
25
25
  option: ID | AptlyOptionSchema<ID, DATE> | null;
26
26
  offerItem: ID | null;
27
27
  period: ID | AptlyPeriodSchema<ID, DATE> | null;
package/models/price.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { AptlyBaseSchema } from './extends';
2
2
  import { AptlyDatabase } from '../enums';
3
+ import { AptlyWholesalerSchema } from './wholesaler.js';
3
4
  export type AptlyPriceRow = AptlyPriceSchema<string, string>;
4
5
  export interface AptlyPriceSchema<ID, DATE> extends Pick<AptlyBaseSchema<ID, DATE>, '_id' | 'createdAt' | 'updatedAt'> {
5
6
  _id: ID;
6
7
  organization: ID | null;
7
8
  product: ID | null;
8
- wholesaler: ID;
9
+ wholesaler: ID | AptlyWholesalerSchema<ID, DATE> | null;
9
10
  database: AptlyDatabase;
10
11
  identification: string;
11
12
  amount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.10.2",
3
+ "version": "3.10.4",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",