endpoints-sdk-cli 2.6.0 → 2.8.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.
Files changed (36) hide show
  1. package/README.md +8 -4
  2. package/lib/classes/Config.d.ts +3 -1
  3. package/lib/classes/Config.js +4 -3
  4. package/lib/classes/Repository.d.ts +3 -1
  5. package/lib/classes/Repository.js +7 -4
  6. package/lib/commands/add.d.ts +1 -0
  7. package/lib/commands/add.js +12 -3
  8. package/lib/commands/install.js +6 -6
  9. package/lib/commands/update.js +6 -5
  10. package/lib/endpoints/sumyca.guest-v3.d.ts +33 -6
  11. package/lib/endpoints/sumyca.guest-v3.js +22 -4
  12. package/lib/endpoints/sumyca.manager-v3.d.ts +50 -0
  13. package/lib/endpoints/sumyca.manager-v3.js +64 -4
  14. package/lib/endpoints/sumyca.v3.d.ts +83 -6
  15. package/lib/endpoints/sumyca.v3.js +85 -7
  16. package/lib/makeFiles.d.ts +5 -4
  17. package/lib/makeFiles.js +7 -4
  18. package/lib/templates/files/endpoints.d.ts +1 -1
  19. package/lib/templates/files/endpoints.js +3 -3
  20. package/lib/templates/functions/endpoint.d.ts +1 -1
  21. package/lib/templates/functions/endpoint.js +10 -4
  22. package/oclif.manifest.json +1 -1
  23. package/package.json +3 -1
  24. package/lib/endpoints/m2m-core.d.ts +0 -4
  25. package/lib/endpoints/m2m-core.js +0 -7
  26. package/lib/endpoints/m2m-core.v1.d.ts +0 -5784
  27. package/lib/endpoints/m2m-core.v1.js +0 -7657
  28. package/lib/endpoints/m2m-notifications.d.ts +0 -4
  29. package/lib/endpoints/m2m-notifications.js +0 -7
  30. package/lib/endpoints/m2m-notifications.v1.d.ts +0 -86
  31. package/lib/endpoints/m2m-notifications.v1.js +0 -146
  32. package/lib/endpoints/m2m-users.d.ts +0 -4
  33. package/lib/endpoints/m2m-users.js +0 -7
  34. package/lib/endpoints/m2m-users.v1.d.ts +0 -220
  35. package/lib/endpoints/m2m-users.v1.js +0 -577
  36. package/schema.json +0 -52
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "endpoints-sdk-cli",
3
3
  "description": "endpoints sdk cli",
4
- "version": "2.6.0",
4
+ "version": "2.8.0",
5
5
  "author": "hrdtbs",
6
6
  "bin": {
7
7
  "mes": "./bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/matsuri-tech/endpoints-sdk-cli/issues",
10
10
  "dependencies": {
11
+ "@apidevtools/json-schema-ref-parser": "^11.1.0",
11
12
  "@oclif/color": "^0.1.2",
12
13
  "@oclif/command": "^1.8.0",
13
14
  "@oclif/config": "^1.17.0",
14
15
  "@oclif/plugin-help": "^3.2.0",
15
16
  "cli-ux": "^5.4.10",
17
+ "json-schema-to-typescript": "^13.1.1",
16
18
  "prettier": "^2.1.1",
17
19
  "rimraf": "^3.0.2",
18
20
  "tslib": "^2.0.1"
@@ -1,4 +0,0 @@
1
- import * as v1 from "./m2m-core.v1";
2
- export declare const m2mCore: {
3
- v1: typeof v1;
4
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.m2mCore = void 0;
4
- const tslib_1 = require("tslib");
5
- /* eslint-disable */
6
- const v1 = tslib_1.__importStar(require("./m2m-core.v1"));
7
- exports.m2mCore = { v1 };