@kintone/rest-api-client 3.3.4 → 3.3.5
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/esm/KintoneFields/exportTypes/__checks__/usecases/field.js +1 -1
- package/esm/KintoneFields/exportTypes/__checks__/usecases/layout.js +1 -1
- package/esm/KintoneFields/exportTypes/__checks__/usecases/property.js +1 -1
- package/esm/KintoneFields/types/field.d.ts +34 -34
- package/esm/KintoneFields/types/fieldLayout.d.ts +29 -29
- package/esm/KintoneFields/types/layout.d.ts +4 -4
- package/esm/KintoneFields/types/property.d.ts +32 -32
- package/esm/KintoneRequestConfigBuilder.d.ts +1 -1
- package/esm/KintoneRequestConfigBuilder.js +1 -1
- package/esm/KintoneRestAPIClient.d.ts +3 -3
- package/esm/__tests__/KintoneRequestConfigBuilder.test.js +1 -1
- package/esm/__tests__/KintoneResponseHandler.test.js +1 -1
- package/esm/client/AppClient.d.ts +6 -6
- package/esm/client/AppClient.js +1 -1
- package/esm/client/AppClient.js.map +1 -1
- package/esm/client/BulkRequestClient.d.ts +1 -1
- package/esm/client/FileClient.js +1 -1
- package/esm/client/RecordClient.d.ts +1 -1
- package/esm/client/RecordClient.js +1 -1
- package/esm/client/__tests__/AppClient.test.js +1 -1
- package/esm/client/__tests__/BulkRequestClient.test.js +1 -1
- package/esm/client/__tests__/File.test.js +1 -1
- package/esm/client/__tests__/RecordClient.test.js +1 -1
- package/esm/client/types/app/action.d.ts +7 -7
- package/esm/client/types/app/customize.d.ts +5 -5
- package/esm/client/types/app/form.d.ts +2 -2
- package/esm/client/types/app/index.d.ts +3 -3
- package/esm/client/types/app/notification.d.ts +6 -6
- package/esm/client/types/app/processManagement.d.ts +7 -7
- package/esm/client/types/app/report.d.ts +38 -38
- package/esm/client/types/app/right.d.ts +12 -12
- package/esm/client/types/app/view.d.ts +7 -7
- package/esm/client/types/entity.d.ts +2 -2
- package/esm/client/types/index.d.ts +3 -3
- package/esm/client/types/record/index.d.ts +5 -5
- package/esm/error/KintoneRestAPIError.d.ts +4 -4
- package/esm/http/AxiosClient.js +1 -1
- package/esm/http/HttpClientInterface.d.ts +6 -6
- package/esm/http/MockClient.d.ts +1 -1
- package/esm/http/MockClient.js +1 -1
- package/esm/platform/UnsupportedPlatformError.d.ts +1 -1
- package/esm/platform/__tests__/browser.test.js +1 -1
- package/esm/platform/browser.js +1 -1
- package/esm/platform/index.d.ts +1 -1
- package/esm/platform/node.js +1 -1
- package/esm/types/auth.d.ts +6 -6
- package/lib/KintoneFields/exportTypes/__checks__/usecases/field.js +1 -1
- package/lib/KintoneFields/exportTypes/__checks__/usecases/layout.js +1 -1
- package/lib/KintoneFields/exportTypes/__checks__/usecases/property.js +1 -1
- package/lib/KintoneFields/types/field.d.ts +34 -34
- package/lib/KintoneFields/types/fieldLayout.d.ts +29 -29
- package/lib/KintoneFields/types/layout.d.ts +4 -4
- package/lib/KintoneFields/types/property.d.ts +32 -32
- package/lib/KintoneRequestConfigBuilder.d.ts +1 -1
- package/lib/KintoneRequestConfigBuilder.js +1 -1
- package/lib/KintoneRestAPIClient.d.ts +3 -3
- package/lib/__tests__/KintoneRequestConfigBuilder.test.js +1 -1
- package/lib/__tests__/KintoneResponseHandler.test.js +1 -1
- package/lib/client/AppClient.d.ts +6 -6
- package/lib/client/AppClient.js +1 -1
- package/lib/client/AppClient.js.map +1 -1
- package/lib/client/BulkRequestClient.d.ts +1 -1
- package/lib/client/FileClient.js +1 -1
- package/lib/client/RecordClient.d.ts +1 -1
- package/lib/client/RecordClient.js +1 -1
- package/lib/client/__tests__/AppClient.test.js +1 -1
- package/lib/client/__tests__/BulkRequestClient.test.js +1 -1
- package/lib/client/__tests__/File.test.js +1 -1
- package/lib/client/__tests__/RecordClient.test.js +1 -1
- package/lib/client/types/app/action.d.ts +7 -7
- package/lib/client/types/app/customize.d.ts +5 -5
- package/lib/client/types/app/form.d.ts +2 -2
- package/lib/client/types/app/index.d.ts +3 -3
- package/lib/client/types/app/notification.d.ts +6 -6
- package/lib/client/types/app/processManagement.d.ts +7 -7
- package/lib/client/types/app/report.d.ts +38 -38
- package/lib/client/types/app/right.d.ts +12 -12
- package/lib/client/types/app/view.d.ts +7 -7
- package/lib/client/types/entity.d.ts +2 -2
- package/lib/client/types/index.d.ts +3 -3
- package/lib/client/types/record/index.d.ts +5 -5
- package/lib/error/KintoneRestAPIError.d.ts +4 -4
- package/lib/http/AxiosClient.js +1 -1
- package/lib/http/HttpClientInterface.d.ts +6 -6
- package/lib/http/MockClient.d.ts +1 -1
- package/lib/http/MockClient.js +1 -1
- package/lib/platform/UnsupportedPlatformError.d.ts +1 -1
- package/lib/platform/__tests__/browser.test.js +1 -1
- package/lib/platform/browser.js +1 -1
- package/lib/platform/index.d.ts +1 -1
- package/lib/platform/node.js +1 -1
- package/lib/types/auth.d.ts +6 -6
- package/package.json +2 -2
- package/umd/KintoneRestAPIClient.js +2 -2
- package/umd/KintoneRestAPIClient.min.js +1 -1
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
|
|
1
|
+
type FieldWith<T extends string, V> = {
|
|
2
2
|
type: T;
|
|
3
3
|
value: V;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type Entity = {
|
|
6
6
|
code: string;
|
|
7
7
|
name: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type FileInformation = {
|
|
10
10
|
contentType: string;
|
|
11
11
|
fileKey: string;
|
|
12
12
|
name: string;
|
|
13
13
|
size: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
|
|
15
|
+
export type ID = FieldWith<"__ID__", string>;
|
|
16
|
+
export type Revision = FieldWith<"__REVISION__", string>;
|
|
17
|
+
export type RecordNumber = FieldWith<"RECORD_NUMBER", string>;
|
|
18
|
+
export type Creator = FieldWith<"CREATOR", Entity>;
|
|
19
|
+
export type CreatedTime = FieldWith<"CREATED_TIME", string>;
|
|
20
|
+
export type Modifier = FieldWith<"MODIFIER", Entity>;
|
|
21
|
+
export type UpdatedTime = FieldWith<"UPDATED_TIME", string>;
|
|
22
|
+
export type SingleLineText = FieldWith<"SINGLE_LINE_TEXT", string>;
|
|
23
|
+
export type Number = FieldWith<"NUMBER", string>;
|
|
24
|
+
export type Calc = FieldWith<"CALC", string>;
|
|
25
|
+
export type MultiLineText = FieldWith<"MULTI_LINE_TEXT", string>;
|
|
26
|
+
export type RichText = FieldWith<"RICH_TEXT", string>;
|
|
27
|
+
export type Link = FieldWith<"LINK", string>;
|
|
28
|
+
export type CheckBox = FieldWith<"CHECK_BOX", string[]>;
|
|
29
|
+
export type RadioButton = FieldWith<"RADIO_BUTTON", string>;
|
|
30
|
+
export type Dropdown = FieldWith<"DROP_DOWN", string | null>;
|
|
31
|
+
export type MultiSelect = FieldWith<"MULTI_SELECT", string[]>;
|
|
32
|
+
export type File = FieldWith<"FILE", FileInformation[]>;
|
|
33
|
+
export type Date = FieldWith<"DATE", string | null>;
|
|
34
|
+
export type Time = FieldWith<"TIME", string | null>;
|
|
35
|
+
export type DateTime = FieldWith<"DATETIME", string>;
|
|
36
|
+
export type UserSelect = FieldWith<"USER_SELECT", Entity[]>;
|
|
37
|
+
export type OrganizationSelect = FieldWith<"ORGANIZATION_SELECT", Entity[]>;
|
|
38
|
+
export type GroupSelect = FieldWith<"GROUP_SELECT", Entity[]>;
|
|
39
|
+
export type Category = FieldWith<"CATEGORY", string[]>;
|
|
40
|
+
export type Status = FieldWith<"STATUS", string>;
|
|
41
|
+
export type StatusAssignee = FieldWith<"STATUS_ASSIGNEE", Entity[]>;
|
|
42
|
+
export type InSubtable = SingleLineText | Number | Calc | MultiLineText | RichText | Link | CheckBox | RadioButton | Dropdown | MultiSelect | File | Date | Time | DateTime | UserSelect | OrganizationSelect | GroupSelect;
|
|
43
|
+
type SubtableRow<T extends {
|
|
44
44
|
[fieldCode: string]: InSubtable;
|
|
45
45
|
}> = {
|
|
46
46
|
id: string;
|
|
47
47
|
value: T;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type Subtable<T extends {
|
|
50
50
|
[fieldCode: string]: InSubtable;
|
|
51
51
|
}> = FieldWith<"SUBTABLE", Array<SubtableRow<T>>>;
|
|
52
|
-
export
|
|
52
|
+
export type OneOf = ID | Revision | RecordNumber | Creator | CreatedTime | Modifier | UpdatedTime | SingleLineText | Number | Calc | MultiLineText | RichText | Link | CheckBox | RadioButton | Dropdown | MultiSelect | File | Date | Time | DateTime | UserSelect | OrganizationSelect | GroupSelect | Category | Status | StatusAssignee | Subtable<{
|
|
53
53
|
[fieldCode: string]: InSubtable;
|
|
54
54
|
}>;
|
|
55
55
|
export {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
|
|
1
|
+
type FieldLayoutWith<T extends string, S = {
|
|
2
2
|
width: string;
|
|
3
3
|
}> = {
|
|
4
4
|
type: T;
|
|
5
5
|
code: string;
|
|
6
6
|
size: S;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
8
|
+
export type RecordNumber = FieldLayoutWith<"RECORD_NUMBER">;
|
|
9
|
+
export type Creator = FieldLayoutWith<"CREATOR">;
|
|
10
|
+
export type CreatedTime = FieldLayoutWith<"CREATED_TIME">;
|
|
11
|
+
export type Modifier = FieldLayoutWith<"MODIFIER">;
|
|
12
|
+
export type UpdatedTime = FieldLayoutWith<"UPDATED_TIME">;
|
|
13
|
+
export type SingleLineText = FieldLayoutWith<"SINGLE_LINE_TEXT">;
|
|
14
|
+
export type Number = FieldLayoutWith<"NUMBER">;
|
|
15
|
+
export type Calc = FieldLayoutWith<"CALC">;
|
|
16
|
+
export type MultiLineText = FieldLayoutWith<"MULTI_LINE_TEXT", {
|
|
17
17
|
width: string;
|
|
18
18
|
innerHeight: string;
|
|
19
19
|
}>;
|
|
20
|
-
export
|
|
20
|
+
export type RichText = FieldLayoutWith<"RICH_TEXT", {
|
|
21
21
|
width: string;
|
|
22
22
|
innerHeight: string;
|
|
23
23
|
}>;
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
24
|
+
export type Link = FieldLayoutWith<"LINK">;
|
|
25
|
+
export type CheckBox = FieldLayoutWith<"CHECK_BOX">;
|
|
26
|
+
export type RadioButton = FieldLayoutWith<"RADIO_BUTTON">;
|
|
27
|
+
export type Dropdown = FieldLayoutWith<"DROP_DOWN">;
|
|
28
|
+
export type MultiSelect = FieldLayoutWith<"MULTI_SELECT">;
|
|
29
|
+
export type File = FieldLayoutWith<"FILE">;
|
|
30
|
+
export type Date = FieldLayoutWith<"DATE">;
|
|
31
|
+
export type Time = FieldLayoutWith<"TIME">;
|
|
32
|
+
export type DateTime = FieldLayoutWith<"DATETIME">;
|
|
33
|
+
export type UserSelect = FieldLayoutWith<"USER_SELECT">;
|
|
34
|
+
export type OrganizationSelect = FieldLayoutWith<"ORGANIZATION_SELECT">;
|
|
35
|
+
export type GroupSelect = FieldLayoutWith<"GROUP_SELECT">;
|
|
36
|
+
export type ReferenceTable = {
|
|
37
37
|
type: "REFERENCE_TABLE";
|
|
38
38
|
code: string;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type Label = {
|
|
41
41
|
type: "LABEL";
|
|
42
42
|
label: string;
|
|
43
43
|
size: {
|
|
44
44
|
width: string;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type HR = {
|
|
48
48
|
type: "HR";
|
|
49
49
|
size: {
|
|
50
50
|
width: string;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type Spacer = {
|
|
54
54
|
type: "SPACER";
|
|
55
55
|
elementId: string;
|
|
56
56
|
size: {
|
|
@@ -58,6 +58,6 @@ export declare type Spacer = {
|
|
|
58
58
|
height: string;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
-
export
|
|
62
|
-
export
|
|
61
|
+
export type OneOf = RecordNumber | Creator | CreatedTime | Modifier | UpdatedTime | SingleLineText | Number | Calc | MultiLineText | RichText | Link | CheckBox | RadioButton | Dropdown | MultiSelect | File | Date | Time | DateTime | UserSelect | OrganizationSelect | GroupSelect | ReferenceTable | Label | HR | Spacer;
|
|
62
|
+
export type InSubtable = Exclude<OneOf, RecordNumber | Creator | CreatedTime | Modifier | UpdatedTime | ReferenceTable | Label | HR | Spacer>;
|
|
63
63
|
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as Field from "./fieldLayout";
|
|
2
2
|
export { Field };
|
|
3
|
-
export
|
|
3
|
+
export type Row<T extends Field.OneOf[]> = {
|
|
4
4
|
type: "ROW";
|
|
5
5
|
fields: T;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type Subtable<T extends Field.InSubtable[]> = {
|
|
8
8
|
type: "SUBTABLE";
|
|
9
9
|
code: string;
|
|
10
10
|
fields: T;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type Group<T extends Array<Row<Field.OneOf[]>>> = {
|
|
13
13
|
type: "GROUP";
|
|
14
14
|
code: string;
|
|
15
15
|
layout: T;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type OneOf = Row<Field.OneOf[]> | Subtable<Field.InSubtable[]> | Group<Array<Row<Field.OneOf[]>>>;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type RecordNumber = {
|
|
2
2
|
type: "RECORD_NUMBER";
|
|
3
3
|
code: string;
|
|
4
4
|
label: string;
|
|
5
5
|
noLabel: boolean;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type Creator = {
|
|
8
8
|
type: "CREATOR";
|
|
9
9
|
code: string;
|
|
10
10
|
label: string;
|
|
11
11
|
noLabel: boolean;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type CreatedTime = {
|
|
14
14
|
type: "CREATED_TIME";
|
|
15
15
|
code: string;
|
|
16
16
|
label: string;
|
|
17
17
|
noLabel: boolean;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type Modifier = {
|
|
20
20
|
type: "MODIFIER";
|
|
21
21
|
code: string;
|
|
22
22
|
label: string;
|
|
23
23
|
noLabel: boolean;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type UpdatedTime = {
|
|
26
26
|
type: "UPDATED_TIME";
|
|
27
27
|
code: string;
|
|
28
28
|
label: string;
|
|
29
29
|
noLabel: boolean;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type Category = {
|
|
32
32
|
type: "CATEGORY";
|
|
33
33
|
code: string;
|
|
34
34
|
label: string;
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type Status = {
|
|
38
38
|
type: "STATUS";
|
|
39
39
|
code: string;
|
|
40
40
|
label: string;
|
|
41
41
|
enabled: boolean;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type StatusAssignee = {
|
|
44
44
|
type: "STATUS_ASSIGNEE";
|
|
45
45
|
code: string;
|
|
46
46
|
label: string;
|
|
47
47
|
enabled: boolean;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type SingleLineText = {
|
|
50
50
|
type: "SINGLE_LINE_TEXT";
|
|
51
51
|
code: string;
|
|
52
52
|
label: string;
|
|
@@ -59,7 +59,7 @@ export declare type SingleLineText = {
|
|
|
59
59
|
expression: string;
|
|
60
60
|
hideExpression: boolean;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export type Number = {
|
|
63
63
|
type: "NUMBER";
|
|
64
64
|
code: string;
|
|
65
65
|
label: string;
|
|
@@ -74,7 +74,7 @@ export declare type Number = {
|
|
|
74
74
|
unit: string;
|
|
75
75
|
unitPosition: "BEFORE" | "AFTER";
|
|
76
76
|
};
|
|
77
|
-
export
|
|
77
|
+
export type Calc = {
|
|
78
78
|
type: "CALC";
|
|
79
79
|
code: string;
|
|
80
80
|
label: string;
|
|
@@ -87,7 +87,7 @@ export declare type Calc = {
|
|
|
87
87
|
unit: string;
|
|
88
88
|
unitPosition: "BEFORE" | "AFTER";
|
|
89
89
|
};
|
|
90
|
-
export
|
|
90
|
+
export type MultiLineText = {
|
|
91
91
|
type: "MULTI_LINE_TEXT";
|
|
92
92
|
code: string;
|
|
93
93
|
label: string;
|
|
@@ -95,7 +95,7 @@ export declare type MultiLineText = {
|
|
|
95
95
|
required: boolean;
|
|
96
96
|
defaultValue: string;
|
|
97
97
|
};
|
|
98
|
-
export
|
|
98
|
+
export type RichText = {
|
|
99
99
|
type: "RICH_TEXT";
|
|
100
100
|
code: string;
|
|
101
101
|
label: string;
|
|
@@ -103,7 +103,7 @@ export declare type RichText = {
|
|
|
103
103
|
required: boolean;
|
|
104
104
|
defaultValue: string;
|
|
105
105
|
};
|
|
106
|
-
export
|
|
106
|
+
export type Link = {
|
|
107
107
|
type: "LINK";
|
|
108
108
|
code: string;
|
|
109
109
|
label: string;
|
|
@@ -115,13 +115,13 @@ export declare type Link = {
|
|
|
115
115
|
maxLength: string;
|
|
116
116
|
protocol: "WEB" | "CALL" | "MAIL";
|
|
117
117
|
};
|
|
118
|
-
|
|
118
|
+
type Options = {
|
|
119
119
|
[optionName: string]: {
|
|
120
120
|
label: string;
|
|
121
121
|
index: string;
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
|
-
export
|
|
124
|
+
export type CheckBox = {
|
|
125
125
|
type: "CHECK_BOX";
|
|
126
126
|
code: string;
|
|
127
127
|
label: string;
|
|
@@ -131,7 +131,7 @@ export declare type CheckBox = {
|
|
|
131
131
|
options: Options;
|
|
132
132
|
align: "HORIZONTAL" | "VERTICAL";
|
|
133
133
|
};
|
|
134
|
-
export
|
|
134
|
+
export type RadioButton = {
|
|
135
135
|
type: "RADIO_BUTTON";
|
|
136
136
|
code: string;
|
|
137
137
|
label: string;
|
|
@@ -141,7 +141,7 @@ export declare type RadioButton = {
|
|
|
141
141
|
options: Options;
|
|
142
142
|
align: "HORIZONTAL" | "VERTICAL";
|
|
143
143
|
};
|
|
144
|
-
export
|
|
144
|
+
export type Dropdown = {
|
|
145
145
|
type: "DROP_DOWN";
|
|
146
146
|
code: string;
|
|
147
147
|
label: string;
|
|
@@ -150,7 +150,7 @@ export declare type Dropdown = {
|
|
|
150
150
|
defaultValue: string;
|
|
151
151
|
options: Options;
|
|
152
152
|
};
|
|
153
|
-
export
|
|
153
|
+
export type MultiSelect = {
|
|
154
154
|
type: "MULTI_SELECT";
|
|
155
155
|
code: string;
|
|
156
156
|
label: string;
|
|
@@ -159,7 +159,7 @@ export declare type MultiSelect = {
|
|
|
159
159
|
defaultValue: string[];
|
|
160
160
|
options: Options;
|
|
161
161
|
};
|
|
162
|
-
export
|
|
162
|
+
export type File = {
|
|
163
163
|
type: "FILE";
|
|
164
164
|
code: string;
|
|
165
165
|
label: string;
|
|
@@ -167,7 +167,7 @@ export declare type File = {
|
|
|
167
167
|
required: boolean;
|
|
168
168
|
thumbnailSize: "50" | "150" | "250" | "500";
|
|
169
169
|
};
|
|
170
|
-
export
|
|
170
|
+
export type Date = {
|
|
171
171
|
type: "DATE";
|
|
172
172
|
code: string;
|
|
173
173
|
label: string;
|
|
@@ -177,7 +177,7 @@ export declare type Date = {
|
|
|
177
177
|
unique: boolean;
|
|
178
178
|
defaultNowValue: boolean;
|
|
179
179
|
};
|
|
180
|
-
export
|
|
180
|
+
export type Time = {
|
|
181
181
|
type: "TIME";
|
|
182
182
|
code: string;
|
|
183
183
|
label: string;
|
|
@@ -186,7 +186,7 @@ export declare type Time = {
|
|
|
186
186
|
defaultValue: string;
|
|
187
187
|
defaultNowValue: boolean;
|
|
188
188
|
};
|
|
189
|
-
export
|
|
189
|
+
export type DateTime = {
|
|
190
190
|
type: "DATETIME";
|
|
191
191
|
code: string;
|
|
192
192
|
label: string;
|
|
@@ -196,7 +196,7 @@ export declare type DateTime = {
|
|
|
196
196
|
unique: boolean;
|
|
197
197
|
defaultNowValue: boolean;
|
|
198
198
|
};
|
|
199
|
-
export
|
|
199
|
+
export type UserSelect = {
|
|
200
200
|
type: "USER_SELECT";
|
|
201
201
|
code: string;
|
|
202
202
|
label: string;
|
|
@@ -214,7 +214,7 @@ export declare type UserSelect = {
|
|
|
214
214
|
type: "USER" | "GROUP" | "ORGANIZATION";
|
|
215
215
|
}>;
|
|
216
216
|
};
|
|
217
|
-
export
|
|
217
|
+
export type OrganizationSelect = {
|
|
218
218
|
type: "ORGANIZATION_SELECT";
|
|
219
219
|
code: string;
|
|
220
220
|
label: string;
|
|
@@ -232,7 +232,7 @@ export declare type OrganizationSelect = {
|
|
|
232
232
|
type: "ORGANIZATION";
|
|
233
233
|
}>;
|
|
234
234
|
};
|
|
235
|
-
export
|
|
235
|
+
export type GroupSelect = {
|
|
236
236
|
type: "GROUP_SELECT";
|
|
237
237
|
code: string;
|
|
238
238
|
label: string;
|
|
@@ -247,14 +247,14 @@ export declare type GroupSelect = {
|
|
|
247
247
|
type: "GROUP";
|
|
248
248
|
}>;
|
|
249
249
|
};
|
|
250
|
-
export
|
|
250
|
+
export type Group = {
|
|
251
251
|
type: "GROUP";
|
|
252
252
|
code: string;
|
|
253
253
|
label: string;
|
|
254
254
|
noLabel: boolean;
|
|
255
255
|
openGroup: boolean;
|
|
256
256
|
};
|
|
257
|
-
export
|
|
257
|
+
export type ReferenceTable = {
|
|
258
258
|
type: "REFERENCE_TABLE";
|
|
259
259
|
code: string;
|
|
260
260
|
label: string;
|
|
@@ -274,7 +274,7 @@ export declare type ReferenceTable = {
|
|
|
274
274
|
size: "5" | "10" | "20" | "30" | "40" | "50";
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
|
-
export
|
|
277
|
+
export type Lookup = {
|
|
278
278
|
type: "NUMBER" | "SINGLE_LINE_TEXT";
|
|
279
279
|
code: string;
|
|
280
280
|
label: string;
|
|
@@ -295,8 +295,8 @@ export declare type Lookup = {
|
|
|
295
295
|
sort: string;
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
export
|
|
299
|
-
export
|
|
298
|
+
export type InSubtable = SingleLineText | Number | Calc | MultiLineText | RichText | Link | CheckBox | RadioButton | Dropdown | MultiSelect | File | Date | Time | DateTime | UserSelect | OrganizationSelect | GroupSelect | Lookup;
|
|
299
|
+
export type Subtable<T extends {
|
|
300
300
|
[fieldCode: string]: InSubtable;
|
|
301
301
|
}> = {
|
|
302
302
|
type: "SUBTABLE";
|
|
@@ -305,7 +305,7 @@ export declare type Subtable<T extends {
|
|
|
305
305
|
noLabel: boolean;
|
|
306
306
|
fields: T;
|
|
307
307
|
};
|
|
308
|
-
export
|
|
308
|
+
export type OneOf = RecordNumber | Creator | CreatedTime | Modifier | UpdatedTime | Category | Status | StatusAssignee | SingleLineText | Number | Calc | MultiLineText | RichText | Link | CheckBox | RadioButton | Dropdown | MultiSelect | File | Date | Time | DateTime | UserSelect | OrganizationSelect | GroupSelect | Group | ReferenceTable | Lookup | Subtable<{
|
|
309
309
|
[fieldCode: string]: InSubtable;
|
|
310
310
|
}>;
|
|
311
311
|
export {};
|
|
@@ -4,7 +4,7 @@ import FormData from "form-data";
|
|
|
4
4
|
import type { RequestConfigBuilder, HttpMethod, Params, ProxyConfig } from "./http/HttpClientInterface";
|
|
5
5
|
import type { BasicAuth, DiscriminatedAuth } from "./types/auth";
|
|
6
6
|
import type { Agent as HttpsAgent } from "https";
|
|
7
|
-
|
|
7
|
+
type Data = Params | FormData;
|
|
8
8
|
export declare class KintoneRequestConfigBuilder implements RequestConfigBuilder {
|
|
9
9
|
private readonly baseUrl;
|
|
10
10
|
private readonly headers;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -7,9 +7,9 @@ import { FileClient } from "./client/FileClient";
|
|
|
7
7
|
import type { ProxyConfig } from "./http/HttpClientInterface";
|
|
8
8
|
import type { BasicAuth, DiscriminatedAuth } from "./types/auth";
|
|
9
9
|
import type { Agent as HttpsAgent } from "https";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
type OmitTypePropertyFromUnion<T> = T extends unknown ? Omit<T, "type"> : never;
|
|
11
|
+
type Auth = OmitTypePropertyFromUnion<DiscriminatedAuth>;
|
|
12
|
+
type Options = {
|
|
13
13
|
baseUrl?: string;
|
|
14
14
|
auth?: Auth;
|
|
15
15
|
guestSpaceId?: number | string;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -28,7 +28,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
28
28
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
29
29
|
function step(op) {
|
|
30
30
|
if (f) throw new TypeError("Generator is already executing.");
|
|
31
|
-
while (_) try {
|
|
31
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
32
32
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
33
33
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
34
34
|
switch (op[0]) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import type { HttpClient } from "../http";
|
|
2
2
|
import type { AppID, RecordID, Revision, Properties, Lang, Layout, ViewForResponse, ViewForParameter, App, StateForResponse, StateForParameter, ActionForResponse, ActionForParameter, DeployStatus, FieldRightForResponse, FieldRightForParameter, AppRightEntityForResponse, AppRightEntityForParameter, EvaluatedRecordRight, RecordRightForResponse, RecordRightForParameter, AppCustomizeScope, AppCustomizeForResponse, AppCustomizeForParameter, GeneralNotificationForParameter, GeneralNotificationForResponse, PerRecordNotificationForParameter, PerRecordNotificationForResponse, ReminderNotificationForParameter, ReminderNotificationForResponse, ReportForParameter, ReportForResponse, AppActionsForParameter, AppActionsForResponse } from "./types";
|
|
3
|
-
|
|
3
|
+
type RowLayoutForParameter = {
|
|
4
4
|
type: "ROW";
|
|
5
5
|
fields: Array<{
|
|
6
6
|
[key: string]: unknown;
|
|
7
7
|
}>;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type SubtableLayoutForParameter = {
|
|
10
10
|
type: "SUBTABLE";
|
|
11
11
|
code: string;
|
|
12
12
|
fields: Array<{
|
|
13
13
|
[key: string]: unknown;
|
|
14
14
|
}>;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type GroupLayoutForParameter = {
|
|
17
17
|
type: "GROUP";
|
|
18
18
|
code: string;
|
|
19
19
|
layout: RowLayoutForParameter[];
|
|
20
20
|
};
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
type LayoutForParameter = Array<RowLayoutForParameter | SubtableLayoutForParameter | GroupLayoutForParameter>;
|
|
22
|
+
type NestedPartial<T> = T extends object ? {
|
|
23
23
|
[K in keyof T]?: NestedPartial<T[K]>;
|
|
24
24
|
} : T;
|
|
25
|
-
|
|
25
|
+
type PropertiesForParameter = NestedPartial<Properties>;
|
|
26
26
|
export declare class AppClient {
|
|
27
27
|
private client;
|
|
28
28
|
private guestSpaceId?;
|
package/esm/client/AppClient.js
CHANGED
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppClient.js","sourceRoot":"","sources":["../../src/client/AppClient.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;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
|
+
export type EndpointName = "record" | "records" | "record/status" | "records/status" | "record/assignees";
|
|
3
3
|
export declare class BulkRequestClient {
|
|
4
4
|
private client;
|
|
5
5
|
private guestSpaceId?;
|