@chevre/factory 4.259.0-alpha.1 → 4.259.0-alpha.2
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.
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IMerchantReturnPolicy } from '../merchantReturnPolicy';
|
|
2
|
+
import { IMultilingualString } from '../multilingualString';
|
|
3
|
+
import { IProject } from '../project';
|
|
4
|
+
import { IPropertyValue } from '../propertyValue';
|
|
5
|
+
import { SortType } from '../sortType';
|
|
6
|
+
export declare type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
|
|
7
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
8
|
+
additionalProperty?: IPropertyValue<string>[];
|
|
9
|
+
id?: string;
|
|
10
|
+
identifier: string;
|
|
11
|
+
name?: IMultilingualString;
|
|
12
|
+
};
|
|
13
|
+
export interface IOfferMerchantReturnPolicySortOrder {
|
|
14
|
+
identifier?: SortType;
|
|
15
|
+
}
|
|
16
|
+
export interface IOfferMerchantReturnPolicySearchConditions {
|
|
17
|
+
limit?: number;
|
|
18
|
+
page?: number;
|
|
19
|
+
sort?: IOfferMerchantReturnPolicySortOrder;
|
|
20
|
+
project?: {
|
|
21
|
+
id?: {
|
|
22
|
+
$eq?: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
id?: {
|
|
26
|
+
$eq?: string;
|
|
27
|
+
$in?: string[];
|
|
28
|
+
};
|
|
29
|
+
identifier?: {
|
|
30
|
+
$eq?: string;
|
|
31
|
+
$in?: string[];
|
|
32
|
+
$regex?: string;
|
|
33
|
+
};
|
|
34
|
+
name?: {
|
|
35
|
+
$regex?: string;
|
|
36
|
+
};
|
|
37
|
+
}
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ActionType } from './actionType';
|
|
2
2
|
import { ICategoryCode } from './categoryCode';
|
|
3
3
|
import { ItemAvailability } from './itemAvailability';
|
|
4
|
-
import { IMerchantReturnPolicy } from './merchantReturnPolicy';
|
|
5
4
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
6
|
-
import { IMultilingualString } from './multilingualString';
|
|
7
|
-
import * as SeatReservationOfferFactory from './offer/seatReservation';
|
|
8
5
|
import { OfferType } from './offerType';
|
|
9
6
|
import { PriceCurrency } from './priceCurrency';
|
|
10
7
|
import { IPriceSpecification } from './priceSpecification';
|
|
@@ -21,6 +18,8 @@ import * as WebAPIFactory from './service/webAPI';
|
|
|
21
18
|
import { SortType } from './sortType';
|
|
22
19
|
import { IThing } from './thing';
|
|
23
20
|
import { UnitCode } from './unitCode';
|
|
21
|
+
import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './offer/merchantReturnPolicy';
|
|
22
|
+
import * as SeatReservationOfferFactory from './offer/seatReservation';
|
|
24
23
|
/**
|
|
25
24
|
* オファーカテゴリーインターフェース
|
|
26
25
|
*/
|
|
@@ -67,32 +66,8 @@ export interface IValidRateLimit {
|
|
|
67
66
|
scope: string;
|
|
68
67
|
unitInSeconds: number;
|
|
69
68
|
}
|
|
70
|
-
export declare type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
|
|
71
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
72
|
-
additionalProperty?: IPropertyValue<string>[];
|
|
73
|
-
id?: string;
|
|
74
|
-
identifier: string;
|
|
75
|
-
name?: IMultilingualString;
|
|
76
|
-
};
|
|
77
69
|
export declare type IHasMerchantReturnPolicy = Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'>[];
|
|
78
|
-
export
|
|
79
|
-
limit?: number;
|
|
80
|
-
page?: number;
|
|
81
|
-
sort?: any;
|
|
82
|
-
project?: {
|
|
83
|
-
id?: {
|
|
84
|
-
$eq?: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
id?: {
|
|
88
|
-
$eq?: string;
|
|
89
|
-
$in?: string[];
|
|
90
|
-
};
|
|
91
|
-
identifier?: {
|
|
92
|
-
$eq?: string;
|
|
93
|
-
$in?: string[];
|
|
94
|
-
};
|
|
95
|
-
}
|
|
70
|
+
export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder };
|
|
96
71
|
/**
|
|
97
72
|
* offer interface
|
|
98
73
|
* An offer to transfer some rights to an item or to provide a service
|