@arnek/arnekellmann-sdk 0.1.0 → 0.1.1

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 (3) hide show
  1. package/README.md +2 -1
  2. package/index.d.ts +9 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -29,7 +29,8 @@ try {
29
29
 
30
30
  `listServices(language = 'en')` accepts `en` or `de` and returns the complete
31
31
  catalog: `language`, `services` (`id`, `name`, `description`, `url`), `pricing`
32
- (custom quote, no published rates), and `contactUrl`. TypeScript declarations
32
+ (custom quote based on EUR 120/hour net for all services: `publishedRates: true`,
33
+ `hourlyRate: 120`, `currency: "EUR"`, `unit: "hour"`, `vatIncluded: false`), and `contactUrl`. TypeScript declarations
33
34
  are included. No pagination is needed for this small catalog.
34
35
 
35
36
  CLI output is JSON on stdout; failures go to stderr with exit code 1. `--help`
package/index.d.ts CHANGED
@@ -8,7 +8,15 @@ export interface Service {
8
8
  export interface ServicesResponse {
9
9
  language: Language;
10
10
  services: Service[];
11
- pricing: { type: 'custom_quote'; publishedRates: false; url: string };
11
+ pricing: {
12
+ type: 'custom_quote';
13
+ publishedRates: true;
14
+ hourlyRate: 120;
15
+ currency: 'EUR';
16
+ unit: 'hour';
17
+ vatIncluded: false;
18
+ url: string;
19
+ };
12
20
  contactUrl: string;
13
21
  }
14
22
  export declare class ArneKellmannClient {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arnek/arnekellmann-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "Read the public Arne Kellmann consulting services API.",
6
6
  "homepage": "https://arnekellmann.de/developers",
@@ -14,7 +14,7 @@
14
14
  "import": "./index.js"
15
15
  },
16
16
  "bin": {
17
- "arnekellmann": "./cli.js"
17
+ "arnekellmann": "cli.js"
18
18
  },
19
19
  "files": [
20
20
  "index.js",