@cinerino/sdk 16.4.0-alpha.2 → 16.4.0-alpha.21
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/chevre/event.d.ts +1 -3
- package/lib/abstract/chevre/event.js +3 -3
- package/lib/abstract/chevre.d.ts +0 -9
- package/lib/abstract/chevre.js +0 -9
- package/lib/abstract/chevreConsole/action.d.ts +10 -9
- package/lib/abstract/chevreConsole/action.js +5 -15
- package/lib/abstract/chevreConsole/assetTransaction.d.ts +3 -3
- package/lib/abstract/chevreConsole/assetTransaction.js +3 -7
- package/lib/abstract/chevreConsole/checkAction.d.ts +24 -0
- package/lib/abstract/{chevre/note.js → chevreConsole/checkAction.js} +6 -10
- package/lib/abstract/chevreConsole/informAction.d.ts +18 -0
- package/lib/abstract/chevreConsole/informAction.js +20 -0
- package/lib/abstract/chevreConsole/scheduledTask.d.ts +13 -0
- package/lib/abstract/chevreConsole/scheduledTask.js +20 -0
- package/lib/abstract/chevreConsole/task.d.ts +7 -3
- package/lib/abstract/chevreConsole/task.js +1 -1
- package/lib/abstract/chevreConsole/transaction/placeOrder.d.ts +3 -1
- package/lib/abstract/chevreConsole/updateAction.d.ts +17 -0
- package/lib/abstract/chevreConsole/updateAction.js +20 -0
- package/lib/abstract/chevreConsole/useAction.d.ts +17 -0
- package/lib/abstract/chevreConsole/useAction.js +20 -0
- package/lib/abstract/chevreConsole.d.ts +36 -9
- package/lib/abstract/chevreConsole.js +45 -9
- package/lib/abstract/chevreTxc/offer.d.ts +0 -2
- package/lib/abstract/chevreTxc/offer.js +2 -4
- package/lib/abstract/cinerino/service/event.d.ts +0 -2
- package/lib/abstract/cinerino/service/event.js +3 -7
- package/lib/abstract/cloud/txc/transaction/forceAsync.d.ts +0 -2
- package/lib/abstract/cloud/txc/transaction/forceAsync.js +2 -2
- package/lib/abstract/cloud/txc/transaction/placeOrder.d.ts +0 -4
- package/lib/abstract/cloud/txc/transaction/placeOrder.js +4 -4
- package/lib/bundle.js +3 -3
- package/lib/bundle.js.map +4 -4
- package/package.json +2 -2
- package/lib/abstract/chevre/note.d.ts +0 -32
- package/lib/abstract/chevreConsole/ownershipInfo.d.ts +0 -35
- package/lib/abstract/chevreConsole/ownershipInfo.js +0 -27
|
@@ -65,9 +65,7 @@ export declare class EventService extends Service {
|
|
|
65
65
|
*/
|
|
66
66
|
findSeatOffersDeprecated(params: {
|
|
67
67
|
id: string;
|
|
68
|
-
} & Pick<factory.place.seat.ISearchConditions, 'additionalProperty' | 'branchCode' | 'containedInPlace' | 'limit' | 'name' | 'page' | 'parentOrganization' | 'seatingType' | 'sort'
|
|
69
|
-
useDefaultSection: boolean;
|
|
70
|
-
}): Promise<ISeatAsEventOffer[]>;
|
|
68
|
+
} & Pick<factory.place.seat.ISearchConditions, 'additionalProperty' | 'branchCode' | 'containedInPlace' | 'limit' | 'name' | 'page' | 'parentOrganization' | 'seatingType' | 'sort'>): Promise<ISeatAsEventOffer[]>;
|
|
71
69
|
/**
|
|
72
70
|
* オファーで利用可能な適用決済カード条件を検索する
|
|
73
71
|
*/
|
|
@@ -67,15 +67,15 @@ class EventService extends service_1.Service {
|
|
|
67
67
|
* イベントに対する座席検索
|
|
68
68
|
* @deprecated use find seatOffers
|
|
69
69
|
*/
|
|
70
|
-
async findSeatOffersDeprecated(params
|
|
70
|
+
async findSeatOffersDeprecated(params) {
|
|
71
71
|
const { id, ...query } = params;
|
|
72
|
-
const { useDefaultSection } = options;
|
|
72
|
+
// const { useDefaultSection } = options;
|
|
73
73
|
return this.fetch({
|
|
74
74
|
uri: `/events/${encodeURIComponent(String(id))}/seats`,
|
|
75
75
|
method: 'GET',
|
|
76
76
|
qs: {
|
|
77
77
|
...query,
|
|
78
|
-
useDefaultSection
|
|
78
|
+
// useDefaultSection
|
|
79
79
|
},
|
|
80
80
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
81
81
|
})
|
package/lib/abstract/chevre.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { EmailMessageService } from './chevre/emailMessage';
|
|
|
5
5
|
import type { EventService } from './chevre/event';
|
|
6
6
|
import type { EventOfferService } from './chevre/eventOffer';
|
|
7
7
|
import type { EventSeriesService } from './chevre/eventSeries';
|
|
8
|
-
import type { NoteService } from './chevre/note';
|
|
9
8
|
import type { PaymentProductService } from './chevre/paymentService';
|
|
10
9
|
import type { PlaceService } from './chevre/place';
|
|
11
10
|
import type { HasPOSService } from './chevre/place/hasPOS';
|
|
@@ -56,13 +55,6 @@ export declare namespace service {
|
|
|
56
55
|
namespace EventSeries {
|
|
57
56
|
let svc: typeof EventSeriesService | undefined;
|
|
58
57
|
}
|
|
59
|
-
/**
|
|
60
|
-
* メモサービス
|
|
61
|
-
*/
|
|
62
|
-
type Note = NoteService;
|
|
63
|
-
namespace Note {
|
|
64
|
-
let svc: typeof NoteService | undefined;
|
|
65
|
-
}
|
|
66
58
|
/**
|
|
67
59
|
* 決済商品サービス
|
|
68
60
|
*/
|
|
@@ -120,7 +112,6 @@ export declare class Chevre {
|
|
|
120
112
|
createEventInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventService>;
|
|
121
113
|
createEventOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventOfferService>;
|
|
122
114
|
createEventSeriesInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventSeriesService>;
|
|
123
|
-
createNoteInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<NoteService>;
|
|
124
115
|
createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
|
|
125
116
|
createPlaceInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PlaceService>;
|
|
126
117
|
createHasPOSInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<HasPOSService>;
|
package/lib/abstract/chevre.js
CHANGED
|
@@ -54,9 +54,6 @@ var service;
|
|
|
54
54
|
let EventSeries;
|
|
55
55
|
(function (EventSeries) {
|
|
56
56
|
})(EventSeries = service.EventSeries || (service.EventSeries = {}));
|
|
57
|
-
let Note;
|
|
58
|
-
(function (Note) {
|
|
59
|
-
})(Note = service.Note || (service.Note = {}));
|
|
60
57
|
let PaymentProduct;
|
|
61
58
|
(function (PaymentProduct) {
|
|
62
59
|
})(PaymentProduct = service.PaymentProduct || (service.PaymentProduct = {}));
|
|
@@ -123,12 +120,6 @@ class Chevre {
|
|
|
123
120
|
}
|
|
124
121
|
return new service.EventSeries.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
125
122
|
}
|
|
126
|
-
async createNoteInstance(params) {
|
|
127
|
-
if (service.Note.svc === undefined) {
|
|
128
|
-
service.Note.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/note.js')))).NoteService;
|
|
129
|
-
}
|
|
130
|
-
return new service.Note.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
131
|
-
}
|
|
132
123
|
async createPaymentProductInstance(params) {
|
|
133
124
|
if (service.PaymentProduct.svc === undefined) {
|
|
134
125
|
service.PaymentProduct.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/paymentService.js')))).PaymentProductService;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
|
-
import {
|
|
2
|
+
import { Service } from '../service';
|
|
3
3
|
export type IAction<T extends factory.actionType> = factory.action.IAction<factory.action.IAttributes<T, any, any>>;
|
|
4
|
+
type IFindParams = Pick<factory.action.ISearchConditions, 'about' | 'actionStatus' | 'actionStatusTypes' | 'agent' | 'id' | 'instrument' | 'limit' | 'location' | 'object' | 'page' | 'purpose' | 'result' | 'sameAs' | 'sort' | 'startFrom' | 'startThrough'> & {
|
|
5
|
+
typeOf?: Exclude<factory.actionType, factory.actionType.AddAction | factory.actionType.ReplaceAction | factory.actionType.UpdateAction | factory.actionType.DeleteAction | factory.actionType.InformAction | factory.actionType.UseAction>;
|
|
6
|
+
};
|
|
4
7
|
/**
|
|
5
8
|
* アクションサービス
|
|
6
9
|
*/
|
|
@@ -8,16 +11,14 @@ export declare class ActionService extends Service {
|
|
|
8
11
|
/**
|
|
9
12
|
* アクション検索
|
|
10
13
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
typeOf: T;
|
|
17
|
-
}): Promise<IAction<T>>;
|
|
18
|
-
searchRecipes(params: {
|
|
14
|
+
adminFindAnyActions<T extends factory.actionType>(params: IFindParams): Promise<IAction<T>[]>;
|
|
15
|
+
/**
|
|
16
|
+
* アクションのレシピ参照
|
|
17
|
+
*/
|
|
18
|
+
findRecipesByActionId(params: {
|
|
19
19
|
recipeFor: {
|
|
20
20
|
id: string;
|
|
21
21
|
};
|
|
22
22
|
}): Promise<Pick<factory.recipe.IRecipe, 'recipeCategory' | 'step'>[]>;
|
|
23
23
|
}
|
|
24
|
+
export {};
|
|
@@ -10,29 +10,19 @@ class ActionService extends service_1.Service {
|
|
|
10
10
|
/**
|
|
11
11
|
* アクション検索
|
|
12
12
|
*/
|
|
13
|
-
async
|
|
13
|
+
async adminFindAnyActions(params) {
|
|
14
14
|
return this.fetch({
|
|
15
15
|
uri: '/actions',
|
|
16
16
|
method: 'GET',
|
|
17
17
|
qs: params,
|
|
18
18
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
19
|
-
})
|
|
20
|
-
.then(async (response) => {
|
|
21
|
-
return {
|
|
22
|
-
data: await response.json()
|
|
23
|
-
};
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
async findById(params) {
|
|
27
|
-
return this.fetch({
|
|
28
|
-
uri: `/actions/${encodeURIComponent(String(params.id))}`,
|
|
29
|
-
method: 'GET',
|
|
30
|
-
expectedStatusCodes: [http_status_1.status.OK],
|
|
31
|
-
qs: { typeOf: params.typeOf }
|
|
32
19
|
})
|
|
33
20
|
.then(async (response) => response.json());
|
|
34
21
|
}
|
|
35
|
-
|
|
22
|
+
/**
|
|
23
|
+
* アクションのレシピ参照
|
|
24
|
+
*/
|
|
25
|
+
async findRecipesByActionId(params) {
|
|
36
26
|
return this.fetch({
|
|
37
27
|
uri: `/actions/${encodeURIComponent(String(params.recipeFor.id))}/recipe`,
|
|
38
28
|
method: 'GET',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
|
-
import {
|
|
2
|
+
import { Service } from '../service';
|
|
3
3
|
/**
|
|
4
4
|
* 資産取引サービス
|
|
5
5
|
*/
|
|
6
6
|
export declare class AssetTransactionService extends Service {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* 資産取引検索
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
findAssetTransactions<T extends factory.assetTransactionType>(params: factory.assetTransaction.ISearchConditions<T>): Promise<factory.assetTransaction.ITransaction<T>[]>;
|
|
11
11
|
}
|
|
@@ -8,20 +8,16 @@ const service_1 = require("../service");
|
|
|
8
8
|
*/
|
|
9
9
|
class AssetTransactionService extends service_1.Service {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 資産取引検索
|
|
12
12
|
*/
|
|
13
|
-
async
|
|
13
|
+
async findAssetTransactions(params) {
|
|
14
14
|
return this.fetch({
|
|
15
15
|
uri: '/assetTransactions',
|
|
16
16
|
method: 'GET',
|
|
17
17
|
qs: params,
|
|
18
18
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
19
19
|
})
|
|
20
|
-
.then(async (response) =>
|
|
21
|
-
return {
|
|
22
|
-
data: await response.json()
|
|
23
|
-
};
|
|
24
|
-
});
|
|
20
|
+
.then(async (response) => response.json());
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
exports.AssetTransactionService = AssetTransactionService;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { factory } from '../factory';
|
|
2
|
+
import { Service } from '../service';
|
|
3
|
+
type IAction = factory.action.check.paymentMethod.movieTicket.IAction;
|
|
4
|
+
type IFindParams = Pick<factory.action.ISearchConditions, 'sort' | 'startFrom' | 'startThrough'> & {
|
|
5
|
+
/**
|
|
6
|
+
* max: 20
|
|
7
|
+
*/
|
|
8
|
+
limit: number;
|
|
9
|
+
page: number;
|
|
10
|
+
id?: string;
|
|
11
|
+
sameAs?: {
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
purpose?: {
|
|
15
|
+
id?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 認証アクションサービス
|
|
20
|
+
*/
|
|
21
|
+
export declare class CheckActionService extends Service {
|
|
22
|
+
findCheckActions(params: IFindParams): Promise<IAction[]>;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CheckActionService = void 0;
|
|
4
4
|
const http_status_1 = require("http-status");
|
|
5
5
|
const service_1 = require("../service");
|
|
6
|
-
const BASE_URI = '/creativeWorks/noteDigitalDocument';
|
|
7
6
|
/**
|
|
8
|
-
*
|
|
7
|
+
* 認証アクションサービス
|
|
9
8
|
*/
|
|
10
|
-
class
|
|
11
|
-
|
|
12
|
-
* 公開メモを検索する
|
|
13
|
-
*/
|
|
14
|
-
async findPublicNotes(params) {
|
|
9
|
+
class CheckActionService extends service_1.Service {
|
|
10
|
+
async findCheckActions(params) {
|
|
15
11
|
return this.fetch({
|
|
16
|
-
uri:
|
|
12
|
+
uri: '/checkActions',
|
|
17
13
|
method: 'GET',
|
|
18
14
|
qs: params,
|
|
19
15
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
@@ -21,4 +17,4 @@ class NoteService extends service_1.Service {
|
|
|
21
17
|
.then(async (response) => response.json());
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
|
-
exports.
|
|
20
|
+
exports.CheckActionService = CheckActionService;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { factory } from '../factory';
|
|
2
|
+
import { Service } from '../service';
|
|
3
|
+
type IAction = factory.action.interact.inform.IAction;
|
|
4
|
+
type IFindParams = Pick<factory.action.ISearchConditions, 'sort' | 'startFrom' | 'startThrough'> & {
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* max: 20
|
|
8
|
+
*/
|
|
9
|
+
limit: number;
|
|
10
|
+
page: number;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* 通知アクションサービス
|
|
14
|
+
*/
|
|
15
|
+
export declare class InformActionService extends Service {
|
|
16
|
+
findInformActions(params: IFindParams): Promise<IAction[]>;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InformActionService = void 0;
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
6
|
+
/**
|
|
7
|
+
* 通知アクションサービス
|
|
8
|
+
*/
|
|
9
|
+
class InformActionService extends service_1.Service {
|
|
10
|
+
async findInformActions(params) {
|
|
11
|
+
return this.fetch({
|
|
12
|
+
uri: '/informActions',
|
|
13
|
+
method: 'GET',
|
|
14
|
+
qs: params,
|
|
15
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
16
|
+
})
|
|
17
|
+
.then(async (response) => response.json());
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.InformActionService = InformActionService;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { factory } from '../factory';
|
|
2
|
+
import { IOptions, Service } from '../service';
|
|
3
|
+
type IFindParams = Pick<factory.task.ISearchConditions, 'id' | 'name' | 'runsFrom' | 'runsThrough' | 'status' | 'limit' | 'page' | 'sort'>;
|
|
4
|
+
type IKeyOfProjection = keyof factory.task.ITask<factory.taskName>;
|
|
5
|
+
/**
|
|
6
|
+
* 予定タスクサービス
|
|
7
|
+
*/
|
|
8
|
+
export declare class ScheduledTaskService extends Service<IOptions> {
|
|
9
|
+
findScheduledTasks(params: IFindParams & {
|
|
10
|
+
$projection?: Partial<Record<IKeyOfProjection, 1>>;
|
|
11
|
+
}): Promise<factory.task.ITask<factory.taskName>[]>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScheduledTaskService = void 0;
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
6
|
+
/**
|
|
7
|
+
* 予定タスクサービス
|
|
8
|
+
*/
|
|
9
|
+
class ScheduledTaskService extends service_1.Service {
|
|
10
|
+
async findScheduledTasks(params) {
|
|
11
|
+
return this.fetch({
|
|
12
|
+
uri: '/scheduledTasks',
|
|
13
|
+
method: 'GET',
|
|
14
|
+
qs: params,
|
|
15
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
16
|
+
})
|
|
17
|
+
.then(async (response) => response.json());
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ScheduledTaskService = ScheduledTaskService;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
2
|
import { IOptions, Service } from '../service';
|
|
3
3
|
type IKeyOfProjection = keyof factory.task.ITask<factory.taskName>;
|
|
4
|
+
type IFindParams = Pick<factory.task.ISearchConditions, 'dateAborted' | 'id' | 'identifier' | 'limit' | 'name' | 'page' | 'runsFrom' | 'runsThrough' | 'sort' | 'status'> & {
|
|
5
|
+
$projection?: Partial<Record<IKeyOfProjection, 1>>;
|
|
6
|
+
data?: never;
|
|
7
|
+
lastTriedFrom?: never;
|
|
8
|
+
lastTriedThrough?: never;
|
|
9
|
+
};
|
|
4
10
|
/**
|
|
5
11
|
* タスクサービス
|
|
6
12
|
*/
|
|
@@ -15,8 +21,6 @@ export declare class TaskService extends Service<IOptions> {
|
|
|
15
21
|
/**
|
|
16
22
|
* タスク検索
|
|
17
23
|
*/
|
|
18
|
-
|
|
19
|
-
$projection?: Partial<Record<IKeyOfProjection, 1>>;
|
|
20
|
-
}): Promise<factory.task.ITask<factory.taskName>[]>;
|
|
24
|
+
findTasks(params: IFindParams): Promise<factory.task.ITask<factory.taskName>[]>;
|
|
21
25
|
}
|
|
22
26
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { factory } from '../../factory';
|
|
2
2
|
import { ISearchResult, Service } from '../../service';
|
|
3
|
+
type IAction4transaction = factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction | factory.action.authorize.offer.eventService.IAction | factory.action.authorize.paymentMethod.any.IAction;
|
|
3
4
|
/**
|
|
4
5
|
* 注文取引サービス
|
|
5
6
|
*/
|
|
@@ -18,5 +19,6 @@ export declare class PlaceOrderTransactionService extends Service {
|
|
|
18
19
|
*/
|
|
19
20
|
id: string;
|
|
20
21
|
sort: factory.action.ISortOrder;
|
|
21
|
-
}): Promise<
|
|
22
|
+
}): Promise<IAction4transaction[]>;
|
|
22
23
|
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { factory } from '../factory';
|
|
2
|
+
import { Service } from '../service';
|
|
3
|
+
type IAction = factory.action.update.add.IAction | factory.action.update.replace.IAction | factory.action.update.update.IAction | factory.action.update.deleteAction.IAction;
|
|
4
|
+
type IFindParams = Pick<factory.action.update.update.IFindParams, 'sort' | 'startFrom' | 'startThrough' | 'id' | 'limit' | 'object' | 'page' | 'result' | 'typeOf'> & {
|
|
5
|
+
/**
|
|
6
|
+
* max: 20
|
|
7
|
+
*/
|
|
8
|
+
limit: number;
|
|
9
|
+
page: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 編集アクションサービス
|
|
13
|
+
*/
|
|
14
|
+
export declare class UpdateActionService extends Service {
|
|
15
|
+
findUpdateActions(params: IFindParams): Promise<IAction[]>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateActionService = void 0;
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
6
|
+
/**
|
|
7
|
+
* 編集アクションサービス
|
|
8
|
+
*/
|
|
9
|
+
class UpdateActionService extends service_1.Service {
|
|
10
|
+
async findUpdateActions(params) {
|
|
11
|
+
return this.fetch({
|
|
12
|
+
uri: '/updateActions',
|
|
13
|
+
method: 'GET',
|
|
14
|
+
qs: params,
|
|
15
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
16
|
+
})
|
|
17
|
+
.then(async (response) => response.json());
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.UpdateActionService = UpdateActionService;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { factory } from '../factory';
|
|
2
|
+
import { Service } from '../service';
|
|
3
|
+
type IAction = factory.action.consume.use.reservation.IAction;
|
|
4
|
+
type IFindParams = Pick<factory.action.consume.use.reservation.IFindParams, 'sort' | 'startFrom' | 'startThrough' | 'actionStatus' | 'id' | 'limit' | 'object' | 'page'> & {
|
|
5
|
+
/**
|
|
6
|
+
* max: 20
|
|
7
|
+
*/
|
|
8
|
+
limit: number;
|
|
9
|
+
page: number;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 予約使用アクションサービス
|
|
13
|
+
*/
|
|
14
|
+
export declare class UseActionService extends Service {
|
|
15
|
+
findUseActions(params: IFindParams): Promise<IAction[]>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UseActionService = void 0;
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
6
|
+
/**
|
|
7
|
+
* 予約使用アクションサービス
|
|
8
|
+
*/
|
|
9
|
+
class UseActionService extends service_1.Service {
|
|
10
|
+
async findUseActions(params) {
|
|
11
|
+
return this.fetch({
|
|
12
|
+
uri: '/useActions',
|
|
13
|
+
method: 'GET',
|
|
14
|
+
qs: params,
|
|
15
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
16
|
+
})
|
|
17
|
+
.then(async (response) => response.json());
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.UseActionService = UseActionService;
|
|
@@ -2,6 +2,10 @@ import { IAdditionalOptions, IOptions, IUnset as IUnsetOnService } from './servi
|
|
|
2
2
|
import type { AccountingReportService } from './chevreConsole/accountingReport';
|
|
3
3
|
import type { AccountTitleService } from './chevreConsole/accountTitle';
|
|
4
4
|
import type { ActionService } from './chevreConsole/action';
|
|
5
|
+
import type { InformActionService } from './chevreConsole/informAction';
|
|
6
|
+
import type { UpdateActionService } from './chevreConsole/updateAction';
|
|
7
|
+
import type { UseActionService } from './chevreConsole/useAction';
|
|
8
|
+
import type { CheckActionService } from './chevreConsole/checkAction';
|
|
5
9
|
import type { AdditionalPropertyService } from './chevreConsole/additionalProperty';
|
|
6
10
|
import type { AggregateOfferService } from './chevreConsole/aggregateOffer';
|
|
7
11
|
import type { AggregateReservationService } from './chevreConsole/aggregateReservation';
|
|
@@ -32,7 +36,6 @@ import type { OfferCatalogService } from './chevreConsole/offerCatalog';
|
|
|
32
36
|
import type { OfferCatalogItemService } from './chevreConsole/offerCatalogItem';
|
|
33
37
|
import type { OfferItemConditionService } from './chevreConsole/offerItemCondition';
|
|
34
38
|
import type { OrderService } from './chevreConsole/order';
|
|
35
|
-
import type { OwnershipInfoService } from './chevreConsole/ownershipInfo';
|
|
36
39
|
import type { PaymentProductService } from './chevreConsole/paymentService';
|
|
37
40
|
import type { PaymentServiceChannelService } from './chevreConsole/paymentServiceChannel';
|
|
38
41
|
import type { PendingReservationService } from './chevreConsole/pendingReservation';
|
|
@@ -49,6 +52,7 @@ import type { SellerService } from './chevreConsole/seller';
|
|
|
49
52
|
import type { SellerMakesOfferService } from './chevreConsole/sellerMakesOffer';
|
|
50
53
|
import type { SellerReturnPolicyService } from './chevreConsole/sellerReturnPolicy';
|
|
51
54
|
import type { AsyncActionService } from './chevreConsole/asyncAction';
|
|
55
|
+
import type { ScheduledTaskService } from './chevreConsole/scheduledTask';
|
|
52
56
|
import type { TaskService } from './chevreConsole/task';
|
|
53
57
|
import type { TicketService } from './chevreConsole/ticket';
|
|
54
58
|
import type { TokenService } from './chevreConsole/token';
|
|
@@ -80,6 +84,25 @@ export declare namespace service {
|
|
|
80
84
|
namespace Action {
|
|
81
85
|
let svc: typeof ActionService | undefined;
|
|
82
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* 編集アクションサービス
|
|
89
|
+
*/
|
|
90
|
+
type UpdateAction = UpdateActionService;
|
|
91
|
+
namespace UpdateAction {
|
|
92
|
+
let svc: typeof UpdateActionService | undefined;
|
|
93
|
+
}
|
|
94
|
+
type InformAction = InformActionService;
|
|
95
|
+
namespace InformAction {
|
|
96
|
+
let svc: typeof InformActionService | undefined;
|
|
97
|
+
}
|
|
98
|
+
type UseAction = UseActionService;
|
|
99
|
+
namespace UseAction {
|
|
100
|
+
let svc: typeof UseActionService | undefined;
|
|
101
|
+
}
|
|
102
|
+
type CheckAction = CheckActionService;
|
|
103
|
+
namespace CheckAction {
|
|
104
|
+
let svc: typeof CheckActionService | undefined;
|
|
105
|
+
}
|
|
83
106
|
/**
|
|
84
107
|
* 追加特性サービス
|
|
85
108
|
*/
|
|
@@ -248,13 +271,6 @@ export declare namespace service {
|
|
|
248
271
|
namespace Order {
|
|
249
272
|
let svc: typeof OrderService | undefined;
|
|
250
273
|
}
|
|
251
|
-
/**
|
|
252
|
-
* 所有権サービス
|
|
253
|
-
*/
|
|
254
|
-
type OwnershipInfo = OwnershipInfoService;
|
|
255
|
-
namespace OwnershipInfo {
|
|
256
|
-
let svc: typeof OwnershipInfoService | undefined;
|
|
257
|
-
}
|
|
258
274
|
/**
|
|
259
275
|
* 決済サービス
|
|
260
276
|
*/
|
|
@@ -397,6 +413,13 @@ export declare namespace service {
|
|
|
397
413
|
namespace AsyncAction {
|
|
398
414
|
let svc: typeof AsyncActionService | undefined;
|
|
399
415
|
}
|
|
416
|
+
/**
|
|
417
|
+
* 予定タスクサービス
|
|
418
|
+
*/
|
|
419
|
+
type ScheduledTask = ScheduledTaskService;
|
|
420
|
+
namespace ScheduledTask {
|
|
421
|
+
let svc: typeof ScheduledTaskService | undefined;
|
|
422
|
+
}
|
|
400
423
|
/**
|
|
401
424
|
* タスクサービス
|
|
402
425
|
*/
|
|
@@ -484,6 +507,10 @@ export declare class ChevreConsole {
|
|
|
484
507
|
createAccountingReportInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AccountingReportService>;
|
|
485
508
|
createAccountTitleInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AccountTitleService>;
|
|
486
509
|
createActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ActionService>;
|
|
510
|
+
createUpdateActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<UpdateActionService>;
|
|
511
|
+
createInformActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<InformActionService>;
|
|
512
|
+
createUseActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<UseActionService>;
|
|
513
|
+
createCheckActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CheckActionService>;
|
|
487
514
|
createAdditionalPropertyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdditionalPropertyService>;
|
|
488
515
|
createAggregateOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateOfferService>;
|
|
489
516
|
createAggregateReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateReservationService>;
|
|
@@ -508,7 +535,6 @@ export declare class ChevreConsole {
|
|
|
508
535
|
createMessageInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MessageService>;
|
|
509
536
|
createMovieTicketTypeInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MovieTicketTypeService>;
|
|
510
537
|
createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
|
|
511
|
-
createOwnershipInfoInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OwnershipInfoService>;
|
|
512
538
|
createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
|
|
513
539
|
createPaymentServiceChannelInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentServiceChannelService>;
|
|
514
540
|
createPendingReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PendingReservationService>;
|
|
@@ -529,6 +555,7 @@ export declare class ChevreConsole {
|
|
|
529
555
|
createSellerMakesOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<SellerMakesOfferService>;
|
|
530
556
|
createSellerReturnPolicyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<SellerReturnPolicyService>;
|
|
531
557
|
createAsyncActionInstance(params: Pick<IOptions, 'project'>): Promise<AsyncActionService>;
|
|
558
|
+
createScheduledTaskInstance(params: Pick<IOptions, 'project'>): Promise<ScheduledTaskService>;
|
|
532
559
|
createTaskInstance(params: Pick<IOptions, 'project'>): Promise<TaskService>;
|
|
533
560
|
createTicketInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<TicketService>;
|
|
534
561
|
createAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AssetTransactionService>;
|