@kintone/rest-api-client 5.5.2 → 5.7.0
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/package.json +14 -14
- package/esm/src/KintoneFields/exportTypes/__checks__/usecases/field.js +2 -2
- package/esm/src/KintoneFields/exportTypes/__checks__/usecases/layout.js +2 -2
- package/esm/src/KintoneFields/exportTypes/__checks__/usecases/property.js +2 -2
- package/esm/src/KintoneRequestConfigBuilder.d.ts +1 -3
- package/esm/src/KintoneRequestConfigBuilder.js +2 -2
- package/esm/src/KintoneRestAPIClient.d.ts +2 -2
- package/esm/src/KintoneRestAPIClient.js +2 -0
- package/esm/src/KintoneRestAPIClient.js.map +1 -1
- package/esm/src/client/AppClient.d.ts +41 -49
- package/esm/src/client/AppClient.js +38 -2
- package/esm/src/client/AppClient.js.map +1 -1
- package/esm/src/client/FileClient.js +2 -2
- package/esm/src/client/PluginClient.d.ts +10 -0
- package/esm/src/client/PluginClient.js +49 -0
- package/esm/src/client/PluginClient.js.map +1 -0
- package/esm/src/client/RecordClient.d.ts +5 -9
- package/esm/src/client/RecordClient.js +7 -4
- package/esm/src/client/RecordClient.js.map +1 -1
- package/esm/src/client/SpaceClient.d.ts +8 -1
- package/esm/src/client/SpaceClient.js +12 -0
- package/esm/src/client/SpaceClient.js.map +1 -1
- package/esm/src/client/types/app/adminNotes.d.ts +9 -0
- package/esm/src/client/types/app/adminNotes.js +2 -0
- package/esm/src/client/types/app/adminNotes.js.map +1 -0
- package/esm/src/client/types/app/index.d.ts +4 -1
- package/esm/src/client/types/app/index.js +1 -0
- package/esm/src/client/types/app/index.js.map +1 -1
- package/esm/src/client/types/app/plugin.d.ts +5 -0
- package/esm/src/client/types/app/plugin.js +2 -0
- package/esm/src/client/types/app/plugin.js.map +1 -0
- package/esm/src/client/types/app/setting.d.ts +73 -0
- package/esm/src/client/types/app/setting.js +2 -0
- package/esm/src/client/types/app/setting.js.map +1 -0
- package/esm/src/client/types/index.d.ts +2 -0
- package/esm/src/client/types/index.js +1 -0
- package/esm/src/client/types/index.js.map +1 -1
- package/esm/src/client/types/plugin/index.d.ts +52 -0
- package/esm/src/client/types/plugin/index.js +2 -0
- package/esm/src/client/types/plugin/index.js.map +1 -0
- package/esm/src/client/types/record/index.d.ts +8 -0
- package/esm/src/client/types/space/index.d.ts +22 -0
- package/esm/src/http/AxiosClient.js +2 -2
- package/esm/src/http/MockClient.js +2 -2
- package/esm/src/platform/browser.js +2 -2
- package/esm/src/platform/node.d.ts +1 -3
- package/esm/src/platform/node.js +2 -2
- package/esm/tsconfig.build.esm.tsbuildinfo +1 -1
- package/lib/package.json +14 -14
- package/lib/src/KintoneFields/exportTypes/__checks__/usecases/field.js +2 -2
- package/lib/src/KintoneFields/exportTypes/__checks__/usecases/layout.js +2 -2
- package/lib/src/KintoneFields/exportTypes/__checks__/usecases/property.js +2 -2
- package/lib/src/KintoneFields/types/layout.js +17 -7
- package/lib/src/KintoneFields/types/layout.js.map +1 -1
- package/lib/src/KintoneRequestConfigBuilder.d.ts +1 -3
- package/lib/src/KintoneRequestConfigBuilder.js +2 -2
- package/lib/src/KintoneRestAPIClient.d.ts +2 -2
- package/lib/src/KintoneRestAPIClient.js +2 -0
- package/lib/src/KintoneRestAPIClient.js.map +1 -1
- package/lib/src/client/AppClient.d.ts +41 -49
- package/lib/src/client/AppClient.js +38 -2
- package/lib/src/client/AppClient.js.map +1 -1
- package/lib/src/client/FileClient.js +2 -2
- package/lib/src/client/PluginClient.d.ts +10 -0
- package/lib/src/client/PluginClient.js +52 -0
- package/lib/src/client/PluginClient.js.map +1 -0
- package/lib/src/client/RecordClient.d.ts +5 -9
- package/lib/src/client/RecordClient.js +7 -4
- package/lib/src/client/RecordClient.js.map +1 -1
- package/lib/src/client/SpaceClient.d.ts +8 -1
- package/lib/src/client/SpaceClient.js +12 -0
- package/lib/src/client/SpaceClient.js.map +1 -1
- package/lib/src/client/types/app/adminNotes.d.ts +9 -0
- package/lib/src/client/types/app/adminNotes.js +3 -0
- package/lib/src/client/types/app/adminNotes.js.map +1 -0
- package/lib/src/client/types/app/index.d.ts +4 -1
- package/lib/src/client/types/app/index.js +1 -0
- package/lib/src/client/types/app/index.js.map +1 -1
- package/lib/src/client/types/app/plugin.d.ts +5 -0
- package/lib/src/client/types/app/plugin.js +3 -0
- package/lib/src/client/types/app/plugin.js.map +1 -0
- package/lib/src/client/types/app/setting.d.ts +73 -0
- package/lib/src/client/types/app/setting.js +3 -0
- package/lib/src/client/types/app/setting.js.map +1 -0
- package/lib/src/client/types/index.d.ts +2 -0
- package/lib/src/client/types/index.js +1 -0
- package/lib/src/client/types/index.js.map +1 -1
- package/lib/src/client/types/plugin/index.d.ts +52 -0
- package/lib/src/client/types/plugin/index.js +3 -0
- package/lib/src/client/types/plugin/index.js.map +1 -0
- package/lib/src/client/types/record/index.d.ts +8 -0
- package/lib/src/client/types/space/index.d.ts +22 -0
- package/lib/src/http/AxiosClient.js +2 -2
- package/lib/src/http/MockClient.js +2 -2
- package/lib/src/index.browser.js +17 -7
- package/lib/src/index.browser.js.map +1 -1
- package/lib/src/index.js +17 -7
- package/lib/src/index.js.map +1 -1
- package/lib/src/platform/browser.js +2 -2
- package/lib/src/platform/node.d.ts +1 -3
- package/lib/src/platform/node.js +2 -2
- package/lib/tsconfig.build.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.node.tsbuildinfo +1 -1
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/umd/KintoneRestAPIClient.js +1123 -543
- package/umd/KintoneRestAPIClient.min.js +34 -6
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { AppID, AppLang, Revision } from "..";
|
|
2
|
+
type Theme = "WHITE" | "CLIPBOARD" | "BINDER" | "PENCIL" | "CLIPS" | "RED" | "BLUE" | "GREEN" | "YELLOW" | "BLACK";
|
|
3
|
+
type TitleField = {
|
|
4
|
+
selectionMode: "AUTO";
|
|
5
|
+
} | {
|
|
6
|
+
selectionMode: "MANUAL";
|
|
7
|
+
code: string;
|
|
8
|
+
};
|
|
9
|
+
export type GetAppSettingsForRequest = {
|
|
10
|
+
app: AppID;
|
|
11
|
+
lang?: AppLang;
|
|
12
|
+
preview?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type GetAppSettingsForResponse = {
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
icon: {
|
|
18
|
+
type: "FILE";
|
|
19
|
+
file: {
|
|
20
|
+
contentType: string;
|
|
21
|
+
fileKey: string;
|
|
22
|
+
name: string;
|
|
23
|
+
size: string;
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
type: "PRESET";
|
|
27
|
+
key: string;
|
|
28
|
+
};
|
|
29
|
+
theme: Theme;
|
|
30
|
+
titleField: TitleField;
|
|
31
|
+
enableThumbnails: boolean;
|
|
32
|
+
enableBulkDeletion: boolean;
|
|
33
|
+
enableComments: boolean;
|
|
34
|
+
enableDuplicateRecord: boolean;
|
|
35
|
+
numberPrecision: {
|
|
36
|
+
digits: string;
|
|
37
|
+
decimalPlaces: string;
|
|
38
|
+
roundingMode: "HALF_EVEN" | "UP" | "DOWN";
|
|
39
|
+
};
|
|
40
|
+
firstMonthOfFiscalYear: string;
|
|
41
|
+
revision: string;
|
|
42
|
+
};
|
|
43
|
+
export type UpdateAppSettingsForRequest = {
|
|
44
|
+
app: AppID;
|
|
45
|
+
name?: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
icon?: {
|
|
48
|
+
type: "FILE";
|
|
49
|
+
file: {
|
|
50
|
+
fileKey: string;
|
|
51
|
+
};
|
|
52
|
+
} | {
|
|
53
|
+
type: "PRESET";
|
|
54
|
+
key: string;
|
|
55
|
+
};
|
|
56
|
+
theme?: Theme;
|
|
57
|
+
titleField?: TitleField;
|
|
58
|
+
enableThumbnails?: boolean;
|
|
59
|
+
enableBulkDeletion?: boolean;
|
|
60
|
+
enableComments?: boolean;
|
|
61
|
+
enableDuplicateRecord?: boolean;
|
|
62
|
+
numberPrecision?: {
|
|
63
|
+
digits?: string | number;
|
|
64
|
+
decimalPlaces?: string | number;
|
|
65
|
+
roundingMode?: "HALF_EVEN" | "UP" | "DOWN";
|
|
66
|
+
};
|
|
67
|
+
firstMonthOfFiscalYear?: string | number;
|
|
68
|
+
revision?: Revision;
|
|
69
|
+
};
|
|
70
|
+
export type UpdateAppSettingsForResponse = {
|
|
71
|
+
revision: string;
|
|
72
|
+
};
|
|
73
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.js","sourceRoot":"","sources":["../../../../../src/client/types/app/setting.ts"],"names":[],"mappings":""}
|
|
@@ -5,6 +5,8 @@ export type SpaceID = string | number;
|
|
|
5
5
|
export type SpaceTemplateID = string | number;
|
|
6
6
|
export type GuestSpaceID = string | number;
|
|
7
7
|
export type ThreadID = string | number;
|
|
8
|
+
export type PluginID = string;
|
|
8
9
|
export * from "./record";
|
|
9
10
|
export * from "./app";
|
|
10
11
|
export * from "./space";
|
|
12
|
+
export * from "./plugin";
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./record"), exports);
|
|
18
18
|
__exportStar(require("./app"), exports);
|
|
19
19
|
__exportStar(require("./space"), exports);
|
|
20
|
+
__exportStar(require("./plugin"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AASA,2CAAyB;AACzB,wCAAsB;AACtB,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { PluginID } from "..";
|
|
2
|
+
type Plugin = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
isMarketPlugin: boolean;
|
|
6
|
+
version: string;
|
|
7
|
+
};
|
|
8
|
+
type RequiredPlugin = Omit<Plugin, "revision">;
|
|
9
|
+
export type GetPluginsForRequest = {
|
|
10
|
+
offset?: number;
|
|
11
|
+
limit?: number;
|
|
12
|
+
};
|
|
13
|
+
export type GetPluginsForResponse = {
|
|
14
|
+
plugins: Plugin[];
|
|
15
|
+
};
|
|
16
|
+
export type GetRequiredPluginsForRequest = {
|
|
17
|
+
offset?: number;
|
|
18
|
+
limit?: number;
|
|
19
|
+
};
|
|
20
|
+
export type GetRequiredPluginsForResponse = {
|
|
21
|
+
plugins: RequiredPlugin[];
|
|
22
|
+
};
|
|
23
|
+
export type GetAppsForRequest = {
|
|
24
|
+
id: PluginID;
|
|
25
|
+
offset?: number;
|
|
26
|
+
limit?: number;
|
|
27
|
+
};
|
|
28
|
+
export type GetAppsForResponse = {
|
|
29
|
+
apps: Array<{
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
export type UpdatePluginForRequest = {
|
|
35
|
+
id: PluginID;
|
|
36
|
+
fileKey: string;
|
|
37
|
+
};
|
|
38
|
+
export type UpdatePluginForResponse = {
|
|
39
|
+
id: PluginID;
|
|
40
|
+
version: string;
|
|
41
|
+
};
|
|
42
|
+
export type InstallPluginForRequest = {
|
|
43
|
+
fileKey: string;
|
|
44
|
+
};
|
|
45
|
+
export type InstallPluginForResponse = {
|
|
46
|
+
id: PluginID;
|
|
47
|
+
version: string;
|
|
48
|
+
};
|
|
49
|
+
export type UninstallPluginForRequest = {
|
|
50
|
+
id: PluginID;
|
|
51
|
+
};
|
|
52
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/client/types/plugin/index.ts"],"names":[],"mappings":""}
|
|
@@ -21,3 +21,11 @@ export type Comment = {
|
|
|
21
21
|
mentions: Mention[];
|
|
22
22
|
};
|
|
23
23
|
export type CommentID = string | number;
|
|
24
|
+
export type UpdateRecordsForResponse = Array<{
|
|
25
|
+
id: string;
|
|
26
|
+
revision: string;
|
|
27
|
+
} | {
|
|
28
|
+
id: string;
|
|
29
|
+
operation: "INSERT" | "UPDATE";
|
|
30
|
+
revision: string;
|
|
31
|
+
}>;
|
|
@@ -2,6 +2,9 @@ import type { App } from "../app";
|
|
|
2
2
|
import type { Entity } from "../entity";
|
|
3
3
|
import type { SpaceID, ThreadID } from "../index";
|
|
4
4
|
type AttachedApp = Pick<App, "appId" | "code" | "name" | "description" | "threadId" | "createdAt" | "creator" | "modifiedAt" | "modifier">;
|
|
5
|
+
type Permissions = {
|
|
6
|
+
createApp: "EVERYONE" | "ADMIN";
|
|
7
|
+
};
|
|
5
8
|
export type Space = {
|
|
6
9
|
id: string;
|
|
7
10
|
name: string;
|
|
@@ -24,6 +27,25 @@ export type Space = {
|
|
|
24
27
|
isGuest: boolean;
|
|
25
28
|
attachedApps: AttachedApp[];
|
|
26
29
|
fixedMember: boolean;
|
|
30
|
+
showAnnouncement: boolean | null;
|
|
31
|
+
showThreadList: boolean | null;
|
|
32
|
+
showAppList: boolean | null;
|
|
33
|
+
showMemberList: boolean | null;
|
|
34
|
+
showRelatedLinkList: boolean | null;
|
|
35
|
+
permissions: Permissions;
|
|
36
|
+
};
|
|
37
|
+
export type UpdateSpaceForRequest = {
|
|
38
|
+
id: SpaceID;
|
|
39
|
+
name?: string;
|
|
40
|
+
isPrivate?: boolean;
|
|
41
|
+
useMultiThread?: boolean;
|
|
42
|
+
fixedMember?: boolean;
|
|
43
|
+
showAnnouncement?: boolean;
|
|
44
|
+
showThreadList?: boolean;
|
|
45
|
+
showAppList?: boolean;
|
|
46
|
+
showMemberList?: boolean;
|
|
47
|
+
showRelatedLinkList?: boolean;
|
|
48
|
+
permissions?: Permissions;
|
|
27
49
|
};
|
|
28
50
|
export type SpaceMemberForResponse = {
|
|
29
51
|
entity: Entity;
|
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
package/lib/src/index.browser.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser.js","sourceRoot":"","sources":["../../src/index.browser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.browser.js","sourceRoot":"","sources":["../../src/index.browser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAiD;AACjD,8DAAkD;AAElD,IAAA,6BAAkB,EAAC,WAAW,CAAC,CAAC;AAEhC,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,0CAAwB"}
|
package/lib/src/index.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
37
|
};
|
package/lib/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAiD;AACjD,wDAA4C;AAE5C,IAAA,6BAAkB,EAAC,QAAQ,CAAC,CAAC;AAE7B,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,0CAAwB;AACxB,wFAAwE;AACxE,wFAAwE;AACxE,iGAAiF"}
|
|
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g =
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
1
|
import https from "https";
|
|
4
2
|
type ClientCertAuth = {
|
|
5
3
|
pfx: Buffer;
|
|
@@ -9,7 +7,7 @@ type ClientCertAuth = {
|
|
|
9
7
|
password: string;
|
|
10
8
|
};
|
|
11
9
|
export declare const readFileFromPath: (filePath: string) => Promise<{
|
|
12
|
-
data: Buffer
|
|
10
|
+
data: Buffer<ArrayBufferLike>;
|
|
13
11
|
name: string;
|
|
14
12
|
}>;
|
|
15
13
|
export declare const getRequestToken: () => never;
|
package/lib/src/platform/node.js
CHANGED
|
@@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g =
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
24
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
25
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
26
|
function step(op) {
|
|
27
27
|
if (f) throw new TypeError("Generator is already executing.");
|