@chevre/factory 4.268.0-alpha.5 → 4.268.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.
@@ -1,6 +1,6 @@
1
1
  import { IMonetaryAmount } from '../monetaryAmount';
2
2
  import { IPaymentMethod } from '../paymentMethod';
3
- export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'validThrough'>;
3
+ export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'validThrough' | 'value'>;
4
4
  /**
5
5
  * payment card interface
6
6
  */
@@ -9,7 +9,6 @@ export interface IPaymentCard extends IPaymentMethod {
9
9
  /**
10
10
  * A cardholder benefit that pays the cardholder a small percentage of their net expenditures.
11
11
  */
12
- cashBack?: number;
13
12
  /**
14
13
  * The amount of money.
15
14
  */
@@ -4,6 +4,7 @@ import { IThing } from './thing';
4
4
  * payment method interface
5
5
  */
6
6
  export interface IPaymentMethod extends Pick<IThing, 'name'> {
7
+ name?: string;
7
8
  project: Pick<IProject, 'id' | 'typeOf'>;
8
9
  typeOf: string;
9
10
  identifier: string;
package/lib/permit.d.ts CHANGED
@@ -19,6 +19,7 @@ export declare type IIssuedBy = Pick<IOrganization, 'typeOf' | 'id' | 'name'>;
19
19
  * {@link https://schema.org/Permit}
20
20
  */
21
21
  export interface IPermit extends Pick<IThing, 'name'> {
22
+ name?: string;
22
23
  project: Pick<IProject, 'id' | 'typeOf'>;
23
24
  typeOf: PermitType;
24
25
  identifier?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.268.0-alpha.5",
3
+ "version": "4.268.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",