@epilot/email-settings-client 0.5.1 → 0.6.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2022 epilot GmbH
3
+ Copyright (c) 2025 epilot GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  API Client for epilot [Email Settings API](https://docs.epilot.io/api/email-settings).
9
9
 
10
- Uses [`openapi-client-axios`](https://github.com/anttiviljami/openapi-client-axios)
10
+ Uses [`openapi-client-axios`](https://github.com/openapistack/openapi-client-axios)
11
11
 
12
12
  ## Installation
13
13
 
package/dist/client.d.ts CHANGED
File without changes
package/dist/client.js CHANGED
File without changes
File without changes
@@ -1 +1 @@
1
- (()=>{"use strict";var e={914:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(o(240));t.default=i.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/email-settings":{"get":{"operationId":"getSettings","parameters":[{"name":"type","in":"query","required":true},{"name":"id","in":"query"}]},"post":{"operationId":"addSetting","requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSetting","requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/{id}":{"post":{"operationId":"updateSetting","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/domain":{"post":{"operationId":"addDomain","requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteDomain","requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/domain/name-servers:verify":{"post":{"operationId":"verifyNameServers","requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/domain:verify":{"post":{"operationId":"verifyDomain","requestBody":{"content":{"application/json":{}}}}}},"components":{},"servers":[{"url":"https://email-settings.sls.epilot.io"}]}')}},t={},o=function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n].call(r.exports,r,r.exports,o),r.exports}(914),n=exports;for(var i in o)n[i]=o[i];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={390:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(o(466));t.default=i.default},466:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/email-settings":{"get":{"operationId":"getSettings","parameters":[{"name":"type","in":"query","required":true},{"name":"id","in":"query"}]},"post":{"operationId":"addSetting","requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteSetting","requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/{id}":{"post":{"operationId":"updateSetting","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/domain":{"post":{"operationId":"addDomain","requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteDomain","requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/domain/name-servers:verify":{"post":{"operationId":"verifyNameServers","requestBody":{"content":{"application/json":{}}}}},"/v1/email-settings/domain:verify":{"post":{"operationId":"verifyDomain","requestBody":{"content":{"application/json":{}}}}}},"components":{},"servers":[{"url":"https://email-settings.sls.epilot.io"}]}')}},t={},o=function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n].call(r.exports,r,r.exports,o),r.exports}(390),n=exports;for(var i in o)n[i]=o[i];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/openapi.d.ts CHANGED
@@ -189,6 +189,7 @@ declare namespace Paths {
189
189
  }
190
190
  }
191
191
 
192
+
192
193
  export interface OperationMethods {
193
194
  /**
194
195
  * getSettings - getSettings
@@ -367,6 +368,7 @@ export interface PathsDictionary {
367
368
 
368
369
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
369
370
 
371
+
370
372
  export type Domain = Components.Schemas.Domain;
371
373
  export type EmailAddressSetting = Components.Schemas.EmailAddressSetting;
372
374
  export type EmailDomainSetting = Components.Schemas.EmailDomainSetting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/email-settings-client",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "description": "API Client for epilot Email Settings API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,18 +18,6 @@
18
18
  "sdk",
19
19
  "email-settings"
20
20
  ],
21
- "scripts": {
22
- "test": "jest",
23
- "typescript": "tsc",
24
- "bundle-definition": "webpack",
25
- "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/email-settings.yaml",
26
- "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
27
- "build": "tsc && npm run build:patch && npm run bundle-definition",
28
- "build:patch": "sed -i '/^__exportStar.*openapi.*$/d' dist/index.js",
29
- "build:watch": "npm run build && tsc -w",
30
- "prepublishOnly": "npm run typegen && npm run build",
31
- "lint": "../../node_modules/eslint/bin/eslint.js src"
32
- },
33
21
  "files": [
34
22
  "*.js",
35
23
  "*.d.ts",
@@ -43,25 +31,26 @@
43
31
  ],
44
32
  "author": "epilot GmbH",
45
33
  "license": "UNLICENSED",
34
+ "private": false,
46
35
  "peerDependencies": {
47
- "axios": "^1.6.2"
36
+ "axios": "^1.0.0 || >=0.25.0 <1.0.0"
48
37
  },
49
38
  "dependencies": {
50
39
  "@dazn/lambda-powertools-correlation-ids": "^1.28.1",
51
40
  "buffer": "^6.0.3",
52
41
  "https-browserify": "^1.0.0",
53
- "openapi-client-axios": "^7.5.1",
42
+ "openapi-client-axios": "^7.6.0",
54
43
  "stream-http": "^3.1.1",
55
44
  "url": "^0.11.0",
56
45
  "util": "^0.12.3"
57
46
  },
58
47
  "devDependencies": {
59
48
  "@types/jest": "^26.0.20",
60
- "axios": "^1.6.2",
49
+ "axios": "^1.11.0",
61
50
  "copy-webpack-plugin": "^7.0.0",
62
51
  "jest": "^26.6.3",
63
52
  "json-loader": "^0.5.7",
64
- "openapicmd": "^2.6.0",
53
+ "openapicmd": "^2.7.0",
65
54
  "ts-jest": "^26.5.0",
66
55
  "ts-loader": "^8.0.14",
67
56
  "ts-node": "^10.9.1",
@@ -69,5 +58,16 @@
69
58
  "webpack": "^5.18.0",
70
59
  "webpack-cli": "^4.4.0"
71
60
  },
72
- "gitHead": "cb7e6acc938eb178e531c19834ea8bd0d6445e6f"
73
- }
61
+ "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7",
62
+ "scripts": {
63
+ "test": "jest",
64
+ "typescript": "tsc",
65
+ "bundle-definition": "webpack",
66
+ "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/email-settings.yaml",
67
+ "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
68
+ "build": "tsc && npm run build:patch && npm run bundle-definition",
69
+ "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
70
+ "build:watch": "npm run build && tsc -w",
71
+ "lint": "pnpm exec eslint src"
72
+ }
73
+ }
package/src/openapi.d.ts CHANGED
@@ -189,6 +189,7 @@ declare namespace Paths {
189
189
  }
190
190
  }
191
191
 
192
+
192
193
  export interface OperationMethods {
193
194
  /**
194
195
  * getSettings - getSettings
@@ -367,6 +368,7 @@ export interface PathsDictionary {
367
368
 
368
369
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
369
370
 
371
+
370
372
  export type Domain = Components.Schemas.Domain;
371
373
  export type EmailAddressSetting = Components.Schemas.EmailAddressSetting;
372
374
  export type EmailDomainSetting = Components.Schemas.EmailDomainSetting;