@chevre/factory 4.289.0-alpha.8 → 4.289.0-alpha.9

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.
Files changed (2) hide show
  1. package/lib/permit.d.ts +6 -6
  2. package/package.json +1 -1
package/lib/permit.d.ts CHANGED
@@ -4,21 +4,21 @@ import { IOrganization } from './organization';
4
4
  import { IProduct } from './product';
5
5
  import { IProject } from './project';
6
6
  import { IPropertyValue } from './propertyValue';
7
- import { IThing } from './thing';
8
7
  export declare enum PermitType {
9
8
  Permit = "Permit"
10
9
  }
11
- export declare type IIssuedThrough = Pick<IProduct, 'id' | 'project' | 'serviceType' | 'typeOf'>;
12
- export declare type IPaymentAccount = Pick<IAccount, 'project' | 'typeOf' | 'accountNumber'>;
10
+ export declare type IIssuedThrough = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
11
+ export declare type IPaymentAccount = Pick<IAccount, 'accountNumber' | 'typeOf'>;
12
+ export declare type IPaymentAccountWithDetail = Pick<IAccount, 'accountNumber' | 'availableBalance' | 'balance' | 'typeOf'>;
13
13
  export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
14
- export declare type IDepositAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'maxValue' | 'minValue'>;
15
- export declare type IPaymentAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'maxValue' | 'minValue'>;
14
+ export declare type IDepositAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
15
+ export declare type IPaymentAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
16
16
  export declare type IIssuedBy = Pick<IOrganization, 'typeOf' | 'id' | 'name'>;
17
17
  /**
18
18
  * A permit issued by an organization, e.g. a parking pass.
19
19
  * {@link https://schema.org/Permit}
20
20
  */
21
- export interface IPermit extends Pick<IThing, 'name'> {
21
+ export interface IPermit {
22
22
  name?: string;
23
23
  project: Pick<IProject, 'id' | 'typeOf'>;
24
24
  typeOf: PermitType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.289.0-alpha.8",
3
+ "version": "4.289.0-alpha.9",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",