@cinerino/sdk 18.3.0-alpha.2 → 18.3.0-alpha.4
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.d.ts +0 -9
- package/lib/abstract/chevre.js +0 -9
- package/lib/abstract/chevreConsole/event.d.ts +0 -10
- package/lib/abstract/chevreConsole/event.js +22 -17
- package/lib/abstract/chevreConsole/memberProgram.d.ts +4 -40
- package/lib/abstract/chevreConsole/memberProgram.js +5 -15
- package/lib/bundle.js +3 -3
- package/lib/bundle.js.map +4 -4
- package/package.json +2 -2
- package/lib/abstract/chevre/emailMessage.d.ts +0 -24
- package/lib/abstract/chevre/emailMessage.js +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "18.3.0-alpha.
|
|
3
|
+
"version": "18.3.0-alpha.4",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"watchify": "3.11.1"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@chevre/factory": "11.1.0-alpha.
|
|
76
|
+
"@chevre/factory": "11.1.0-alpha.6",
|
|
77
77
|
"debug": "4.4.3",
|
|
78
78
|
"http-status": "2.1.0",
|
|
79
79
|
"idtoken-verifier": "2.2.4",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { factory } from '../factory';
|
|
2
|
-
import { ISearchResult, Service } from '../service';
|
|
3
|
-
export type IEmailMessage = Omit<factory.creativeWork.message.email.ICreativeWork, 'toRecipient'>;
|
|
4
|
-
export interface ISearchConditions {
|
|
5
|
-
limit?: number;
|
|
6
|
-
page?: number;
|
|
7
|
-
identifier?: {
|
|
8
|
-
$eq?: string;
|
|
9
|
-
};
|
|
10
|
-
about?: {
|
|
11
|
-
identifier?: {
|
|
12
|
-
$eq?: factory.creativeWork.message.email.AboutIdentifier;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Eメールメッセージサービス
|
|
18
|
-
*/
|
|
19
|
-
export declare class EmailMessageService extends Service {
|
|
20
|
-
/**
|
|
21
|
-
* 検索
|
|
22
|
-
*/
|
|
23
|
-
searchDeprecated(params: ISearchConditions): Promise<ISearchResult<IEmailMessage[]>>;
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EmailMessageService = void 0;
|
|
4
|
-
const http_status_1 = require("http-status");
|
|
5
|
-
const service_1 = require("../service");
|
|
6
|
-
/**
|
|
7
|
-
* Eメールメッセージサービス
|
|
8
|
-
*/
|
|
9
|
-
class EmailMessageService extends service_1.Service {
|
|
10
|
-
/**
|
|
11
|
-
* 検索
|
|
12
|
-
*/
|
|
13
|
-
async searchDeprecated(params) {
|
|
14
|
-
return this.fetch({
|
|
15
|
-
uri: '/emailMessages',
|
|
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.EmailMessageService = EmailMessageService;
|