@aptly-as/types 3.3.0 → 3.4.0

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # Aptly Types
2
-
1
+ # Aptly Types
2
+
3
3
  [Swagger API documentation](https://app.swaggerhub.com/apis-docs/Aptly-AS/aptly-api/1.0.0)
package/core/scope.d.ts CHANGED
@@ -28,6 +28,7 @@ export declare enum AptlyScopes {
28
28
  Admin = "admin",
29
29
  AdminApps = "adminApps",
30
30
  AdminBilling = "adminBilling",
31
+ AdminInfo = "adminInfo",
31
32
  AdminModules = "adminModules",
32
33
  AdminNews = "adminNews",
33
34
  AdminPlans = "adminPlans",
package/core/scope.js CHANGED
@@ -30,6 +30,7 @@ export var AptlyScopes;
30
30
  AptlyScopes["Admin"] = "admin";
31
31
  AptlyScopes["AdminApps"] = "adminApps";
32
32
  AptlyScopes["AdminBilling"] = "adminBilling";
33
+ AptlyScopes["AdminInfo"] = "adminInfo";
33
34
  AptlyScopes["AdminModules"] = "adminModules";
34
35
  AptlyScopes["AdminNews"] = "adminNews";
35
36
  AptlyScopes["AdminPlans"] = "adminPlans";
package/locales/en.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "standards": {
3
- "quantityUnitCode": {
4
- "C62": "",
5
- "H87": "pcs",
6
- "MTR": "m",
7
- "KMT": "km",
8
- "MTK": "m²",
9
- "HUR_one": "hour",
10
- "HUR_other": "hours",
11
- "DAY_one": "day",
12
- "DAY_other": "days"
13
- }
14
- }
15
- }
1
+ {
2
+ "standards": {
3
+ "quantityUnitCode": {
4
+ "C62": "",
5
+ "H87": "pcs",
6
+ "MTR": "m",
7
+ "KMT": "km",
8
+ "MTK": "m²",
9
+ "HUR_one": "hour",
10
+ "HUR_other": "hours",
11
+ "DAY_one": "day",
12
+ "DAY_other": "days"
13
+ }
14
+ }
15
+ }
package/locales/nb.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "standards": {
3
- "quantityUnitCode": {
4
- "C62": "",
5
- "H87": "stk",
6
- "MTR": "m",
7
- "KMT": "km",
8
- "MTK": "m²",
9
- "HUR_one": "time",
10
- "HUR_other": "timer",
11
- "DAY_one": "dag",
12
- "DAY_other": "dager"
13
- }
14
- }
15
- }
1
+ {
2
+ "standards": {
3
+ "quantityUnitCode": {
4
+ "C62": "",
5
+ "H87": "stk",
6
+ "MTR": "m",
7
+ "KMT": "km",
8
+ "MTK": "m²",
9
+ "HUR_one": "time",
10
+ "HUR_other": "timer",
11
+ "DAY_one": "dag",
12
+ "DAY_other": "dager"
13
+ }
14
+ }
15
+ }
package/models/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './department.js';
8
8
  export * from './document.js';
9
9
  export * from './email.js';
10
10
  export * from './extends.js';
11
+ export * from './info.js';
11
12
  export * from './inquiry.js';
12
13
  export * from './invite.js';
13
14
  export * from './item.js';
package/models/index.js CHANGED
@@ -8,6 +8,7 @@ export * from './department.js';
8
8
  export * from './document.js';
9
9
  export * from './email.js';
10
10
  export * from './extends.js';
11
+ export * from './info.js';
11
12
  export * from './inquiry.js';
12
13
  export * from './invite.js';
13
14
  export * from './item.js';
@@ -0,0 +1,12 @@
1
+ import { AptlyBaseSchema } from './extends';
2
+ import { AptlyModules } from '../core';
3
+ import { AptlyMediaSrcSchema } from './media';
4
+ export type AptlyInfo = AptlyInfoSchema<string, string>;
5
+ export interface AptlyInfoSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> {
6
+ published: boolean;
7
+ media: AptlyMediaSrcSchema<ID, DATE> | null;
8
+ embed: string;
9
+ module: AptlyModules;
10
+ description: string;
11
+ path: string;
12
+ }
package/models/info.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/models/item.d.ts CHANGED
@@ -17,7 +17,8 @@ export interface AptlyItemSchema<ID, DATE> {
17
17
  export declare enum AptlyItemType {
18
18
  Physical = "physical",
19
19
  Digital = "digital",
20
- Service = "service"
20
+ Service = "service",
21
+ Resource = "resource"
21
22
  }
22
23
  export interface AptlyItemStandardIdentification {
23
24
  scheme: AptlyInternationalCodeDesignator;
package/models/item.js CHANGED
@@ -3,4 +3,5 @@ export var AptlyItemType;
3
3
  AptlyItemType["Physical"] = "physical";
4
4
  AptlyItemType["Digital"] = "digital";
5
5
  AptlyItemType["Service"] = "service";
6
+ AptlyItemType["Resource"] = "resource";
6
7
  })(AptlyItemType || (AptlyItemType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",