@scout9/admin 1.0.0-alpha.0.0.7 → 1.0.0-alpha.0.0.71
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/README.md +196 -289
- package/build/api.d.ts +6327 -3022
- package/build/api.js +1604 -1485
- package/build/configuration.js +2 -2
- package/build/index.d.ts +2 -2
- package/build/webhooks.d.ts +1 -1
- package/package.json +9 -3
- package/src/api.ts +12792 -9499
- package/src/configuration.ts +4 -2
- package/src/index.ts +2 -3
- package/tsconfig.cjs.json +8 -0
- package/tsconfig.esm.json +8 -0
- package/tsconfig.tsbuildinfo +1 -1
package/build/configuration.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.Configuration = void 0;
|
|
17
|
-
const packageJson = require(
|
|
17
|
+
const packageJson = require('../package.json');
|
|
18
18
|
class Configuration {
|
|
19
19
|
/**
|
|
20
20
|
* parameter for apiKey security
|
|
@@ -93,7 +93,7 @@ class Configuration {
|
|
|
93
93
|
this.baseOptions.headers['Scout9-Business'] = this.business;
|
|
94
94
|
}
|
|
95
95
|
if (!this.formDataCtor) {
|
|
96
|
-
this.formDataCtor = require(
|
|
96
|
+
this.formDataCtor = require('form-data');
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
/**
|
package/build/index.d.ts
CHANGED
package/build/webhooks.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export type IWebhookEvent<Context = Record<string, any>> = {
|
|
|
11
11
|
}[];
|
|
12
12
|
context: Context;
|
|
13
13
|
};
|
|
14
|
-
export declare
|
|
14
|
+
export declare namespace Scout9Webhooks {
|
|
15
15
|
function constructEvent<Context = any>(rawBody: string | Buffer, signatureKey: string, secretKey: string): Promise<IWebhookEvent<Context>>;
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scout9/admin",
|
|
3
|
-
"version": "1.0.0-alpha.0.0.
|
|
3
|
+
"version": "1.0.0-alpha.0.0.71",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"prepublishOnly": "npm run build",
|
|
9
|
+
"prebuild": "rm -rf ./build && rm -rf ./tsconfig.tsbuildinfo",
|
|
10
|
+
"build:cjs": "tsc --project tsconfig.cjs.json",
|
|
11
|
+
"build:esm": "tsc --project tsconfig.esm.json",
|
|
12
|
+
"build": "npx tsc --project ./tsconfig.json"
|
|
10
13
|
},
|
|
11
14
|
"repository": {
|
|
12
15
|
"type": "git",
|
|
@@ -38,5 +41,8 @@
|
|
|
38
41
|
"axios": "^1.4.0",
|
|
39
42
|
"form-data": "^4.0.0",
|
|
40
43
|
"moment": "^2.29.4"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"typescript": "^5.3.3"
|
|
41
47
|
}
|
|
42
48
|
}
|