@epilot/email-settings-client 0.4.1 → 0.4.2

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 (2) hide show
  1. package/dist/openapi.d.ts +15 -1
  2. package/package.json +1 -1
package/dist/openapi.d.ts CHANGED
@@ -31,6 +31,10 @@ declare namespace Components {
31
31
  * * 1d
32
32
  * * 5000 // It converts to 5 seconds.When expressed as a numerical value, it will be interpreted as being in milliseconds.
33
33
  * - Defaults to 3 minutes
34
+ * - Negative values will be treated same as positive values
35
+ * - If not set, defaults to 3 min
36
+ * - If set as 0, then the no email will be treated as a duplicate
37
+ * - Cannot have multiple values
34
38
  *
35
39
  */
36
40
  export type RestrictDuplicatesWithinSetting = "restrict_duplicates_within";
@@ -59,10 +63,14 @@ declare namespace Components {
59
63
  * * 1d
60
64
  * * 5000 // It converts to 5 seconds.When expressed as a numerical value, it will be interpreted as being in milliseconds.
61
65
  * - Defaults to 3 minutes
66
+ * - Negative values will be treated same as positive values
67
+ * - If not set, defaults to 3 min
68
+ * - If set as 0, then the no email will be treated as a duplicate
69
+ * - Cannot have multiple values
62
70
  *
63
71
  */
64
72
  RestrictDuplicatesWithinSetting;
65
- export type SettingsResponse = Setting[];
73
+ export type SettingsResponse = Setting[] | Setting;
66
74
  /**
67
75
  * Setting that allows to add a signature.
68
76
  */
@@ -110,6 +118,12 @@ declare namespace Paths {
110
118
  namespace DeleteSetting {
111
119
  export interface RequestBody {
112
120
  type: Components.Schemas.SettingType;
121
+ /**
122
+ * ID of setting
123
+ * example:
124
+ * a10bd0ff-4391-4cfc-88ee-b19d718a9bf7
125
+ */
126
+ id: string;
113
127
  }
114
128
  namespace Responses {
115
129
  export type $200 = Components.Schemas.Setting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/email-settings-client",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "API Client for epilot Email Settings API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",