@chevre/factory 4.347.0-alpha.11 → 4.347.0-alpha.12

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/lib/product.d.ts CHANGED
@@ -7,7 +7,7 @@ import { IPriceSpecification as ICategoryCodeChargeSpecification } from './price
7
7
  import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
8
8
  import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
9
9
  import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
10
- import { IProject } from './project';
10
+ import { IOnPaymentStatusChanged, IProject } from './project';
11
11
  import { IPropertyValue } from './propertyValue';
12
12
  import { IQuantitativeValue } from './quantitativeValue';
13
13
  import { SortType } from './sortType';
@@ -63,6 +63,7 @@ export interface IAvailableChannel {
63
63
  typeOf: 'ServiceChannel';
64
64
  serviceUrl?: string;
65
65
  credentials?: ICredentials;
66
+ onPaymentStatusChanged?: IOnPaymentStatusChanged;
66
67
  }
67
68
  export type IServiceType = Pick<ICategoryCode, 'codeValue' | 'inCodeSet' | 'typeOf'>;
68
69
  export type IOffer = Pick<IBaseOffer, 'typeOf' | 'priceCurrency' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> & {
@@ -79,18 +80,26 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
79
80
  typeOf: ProductType;
80
81
  id?: string;
81
82
  availableChannel?: IAvailableChannel;
82
- description?: IMultilingualString;
83
+ /**
84
+ * 説明
85
+ */
86
+ description?: Pick<IMultilingualString, 'en' | 'ja'>;
83
87
  /**
84
88
  * Indicates an OfferCatalog listing for this Organization, Person, or Service.
89
+ * カタログ
85
90
  */
86
91
  hasOfferCatalog?: IHasOfferCatalog;
87
- name?: IMultilingualString;
92
+ /**
93
+ * 名称
94
+ */
95
+ name?: Pick<IMultilingualString, 'en' | 'ja'>;
88
96
  /**
89
97
  * An offer to provide this item
90
98
  */
91
99
  offers?: IOffer[];
92
100
  /**
93
101
  * The product identifier, such as ISBN. For example: meta itemprop="productID" content="isbn:123-456-789".
102
+ * プロジェクト内でユニークなプロダクトID
94
103
  */
95
104
  productID: string;
96
105
  /**
@@ -99,6 +108,7 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
99
108
  serviceOutput?: IServiceOutput;
100
109
  /**
101
110
  * The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
111
+ * サービスタイプ(興行区分、メンバーシップ区分、決済方法区分)
102
112
  */
103
113
  serviceType?: IServiceType;
104
114
  additionalProperty?: IPropertyValue<string>[];
@@ -1,7 +1,8 @@
1
1
  import { IInvoice } from '../invoice';
2
+ import { IMultilingualString } from '../multilingualString';
2
3
  import { IIssuedThrough, IPermit } from '../permit';
3
4
  import { IAvailableChannel as IProductAvailableChannel, IServiceType } from '../product';
4
- import { IOnPaymentStatusChanged, IProject } from '../project';
5
+ import { IProject } from '../project';
5
6
  import { IPropertyValue } from '../propertyValue';
6
7
  import { ISeller } from '../seller';
7
8
  import { IThing } from '../thing';
@@ -54,7 +55,6 @@ export interface IProvider extends Pick<ISeller, 'name' | 'typeOf'> {
54
55
  credentials?: IProviderCredentials;
55
56
  }
56
57
  export type IAvailableChannel = IProductAvailableChannel & {
57
- onPaymentStatusChanged?: IOnPaymentStatusChanged;
58
58
  totalPaymentDue?: {
59
59
  maxValue?: number;
60
60
  };
@@ -100,9 +100,11 @@ export interface IService extends Pick<IThing, 'name' | 'description'> {
100
100
  typeOf: PaymentServiceType;
101
101
  id?: string;
102
102
  availableChannel?: IAvailableChannel;
103
+ description?: Pick<IMultilingualString, 'en' | 'ja'>;
104
+ name?: Pick<IMultilingualString, 'en' | 'ja'>;
103
105
  /**
104
106
  * The product identifier, such as ISBN.
105
- * プロジェクト内でユニークな想定
107
+ * プロジェクト内でユニークなプロダクトID
106
108
  */
107
109
  productID: string;
108
110
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.347.0-alpha.11",
3
+ "version": "4.347.0-alpha.12",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",