@chevre/factory 9.0.0-alpha.2 → 9.0.0-alpha.3

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.
@@ -72,20 +72,6 @@ export interface IInvoice {
72
72
  * The identifier for the account the payment will be applied to.
73
73
  */
74
74
  accountId?: string;
75
- /**
76
- * The time interval used to compute the invoice.
77
- */
78
- billingPeriod?: string;
79
- /**
80
- * An entity that arranges for an exchange between a buyer and a seller.
81
- * In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.
82
- * If it is not clear whether an entity is a broker, seller, or buyer, the latter two terms are preferred. Supersedes bookingAgent.
83
- */
84
- broker?: IBroker;
85
- /**
86
- * A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.
87
- */
88
- category?: string;
89
75
  /**
90
76
  * A number that confirms the given order or payment has been received.
91
77
  */
@@ -119,13 +105,6 @@ export interface IInvoice {
119
105
  * A provider may also serve as the seller. Supersedes carrier.
120
106
  */
121
107
  provider?: IProvider;
122
- /**
123
- * The Order(s) related to this Invoice. One or more Orders may be combined into a single Invoice.
124
- */
125
- /**
126
- * The date the invoice is scheduled to be paid.
127
- */
128
- scheduledPaymentDate?: Date;
129
108
  /**
130
109
  * The total amount due.
131
110
  */
@@ -2,7 +2,7 @@ import { IAttributes as ISendEmailMessageActionAttributes } from '../action/tran
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { IClientUser } from '../clientUser';
4
4
  import { CreativeWorkType } from '../creativeWorkType';
5
- import { ICustomer as IOrderCustomer, IBroker, ISeller as IOrderSeller, IOrder } from '../order';
5
+ import { ICustomer as IOrderCustomer, ISeller as IOrderSeller, IOrder } from '../order';
6
6
  import { OrderStatus } from '../orderStatus';
7
7
  import { IProject } from '../project';
8
8
  import { IAgent as IBaseAgent, IPassportBeforeStart, ISeller as IBaseSeller, ISearchConditions as IBaseSearchConditions, ISendEmailMessageParams, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../transaction';
@@ -30,7 +30,6 @@ export interface IPaymentMethodByPaymentUrl {
30
30
  paymentMethodId: string;
31
31
  }
32
32
  export interface IObject {
33
- broker?: Pick<IBroker, 'id' | 'typeOf'>;
34
33
  customer?: ICustomerInObject;
35
34
  /**
36
35
  * passportによって決定するカスタマータイプ
@@ -58,6 +57,7 @@ export interface IObject {
58
57
  identifier?: never;
59
58
  clientUser?: never;
60
59
  passport?: never;
60
+ broker?: never;
61
61
  }
62
62
  export type IClientUserBeforeStart = Pick<IClientUser, 'aud' | 'client_id' | 'exp' | 'iat' | 'iss' | 'jti' | 'sub' | 'token_use' | 'username'>;
63
63
  export interface IStartParamsWithoutDetail {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "9.0.0-alpha.2",
3
+ "version": "9.0.0-alpha.3",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [