@cinerino/sdk 12.13.0-alpha.4 → 12.13.0-alpha.6
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/paymentMethod.d.ts +4 -0
- package/lib/abstract/waiterAdmin/rule.d.ts +16 -1
- package/lib/abstract/waiterAdmin/rule.js +1 -1
- package/lib/abstract/waiterAdmin/ruleSet.d.ts +11 -1
- package/lib/abstract/waiterAdmin/ruleSet.js +1 -1
- package/lib/bundle.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
2
|
import { IOptions, Service } from '../service';
|
|
3
|
+
interface IFindParams {
|
|
4
|
+
limit: number;
|
|
5
|
+
page: number;
|
|
6
|
+
/**
|
|
7
|
+
* スコープ
|
|
8
|
+
* 完全一致
|
|
9
|
+
*/
|
|
10
|
+
scope?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 規則分類コード
|
|
13
|
+
* 完全一致
|
|
14
|
+
*/
|
|
15
|
+
inRuleSetIdentifier?: string;
|
|
16
|
+
}
|
|
3
17
|
/**
|
|
4
18
|
* 規則サービス
|
|
5
19
|
*/
|
|
@@ -7,5 +21,6 @@ export declare class RuleService extends Service<IOptions> {
|
|
|
7
21
|
/**
|
|
8
22
|
* 検索
|
|
9
23
|
*/
|
|
10
|
-
|
|
24
|
+
findRules(params: IFindParams): Promise<factory.waiter.rule.IRule[]>;
|
|
11
25
|
}
|
|
26
|
+
export {};
|
|
@@ -65,7 +65,7 @@ var RuleService = /** @class */ (function (_super) {
|
|
|
65
65
|
/**
|
|
66
66
|
* 検索
|
|
67
67
|
*/
|
|
68
|
-
RuleService.prototype.
|
|
68
|
+
RuleService.prototype.findRules = function (params) {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function () {
|
|
70
70
|
var _this = this;
|
|
71
71
|
return __generator(this, function (_a) {
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import * as factory from '../factory';
|
|
2
2
|
import { IOptions, Service } from '../service';
|
|
3
|
+
interface IFindParams {
|
|
4
|
+
limit: number;
|
|
5
|
+
page: number;
|
|
6
|
+
/**
|
|
7
|
+
* 規則分類コード
|
|
8
|
+
* 完全一致
|
|
9
|
+
*/
|
|
10
|
+
identifier?: string;
|
|
11
|
+
}
|
|
3
12
|
/**
|
|
4
13
|
* 規則分類サービス
|
|
5
14
|
*/
|
|
@@ -7,9 +16,10 @@ export declare class RuleSetService extends Service<IOptions> {
|
|
|
7
16
|
/**
|
|
8
17
|
* 検索
|
|
9
18
|
*/
|
|
10
|
-
|
|
19
|
+
findRuleSets(params: IFindParams): Promise<factory.waiter.ruleSet.IRuleSet[]>;
|
|
11
20
|
/**
|
|
12
21
|
* 編集
|
|
13
22
|
*/
|
|
14
23
|
updateByIdentifier(params: Pick<factory.waiter.ruleSet.IRuleSet, 'hasRule' | 'identifier'>): Promise<void>;
|
|
15
24
|
}
|
|
25
|
+
export {};
|
|
@@ -65,7 +65,7 @@ var RuleSetService = /** @class */ (function (_super) {
|
|
|
65
65
|
/**
|
|
66
66
|
* 検索
|
|
67
67
|
*/
|
|
68
|
-
RuleSetService.prototype.
|
|
68
|
+
RuleSetService.prototype.findRuleSets = function (params) {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function () {
|
|
70
70
|
var _this = this;
|
|
71
71
|
return __generator(this, function (_a) {
|
package/lib/bundle.js
CHANGED
|
@@ -29237,7 +29237,7 @@ var RuleService = /** @class */ (function (_super) {
|
|
|
29237
29237
|
/**
|
|
29238
29238
|
* 検索
|
|
29239
29239
|
*/
|
|
29240
|
-
RuleService.prototype.
|
|
29240
|
+
RuleService.prototype.findRules = function (params) {
|
|
29241
29241
|
return __awaiter(this, void 0, void 0, function () {
|
|
29242
29242
|
var _this = this;
|
|
29243
29243
|
return __generator(this, function (_a) {
|
|
@@ -29325,7 +29325,7 @@ var RuleSetService = /** @class */ (function (_super) {
|
|
|
29325
29325
|
/**
|
|
29326
29326
|
* 検索
|
|
29327
29327
|
*/
|
|
29328
|
-
RuleSetService.prototype.
|
|
29328
|
+
RuleSetService.prototype.findRuleSets = function (params) {
|
|
29329
29329
|
return __awaiter(this, void 0, void 0, function () {
|
|
29330
29330
|
var _this = this;
|
|
29331
29331
|
return __generator(this, function (_a) {
|