@cinerino/sdk 3.160.0 → 3.161.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/example/playground/public/lib/bundle.js +183 -170
- package/example/src/authorizeOrder.ts +2 -1
- package/example/src/cancelReservations.ts +2 -1
- package/example/src/chevre/assetTransaction/processReserve.ts +4 -3
- package/example/src/chevre/authorizeOrder.ts +2 -1
- package/example/src/chevre/createEvents.ts +2 -1
- package/example/src/chevre/createOrder.ts +2 -1
- package/example/src/chevre/findOrderByConfirmationNumber.ts +2 -1
- package/example/src/chevre/searchAcceptedOffersByConfirmationNumber.ts +2 -1
- package/example/src/chevre/searchEventOffers.ts +2 -1
- package/example/src/chevre/searchEvents.ts +2 -1
- package/example/src/chevre/searchReservations.ts +2 -1
- package/example/src/chevre/updateOrder.ts +2 -1
- package/example/src/createCommentOnOrder.ts +2 -1
- package/example/src/createEvents.ts +2 -1
- package/example/src/findOrderByConfirmationNumber.ts +2 -1
- package/example/src/getMembershipOwnershipCode.ts +4 -2
- package/example/src/openAccountByToken.ts +2 -1
- package/example/src/person/manageReservationToken.ts +4 -2
- package/example/src/searchOffers.ts +2 -1
- package/example/src/searchOrderAcceptedOffers.ts +2 -1
- package/example/src/searchOrders.ts +2 -1
- package/example/src/searchPaymentServices.ts +3 -28
- package/example/src/searchPaymentServicesOnMovieTicketIF.ts +2 -1
- package/example/src/searchProducts.ts +2 -1
- package/example/src/searchProjects.ts +29 -0
- package/example/src/searchSellers.ts +30 -0
- package/example/src/transaction/checkPaymentCard.ts +2 -1
- package/example/src/transaction/processMoneyTransfer.ts +4 -2
- package/example/src/transaction/processMoneyTransferFromOrder.ts +2 -1
- package/example/src/transaction/processOrderMoneyTransferByCash.ts +6 -3
- package/example/src/transaction/processOrderMoneyTransferByCreditCard.ts +6 -3
- package/example/src/transaction/processPlaceOrderByAnonymousCreditCardAndMembership.ts +6 -3
- package/example/src/transaction/processPlaceOrderByAnonymousCreditCardAndMyMembership.ts +9 -5
- package/example/src/transaction/processPlaceOrderByCash.ts +12 -6
- package/example/src/transaction/processPlaceOrderByMovieTicket.ts +6 -3
- package/example/src/transaction/processPlaceOrderByNewMembershipCoupon4COA.ts +6 -3
- package/example/src/transaction/processPlaceOrderByPaymentCard.ts +6 -3
- package/example/src/transaction/processPublishPaymentUrl.ts +6 -3
- package/example/src/transaction/processReturnOrder.ts +2 -1
- package/example/src/transaction/searchEventOffers.ts +4 -2
- package/example/src/transaction/test/lockTransactionTest.ts +2 -1
- package/example/src/updateOrder.ts +2 -1
- package/lib/abstract/chevre/account.d.ts +2 -2
- package/lib/abstract/chevre/accountTitle.d.ts +2 -2
- package/lib/abstract/chevre/accountTransaction.d.ts +2 -2
- package/lib/abstract/chevre/action.d.ts +2 -2
- package/lib/abstract/chevre/additionalProperty.d.ts +2 -2
- package/lib/abstract/chevre/aggregation.d.ts +1 -1
- package/lib/abstract/chevre/assetTransaction/cancelReservation.d.ts +2 -2
- package/lib/abstract/chevre/assetTransaction/moneyTransfer.d.ts +2 -2
- package/lib/abstract/chevre/assetTransaction/pay.d.ts +2 -2
- package/lib/abstract/chevre/assetTransaction/refund.d.ts +2 -2
- package/lib/abstract/chevre/assetTransaction/registerService.d.ts +2 -2
- package/lib/abstract/chevre/assetTransaction/reserve.d.ts +2 -2
- package/lib/abstract/chevre/assetTransaction.d.ts +2 -2
- package/lib/abstract/chevre/authorization.d.ts +2 -2
- package/lib/abstract/chevre/award.d.ts +2 -2
- package/lib/abstract/chevre/categoryCode.d.ts +2 -2
- package/lib/abstract/chevre/comment.d.ts +2 -2
- package/lib/abstract/chevre/creativeWork.d.ts +2 -2
- package/lib/abstract/chevre/customer.d.ts +2 -2
- package/lib/abstract/chevre/emailMessage.d.ts +2 -2
- package/lib/abstract/chevre/event.d.ts +2 -2
- package/lib/abstract/chevre/holdReservation.d.ts +2 -2
- package/lib/abstract/chevre/iam.d.ts +2 -2
- package/lib/abstract/chevre/me.d.ts +1 -1
- package/lib/abstract/chevre/merchantReturnPolicy.d.ts +2 -2
- package/lib/abstract/chevre/offer.d.ts +2 -2
- package/lib/abstract/chevre/offerCatalog.d.ts +2 -2
- package/lib/abstract/chevre/offerItemCondition.d.ts +2 -2
- package/lib/abstract/chevre/order.d.ts +3 -3
- package/lib/abstract/chevre/payment.d.ts +2 -2
- package/lib/abstract/chevre/permit.d.ts +2 -2
- package/lib/abstract/chevre/person/ownershipInfo.d.ts +2 -2
- package/lib/abstract/chevre/person.d.ts +2 -2
- package/lib/abstract/chevre/place.d.ts +2 -2
- package/lib/abstract/chevre/priceSpecification.d.ts +2 -2
- package/lib/abstract/chevre/product.d.ts +2 -2
- package/lib/abstract/chevre/project.d.ts +1 -1
- package/lib/abstract/chevre/reservation.d.ts +1 -4
- package/lib/abstract/chevre/reservation.js +0 -14
- package/lib/abstract/chevre/seller.d.ts +2 -2
- package/lib/abstract/chevre/task.d.ts +2 -2
- package/lib/abstract/chevre/token.d.ts +2 -2
- package/lib/abstract/chevre/transaction/moneyTransfer.d.ts +2 -2
- package/lib/abstract/chevre/transaction/placeOrder.d.ts +2 -2
- package/lib/abstract/chevre/transaction/returnOrder.d.ts +2 -2
- package/lib/abstract/chevre/transactionNumber.d.ts +2 -2
- package/lib/abstract/chevre/trip.d.ts +2 -2
- package/lib/abstract/chevre/userPool.d.ts +2 -2
- package/lib/abstract/index.d.ts +0 -3
- package/lib/abstract/index.js +0 -4
- package/lib/abstract/pecorino/accountTransaction.d.ts +1 -1
- package/lib/abstract/pecorino/permit.d.ts +1 -1
- package/lib/abstract/service/order.d.ts +1 -1
- package/lib/abstract/service/person/ownershipInfo.d.ts +2 -2
- package/lib/abstract/service/person.d.ts +2 -2
- package/lib/abstract/service/project.d.ts +1 -1
- package/lib/abstract/service/reservation.d.ts +1 -1
- package/lib/abstract/service/seller.d.ts +2 -2
- package/lib/abstract/service/transaction/placeOrder4sskts.d.ts +0 -2
- package/lib/abstract/service/transaction/placeOrder4sskts.js +5 -2
- package/lib/abstract/service.d.ts +7 -3
- package/lib/bundle.js +165 -172
- package/package.json +2 -2
- package/example/src/chevre/publishTransactionNumber.ts +0 -30
- package/example/src/chevre/searchCreditCards.ts +0 -33
- package/example/src/searchScreeningRooms.ts +0 -32
- package/example/src/transaction/processOrderMembershipByCreditCard.ts +0 -220
- package/example/src/transaction/test/rateLimitTransactionTest.ts +0 -70
|
@@ -42,17 +42,20 @@ async function main() {
|
|
|
42
42
|
const placeOrderService = new client.service.txn.PlaceOrder({
|
|
43
43
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
44
44
|
auth: authClient,
|
|
45
|
-
project: project
|
|
45
|
+
project: project,
|
|
46
|
+
seller: { id: '' }
|
|
46
47
|
});
|
|
47
48
|
const placeOrder4ssktsService = new client.service.txn.PlaceOrder4sskts({
|
|
48
49
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
49
50
|
auth: authClient,
|
|
50
|
-
project: project
|
|
51
|
+
project: project,
|
|
52
|
+
seller: { id: '' }
|
|
51
53
|
});
|
|
52
54
|
const paymentService = new client.service.Payment({
|
|
53
55
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
54
56
|
auth: authClient,
|
|
55
|
-
project: project
|
|
57
|
+
project: project,
|
|
58
|
+
seller: { id: '' }
|
|
56
59
|
});
|
|
57
60
|
|
|
58
61
|
const seller = { typeOf: client.factory.organizationType.Corporation, id: '5d0abf30ac3fb200198ebb2c' };
|
|
@@ -26,7 +26,8 @@ async function main() {
|
|
|
26
26
|
const eventService = new client.service.Event({
|
|
27
27
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
28
28
|
auth: authClient,
|
|
29
|
-
project: { id: projectId }
|
|
29
|
+
project: { id: projectId },
|
|
30
|
+
seller: { id: '' }
|
|
30
31
|
});
|
|
31
32
|
|
|
32
33
|
const sellerService = new client.service.Seller({
|
|
@@ -38,13 +39,15 @@ async function main() {
|
|
|
38
39
|
const placeOrderService = new client.service.txn.PlaceOrder({
|
|
39
40
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
40
41
|
auth: authClient,
|
|
41
|
-
project: { id: projectId }
|
|
42
|
+
project: { id: projectId },
|
|
43
|
+
seller: { id: '' }
|
|
42
44
|
});
|
|
43
45
|
|
|
44
46
|
const paymentService = new client.service.Payment({
|
|
45
47
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
46
48
|
auth: authClient,
|
|
47
|
-
project: { id: projectId }
|
|
49
|
+
project: { id: projectId },
|
|
50
|
+
seller: { id: '' }
|
|
48
51
|
});
|
|
49
52
|
|
|
50
53
|
// 販売劇場検索
|
|
@@ -21,13 +21,15 @@ const authClient = new client.auth.ClientCredentials({
|
|
|
21
21
|
const paymentService = new client.service.Payment({
|
|
22
22
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
23
23
|
auth: authClient,
|
|
24
|
-
project
|
|
24
|
+
project,
|
|
25
|
+
seller: { id: '' }
|
|
25
26
|
});
|
|
26
27
|
|
|
27
28
|
const placeOrderService = new client.service.txn.PlaceOrder({
|
|
28
29
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
29
30
|
auth: authClient,
|
|
30
|
-
project
|
|
31
|
+
project,
|
|
32
|
+
seller: { id: '' }
|
|
31
33
|
});
|
|
32
34
|
|
|
33
35
|
const sellerService = new client.service.Seller({
|
|
@@ -39,7 +41,8 @@ const sellerService = new client.service.Seller({
|
|
|
39
41
|
const productService = new client.service.Product({
|
|
40
42
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
41
43
|
auth: authClient,
|
|
42
|
-
project
|
|
44
|
+
project,
|
|
45
|
+
seller: { id: '' }
|
|
43
46
|
});
|
|
44
47
|
|
|
45
48
|
// tslint:disable-next-line:max-func-body-length
|
|
@@ -25,7 +25,8 @@ async function main() {
|
|
|
25
25
|
const returnOrderService = new client.service.txn.ReturnOrder({
|
|
26
26
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
27
27
|
auth: authClient,
|
|
28
|
-
project: { id: 'cinerino' }
|
|
28
|
+
project: { id: 'cinerino' },
|
|
29
|
+
seller: { id: '' }
|
|
29
30
|
});
|
|
30
31
|
|
|
31
32
|
const transaction = await returnOrderService.start({
|
|
@@ -9,13 +9,15 @@ const SELLER_ID = String(process.env.SELLER_ID);
|
|
|
9
9
|
const eventService = new client.service.Event({
|
|
10
10
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
11
11
|
auth,
|
|
12
|
-
project
|
|
12
|
+
project,
|
|
13
|
+
seller: { id: '' }
|
|
13
14
|
});
|
|
14
15
|
|
|
15
16
|
const productService = new client.service.Product({
|
|
16
17
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
17
18
|
auth,
|
|
18
|
-
project
|
|
19
|
+
project,
|
|
20
|
+
seller: { id: '' }
|
|
19
21
|
});
|
|
20
22
|
|
|
21
23
|
// tslint:disable-next-line:max-func-body-length
|
|
@@ -22,7 +22,8 @@ async function main() {
|
|
|
22
22
|
const placeOrderService = new client.service.txn.PlaceOrder({
|
|
23
23
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
24
24
|
auth: authClient,
|
|
25
|
-
project
|
|
25
|
+
project,
|
|
26
|
+
seller: { id: 'xxx' }
|
|
26
27
|
});
|
|
27
28
|
|
|
28
29
|
const searchSellersResult = await sellerService.search({});
|
|
@@ -13,7 +13,8 @@ async function main() {
|
|
|
13
13
|
const orderService = new client.chevre.service.Order({
|
|
14
14
|
endpoint: <string>process.env.API_ENDPOINT,
|
|
15
15
|
auth: authClient,
|
|
16
|
-
project: { id: project.id }
|
|
16
|
+
project: { id: project.id },
|
|
17
|
+
seller: { id: 'xxx' }
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
await orderService.updateChangeableAttributes({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
export interface IOpenParams {
|
|
4
4
|
/**
|
|
5
5
|
* プロジェクト
|
|
@@ -30,7 +30,7 @@ export interface IOpenParams {
|
|
|
30
30
|
/**
|
|
31
31
|
* 口座サービス
|
|
32
32
|
*/
|
|
33
|
-
export declare class AccountService extends Service {
|
|
33
|
+
export declare class AccountService extends Service<IOptions> {
|
|
34
34
|
/**
|
|
35
35
|
* 注文トークンによる口座開設
|
|
36
36
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { Service } from '../service';
|
|
2
|
+
import { IOptions, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 勘定科目サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class AccountTitleService extends Service {
|
|
6
|
+
export declare class AccountTitleService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 科目分類作成
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '@chevre/factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 口座取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class AccountTransactionService extends Service {
|
|
6
|
+
export declare class AccountTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引検索
|
|
9
9
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
export declare type IAction<T extends factory.actionType> = factory.action.IAction<factory.action.IAttributes<T, any, any>>;
|
|
4
4
|
/**
|
|
5
5
|
* アクションサービス
|
|
6
6
|
*/
|
|
7
|
-
export declare class ActionService extends Service {
|
|
7
|
+
export declare class ActionService extends Service<IOptions> {
|
|
8
8
|
/**
|
|
9
9
|
* アクション検索
|
|
10
10
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IUnset, Service } from '../service';
|
|
3
3
|
declare type IAdditionalProperty = factory.additionalProperty.IAdditionalProperty;
|
|
4
4
|
declare type ISearchConditions = Omit<factory.additionalProperty.ISearchConditions, 'project'>;
|
|
5
5
|
/**
|
|
6
6
|
* 追加特性サービス
|
|
7
7
|
*/
|
|
8
|
-
export declare class AdditionalPropertyService extends Service {
|
|
8
|
+
export declare class AdditionalPropertyService extends Service<IOptions> {
|
|
9
9
|
/**
|
|
10
10
|
* 作成
|
|
11
11
|
*/
|
|
@@ -20,7 +20,7 @@ interface ISearchConditions {
|
|
|
20
20
|
/**
|
|
21
21
|
* 集計サービス
|
|
22
22
|
*/
|
|
23
|
-
export declare class AggregationService extends Service {
|
|
23
|
+
export declare class AggregationService extends Service<IOptions> {
|
|
24
24
|
constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'transporter'>);
|
|
25
25
|
search(params: ISearchConditions): Promise<ISearchResult<IAggregation[]>>;
|
|
26
26
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { Service } from '../../service';
|
|
2
|
+
import { IOptions, Service } from '../../service';
|
|
3
3
|
/**
|
|
4
4
|
* 予約キャンセル取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class CancelReservationAssetTransactionService extends Service {
|
|
6
|
+
export declare class CancelReservationAssetTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引を開始する
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { Service } from '../../service';
|
|
2
|
+
import { IOptions, Service } from '../../service';
|
|
3
3
|
/**
|
|
4
4
|
* 通貨転送取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class MoneyTransferAssetTransactionService extends Service {
|
|
6
|
+
export declare class MoneyTransferAssetTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引開始
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { Service } from '../../service';
|
|
2
|
+
import { IOptions, Service } from '../../service';
|
|
3
3
|
export interface IPublishPaymentUrlResult {
|
|
4
4
|
paymentMethodId: string;
|
|
5
5
|
paymentUrl: string;
|
|
@@ -7,7 +7,7 @@ export interface IPublishPaymentUrlResult {
|
|
|
7
7
|
/**
|
|
8
8
|
* 決済取引サービス
|
|
9
9
|
*/
|
|
10
|
-
export declare class PayAssetTransactionService extends Service {
|
|
10
|
+
export declare class PayAssetTransactionService extends Service<IOptions> {
|
|
11
11
|
/**
|
|
12
12
|
* 決済方法認証
|
|
13
13
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { Service } from '../../service';
|
|
2
|
+
import { IOptions, Service } from '../../service';
|
|
3
3
|
/**
|
|
4
4
|
* 返金取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class RefundAssetTransactionService extends Service {
|
|
6
|
+
export declare class RefundAssetTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引開始
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { Service } from '../../service';
|
|
2
|
+
import { IOptions, Service } from '../../service';
|
|
3
3
|
/**
|
|
4
4
|
* サービス登録取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class RegisterServiceAssetTransactionService extends Service {
|
|
6
|
+
export declare class RegisterServiceAssetTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引開始
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { Service } from '../../service';
|
|
2
|
+
import { IOptions, Service } from '../../service';
|
|
3
3
|
/**
|
|
4
4
|
* 予約取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class ReserveAssetTransactionService extends Service {
|
|
6
|
+
export declare class ReserveAssetTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引を開始する
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 資産取引サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class AssetTransactionService extends Service {
|
|
6
|
+
export declare class AssetTransactionService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 取引検索
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
export interface ICreateParams {
|
|
4
4
|
project: factory.project.IProject;
|
|
5
5
|
typeOf: 'Authorization';
|
|
@@ -11,7 +11,7 @@ export interface ICreateParams {
|
|
|
11
11
|
/**
|
|
12
12
|
* 承認サービス
|
|
13
13
|
*/
|
|
14
|
-
export declare class AuthorizationService extends Service {
|
|
14
|
+
export declare class AuthorizationService extends Service<IOptions> {
|
|
15
15
|
/**
|
|
16
16
|
* 承認発行
|
|
17
17
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { Service } from '../service';
|
|
2
|
+
import { IOptions, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 特典サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class AwardService extends Service {
|
|
6
|
+
export declare class AwardService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 特典承認
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IUnset, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 区分サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class CategoryCodeService extends Service {
|
|
6
|
+
export declare class CategoryCodeService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 作成
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { Service } from '../service';
|
|
2
|
+
import { IOptions, Service } from '../service';
|
|
3
3
|
export interface ISendEmailMessage {
|
|
4
4
|
object: Pick<factory.action.transfer.send.message.email.IObject, 'about' | 'text'> & {
|
|
5
5
|
sender?: {
|
|
@@ -10,7 +10,7 @@ export interface ISendEmailMessage {
|
|
|
10
10
|
/**
|
|
11
11
|
* コメントサービス
|
|
12
12
|
*/
|
|
13
|
-
export declare class CommentService extends Service {
|
|
13
|
+
export declare class CommentService extends Service<IOptions> {
|
|
14
14
|
/**
|
|
15
15
|
* 作成
|
|
16
16
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IUnset, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* コンテンツサービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class CreativeWorkService extends Service {
|
|
6
|
+
export declare class CreativeWorkService extends Service<IOptions> {
|
|
7
7
|
createMovie(params: factory.creativeWork.movie.ICreativeWork): Promise<factory.creativeWork.movie.ICreativeWork>;
|
|
8
8
|
searchMovies(params: Omit<factory.creativeWork.movie.ISearchConditions, 'project'>): Promise<{
|
|
9
9
|
data: factory.creativeWork.movie.ICreativeWork[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IProjectionSearchConditions, ISearchResult, IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IProjectionSearchConditions, ISearchResult, IUnset, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 顧客サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class CustomerService extends Service {
|
|
6
|
+
export declare class CustomerService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* 顧客作成
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, IUnset, Service } from '../service';
|
|
3
3
|
export declare type IEmailMessage = Omit<factory.creativeWork.message.email.ICreativeWork, 'toRecipient'>;
|
|
4
4
|
export interface ISearchConditions {
|
|
5
5
|
limit?: number;
|
|
@@ -17,7 +17,7 @@ export interface ISearchConditions {
|
|
|
17
17
|
/**
|
|
18
18
|
* Eメールメッセージサービス
|
|
19
19
|
*/
|
|
20
|
-
export declare class EmailMessageService extends Service {
|
|
20
|
+
export declare class EmailMessageService extends Service<IOptions> {
|
|
21
21
|
/**
|
|
22
22
|
* 作成
|
|
23
23
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
2
|
import { ISearchedEvent } from './event/factory';
|
|
3
|
-
import {
|
|
3
|
+
import { IProjectionSearchConditions, ISearchResult, IUnset, Service } from '../service';
|
|
4
4
|
/**
|
|
5
5
|
* イベントサービス
|
|
6
6
|
*/
|
|
7
|
-
export declare class EventService extends Service
|
|
7
|
+
export declare class EventService extends Service {
|
|
8
8
|
/**
|
|
9
9
|
* イベント作成
|
|
10
10
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 保留予約サービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class HoldReservationService extends Service {
|
|
6
|
+
export declare class HoldReservationService extends Service<IOptions> {
|
|
7
7
|
search(params: {
|
|
8
8
|
limit?: number;
|
|
9
9
|
page?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* IAMサービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class IAMService extends Service {
|
|
6
|
+
export declare class IAMService extends Service<IOptions> {
|
|
7
7
|
/**
|
|
8
8
|
* ユーザー検索
|
|
9
9
|
*/
|
|
@@ -10,7 +10,7 @@ export interface ISearchProjectConditions {
|
|
|
10
10
|
/**
|
|
11
11
|
* 管理者サービス
|
|
12
12
|
*/
|
|
13
|
-
export declare class MeService extends Service {
|
|
13
|
+
export declare class MeService extends Service<IOptions> {
|
|
14
14
|
constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'transporter'>);
|
|
15
15
|
/**
|
|
16
16
|
* マイプロジェクト検索
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, IUnset, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 返品ポリシーサービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class MerchantReturnPolicyService extends Service {
|
|
6
|
+
export declare class MerchantReturnPolicyService extends Service<IOptions> {
|
|
7
7
|
create(params: factory.unitPriceOffer.IOfferMerchantReturnPolicy): Promise<factory.unitPriceOffer.IOfferMerchantReturnPolicy>;
|
|
8
8
|
search(params: Omit<factory.unitPriceOffer.IOfferMerchantReturnPolicySearchConditions, 'project'>): Promise<ISearchResult<factory.unitPriceOffer.IOfferMerchantReturnPolicy[]>>;
|
|
9
9
|
findById(params: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IProjectionSearchConditions, ISearchResult, IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IProjectionSearchConditions, ISearchResult, IUnset, Service } from '../service';
|
|
3
3
|
import { IAuthorizeCOAEventServiceResult, IAuthorizeEventServiceResult, IAuthorizeProductOfferResult, IMinimalAuthorizeEventServiceResult } from './transaction/placeOrder/factory';
|
|
4
4
|
export interface IPurpose {
|
|
5
5
|
typeOf: factory.transactionType;
|
|
@@ -52,7 +52,7 @@ export interface ICOAPointOffer {
|
|
|
52
52
|
/**
|
|
53
53
|
* オファーサービス
|
|
54
54
|
*/
|
|
55
|
-
export declare class OfferService extends Service {
|
|
55
|
+
export declare class OfferService extends Service<IOptions> {
|
|
56
56
|
/**
|
|
57
57
|
* オファー作成
|
|
58
58
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
export declare type IOfferCatalogAsSearchResult = Omit<factory.offerCatalog.IOfferCatalog, 'itemListElement'> & {
|
|
4
4
|
numberOfItems?: number;
|
|
5
5
|
};
|
|
@@ -10,7 +10,7 @@ export declare type ICreateResult = Omit<factory.offerCatalog.IOfferCatalog, 'it
|
|
|
10
10
|
/**
|
|
11
11
|
* オファーカタログサービス
|
|
12
12
|
*/
|
|
13
|
-
export declare class OfferCatalogService extends Service {
|
|
13
|
+
export declare class OfferCatalogService extends Service<IOptions> {
|
|
14
14
|
/**
|
|
15
15
|
* オファーカタログ作成
|
|
16
16
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IUnset, Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* アイテムコンディションサービス
|
|
5
5
|
*/
|
|
6
|
-
export declare class OfferItemConditionService extends Service {
|
|
6
|
+
export declare class OfferItemConditionService extends Service<IOptions> {
|
|
7
7
|
create(params: factory.offerItemCondition.IOfferItemCondition): Promise<factory.offerItemCondition.IOfferItemCondition>;
|
|
8
8
|
search(params: Omit<factory.offerItemCondition.ISearchConditions, 'project'>): Promise<{
|
|
9
9
|
data: factory.offerItemCondition.IOfferItemCondition[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
2
|
import { IAcceptedOffer, IAuthorizeResult, IExternalOrder, IReturner, ISearchOrdersOptions, IUpdateChangeableAttributesParams } from './order/factory';
|
|
3
|
-
import {
|
|
3
|
+
import { IProjectionSearchConditions, ISearchResult, Service } from '../service';
|
|
4
4
|
/**
|
|
5
5
|
* 注文サービス
|
|
6
6
|
*/
|
|
7
|
-
export declare class OrderService extends Service
|
|
7
|
+
export declare class OrderService extends Service {
|
|
8
8
|
/**
|
|
9
9
|
* 取引なしに作成する
|
|
10
10
|
*/
|
|
@@ -101,7 +101,7 @@ export declare class OrderService extends Service<IOptions & IAdditionalOptions>
|
|
|
101
101
|
/**
|
|
102
102
|
* 注文を検索する
|
|
103
103
|
*/
|
|
104
|
-
search(params: Omit<factory.order.ISearchConditions, 'project'> & IProjectionSearchConditions & ISearchOrdersOptions): Promise<ISearchResult<factory.order.IOrder[]>>;
|
|
104
|
+
search(params: Omit<factory.order.ISearchConditions, 'project' | 'provider'> & IProjectionSearchConditions & ISearchOrdersOptions): Promise<ISearchResult<factory.order.IOrder[]>>;
|
|
105
105
|
/**
|
|
106
106
|
* 注文取得
|
|
107
107
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { Service } from '../service';
|
|
2
|
+
import { IOptions, Service } from '../service';
|
|
3
3
|
import { IAuthorizeResult, IPublishPaymentUrlResult, IPurpose } from './payment/factory';
|
|
4
4
|
/**
|
|
5
5
|
* 決済サービス
|
|
6
6
|
*/
|
|
7
|
-
export declare class PaymentService extends Service {
|
|
7
|
+
export declare class PaymentService extends Service<IOptions> {
|
|
8
8
|
/**
|
|
9
9
|
* 対面決済承認
|
|
10
10
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../service';
|
|
3
3
|
export interface IAuthorizeResult {
|
|
4
4
|
code: string;
|
|
5
5
|
}
|
|
@@ -14,7 +14,7 @@ export interface IPublishIdentifierResult {
|
|
|
14
14
|
/**
|
|
15
15
|
* 許可証サービス
|
|
16
16
|
*/
|
|
17
|
-
export declare class PermitService extends Service {
|
|
17
|
+
export declare class PermitService extends Service<IOptions> {
|
|
18
18
|
/**
|
|
19
19
|
* 識別子発行
|
|
20
20
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../../service';
|
|
2
|
+
import { IOptions, ISearchResult, Service } from '../../service';
|
|
3
3
|
export declare type ICreditCard = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardRaw | factory.paymentMethod.paymentCard.creditCard.IUncheckedCardTokenized;
|
|
4
4
|
export declare type IOwnershipInfoWithDetail = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGoodWithDetail>;
|
|
5
5
|
export interface ICodeResponse {
|
|
@@ -8,7 +8,7 @@ export interface ICodeResponse {
|
|
|
8
8
|
/**
|
|
9
9
|
* 会員所有権サービス
|
|
10
10
|
*/
|
|
11
|
-
export declare class PersonOwnershipInfoService extends Service {
|
|
11
|
+
export declare class PersonOwnershipInfoService extends Service<IOptions> {
|
|
12
12
|
/**
|
|
13
13
|
* クレジットカード追加
|
|
14
14
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IProjectionSearchConditions, ISearchResult, Service } from '../service';
|
|
2
|
+
import { IOptions, IProjectionSearchConditions, ISearchResult, Service } from '../service';
|
|
3
3
|
import { ISearchOrdersOptions } from './order/factory';
|
|
4
4
|
export declare type IPerson = factory.person.IPerson;
|
|
5
5
|
/**
|
|
6
6
|
* 会員サービス
|
|
7
7
|
*/
|
|
8
|
-
export declare class PersonService extends Service {
|
|
8
|
+
export declare class PersonService extends Service<IOptions> {
|
|
9
9
|
/**
|
|
10
10
|
* 会員作成
|
|
11
11
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import {
|
|
2
|
+
import { IUnset, Service } from '../service';
|
|
3
3
|
export declare type IScreeningRoom = Omit<factory.place.screeningRoom.IPlace, 'containsPlace' | 'parentOrganization'>;
|
|
4
4
|
export declare type IScreeningRoomSection = Omit<factory.place.screeningRoomSection.IPlace, 'containsPlace' | 'parentOrganization'>;
|
|
5
5
|
export declare type ISeat = Omit<factory.place.seat.IPlace, 'parentOrganization'>;
|
|
6
6
|
/**
|
|
7
7
|
* 施設サービス
|
|
8
8
|
*/
|
|
9
|
-
export declare class PlaceService extends Service
|
|
9
|
+
export declare class PlaceService extends Service {
|
|
10
10
|
/**
|
|
11
11
|
* 施設作成
|
|
12
12
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
|
-
import { IUnset, Service } from '../service';
|
|
2
|
+
import { IOptions, IUnset, Service } from '../service';
|
|
3
3
|
export declare type IAvailablePriceSpecificationType = factory.priceSpecificationType.CategoryCodeChargeSpecification | factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
|
|
4
4
|
export import IPriceSpecification = factory.priceSpecification.IPriceSpecification;
|
|
5
5
|
/**
|
|
6
6
|
* 価格仕様サービス
|
|
7
7
|
*/
|
|
8
|
-
export declare class PriceSpecificationService extends Service {
|
|
8
|
+
export declare class PriceSpecificationService extends Service<IOptions> {
|
|
9
9
|
create<T extends IAvailablePriceSpecificationType>(params: IPriceSpecification<T>): Promise<IPriceSpecification<T>>;
|
|
10
10
|
/**
|
|
11
11
|
* 価格仕様検索
|