@chevre/factory 4.269.0 → 4.270.0-alpha.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/lib/offer.d.ts +3 -0
- package/lib/seller.d.ts +6 -3
- package/package.json +1 -1
package/lib/offer.d.ts
CHANGED
|
@@ -73,6 +73,9 @@ export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy,
|
|
|
73
73
|
})[];
|
|
74
74
|
export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder };
|
|
75
75
|
export interface IAvailableAtOrFrom {
|
|
76
|
+
/**
|
|
77
|
+
* アプリケーションID
|
|
78
|
+
*/
|
|
76
79
|
id: string;
|
|
77
80
|
}
|
|
78
81
|
/**
|
package/lib/seller.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IMerchantReturnPolicy } from './merchantReturnPolicy';
|
|
2
2
|
import { IMultilingualString } from './multilingualString';
|
|
3
|
+
import { IOffer } from './offer';
|
|
3
4
|
import { IOrganization } from './organization';
|
|
4
5
|
import { OrganizationType } from './organizationType';
|
|
5
6
|
import { IProject } from './project';
|
|
@@ -8,7 +9,7 @@ import { SortType } from './sortType';
|
|
|
8
9
|
export declare type ISellerMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'url'>;
|
|
9
10
|
export declare type IHasMerchantReturnPolicy = ISellerMerchantReturnPolicy[];
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* 利用可能決済
|
|
12
13
|
*/
|
|
13
14
|
export interface IPaymentAccepted {
|
|
14
15
|
/**
|
|
@@ -16,6 +17,7 @@ export interface IPaymentAccepted {
|
|
|
16
17
|
*/
|
|
17
18
|
paymentMethodType: string;
|
|
18
19
|
}
|
|
20
|
+
export declare type IMakesOffer = Pick<IOffer, 'typeOf' | 'availableAtOrFrom'>;
|
|
19
21
|
export interface ISeller extends Pick<IOrganization, 'typeOf' | 'id' | 'location' | 'telephone' | 'additionalProperty' | 'name' | 'url'> {
|
|
20
22
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
21
23
|
/**
|
|
@@ -30,17 +32,18 @@ export interface ISeller extends Pick<IOrganization, 'typeOf' | 'id' | 'location
|
|
|
30
32
|
/**
|
|
31
33
|
* A pointer to products or services offered by the organization or person.
|
|
32
34
|
*/
|
|
35
|
+
makesOffer?: IMakesOffer[];
|
|
33
36
|
paymentAccepted?: IPaymentAccepted[];
|
|
34
37
|
typeOf: OrganizationType.Corporation;
|
|
35
38
|
}
|
|
36
39
|
/**
|
|
37
|
-
*
|
|
40
|
+
* ソート条件
|
|
38
41
|
*/
|
|
39
42
|
export interface ISortOrder {
|
|
40
43
|
branchCode?: SortType;
|
|
41
44
|
}
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
46
|
+
* 販売者検索条件
|
|
44
47
|
*/
|
|
45
48
|
export interface ISearchConditions {
|
|
46
49
|
limit?: number;
|