@chevre/factory 4.228.0 → 4.231.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/chevre.d.ts +6 -4
- package/lib/factory/action/authorize/offer/moneyTransfer.d.ts +1 -2
- package/lib/factory/action.d.ts +4 -3
- package/lib/factory/creativeWork/softwareApplication/webApplication.d.ts +10 -4
- package/lib/factory/organizationType.d.ts +9 -1
- package/lib/factory/organizationType.js +11 -1
- package/lib/factory/person.d.ts +3 -6
- package/lib/factory/programMembership.d.ts +0 -3
- package/lib/factory/seller.d.ts +2 -0
- package/lib/factory/transaction/moneyTransfer.d.ts +19 -2
- package/lib/factory/transaction/placeOrder.d.ts +1 -3
- package/lib/factory/transaction/returnOrder.d.ts +8 -8
- package/lib/factory/transaction.d.ts +17 -11
- package/package.json +1 -1
package/lib/chevre.d.ts
CHANGED
|
@@ -129,6 +129,7 @@ import * as ConfirmPayTaskFactory from './factory/task/confirmPay';
|
|
|
129
129
|
import * as ConfirmPayTransactionTaskFactory from './factory/task/confirmPayTransaction';
|
|
130
130
|
import * as ConfirmRefundTaskFactory from './factory/task/confirmRefund';
|
|
131
131
|
import * as ConfirmRegisterServiceTaskFactory from './factory/task/confirmRegisterService';
|
|
132
|
+
import * as ConfirmRegisterServiceTransactionTaskFactory from './factory/task/confirmRegisterServiceTransaction';
|
|
132
133
|
import * as ConfirmReservationTaskFactory from './factory/task/confirmReservation';
|
|
133
134
|
import * as ConfirmReserveTransactionTaskFactory from './factory/task/confirmReserveTransaction';
|
|
134
135
|
import * as DeleteAuthorizationTaskFactory from './factory/task/deleteAuthorization';
|
|
@@ -386,9 +387,9 @@ export import reservationStatusType = ReservationStatusType;
|
|
|
386
387
|
export import reservationType = ReservationType;
|
|
387
388
|
export import seller = SellerFactory;
|
|
388
389
|
export declare namespace task {
|
|
389
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.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;
|
|
390
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.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;
|
|
391
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
390
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IData : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IData : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IData : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IData : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.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.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.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;
|
|
391
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.IAttributes : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.IAttributes : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.IAttributes : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.IAttributes : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.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.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.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;
|
|
392
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmCancelReserve ? ConfirmCancelReserveTaskFactory.ITask : T extends TaskName.ConfirmReservation ? ConfirmReservationTaskFactory.ITask : T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.DeleteAuthorization ? DeleteAuthorizationTaskFactory.ITask : T extends TaskName.DeleteMember ? DeleteMemberTaskFactory.ITask : T extends TaskName.DeleteOrder ? DeleteOrderTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OrderProgramMembership ? OrderProgramMembershipTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRefund ? ConfirmRefundTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPay ? ConfirmPayTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
392
393
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
393
394
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
394
395
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
@@ -440,7 +441,8 @@ export declare namespace assetTransaction {
|
|
|
440
441
|
export import reserve = ReserveAssetTransactionFactory;
|
|
441
442
|
}
|
|
442
443
|
export declare namespace transaction {
|
|
443
|
-
export import
|
|
444
|
+
export import IAgentAsPerson = TransactionFactory.IAgentAsPerson;
|
|
445
|
+
export import IAgentAsWebApplication = TransactionFactory.IAgentAsWebApplication;
|
|
444
446
|
export import IAgent = TransactionFactory.IAgent;
|
|
445
447
|
export import IPassportBeforeStart = TransactionFactory.IPassportBeforeStart;
|
|
446
448
|
export import ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
@@ -4,7 +4,6 @@ import * as MoneyTransferTransactionFactory from '../../../assetTransaction/mone
|
|
|
4
4
|
import { IOffer } from '../../../offer';
|
|
5
5
|
import * as OrderFactory from '../../../order';
|
|
6
6
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
7
|
-
import { ISeller } from '../../../seller';
|
|
8
7
|
import { TransactionType } from '../../../transactionType';
|
|
9
8
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
10
9
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
@@ -21,7 +20,7 @@ export interface IResult {
|
|
|
21
20
|
export import IItemOffered = OrderFactory.IMoneyTransfer;
|
|
22
21
|
export interface IAcceptedOffer extends Omit<IOffer, 'addOn' | 'availability' | 'availableAtOrFrom'> {
|
|
23
22
|
itemOffered: IItemOffered;
|
|
24
|
-
seller:
|
|
23
|
+
seller: ActionFactory.IParticipantAsSeller;
|
|
25
24
|
}
|
|
26
25
|
export declare type IObject = IAcceptedOffer;
|
|
27
26
|
export interface ITransactionPurpose {
|
package/lib/factory/action.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ActionType } from './actionType';
|
|
|
3
3
|
import { IExtendId } from './autoGenerated';
|
|
4
4
|
import { CreativeWorkType } from './creativeWorkType';
|
|
5
5
|
import { ICustomer } from './customer';
|
|
6
|
-
import { IMultilingualString } from './multilingualString';
|
|
7
6
|
import { OrganizationType } from './organizationType';
|
|
8
7
|
import { IPersonAttributes } from './person';
|
|
9
8
|
import { IProject } from './project';
|
|
@@ -20,7 +19,9 @@ export declare type IParticipantAsPerson = IPersonAttributes & {
|
|
|
20
19
|
name?: string;
|
|
21
20
|
url?: string;
|
|
22
21
|
};
|
|
23
|
-
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'paymentAccepted' | 'project' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location'
|
|
22
|
+
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'name' | 'paymentAccepted' | 'project' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location'> & {
|
|
23
|
+
name?: string;
|
|
24
|
+
};
|
|
24
25
|
export interface IParticipantAsProject {
|
|
25
26
|
typeOf: OrganizationType.Project;
|
|
26
27
|
id: string;
|
|
@@ -28,7 +29,7 @@ export interface IParticipantAsProject {
|
|
|
28
29
|
url?: string;
|
|
29
30
|
}
|
|
30
31
|
export declare type IParticipantAsCustomer = Omit<ICustomer, 'name' | 'branchCode' | 'contactPoint' | 'project' | 'additionalProperty'> & {
|
|
31
|
-
name?: string
|
|
32
|
+
name?: string;
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
34
35
|
* アクションへの関係者
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as CreativeWorkFactory from '../../creativeWork';
|
|
2
2
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
|
|
3
|
+
import { IIdentifier } from '../../thing';
|
|
4
|
+
export interface IWebApplicationAttributes {
|
|
7
5
|
typeOf: CreativeWorkType.WebApplication;
|
|
6
|
+
/**
|
|
7
|
+
* アプリケーションクライアントID
|
|
8
|
+
*/
|
|
8
9
|
id: string;
|
|
10
|
+
identifier?: IIdentifier;
|
|
9
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* ウェブアプリケーション
|
|
14
|
+
*/
|
|
15
|
+
export declare type ICreativeWork = CreativeWorkFactory.ICreativeWork & IWebApplicationAttributes;
|
|
@@ -6,8 +6,18 @@ exports.OrganizationType = void 0;
|
|
|
6
6
|
*/
|
|
7
7
|
var OrganizationType;
|
|
8
8
|
(function (OrganizationType) {
|
|
9
|
+
/**
|
|
10
|
+
* 販売組織
|
|
11
|
+
*/
|
|
9
12
|
OrganizationType["Corporation"] = "Corporation";
|
|
10
|
-
|
|
13
|
+
// 不要なので廃止(2022-05-30~)
|
|
14
|
+
// MovieTheater = 'MovieTheater',
|
|
15
|
+
/**
|
|
16
|
+
* 顧客組織
|
|
17
|
+
*/
|
|
11
18
|
OrganizationType["Organization"] = "Organization";
|
|
19
|
+
/**
|
|
20
|
+
* プロジェクト
|
|
21
|
+
*/
|
|
12
22
|
OrganizationType["Project"] = "Project";
|
|
13
23
|
})(OrganizationType = exports.OrganizationType || (exports.OrganizationType = {}));
|
package/lib/factory/person.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { IProgramMembership } from './programMembership';
|
|
|
3
3
|
import { IPropertyValue } from './propertyValue';
|
|
4
4
|
import * as ThingFactory from './thing';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 追加特性
|
|
7
7
|
*/
|
|
8
8
|
export declare type IAdditionalProperty = IPropertyValue<string>[];
|
|
9
9
|
export import IIdentifier = ThingFactory.IIdentifier;
|
|
@@ -12,10 +12,6 @@ export declare type IMemberOf = IProgramMembership;
|
|
|
12
12
|
* プロフィール
|
|
13
13
|
*/
|
|
14
14
|
export interface IProfile extends ThingFactory.IThing {
|
|
15
|
-
/**
|
|
16
|
-
* 追加属性
|
|
17
|
-
* プロジェクト固有の属性等
|
|
18
|
-
*/
|
|
19
15
|
additionalProperty?: IAdditionalProperty;
|
|
20
16
|
/**
|
|
21
17
|
* Physical address of the item.
|
|
@@ -46,9 +42,10 @@ export interface IProfile extends ThingFactory.IThing {
|
|
|
46
42
|
}
|
|
47
43
|
export interface IPersonAttributes {
|
|
48
44
|
/**
|
|
49
|
-
* Person ID
|
|
45
|
+
* Person ID(User sub)
|
|
50
46
|
*/
|
|
51
47
|
id: string;
|
|
48
|
+
identifier?: IIdentifier;
|
|
52
49
|
/**
|
|
53
50
|
* An Organization (or ProgramMembership) to which this Person or Organization belongs.
|
|
54
51
|
*/
|
|
@@ -9,9 +9,6 @@ export declare enum ProgramMembershipType {
|
|
|
9
9
|
*/
|
|
10
10
|
export interface IProgramMembership extends IThing {
|
|
11
11
|
typeOf: ProgramMembershipType;
|
|
12
|
-
/**
|
|
13
|
-
* The service through with the permit was granted.
|
|
14
|
-
*/
|
|
15
12
|
/**
|
|
16
13
|
* A unique identifier for the membership.
|
|
17
14
|
*/
|
package/lib/factory/seller.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IMultilingualString } from './multilingualString';
|
|
1
2
|
import { IOrganization } from './organization';
|
|
2
3
|
import { OrganizationType } from './organizationType';
|
|
3
4
|
import { IProject } from './project';
|
|
@@ -21,6 +22,7 @@ export interface ISeller extends IOrganization {
|
|
|
21
22
|
* The geographic area where a service or offered item is provided.
|
|
22
23
|
*/
|
|
23
24
|
branchCode?: string;
|
|
25
|
+
name: IMultilingualString;
|
|
24
26
|
/**
|
|
25
27
|
* A pointer to products or services offered by the organization or person.
|
|
26
28
|
*/
|
|
@@ -5,12 +5,29 @@ import * as MoneyTransferAssetTransactionFactory from '../assetTransaction/money
|
|
|
5
5
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
6
6
|
import { IExtendId } from '../autoGenerated';
|
|
7
7
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
8
|
-
import {
|
|
8
|
+
import { OrganizationType } from '../organizationType';
|
|
9
|
+
import { PersonType } from '../personType';
|
|
9
10
|
import { IProject } from '../project';
|
|
10
11
|
import * as TransactionFactory from '../transaction';
|
|
11
12
|
import { TransactionType } from '../transactionType';
|
|
12
13
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
13
|
-
export
|
|
14
|
+
export interface IRecipientAsPerson {
|
|
15
|
+
typeOf: PersonType.Person;
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* 受取人名称
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IRecipientAsSeller {
|
|
23
|
+
typeOf: OrganizationType.Corporation;
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* 受取人名称
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare type IRecipient = IRecipientAsPerson | IRecipientAsSeller;
|
|
14
31
|
export import ISeller = TransactionFactory.ISeller;
|
|
15
32
|
export import IPaymentCard = MoneyTransferAssetTransactionFactory.IPaymentCard;
|
|
16
33
|
export import ITokenizedPaymentCard = MoneyTransferAssetTransactionFactory.ITokenizedPaymentCard;
|
|
@@ -23,14 +23,14 @@ export declare enum Reason {
|
|
|
23
23
|
Seller = "Seller"
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 返品可能な注文
|
|
27
27
|
*/
|
|
28
28
|
export interface IReturnableOrder {
|
|
29
29
|
confirmationNumber: string;
|
|
30
30
|
orderNumber: string;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* 注文返品開始パラメータ
|
|
34
34
|
*/
|
|
35
35
|
export interface IStartParamsWithoutDetail {
|
|
36
36
|
project: IProject;
|
|
@@ -45,7 +45,7 @@ export interface IStartParamsWithoutDetail {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* 取引開始パラメータ
|
|
49
49
|
*/
|
|
50
50
|
export interface IStartParams extends TransactionFactory.IStartParams<TransactionType.ReturnOrder, IAgent, undefined, IObject> {
|
|
51
51
|
/**
|
|
@@ -125,7 +125,7 @@ export interface IConfirmParams {
|
|
|
125
125
|
potentialActions?: IPotentialActionsParams;
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* 取引対象物
|
|
129
129
|
*/
|
|
130
130
|
export interface IObject {
|
|
131
131
|
order: IReturnableOrder[];
|
|
@@ -138,12 +138,12 @@ export interface IPotentialActions {
|
|
|
138
138
|
*/
|
|
139
139
|
returnOrder: IReturnOrderActionAttributes[];
|
|
140
140
|
}
|
|
141
|
-
export declare type ITransaction = IExtendId<IAttributes>;
|
|
142
|
-
/**
|
|
143
|
-
* 返品取引インターフェース
|
|
144
|
-
*/
|
|
145
141
|
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
146
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* 返品取引
|
|
145
|
+
*/
|
|
146
|
+
export declare type ITransaction = IExtendId<IAttributes>;
|
|
147
147
|
export interface ISearchConditions extends TransactionFactory.ISearchConditions<TransactionType.ReturnOrder> {
|
|
148
148
|
object?: {
|
|
149
149
|
order?: {
|
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
import * as waiter from '@waiter/factory';
|
|
2
2
|
import { IExtendId } from './autoGenerated';
|
|
3
3
|
import * as EmailFactory from './creativeWork/message/email';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { IWebApplicationAttributes } from './creativeWork/softwareApplication/webApplication';
|
|
5
|
+
import { IMultilingualString } from './multilingualString';
|
|
6
|
+
import { OrganizationType } from './organizationType';
|
|
7
|
+
import { IIdentifier, IPersonAttributes } from './person';
|
|
6
8
|
import { PersonType } from './personType';
|
|
7
9
|
import { IProject } from './project';
|
|
8
|
-
import * as SellerFactory from './seller';
|
|
9
10
|
import { SortType } from './sortType';
|
|
10
11
|
import { TransactionStatusType } from './transactionStatusType';
|
|
11
12
|
import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
|
|
12
13
|
import { TransactionType } from './transactionType';
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
|
|
14
|
+
export interface IAgentAsWebApplication extends IWebApplicationAttributes {
|
|
15
|
+
name?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IAgentAsPerson extends IPersonAttributes {
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare type IAgent = IAgentAsWebApplication | IAgentAsPerson;
|
|
18
21
|
/**
|
|
19
22
|
* 販売者
|
|
20
|
-
* 最適化(2022-05-20~)
|
|
21
23
|
*/
|
|
22
|
-
export
|
|
24
|
+
export interface ISeller {
|
|
25
|
+
typeOf: OrganizationType.Corporation;
|
|
26
|
+
id: string;
|
|
27
|
+
name: IMultilingualString;
|
|
28
|
+
}
|
|
23
29
|
/**
|
|
24
30
|
* Eメール送信パラメータ
|
|
25
31
|
*/
|
|
@@ -157,7 +163,7 @@ export interface ISearchConditions<T extends TransactionType> {
|
|
|
157
163
|
agent?: {
|
|
158
164
|
typeOf?: PersonType;
|
|
159
165
|
ids?: string[];
|
|
160
|
-
identifiers?:
|
|
166
|
+
identifiers?: IIdentifier;
|
|
161
167
|
givenName?: string;
|
|
162
168
|
familyName?: string;
|
|
163
169
|
telephone?: string;
|