@pushwoosh/rpc-v2-http-api-data 0.2.22 → 0.2.24

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/data.js CHANGED
@@ -10261,6 +10261,18 @@ export const data = {
10261
10261
  "options": {
10262
10262
  "type": "string",
10263
10263
  "mapKeyType": "string"
10264
+ },
10265
+ "sslmode": {
10266
+ "type": "string"
10267
+ },
10268
+ "caCert": {
10269
+ "type": "string"
10270
+ },
10271
+ "clientCert": {
10272
+ "type": "string"
10273
+ },
10274
+ "clientKey": {
10275
+ "type": "string"
10264
10276
  }
10265
10277
  }
10266
10278
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -199,11 +199,26 @@ export type PostgresConnection = {
199
199
  /** Database name. */
200
200
  database: string;
201
201
  /**
202
- * Any additional standard libpq connection parameters (e.g. sslmode,
203
- * connect_timeout, application_name, sslcert, sslkey, sslrootcert,
204
- * target_session_attrs, options). Keys must be valid libpq keywords.
202
+ * Any additional standard libpq connection parameters (e.g.
203
+ * connect_timeout, application_name, target_session_attrs, options).
204
+ * Keys must be valid libpq keywords.
205
205
  */
206
206
  options: Record<string, string>;
207
+ /**
208
+ * SSL/TLS mode: disable, require, verify-ca, verify-full.
209
+ * Defaults to disable when empty.
210
+ */
211
+ sslmode: string;
212
+ /**
213
+ * TLS material. All three are write-only: never returned by read methods.
214
+ * On update, an empty value keeps the currently stored file (send it again
215
+ * to replace it). They are stored as external segment files, not in the DSN.
216
+ */
217
+ caCert: string;
218
+ /** client certificate (sslcert) */
219
+ clientCert: string;
220
+ /** client private key (sslkey) */
221
+ clientKey: string;
207
222
  };
208
223
  /**
209
224
  * MysqlConnection holds MySQL connection parameters.