@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "16.4.0-alpha.
|
|
3
|
+
"version": "16.4.0-alpha.21",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"watchify": "3.11.1"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@chevre/factory": "10.
|
|
75
|
+
"@chevre/factory": "10.4.0",
|
|
76
76
|
"debug": "4.4.3",
|
|
77
77
|
"http-status": "2.1.0",
|
|
78
78
|
"idtoken-verifier": "2.2.4",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { factory } from '../factory';
|
|
2
|
-
import { Service } from '../service';
|
|
3
|
-
type INoteDigitalDocument = factory.creativeWork.noteDigitalDocument.INoteDigitalDocument;
|
|
4
|
-
export interface IFindParams {
|
|
5
|
-
limit: number;
|
|
6
|
-
page: number;
|
|
7
|
-
/**
|
|
8
|
-
* 主題リソースタイプ
|
|
9
|
-
*/
|
|
10
|
-
aboutTypeOf: factory.product.ProductType.EventService;
|
|
11
|
-
/**
|
|
12
|
-
* 主題リソースIDリスト
|
|
13
|
-
* max: 10
|
|
14
|
-
*/
|
|
15
|
-
aboutIds?: string[];
|
|
16
|
-
/**
|
|
17
|
-
* メモ識別子リスト
|
|
18
|
-
* max: 10
|
|
19
|
-
*/
|
|
20
|
-
identifiers?: string[];
|
|
21
|
-
}
|
|
22
|
-
export type INoteAsFindResult = Pick<INoteDigitalDocument, 'about' | 'id' | 'identifier' | 'text'>;
|
|
23
|
-
/**
|
|
24
|
-
* メモサービス
|
|
25
|
-
*/
|
|
26
|
-
export declare class NoteService extends Service {
|
|
27
|
-
/**
|
|
28
|
-
* 公開メモを検索する
|
|
29
|
-
*/
|
|
30
|
-
findPublicNotes(params: IFindParams): Promise<INoteAsFindResult[]>;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { factory } from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
3
|
-
type IEventReservation = factory.reservation.eventReservation.IReservation;
|
|
4
|
-
type IReservationWithDetail = IEventReservation;
|
|
5
|
-
type IGoodWithDetail = IReservationWithDetail | factory.permit.IPermit;
|
|
6
|
-
export type IOwnershipInfo = (factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood> | (Omit<factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>, 'typeOfGood'> & {
|
|
7
|
-
typeOfGood: IGoodWithDetail;
|
|
8
|
-
})) & {
|
|
9
|
-
/**
|
|
10
|
-
* 所有権ID
|
|
11
|
-
*/
|
|
12
|
-
id: string;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* 所有権サービス
|
|
16
|
-
*/
|
|
17
|
-
export declare class OwnershipInfoService extends Service {
|
|
18
|
-
/**
|
|
19
|
-
* 所有権検索
|
|
20
|
-
*/
|
|
21
|
-
search(params: Omit<factory.ownershipInfo.ISearchConditions, 'project'> & {
|
|
22
|
-
/**
|
|
23
|
-
* max: 10
|
|
24
|
-
*/
|
|
25
|
-
limit?: number;
|
|
26
|
-
/**
|
|
27
|
-
* 所有物詳細を取得する
|
|
28
|
-
* typeOfGood.issuedThrough.typeOf.$eqの指定が必須です
|
|
29
|
-
*/
|
|
30
|
-
includeGoodWithDetails?: '1';
|
|
31
|
-
ownedFromGte?: Date;
|
|
32
|
-
ownedFromLte?: Date;
|
|
33
|
-
}): Promise<ISearchResult<IOwnershipInfo[]>>;
|
|
34
|
-
}
|
|
35
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OwnershipInfoService = void 0;
|
|
4
|
-
const http_status_1 = require("http-status");
|
|
5
|
-
const service_1 = require("../service");
|
|
6
|
-
/**
|
|
7
|
-
* 所有権サービス
|
|
8
|
-
*/
|
|
9
|
-
class OwnershipInfoService extends service_1.Service {
|
|
10
|
-
/**
|
|
11
|
-
* 所有権検索
|
|
12
|
-
*/
|
|
13
|
-
async search(params) {
|
|
14
|
-
return this.fetch({
|
|
15
|
-
uri: '/ownershipInfos',
|
|
16
|
-
method: 'GET',
|
|
17
|
-
qs: params,
|
|
18
|
-
expectedStatusCodes: [http_status_1.status.OK]
|
|
19
|
-
})
|
|
20
|
-
.then(async (response) => {
|
|
21
|
-
return {
|
|
22
|
-
data: await response.json()
|
|
23
|
-
};
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.OwnershipInfoService = OwnershipInfoService;
|