@chevre/factory 4.392.0-alpha.9 → 4.392.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/action/interact/inform.d.ts +4 -0
- package/lib/action/transfer/return/order.d.ts +41 -2
- package/lib/action.d.ts +12 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/notification/order.d.ts +3 -1
- package/lib/project.d.ts +1 -9
- package/lib/seller.d.ts +5 -14
- package/lib/sellerReturnPolicy.d.ts +49 -0
- package/lib/sellerReturnPolicy.js +2 -0
- package/lib/task/triggerWebhook.d.ts +1 -1
- package/lib/transaction/returnOrder.d.ts +1 -36
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
4
|
+
import { IOrder } from '../../order';
|
|
4
5
|
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
5
6
|
export type IRecipient = ActionFactory.IParticipant;
|
|
6
7
|
export type IObject = any;
|
|
@@ -13,6 +14,8 @@ export interface IRefundTransactionAsPurpose {
|
|
|
13
14
|
typeOf: AssetTransactionType.Refund;
|
|
14
15
|
}
|
|
15
16
|
export type IPurpose = IPayTransactionAsPurpose | IRefundTransactionAsPurpose;
|
|
17
|
+
export type IOrderAsAbout = Pick<IOrder, 'orderNumber' | 'typeOf'>;
|
|
18
|
+
export type IAbout = IOrderAsAbout;
|
|
16
19
|
export interface IResult {
|
|
17
20
|
statusCode?: number;
|
|
18
21
|
useFetchAPI?: boolean;
|
|
@@ -21,6 +24,7 @@ export interface IAttributes<TObject> extends Pick<ActionFactory.IAttributes<Act
|
|
|
21
24
|
agent: IAgent;
|
|
22
25
|
recipient: IRecipient;
|
|
23
26
|
purpose?: IPurpose;
|
|
27
|
+
about?: IAbout;
|
|
24
28
|
}
|
|
25
29
|
/**
|
|
26
30
|
* 通知アクション
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
|
+
import { ICustomerRemorseReturnFeesMovieTicket, IMerchantReturnPolicy, ReturnFeesEnumeration } from '../../../merchantReturnPolicy';
|
|
3
|
+
import { IOfferItemCondition } from '../../../offerItemCondition';
|
|
2
4
|
import * as OrderFactory from '../../../order';
|
|
3
5
|
import { IAttributes as IReturnInvoiceActionAttributes } from '../../transfer/return/invoice';
|
|
4
6
|
import * as ReturnActionFactory from '../return';
|
|
@@ -35,12 +37,49 @@ export interface IPotentialActions {
|
|
|
35
37
|
*/
|
|
36
38
|
sendEmailMessage?: IPotentialSendEmailMessageAction[];
|
|
37
39
|
}
|
|
38
|
-
export interface
|
|
40
|
+
export interface IReturnFeesMovieTicket {
|
|
41
|
+
/**
|
|
42
|
+
* 決済カードコード
|
|
43
|
+
*/
|
|
44
|
+
identifier: string;
|
|
45
|
+
/**
|
|
46
|
+
* 着券取消実行有無
|
|
47
|
+
*/
|
|
48
|
+
returnFees: ICustomerRemorseReturnFeesMovieTicket;
|
|
49
|
+
serviceOutput: {
|
|
50
|
+
/**
|
|
51
|
+
* 決済方法区分
|
|
52
|
+
*/
|
|
53
|
+
typeOf: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export type IReturnPolicyItemCondition = Pick<IOfferItemCondition, 'id' | 'identifier' | 'itemOffered' | 'typeOf'>;
|
|
57
|
+
/**
|
|
58
|
+
* 返品取引に適用される返品ポリシー
|
|
59
|
+
* 販売者の返品ポリシー、あるいは、プロジェクトの返品ポリシーから選択される
|
|
60
|
+
*/
|
|
61
|
+
export type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'returnFees' | 'applicablePaymentMethod'> & {
|
|
62
|
+
returnFees: ReturnFeesEnumeration;
|
|
63
|
+
/**
|
|
64
|
+
* 決済カードコードごとの着券取消実行有無
|
|
65
|
+
*/
|
|
66
|
+
returnFeesMovieTicket?: IReturnFeesMovieTicket[];
|
|
67
|
+
itemCondition?: IReturnPolicyItemCondition;
|
|
68
|
+
/**
|
|
69
|
+
* ポリシー識別子
|
|
70
|
+
* プロジェクト自動生成、あるいは、販売者返品ポリシーコード
|
|
71
|
+
*/
|
|
72
|
+
identifier?: string;
|
|
73
|
+
};
|
|
74
|
+
export type IReturnPolicyAsInstrument = Pick<IReturnPolicy, 'identifier' | 'restockingFee' | 'returnFees' | 'typeOf'>;
|
|
75
|
+
export type IInstrument = [IReturnPolicyAsInstrument];
|
|
76
|
+
export interface IAttributes extends Pick<ReturnActionFactory.IAttributes<IObject, IResult>, 'typeOf' | 'sameAs' | 'result' | 'recipient' | 'project' | 'potentialActions' | 'object' | 'error' | 'agent' | 'instrument'> {
|
|
39
77
|
agent: IAgent;
|
|
40
78
|
recipient: IRecipient;
|
|
41
79
|
potentialActions?: IPotentialActions;
|
|
80
|
+
instrument?: IInstrument;
|
|
42
81
|
}
|
|
43
82
|
/**
|
|
44
|
-
*
|
|
83
|
+
* return order action
|
|
45
84
|
*/
|
|
46
85
|
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
package/lib/action.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
|
83
83
|
replacer?: any;
|
|
84
84
|
targetCollection?: any;
|
|
85
85
|
cancelAction?: any;
|
|
86
|
+
about?: any;
|
|
86
87
|
}
|
|
87
88
|
/**
|
|
88
89
|
* アクション動的属性
|
|
@@ -135,6 +136,11 @@ export interface ISearchConditions {
|
|
|
135
136
|
$in?: string[];
|
|
136
137
|
};
|
|
137
138
|
};
|
|
139
|
+
about?: {
|
|
140
|
+
orderNumber?: {
|
|
141
|
+
$eq?: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
138
144
|
instrument?: {
|
|
139
145
|
typeOf?: {
|
|
140
146
|
$eq?: string;
|
|
@@ -142,6 +148,12 @@ export interface ISearchConditions {
|
|
|
142
148
|
transactionNumber?: {
|
|
143
149
|
$eq?: string;
|
|
144
150
|
};
|
|
151
|
+
/**
|
|
152
|
+
* returnPolicy.identifier etc.
|
|
153
|
+
*/
|
|
154
|
+
identifier?: {
|
|
155
|
+
$eq?: string;
|
|
156
|
+
};
|
|
145
157
|
};
|
|
146
158
|
location?: {
|
|
147
159
|
id?: {
|
package/lib/index.d.ts
CHANGED
|
@@ -122,6 +122,7 @@ import { ReservationStatusType } from './reservationStatusType';
|
|
|
122
122
|
import { ReservationType } from './reservationType';
|
|
123
123
|
import * as ScheduleFactory from './schedule';
|
|
124
124
|
import * as SellerFactory from './seller';
|
|
125
|
+
import * as SellerReturnPolicyFactory from './sellerReturnPolicy';
|
|
125
126
|
import * as PaymentServiceFactory from './service/paymentService';
|
|
126
127
|
import * as WebAPIServiceFactory from './service/webAPI';
|
|
127
128
|
import { SortType } from './sortType';
|
|
@@ -442,6 +443,7 @@ export import reservationStatusType = ReservationStatusType;
|
|
|
442
443
|
export import reservationType = ReservationType;
|
|
443
444
|
export import schedule = ScheduleFactory;
|
|
444
445
|
export import seller = SellerFactory;
|
|
446
|
+
export import sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
445
447
|
export declare namespace task {
|
|
446
448
|
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateEvent ? CreateEventTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.UseReservation ? UseReservationTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
447
449
|
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateEvent ? CreateEventTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
|
|
4
|
-
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.service = exports.task = exports.seller = exports.schedule = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = void 0;
|
|
4
|
+
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -111,6 +111,7 @@ var reservationStatusType_1 = require("./reservationStatusType");
|
|
|
111
111
|
var reservationType_1 = require("./reservationType");
|
|
112
112
|
var ScheduleFactory = require("./schedule");
|
|
113
113
|
var SellerFactory = require("./seller");
|
|
114
|
+
var SellerReturnPolicyFactory = require("./sellerReturnPolicy");
|
|
114
115
|
var PaymentServiceFactory = require("./service/paymentService");
|
|
115
116
|
var WebAPIServiceFactory = require("./service/webAPI");
|
|
116
117
|
var sortType_1 = require("./sortType");
|
|
@@ -402,6 +403,7 @@ exports.reservationStatusType = reservationStatusType_1.ReservationStatusType;
|
|
|
402
403
|
exports.reservationType = reservationType_1.ReservationType;
|
|
403
404
|
exports.schedule = ScheduleFactory;
|
|
404
405
|
exports.seller = SellerFactory;
|
|
406
|
+
exports.sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
405
407
|
var task;
|
|
406
408
|
(function (task) {
|
|
407
409
|
task.acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IAction as IReturnOrderAction } from '../action/transfer/return/order';
|
|
1
2
|
import { IAcceptedOffer, IItemOffered, IOrder } from '../order';
|
|
2
3
|
import { OrderStatus } from '../orderStatus';
|
|
3
4
|
/**
|
|
@@ -7,6 +8,7 @@ export type IReturnedOrder4inform = Pick<IOrder, 'project' | 'typeOf' | 'orderNu
|
|
|
7
8
|
id?: string;
|
|
8
9
|
orderStatus: OrderStatus.OrderReturned;
|
|
9
10
|
};
|
|
11
|
+
export type IReturnAction4inform = Pick<IReturnOrderAction, 'id' | 'instrument' | 'object' | 'project' | 'typeOf'>;
|
|
10
12
|
/**
|
|
11
13
|
* 注文作成通知
|
|
12
14
|
*/
|
|
@@ -38,4 +40,4 @@ export type IUpdatedOrder4inform = Pick<IOrder, 'typeOf' | 'orderNumber' | 'name
|
|
|
38
40
|
updatedAt: Date;
|
|
39
41
|
orderStatus?: never;
|
|
40
42
|
};
|
|
41
|
-
export type IOrder4inform = IProcessingOrder4inform | IInTransitOrder4inform | IDeliveredOrder4inform | IReturnedOrder4inform | IUpdatedOrder4inform;
|
|
43
|
+
export type IOrder4inform = IProcessingOrder4inform | IInTransitOrder4inform | IDeliveredOrder4inform | IReturnedOrder4inform | IUpdatedOrder4inform | IReturnAction4inform;
|
package/lib/project.d.ts
CHANGED
|
@@ -72,14 +72,6 @@ export interface IMemberProgram {
|
|
|
72
72
|
identifier: string;
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
export interface IMemberProgramTierWithSecret {
|
|
76
|
-
isTierOf: IMemberProgram;
|
|
77
|
-
/**
|
|
78
|
-
* トークン検証シークレット
|
|
79
|
-
* @deprecated use IMemberProgramTier
|
|
80
|
-
*/
|
|
81
|
-
secret: string;
|
|
82
|
-
}
|
|
83
75
|
export interface IMemberProgramTier {
|
|
84
76
|
isTierOf: {
|
|
85
77
|
/**
|
|
@@ -98,7 +90,7 @@ export interface IMakesOffer extends Pick<IOffer, 'typeOf'> {
|
|
|
98
90
|
/**
|
|
99
91
|
* add (2025-01-13)
|
|
100
92
|
*/
|
|
101
|
-
validForMemberTier?: IMemberProgramTier
|
|
93
|
+
validForMemberTier?: IMemberProgramTier;
|
|
102
94
|
}
|
|
103
95
|
/**
|
|
104
96
|
* プロジェクト
|
package/lib/seller.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IBusinessEntityType } from './businessEntityType';
|
|
2
|
-
import { IMerchantReturnPolicy, IRestockingFee } from './merchantReturnPolicy';
|
|
3
2
|
import { IMultilingualString } from './multilingualString';
|
|
4
3
|
import { IAvailableAtOrFrom, IOffer } from './offer';
|
|
5
4
|
import { IOrganization } from './organization';
|
|
@@ -7,16 +6,13 @@ import { OrganizationType } from './organizationType';
|
|
|
7
6
|
import { IProject } from './project';
|
|
8
7
|
import { IPropertyValue } from './propertyValue';
|
|
9
8
|
import { IQuantitativeValue } from './quantitativeValue';
|
|
9
|
+
import { ISellerReturnPolicy } from './sellerReturnPolicy';
|
|
10
10
|
import { SortType } from './sortType';
|
|
11
11
|
import { UnitCode } from './unitCode';
|
|
12
|
-
export type
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* ポリシー識別子(プロジェクト自動生成)
|
|
16
|
-
*/
|
|
17
|
-
identifier?: string;
|
|
12
|
+
export type IEachReturnPolicy = Pick<ISellerReturnPolicy, 'identifier'> & {
|
|
13
|
+
url?: string;
|
|
18
14
|
};
|
|
19
|
-
export type IHasMerchantReturnPolicy =
|
|
15
|
+
export type IHasMerchantReturnPolicy = IEachReturnPolicy[];
|
|
20
16
|
/**
|
|
21
17
|
* 利用可能決済
|
|
22
18
|
*/
|
|
@@ -79,14 +75,9 @@ export interface ISearchConditions {
|
|
|
79
75
|
$regex?: string;
|
|
80
76
|
};
|
|
81
77
|
hasMerchantReturnPolicy?: {
|
|
82
|
-
|
|
78
|
+
identifier?: {
|
|
83
79
|
$eq?: string;
|
|
84
80
|
};
|
|
85
|
-
itemCondition?: {
|
|
86
|
-
id?: {
|
|
87
|
-
$eq?: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
81
|
};
|
|
91
82
|
id?: {
|
|
92
83
|
$eq?: string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IMerchantReturnPolicy, IRestockingFee } from './merchantReturnPolicy';
|
|
2
|
+
import { IMultilingualString } from './multilingualString';
|
|
3
|
+
import { IProject } from './project';
|
|
4
|
+
import { SortType } from './sortType';
|
|
5
|
+
export type ISellerReturnPolicy = Pick<IMerchantReturnPolicy, 'itemCondition' | 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'applicablePaymentMethod'> & {
|
|
6
|
+
restockingFee: IRestockingFee;
|
|
7
|
+
} & {
|
|
8
|
+
id?: string;
|
|
9
|
+
identifier: string;
|
|
10
|
+
name: IMultilingualString;
|
|
11
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
12
|
+
};
|
|
13
|
+
export interface ISearchConditions {
|
|
14
|
+
limit?: number;
|
|
15
|
+
page?: number;
|
|
16
|
+
sort?: {
|
|
17
|
+
identifier?: SortType;
|
|
18
|
+
};
|
|
19
|
+
project?: {
|
|
20
|
+
id?: {
|
|
21
|
+
$eq?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
id?: {
|
|
25
|
+
$eq?: string;
|
|
26
|
+
$in?: string[];
|
|
27
|
+
};
|
|
28
|
+
identifier?: {
|
|
29
|
+
$eq?: string;
|
|
30
|
+
$in?: string[];
|
|
31
|
+
$regex?: string;
|
|
32
|
+
};
|
|
33
|
+
name?: {
|
|
34
|
+
$regex?: string;
|
|
35
|
+
};
|
|
36
|
+
restockingFee?: {
|
|
37
|
+
value?: {
|
|
38
|
+
$eq?: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
applicablePaymentMethod?: {
|
|
42
|
+
$eq?: string;
|
|
43
|
+
};
|
|
44
|
+
itemCondition?: {
|
|
45
|
+
id?: {
|
|
46
|
+
$eq?: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IInformActionAttributes, IObject } from '../action/inter
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export type IPotentialInformAction = Pick<IInformActionAttributes<IObject>, 'object' | 'purpose' | 'recipient'> & {
|
|
5
|
+
export type IPotentialInformAction = Pick<IInformActionAttributes<IObject>, 'object' | 'purpose' | 'recipient' | 'about'> & {
|
|
6
6
|
/**
|
|
7
7
|
* 通知識別子(2024-10-24~)
|
|
8
8
|
*/
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/return/order';
|
|
1
|
+
import { IAttributes as IReturnOrderActionAttributes, IReturnPolicy } from '../action/transfer/return/order';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import { ICustomerRemorseReturnFeesMovieTicket, IMerchantReturnPolicy, ReturnFeesEnumeration } from '../merchantReturnPolicy';
|
|
4
|
-
import { IOfferItemCondition } from '../offerItemCondition';
|
|
5
3
|
import { IProject } from '../project';
|
|
6
4
|
import * as TransactionFactory from '../transaction';
|
|
7
5
|
import { TransactionType } from '../transactionType';
|
|
@@ -118,39 +116,6 @@ export interface IConfirmParams {
|
|
|
118
116
|
*/
|
|
119
117
|
potentialActions?: IPotentialActionsParams;
|
|
120
118
|
}
|
|
121
|
-
export interface IReturnFeesMovieTicket {
|
|
122
|
-
/**
|
|
123
|
-
* 決済カードコード
|
|
124
|
-
*/
|
|
125
|
-
identifier: string;
|
|
126
|
-
/**
|
|
127
|
-
* 着券取消実行有無
|
|
128
|
-
*/
|
|
129
|
-
returnFees: ICustomerRemorseReturnFeesMovieTicket;
|
|
130
|
-
serviceOutput: {
|
|
131
|
-
/**
|
|
132
|
-
* 決済方法区分
|
|
133
|
-
*/
|
|
134
|
-
typeOf: string;
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
export type IReturnPolicyItemCondition = Pick<IOfferItemCondition, 'id' | 'identifier' | 'itemOffered' | 'typeOf'>;
|
|
138
|
-
/**
|
|
139
|
-
* 取引に適用される返品ポリシー
|
|
140
|
-
* 販売者の返品ポリシー、あるいは、プロジェクトの返品ポリシーから選択される
|
|
141
|
-
*/
|
|
142
|
-
export type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'returnFees' | 'applicablePaymentMethod'> & {
|
|
143
|
-
returnFees: ReturnFeesEnumeration;
|
|
144
|
-
/**
|
|
145
|
-
* 決済カードコードごとの着券取消実行有無
|
|
146
|
-
*/
|
|
147
|
-
returnFeesMovieTicket?: IReturnFeesMovieTicket[];
|
|
148
|
-
itemCondition?: IReturnPolicyItemCondition;
|
|
149
|
-
/**
|
|
150
|
-
* ポリシー識別子(プロジェクト自動生成)
|
|
151
|
-
*/
|
|
152
|
-
identifier?: string;
|
|
153
|
-
};
|
|
154
119
|
/**
|
|
155
120
|
* 取引対象物
|
|
156
121
|
*/
|