@cinerino/sdk 16.3.0-alpha.2 → 16.3.0-alpha.3
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/abstract/chevreConsole/assetTransaction/pay.d.ts +0 -9
- package/lib/abstract/chevreConsole/assetTransaction/pay.js +0 -41
- package/lib/abstract/chevreTxn/transaction/placeOrder/factory.d.ts +2 -3
- package/lib/abstract/chevreTxn/transaction/placeOrder.d.ts +0 -6
- package/lib/abstract/chevreTxn/transaction/placeOrder.js +12 -8
- package/lib/bundle.js +2 -2
- package/lib/bundle.js.map +2 -2
- package/package.json +2 -2
|
@@ -15,15 +15,6 @@ export declare class PayAssetTransactionService extends Service {
|
|
|
15
15
|
check(params: factory.action.check.paymentMethod.movieTicket.IAttributes): Promise<{
|
|
16
16
|
result: ICheckMovieTicketResult;
|
|
17
17
|
}>;
|
|
18
|
-
/**
|
|
19
|
-
* 決済ロケーション無効化
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* 決済ロケーション発行
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* 取引開始
|
|
26
|
-
*/
|
|
27
18
|
/**
|
|
28
19
|
* 取引確定
|
|
29
20
|
*/
|
|
@@ -20,47 +20,6 @@ class PayAssetTransactionService extends service_1.Service {
|
|
|
20
20
|
})
|
|
21
21
|
.then(async (response) => response.json());
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* 決済ロケーション無効化
|
|
25
|
-
*/
|
|
26
|
-
// public async invalidatePaymentUrl(
|
|
27
|
-
// params: factory.task.refund.IData
|
|
28
|
-
// ): Promise<void> {
|
|
29
|
-
// await this.fetch({
|
|
30
|
-
// uri: `/assetTransactions/${factory.assetTransactionType.Pay}/invalidatePaymentUrl`,
|
|
31
|
-
// method: 'PUT',
|
|
32
|
-
// body: params,
|
|
33
|
-
// expectedStatusCodes: [status.NO_CONTENT]
|
|
34
|
-
// });
|
|
35
|
-
// }
|
|
36
|
-
/**
|
|
37
|
-
* 決済ロケーション発行
|
|
38
|
-
*/
|
|
39
|
-
// public async publishPaymentUrl(
|
|
40
|
-
// params: factory.assetTransaction.pay.IStartParamsWithoutDetail
|
|
41
|
-
// ): Promise<IPublishPaymentUrlResult> {
|
|
42
|
-
// return this.fetch({
|
|
43
|
-
// uri: `/assetTransactions/${factory.assetTransactionType.Pay}/publishPaymentUrl`,
|
|
44
|
-
// method: 'POST',
|
|
45
|
-
// body: params,
|
|
46
|
-
// expectedStatusCodes: [status.OK]
|
|
47
|
-
// })
|
|
48
|
-
// .then(async (response) => response.json());
|
|
49
|
-
// }
|
|
50
|
-
/**
|
|
51
|
-
* 取引開始
|
|
52
|
-
*/
|
|
53
|
-
// public async start(
|
|
54
|
-
// params: factory.assetTransaction.pay.IStartParamsWithoutDetail
|
|
55
|
-
// ): Promise<{ id: string }> {
|
|
56
|
-
// return this.fetch({
|
|
57
|
-
// uri: `/assetTransactions/${factory.assetTransactionType.Pay}/start`,
|
|
58
|
-
// method: 'POST',
|
|
59
|
-
// body: params,
|
|
60
|
-
// expectedStatusCodes: [status.OK]
|
|
61
|
-
// })
|
|
62
|
-
// .then(async (response) => response.json());
|
|
63
|
-
// }
|
|
64
23
|
/**
|
|
65
24
|
* 取引確定
|
|
66
25
|
*/
|
|
@@ -12,13 +12,12 @@ export interface IStartParams {
|
|
|
12
12
|
*/
|
|
13
13
|
customer?: {
|
|
14
14
|
/**
|
|
15
|
-
* factory.personType.Personを指定すれば会員注文として
|
|
16
15
|
* factory.organizationType.Organizationを指定すれば顧客注文として
|
|
17
16
|
* 処理されます
|
|
18
17
|
*/
|
|
19
|
-
typeOf: factory.
|
|
18
|
+
typeOf: factory.organizationType.Organization;
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
20
|
+
* 顧客ID
|
|
22
21
|
*/
|
|
23
22
|
id?: string;
|
|
24
23
|
};
|
|
@@ -15,12 +15,6 @@ export declare class PlaceOrderTransactionService extends Service {
|
|
|
15
15
|
* 取引人プロフィール変更
|
|
16
16
|
*/
|
|
17
17
|
setProfile(params: ISetProfileParams): Promise<void>;
|
|
18
|
-
updateObject(params: {
|
|
19
|
-
id: string;
|
|
20
|
-
object: {
|
|
21
|
-
name?: string;
|
|
22
|
-
};
|
|
23
|
-
}): Promise<void>;
|
|
24
18
|
/**
|
|
25
19
|
* 取引期限変更
|
|
26
20
|
*/
|
|
@@ -32,14 +32,18 @@ class PlaceOrderTransactionService extends service_1.Service {
|
|
|
32
32
|
body: params.agent
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
// 進行中取引の名称変更は廃止(2026-06-11~)
|
|
36
|
+
// public async updateObject(params: {
|
|
37
|
+
// id: string;
|
|
38
|
+
// object: { name?: string };
|
|
39
|
+
// }): Promise<void> {
|
|
40
|
+
// await this.fetch({
|
|
41
|
+
// uri: `/transactions/${this.typeOf}/${params.id}/object`,
|
|
42
|
+
// method: 'PATCH',
|
|
43
|
+
// expectedStatusCodes: [status.NO_CONTENT],
|
|
44
|
+
// body: params.object
|
|
45
|
+
// });
|
|
46
|
+
// }
|
|
43
47
|
/**
|
|
44
48
|
* 取引期限変更
|
|
45
49
|
*/
|