@cinerino/sdk 10.21.0-alpha.23 → 10.21.0-alpha.25
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/chevreAdmin/paymentService.d.ts +8 -2
- package/lib/bundle.js +302 -285
- package/package.json +2 -2
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
2
|
import { Service } from '../service';
|
|
3
|
+
declare type ISavingAvailableChannel = Pick<factory.service.paymentService.IAvailableChannel, 'totalPaymentDue' | 'typeOf'> & {
|
|
4
|
+
serviceUrl: string;
|
|
5
|
+
};
|
|
6
|
+
declare type ISavingPaymentService = Pick<factory.service.paymentService.IService, 'additionalProperty' | 'description' | 'name' | 'productID' | 'project' | 'serviceOutput' | 'serviceType' | 'typeOf' | 'potentialAction'> & {
|
|
7
|
+
availableChannel: ISavingAvailableChannel;
|
|
8
|
+
};
|
|
3
9
|
export declare type IPaymentServiceWithoutCredentials = Omit<factory.service.paymentService.IService, 'availableChannel' | 'potentialAction'> & {
|
|
4
10
|
id: string;
|
|
5
11
|
};
|
|
@@ -14,7 +20,7 @@ export declare class PaymentProductService extends Service {
|
|
|
14
20
|
/**
|
|
15
21
|
* 決済サービス作成
|
|
16
22
|
*/
|
|
17
|
-
createPaymentService(params:
|
|
23
|
+
createPaymentService(params: ISavingPaymentService): Promise<{
|
|
18
24
|
id: string;
|
|
19
25
|
}>;
|
|
20
26
|
/**
|
|
@@ -30,7 +36,7 @@ export declare class PaymentProductService extends Service {
|
|
|
30
36
|
availableChannel: Omit<factory.service.paymentService.IAvailableChannel, 'serviceUrl'>;
|
|
31
37
|
id: string;
|
|
32
38
|
}>;
|
|
33
|
-
updatePaymentService(params:
|
|
39
|
+
updatePaymentService(params: ISavingPaymentService & {
|
|
34
40
|
id: string;
|
|
35
41
|
}): Promise<void>;
|
|
36
42
|
deletePaymentServiceById(params: {
|