@ibm-cloud/cloudant 0.5.5 → 0.7.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.
package/cloudant/v1.d.ts CHANGED
@@ -17,7 +17,7 @@
17
17
  /// <reference types="node" />
18
18
  /// <reference types="node" />
19
19
  import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';
20
- import { UserOptions } from 'ibm-cloud-sdk-core';
20
+ import { SDKLogger, UserOptions } from 'ibm-cloud-sdk-core';
21
21
  import CloudantBaseService from '../lib/cloudantBaseService';
22
22
  /**
23
23
  * NoSQL database based on Apache CouchDB
@@ -25,6 +25,7 @@ import CloudantBaseService from '../lib/cloudantBaseService';
25
25
  * See: https://cloud.ibm.com/docs/services/Cloudant/
26
26
  */
27
27
  declare class CloudantV1 extends CloudantBaseService {
28
+ static _logger: SDKLogger;
28
29
  static DEFAULT_SERVICE_URL: string;
29
30
  static DEFAULT_SERVICE_NAME: string;
30
31
  /*************************
@@ -124,16 +125,26 @@ declare class CloudantV1 extends CloudantBaseService {
124
125
  /**
125
126
  * Retrieve change events for all databases.
126
127
  *
128
+ * **This endpoint is not available in IBM Cloudant.**
129
+ *
127
130
  * Lists changes to databases, like a global changes feed. Types of changes include updating the database and creating
128
131
  * or deleting a database. Like the changes feed, the feed is not guaranteed to return changes in the correct order
129
132
  * and might repeat changes. Polling modes for this method work like polling modes for the changes feed.
130
- * **Note: This endpoint requires _admin or _db_updates role and is only available on dedicated clusters.**.
131
133
  *
132
134
  * @param {Object} [params] - The parameters to send to the service.
133
135
  * @param {string} [params.feed] - Query parameter to specify the changes feed type.
134
136
  * @param {number} [params.heartbeat] - Query parameter to specify the period in milliseconds after which an empty
135
- * line is sent in the results. Only applicable for longpoll, continuous, and eventsource feeds. Overrides any timeout
136
- * to keep the feed alive indefinitely. May also be `true` to use default value of 60000.
137
+ * line is sent in the results. Off by default and only applicable for
138
+ * `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be `true`
139
+ * to use a value of `60000`.
140
+ *
141
+ * **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
142
+ * environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
143
+ * Instead, consider one of the following options:
144
+ * * Use the `timeout` parameter with a value that is compatible with your network environment.
145
+ * * Switch to scheduled usage of one of the non-continuous changes feed types
146
+ * (`normal` or `longpoll`).
147
+ * * Use TCP keepalive.
137
148
  * @param {number} [params.timeout] - Query parameter to specify the maximum period in milliseconds to wait for a
138
149
  * change before the response is sent, even if there are no results. Only applicable for `longpoll` or `continuous`
139
150
  * feeds. Default value is specified by `httpd/changes_timeout` configuration option. Note that `60000` value is also
@@ -142,6 +153,7 @@ declare class CloudantV1 extends CloudantBaseService {
142
153
  * the given update sequence. Can be a valid update sequence or `now` value. Default is `0` i.e. all changes.
143
154
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
144
155
  * @returns {Promise<CloudantV1.Response<CloudantV1.DbUpdates>>}
156
+ * @deprecated this method is deprecated and may be removed in a future release
145
157
  */
146
158
  getDbUpdates(params?: CloudantV1.GetDbUpdatesParams): Promise<CloudantV1.Response<CloudantV1.DbUpdates>>;
147
159
  /**
@@ -160,7 +172,7 @@ declare class CloudantV1 extends CloudantBaseService {
160
172
  * @param {string} params.db - Path parameter to specify the database name.
161
173
  * @param {string[]} [params.docIds] - Schema for a list of document IDs.
162
174
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
163
- * fields of a document must be returned. If it is omitted, the entire document is returned.
175
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
164
176
  * @param {JsonObject} [params.selector] - JSON object describing criteria used to select documents. The selector
165
177
  * specifies fields in the document, and provides an expression to evaluate with the field content or other data.
166
178
  *
@@ -177,18 +189,17 @@ declare class CloudantV1 extends CloudantBaseService {
177
189
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
178
190
  *
179
191
  * There are two core types of operators in the selector syntax:
180
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
181
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
182
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
183
- * selector, or an array of selectors.
192
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
193
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
184
194
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
185
195
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
186
- * argument.
196
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
197
+ * available combination and conditional operators.
187
198
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
188
199
  * of a query. You should include at least one of these in a selector.
189
200
  *
190
201
  * For further reference see
191
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
202
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
192
203
  * @param {string} [params.lastEventId] - Header parameter to specify the ID of the last events received by the server
193
204
  * on a previous connection. Overrides `since` query parameter.
194
205
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
@@ -214,8 +225,17 @@ declare class CloudantV1 extends CloudantBaseService {
214
225
  * * `_view` - Returns changes for documents that match an existing map
215
226
  * function in the view specified by the query parameter `view`.
216
227
  * @param {number} [params.heartbeat] - Query parameter to specify the period in milliseconds after which an empty
217
- * line is sent in the results. Only applicable for longpoll, continuous, and eventsource feeds. Overrides any timeout
218
- * to keep the feed alive indefinitely. May also be `true` to use default value of 60000.
228
+ * line is sent in the results. Off by default and only applicable for
229
+ * `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be `true`
230
+ * to use a value of `60000`.
231
+ *
232
+ * **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
233
+ * environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
234
+ * Instead, consider one of the following options:
235
+ * * Use the `timeout` parameter with a value that is compatible with your network environment.
236
+ * * Switch to scheduled usage of one of the non-continuous changes feed types
237
+ * (`normal` or `longpoll`).
238
+ * * Use TCP keepalive.
219
239
  * @param {boolean} [params.includeDocs] - Query parameter to specify whether to include the full content of the
220
240
  * documents in the response.
221
241
  * @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
@@ -256,7 +276,7 @@ declare class CloudantV1 extends CloudantBaseService {
256
276
  * @param {string} params.db - Path parameter to specify the database name.
257
277
  * @param {string[]} [params.docIds] - Schema for a list of document IDs.
258
278
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
259
- * fields of a document must be returned. If it is omitted, the entire document is returned.
279
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
260
280
  * @param {JsonObject} [params.selector] - JSON object describing criteria used to select documents. The selector
261
281
  * specifies fields in the document, and provides an expression to evaluate with the field content or other data.
262
282
  *
@@ -273,18 +293,17 @@ declare class CloudantV1 extends CloudantBaseService {
273
293
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
274
294
  *
275
295
  * There are two core types of operators in the selector syntax:
276
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
277
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
278
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
279
- * selector, or an array of selectors.
296
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
297
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
280
298
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
281
299
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
282
- * argument.
300
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
301
+ * available combination and conditional operators.
283
302
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
284
303
  * of a query. You should include at least one of these in a selector.
285
304
  *
286
305
  * For further reference see
287
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
306
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
288
307
  * @param {string} [params.lastEventId] - Header parameter to specify the ID of the last events received by the server
289
308
  * on a previous connection. Overrides `since` query parameter.
290
309
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
@@ -310,8 +329,17 @@ declare class CloudantV1 extends CloudantBaseService {
310
329
  * * `_view` - Returns changes for documents that match an existing map
311
330
  * function in the view specified by the query parameter `view`.
312
331
  * @param {number} [params.heartbeat] - Query parameter to specify the period in milliseconds after which an empty
313
- * line is sent in the results. Only applicable for longpoll, continuous, and eventsource feeds. Overrides any timeout
314
- * to keep the feed alive indefinitely. May also be `true` to use default value of 60000.
332
+ * line is sent in the results. Off by default and only applicable for
333
+ * `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be `true`
334
+ * to use a value of `60000`.
335
+ *
336
+ * **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
337
+ * environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
338
+ * Instead, consider one of the following options:
339
+ * * Use the `timeout` parameter with a value that is compatible with your network environment.
340
+ * * Switch to scheduled usage of one of the non-continuous changes feed types
341
+ * (`normal` or `longpoll`).
342
+ * * Use TCP keepalive.
315
343
  * @param {boolean} [params.includeDocs] - Query parameter to specify whether to include the full content of the
316
344
  * documents in the response.
317
345
  * @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
@@ -1432,6 +1460,72 @@ declare class CloudantV1 extends CloudantBaseService {
1432
1460
  * @returns {Promise<CloudantV1.Response<NodeJS.ReadableStream>>}
1433
1461
  */
1434
1462
  postPartitionViewAsStream(params: CloudantV1.PostPartitionViewAsStreamParams): Promise<CloudantV1.Response<NodeJS.ReadableStream>>;
1463
+ /**
1464
+ * Retrieve information about which partition index is used for a query.
1465
+ *
1466
+ * Shows which index is being used by the query. Parameters are the same as the
1467
+ * [`/{db}/_partition/{partition_key}/_find` endpoint](#postpartitionfind-queries).
1468
+ *
1469
+ * @param {Object} params - The parameters to send to the service.
1470
+ * @param {string} params.db - Path parameter to specify the database name.
1471
+ * @param {string} params.partitionKey - Path parameter to specify the database partition key.
1472
+ * @param {JsonObject} params.selector - JSON object describing criteria used to select documents. The selector
1473
+ * specifies fields in the document, and provides an expression to evaluate with the field content or other data.
1474
+ *
1475
+ * The selector object must:
1476
+ * * Be structured as valid JSON.
1477
+ * * Contain a valid query expression.
1478
+ *
1479
+ * Using a selector is significantly more efficient than using a JavaScript filter function, and is the recommended
1480
+ * option if filtering on document attributes only.
1481
+ *
1482
+ * Elementary selector syntax requires you to specify one or more fields, and the corresponding values required for
1483
+ * those fields. You can create more complex selector expressions by combining operators.
1484
+ *
1485
+ * Operators are identified by the use of a dollar sign `$` prefix in the name field.
1486
+ *
1487
+ * There are two core types of operators in the selector syntax:
1488
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
1489
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
1490
+ * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
1491
+ * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
1492
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
1493
+ * available combination and conditional operators.
1494
+ * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
1495
+ * of a query. You should include at least one of these in a selector.
1496
+ *
1497
+ * For further reference see
1498
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1499
+ * @param {string} [params.bookmark] - Opaque bookmark token used when paginating results.
1500
+ * @param {boolean} [params.conflicts] - A boolean value that indicates whether or not to include information about
1501
+ * existing conflicts in the document.
1502
+ * @param {boolean} [params.executionStats] - Use this option to find information about the query that was run. This
1503
+ * information includes total key lookups, total document lookups (when `include_docs=true` is used), and total quorum
1504
+ * document lookups (when each document replica is fetched).
1505
+ * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
1506
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
1507
+ * @param {number} [params.limit] - Maximum number of results returned. The `type: text` indexes are limited to 200
1508
+ * results when queried.
1509
+ * @param {number} [params.skip] - Skip the first 'n' results, where 'n' is the value that is specified.
1510
+ * @param {JsonObject[]} [params.sort] - The sort field contains a list of pairs, each mapping a field name to a sort
1511
+ * direction (asc or desc). The first field name and direction pair is the topmost level of sort. The second pair, if
1512
+ * provided, is the next level of sort. The field can be any field, using dotted notation if desired for sub-document
1513
+ * fields.
1514
+ *
1515
+ * For example in JSON: `[{"fieldName1": "desc"}, {"fieldName2.subFieldName1": "desc"}]`
1516
+ *
1517
+ * When sorting with multiple fields, ensure that there is an index already defined with all the sort fields in the
1518
+ * same order and each object in the sort array has a single key or at least one of the sort fields is included in the
1519
+ * selector. All sorting fields must use the same sort direction, either all ascending or all descending.
1520
+ * @param {boolean} [params.stable] - Whether or not the view results should be returned from a "stable" set of
1521
+ * shards.
1522
+ * @param {string} [params.update] - Whether to update the index prior to returning the result.
1523
+ * @param {string[]} [params.useIndex] - Use this option to identify a specific index for query to run against, rather
1524
+ * than by using the IBM Cloudant Query algorithm to find the best index.
1525
+ * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
1526
+ * @returns {Promise<CloudantV1.Response<CloudantV1.ExplainResult>>}
1527
+ */
1528
+ postPartitionExplain(params: CloudantV1.PostPartitionExplainParams): Promise<CloudantV1.Response<CloudantV1.ExplainResult>>;
1435
1529
  /**
1436
1530
  * Query a database partition index by using selector syntax.
1437
1531
  *
@@ -1461,18 +1555,17 @@ declare class CloudantV1 extends CloudantBaseService {
1461
1555
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
1462
1556
  *
1463
1557
  * There are two core types of operators in the selector syntax:
1464
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
1465
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
1466
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
1467
- * selector, or an array of selectors.
1558
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
1559
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
1468
1560
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
1469
1561
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
1470
- * argument.
1562
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
1563
+ * available combination and conditional operators.
1471
1564
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
1472
1565
  * of a query. You should include at least one of these in a selector.
1473
1566
  *
1474
1567
  * For further reference see
1475
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
1568
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1476
1569
  * @param {string} [params.bookmark] - Opaque bookmark token used when paginating results.
1477
1570
  * @param {boolean} [params.conflicts] - A boolean value that indicates whether or not to include information about
1478
1571
  * existing conflicts in the document.
@@ -1480,7 +1573,7 @@ declare class CloudantV1 extends CloudantBaseService {
1480
1573
  * information includes total key lookups, total document lookups (when `include_docs=true` is used), and total quorum
1481
1574
  * document lookups (when each document replica is fetched).
1482
1575
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
1483
- * fields of a document must be returned. If it is omitted, the entire document is returned.
1576
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
1484
1577
  * @param {number} [params.limit] - Maximum number of results returned. The `type: text` indexes are limited to 200
1485
1578
  * results when queried.
1486
1579
  * @param {number} [params.skip] - Skip the first 'n' results, where 'n' is the value that is specified.
@@ -1532,18 +1625,17 @@ declare class CloudantV1 extends CloudantBaseService {
1532
1625
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
1533
1626
  *
1534
1627
  * There are two core types of operators in the selector syntax:
1535
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
1536
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
1537
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
1538
- * selector, or an array of selectors.
1628
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
1629
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
1539
1630
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
1540
1631
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
1541
- * argument.
1632
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
1633
+ * available combination and conditional operators.
1542
1634
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
1543
1635
  * of a query. You should include at least one of these in a selector.
1544
1636
  *
1545
1637
  * For further reference see
1546
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
1638
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1547
1639
  * @param {string} [params.bookmark] - Opaque bookmark token used when paginating results.
1548
1640
  * @param {boolean} [params.conflicts] - A boolean value that indicates whether or not to include information about
1549
1641
  * existing conflicts in the document.
@@ -1551,7 +1643,7 @@ declare class CloudantV1 extends CloudantBaseService {
1551
1643
  * information includes total key lookups, total document lookups (when `include_docs=true` is used), and total quorum
1552
1644
  * document lookups (when each document replica is fetched).
1553
1645
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
1554
- * fields of a document must be returned. If it is omitted, the entire document is returned.
1646
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
1555
1647
  * @param {number} [params.limit] - Maximum number of results returned. The `type: text` indexes are limited to 200
1556
1648
  * results when queried.
1557
1649
  * @param {number} [params.skip] - Skip the first 'n' results, where 'n' is the value that is specified.
@@ -1580,8 +1672,7 @@ declare class CloudantV1 extends CloudantBaseService {
1580
1672
  /**
1581
1673
  * Retrieve information about which index is used for a query.
1582
1674
  *
1583
- * Shows which index is being used by the query. Parameters are the same as the [`_find`
1584
- * endpoint](#query-an-index-by-using-selector-syntax).
1675
+ * Shows which index is being used by the query. Parameters are the same as the [`_find` endpoint](#postfind).
1585
1676
  *
1586
1677
  * @param {Object} params - The parameters to send to the service.
1587
1678
  * @param {string} params.db - Path parameter to specify the database name.
@@ -1601,18 +1692,17 @@ declare class CloudantV1 extends CloudantBaseService {
1601
1692
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
1602
1693
  *
1603
1694
  * There are two core types of operators in the selector syntax:
1604
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
1605
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
1606
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
1607
- * selector, or an array of selectors.
1695
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
1696
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
1608
1697
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
1609
1698
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
1610
- * argument.
1699
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
1700
+ * available combination and conditional operators.
1611
1701
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
1612
1702
  * of a query. You should include at least one of these in a selector.
1613
1703
  *
1614
1704
  * For further reference see
1615
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
1705
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1616
1706
  * @param {string} [params.bookmark] - Opaque bookmark token used when paginating results.
1617
1707
  * @param {boolean} [params.conflicts] - A boolean value that indicates whether or not to include information about
1618
1708
  * existing conflicts in the document.
@@ -1620,7 +1710,7 @@ declare class CloudantV1 extends CloudantBaseService {
1620
1710
  * information includes total key lookups, total document lookups (when `include_docs=true` is used), and total quorum
1621
1711
  * document lookups (when each document replica is fetched).
1622
1712
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
1623
- * fields of a document must be returned. If it is omitted, the entire document is returned.
1713
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
1624
1714
  * @param {number} [params.limit] - Maximum number of results returned. The `type: text` indexes are limited to 200
1625
1715
  * results when queried.
1626
1716
  * @param {number} [params.skip] - Skip the first 'n' results, where 'n' is the value that is specified.
@@ -1675,18 +1765,17 @@ declare class CloudantV1 extends CloudantBaseService {
1675
1765
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
1676
1766
  *
1677
1767
  * There are two core types of operators in the selector syntax:
1678
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
1679
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
1680
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
1681
- * selector, or an array of selectors.
1768
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
1769
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
1682
1770
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
1683
1771
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
1684
- * argument.
1772
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
1773
+ * available combination and conditional operators.
1685
1774
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
1686
1775
  * of a query. You should include at least one of these in a selector.
1687
1776
  *
1688
1777
  * For further reference see
1689
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
1778
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1690
1779
  * @param {string} [params.bookmark] - Opaque bookmark token used when paginating results.
1691
1780
  * @param {boolean} [params.conflicts] - A boolean value that indicates whether or not to include information about
1692
1781
  * existing conflicts in the document.
@@ -1694,7 +1783,7 @@ declare class CloudantV1 extends CloudantBaseService {
1694
1783
  * information includes total key lookups, total document lookups (when `include_docs=true` is used), and total quorum
1695
1784
  * document lookups (when each document replica is fetched).
1696
1785
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
1697
- * fields of a document must be returned. If it is omitted, the entire document is returned.
1786
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
1698
1787
  * @param {number} [params.limit] - Maximum number of results returned. The `type: text` indexes are limited to 200
1699
1788
  * results when queried.
1700
1789
  * @param {number} [params.skip] - Skip the first 'n' results, where 'n' is the value that is specified.
@@ -1749,18 +1838,17 @@ declare class CloudantV1 extends CloudantBaseService {
1749
1838
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
1750
1839
  *
1751
1840
  * There are two core types of operators in the selector syntax:
1752
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In addition
1753
- * to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators: `$all`,
1754
- * `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either another
1755
- * selector, or an array of selectors.
1841
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
1842
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
1756
1843
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
1757
1844
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the supplied
1758
- * argument.
1845
+ * argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
1846
+ * available combination and conditional operators.
1759
1847
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the basis
1760
1848
  * of a query. You should include at least one of these in a selector.
1761
1849
  *
1762
1850
  * For further reference see
1763
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
1851
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
1764
1852
  * @param {string} [params.bookmark] - Opaque bookmark token used when paginating results.
1765
1853
  * @param {boolean} [params.conflicts] - A boolean value that indicates whether or not to include information about
1766
1854
  * existing conflicts in the document.
@@ -1768,7 +1856,7 @@ declare class CloudantV1 extends CloudantBaseService {
1768
1856
  * information includes total key lookups, total document lookups (when `include_docs=true` is used), and total quorum
1769
1857
  * document lookups (when each document replica is fetched).
1770
1858
  * @param {string[]} [params.fields] - JSON array that uses the field syntax. Use this parameter to specify which
1771
- * fields of a document must be returned. If it is omitted, the entire document is returned.
1859
+ * fields of a document must be returned. If it is omitted or empty, the entire document is returned.
1772
1860
  * @param {number} [params.limit] - Maximum number of results returned. The `type: text` indexes are limited to 200
1773
1861
  * results when queried.
1774
1862
  * @param {number} [params.skip] - Skip the first 'n' results, where 'n' is the value that is specified.
@@ -1819,11 +1907,8 @@ declare class CloudantV1 extends CloudantBaseService {
1819
1907
  * `text` have additional configuration properties that do not apply to `json` indexes, these are:
1820
1908
  * * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all
1821
1909
  * document fields and what analyzer to use for that purpose.
1822
- * @param {string} [params.ddoc] - Name of the design document in which the index will be created.
1823
- * @param {IndexDefinition} [params.def] - Schema for a `json` or `text` query index definition. Indexes of type
1824
- * `text` have additional configuration properties that do not apply to `json` indexes, these are:
1825
- * * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all
1826
- * document fields and what analyzer to use for that purpose.
1910
+ * @param {string} [params.ddoc] - Specifies the design document name in which the index will be created. The design
1911
+ * document name is the design document ID excluding the `_design/` prefix.
1827
1912
  * @param {string} [params.name] - name.
1828
1913
  * @param {boolean} [params.partitioned] - The default value is `true` for databases with `partitioned: true` and
1829
1914
  * `false` otherwise. For databases with `partitioned: false` if this option is specified the value must be `false`.
@@ -2613,9 +2698,18 @@ declare namespace CloudantV1 {
2613
2698
  interface GetDbUpdatesParams {
2614
2699
  /** Query parameter to specify the changes feed type. */
2615
2700
  feed?: GetDbUpdatesConstants.Feed | string;
2616
- /** Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Only
2617
- * applicable for longpoll, continuous, and eventsource feeds. Overrides any timeout to keep the feed alive
2618
- * indefinitely. May also be `true` to use default value of 60000.
2701
+ /** Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Off
2702
+ * by default and only applicable for
2703
+ * `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be
2704
+ * `true` to use a value of `60000`.
2705
+ *
2706
+ * **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
2707
+ * environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
2708
+ * Instead, consider one of the following options:
2709
+ * * Use the `timeout` parameter with a value that is compatible with your network environment.
2710
+ * * Switch to scheduled usage of one of the non-continuous changes feed types
2711
+ * (`normal` or `longpoll`).
2712
+ * * Use TCP keepalive.
2619
2713
  */
2620
2714
  heartbeat?: number;
2621
2715
  /** Query parameter to specify the maximum period in milliseconds to wait for a change before the response is
@@ -2647,7 +2741,7 @@ declare namespace CloudantV1 {
2647
2741
  /** Schema for a list of document IDs. */
2648
2742
  docIds?: string[];
2649
2743
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
2650
- * returned. If it is omitted, the entire document is returned.
2744
+ * returned. If it is omitted or empty, the entire document is returned.
2651
2745
  */
2652
2746
  fields?: string[];
2653
2747
  /** JSON object describing criteria used to select documents. The selector specifies fields in the document, and
@@ -2666,18 +2760,17 @@ declare namespace CloudantV1 {
2666
2760
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
2667
2761
  *
2668
2762
  * There are two core types of operators in the selector syntax:
2669
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
2670
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
2671
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
2672
- * another selector, or an array of selectors.
2763
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
2764
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
2673
2765
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
2674
2766
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
2675
- * supplied argument.
2767
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
2768
+ * list of all available combination and conditional operators.
2676
2769
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
2677
2770
  * basis of a query. You should include at least one of these in a selector.
2678
2771
  *
2679
2772
  * For further reference see
2680
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
2773
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
2681
2774
  */
2682
2775
  selector?: JsonObject;
2683
2776
  /** Header parameter to specify the ID of the last events received by the server on a previous connection.
@@ -2713,9 +2806,18 @@ declare namespace CloudantV1 {
2713
2806
  * function in the view specified by the query parameter `view`.
2714
2807
  */
2715
2808
  filter?: string;
2716
- /** Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Only
2717
- * applicable for longpoll, continuous, and eventsource feeds. Overrides any timeout to keep the feed alive
2718
- * indefinitely. May also be `true` to use default value of 60000.
2809
+ /** Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Off
2810
+ * by default and only applicable for
2811
+ * `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be
2812
+ * `true` to use a value of `60000`.
2813
+ *
2814
+ * **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
2815
+ * environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
2816
+ * Instead, consider one of the following options:
2817
+ * * Use the `timeout` parameter with a value that is compatible with your network environment.
2818
+ * * Switch to scheduled usage of one of the non-continuous changes feed types
2819
+ * (`normal` or `longpoll`).
2820
+ * * Use TCP keepalive.
2719
2821
  */
2720
2822
  heartbeat?: number;
2721
2823
  /** Query parameter to specify whether to include the full content of the documents in the response. */
@@ -2766,7 +2868,7 @@ declare namespace CloudantV1 {
2766
2868
  /** Schema for a list of document IDs. */
2767
2869
  docIds?: string[];
2768
2870
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
2769
- * returned. If it is omitted, the entire document is returned.
2871
+ * returned. If it is omitted or empty, the entire document is returned.
2770
2872
  */
2771
2873
  fields?: string[];
2772
2874
  /** JSON object describing criteria used to select documents. The selector specifies fields in the document, and
@@ -2785,18 +2887,17 @@ declare namespace CloudantV1 {
2785
2887
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
2786
2888
  *
2787
2889
  * There are two core types of operators in the selector syntax:
2788
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
2789
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
2790
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
2791
- * another selector, or an array of selectors.
2890
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
2891
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
2792
2892
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
2793
2893
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
2794
- * supplied argument.
2894
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
2895
+ * list of all available combination and conditional operators.
2795
2896
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
2796
2897
  * basis of a query. You should include at least one of these in a selector.
2797
2898
  *
2798
2899
  * For further reference see
2799
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
2900
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
2800
2901
  */
2801
2902
  selector?: JsonObject;
2802
2903
  /** Header parameter to specify the ID of the last events received by the server on a previous connection.
@@ -2832,9 +2933,18 @@ declare namespace CloudantV1 {
2832
2933
  * function in the view specified by the query parameter `view`.
2833
2934
  */
2834
2935
  filter?: string;
2835
- /** Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Only
2836
- * applicable for longpoll, continuous, and eventsource feeds. Overrides any timeout to keep the feed alive
2837
- * indefinitely. May also be `true` to use default value of 60000.
2936
+ /** Query parameter to specify the period in milliseconds after which an empty line is sent in the results. Off
2937
+ * by default and only applicable for
2938
+ * `continuous` and `eventsource` feeds. Overrides any timeout to keep the feed alive indefinitely. May also be
2939
+ * `true` to use a value of `60000`.
2940
+ *
2941
+ * **Note:** Delivery of heartbeats cannot be relied on at specific intervals. If your application runs in an
2942
+ * environment where idle network connections may break, `heartbeat` is not suitable as a keepalive mechanism.
2943
+ * Instead, consider one of the following options:
2944
+ * * Use the `timeout` parameter with a value that is compatible with your network environment.
2945
+ * * Switch to scheduled usage of one of the non-continuous changes feed types
2946
+ * (`normal` or `longpoll`).
2947
+ * * Use TCP keepalive.
2838
2948
  */
2839
2949
  heartbeat?: number;
2840
2950
  /** Query parameter to specify whether to include the full content of the documents in the response. */
@@ -4147,6 +4257,95 @@ declare namespace CloudantV1 {
4147
4257
  LAZY = "lazy"
4148
4258
  }
4149
4259
  }
4260
+ /** Parameters for the `postPartitionExplain` operation. */
4261
+ interface PostPartitionExplainParams {
4262
+ /** Path parameter to specify the database name. */
4263
+ db: string;
4264
+ /** Path parameter to specify the database partition key. */
4265
+ partitionKey: string;
4266
+ /** JSON object describing criteria used to select documents. The selector specifies fields in the document, and
4267
+ * provides an expression to evaluate with the field content or other data.
4268
+ *
4269
+ * The selector object must:
4270
+ * * Be structured as valid JSON.
4271
+ * * Contain a valid query expression.
4272
+ *
4273
+ * Using a selector is significantly more efficient than using a JavaScript filter function, and is the recommended
4274
+ * option if filtering on document attributes only.
4275
+ *
4276
+ * Elementary selector syntax requires you to specify one or more fields, and the corresponding values required for
4277
+ * those fields. You can create more complex selector expressions by combining operators.
4278
+ *
4279
+ * Operators are identified by the use of a dollar sign `$` prefix in the name field.
4280
+ *
4281
+ * There are two core types of operators in the selector syntax:
4282
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
4283
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
4284
+ * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
4285
+ * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
4286
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
4287
+ * list of all available combination and conditional operators.
4288
+ * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
4289
+ * basis of a query. You should include at least one of these in a selector.
4290
+ *
4291
+ * For further reference see
4292
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4293
+ */
4294
+ selector: JsonObject;
4295
+ /** Opaque bookmark token used when paginating results. */
4296
+ bookmark?: string;
4297
+ /** A boolean value that indicates whether or not to include information about existing conflicts in the
4298
+ * document.
4299
+ */
4300
+ conflicts?: boolean;
4301
+ /** Use this option to find information about the query that was run. This information includes total key
4302
+ * lookups, total document lookups (when `include_docs=true` is used), and total quorum document lookups (when each
4303
+ * document replica is fetched).
4304
+ */
4305
+ executionStats?: boolean;
4306
+ /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
4307
+ * returned. If it is omitted or empty, the entire document is returned.
4308
+ */
4309
+ fields?: string[];
4310
+ /** Maximum number of results returned. The `type: text` indexes are limited to 200 results when queried. */
4311
+ limit?: number;
4312
+ /** Skip the first 'n' results, where 'n' is the value that is specified. */
4313
+ skip?: number;
4314
+ /** The sort field contains a list of pairs, each mapping a field name to a sort direction (asc or desc). The
4315
+ * first field name and direction pair is the topmost level of sort. The second pair, if provided, is the next
4316
+ * level of sort. The field can be any field, using dotted notation if desired for sub-document fields.
4317
+ *
4318
+ * For example in JSON: `[{"fieldName1": "desc"}, {"fieldName2.subFieldName1": "desc"}]`
4319
+ *
4320
+ * When sorting with multiple fields, ensure that there is an index already defined with all the sort fields in the
4321
+ * same order and each object in the sort array has a single key or at least one of the sort fields is included in
4322
+ * the selector. All sorting fields must use the same sort direction, either all ascending or all descending.
4323
+ */
4324
+ sort?: JsonObject[];
4325
+ /** Whether or not the view results should be returned from a "stable" set of shards. */
4326
+ stable?: boolean;
4327
+ /** Whether to update the index prior to returning the result. */
4328
+ update?: PostPartitionExplainConstants.Update | string;
4329
+ /** Use this option to identify a specific index for query to run against, rather than by using the IBM Cloudant
4330
+ * Query algorithm to find the best index.
4331
+ */
4332
+ useIndex?: string[];
4333
+ headers?: OutgoingHttpHeaders;
4334
+ }
4335
+ /** Constants for the `postPartitionExplain` operation. */
4336
+ namespace PostPartitionExplainConstants {
4337
+ /** Schema for a mapping of field name to sort direction. */
4338
+ enum Sort {
4339
+ ASC = "asc",
4340
+ DESC = "desc"
4341
+ }
4342
+ /** Whether to update the index prior to returning the result. */
4343
+ enum Update {
4344
+ FALSE = "false",
4345
+ TRUE = "true",
4346
+ LAZY = "lazy"
4347
+ }
4348
+ }
4150
4349
  /** Parameters for the `postPartitionFind` operation. */
4151
4350
  interface PostPartitionFindParams {
4152
4351
  /** Path parameter to specify the database name. */
@@ -4169,18 +4368,17 @@ declare namespace CloudantV1 {
4169
4368
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
4170
4369
  *
4171
4370
  * There are two core types of operators in the selector syntax:
4172
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
4173
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
4174
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
4175
- * another selector, or an array of selectors.
4371
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
4372
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
4176
4373
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
4177
4374
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
4178
- * supplied argument.
4375
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
4376
+ * list of all available combination and conditional operators.
4179
4377
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
4180
4378
  * basis of a query. You should include at least one of these in a selector.
4181
4379
  *
4182
4380
  * For further reference see
4183
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
4381
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4184
4382
  */
4185
4383
  selector: JsonObject;
4186
4384
  /** Opaque bookmark token used when paginating results. */
@@ -4195,7 +4393,7 @@ declare namespace CloudantV1 {
4195
4393
  */
4196
4394
  executionStats?: boolean;
4197
4395
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
4198
- * returned. If it is omitted, the entire document is returned.
4396
+ * returned. If it is omitted or empty, the entire document is returned.
4199
4397
  */
4200
4398
  fields?: string[];
4201
4399
  /** Maximum number of results returned. The `type: text` indexes are limited to 200 results when queried. */
@@ -4259,18 +4457,17 @@ declare namespace CloudantV1 {
4259
4457
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
4260
4458
  *
4261
4459
  * There are two core types of operators in the selector syntax:
4262
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
4263
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
4264
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
4265
- * another selector, or an array of selectors.
4460
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
4461
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
4266
4462
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
4267
4463
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
4268
- * supplied argument.
4464
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
4465
+ * list of all available combination and conditional operators.
4269
4466
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
4270
4467
  * basis of a query. You should include at least one of these in a selector.
4271
4468
  *
4272
4469
  * For further reference see
4273
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
4470
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4274
4471
  */
4275
4472
  selector: JsonObject;
4276
4473
  /** Opaque bookmark token used when paginating results. */
@@ -4285,7 +4482,7 @@ declare namespace CloudantV1 {
4285
4482
  */
4286
4483
  executionStats?: boolean;
4287
4484
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
4288
- * returned. If it is omitted, the entire document is returned.
4485
+ * returned. If it is omitted or empty, the entire document is returned.
4289
4486
  */
4290
4487
  fields?: string[];
4291
4488
  /** Maximum number of results returned. The `type: text` indexes are limited to 200 results when queried. */
@@ -4347,18 +4544,17 @@ declare namespace CloudantV1 {
4347
4544
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
4348
4545
  *
4349
4546
  * There are two core types of operators in the selector syntax:
4350
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
4351
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
4352
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
4353
- * another selector, or an array of selectors.
4547
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
4548
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
4354
4549
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
4355
4550
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
4356
- * supplied argument.
4551
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
4552
+ * list of all available combination and conditional operators.
4357
4553
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
4358
4554
  * basis of a query. You should include at least one of these in a selector.
4359
4555
  *
4360
4556
  * For further reference see
4361
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
4557
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4362
4558
  */
4363
4559
  selector: JsonObject;
4364
4560
  /** Opaque bookmark token used when paginating results. */
@@ -4373,7 +4569,7 @@ declare namespace CloudantV1 {
4373
4569
  */
4374
4570
  executionStats?: boolean;
4375
4571
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
4376
- * returned. If it is omitted, the entire document is returned.
4572
+ * returned. If it is omitted or empty, the entire document is returned.
4377
4573
  */
4378
4574
  fields?: string[];
4379
4575
  /** Maximum number of results returned. The `type: text` indexes are limited to 200 results when queried. */
@@ -4441,18 +4637,17 @@ declare namespace CloudantV1 {
4441
4637
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
4442
4638
  *
4443
4639
  * There are two core types of operators in the selector syntax:
4444
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
4445
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
4446
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
4447
- * another selector, or an array of selectors.
4640
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
4641
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
4448
4642
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
4449
4643
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
4450
- * supplied argument.
4644
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
4645
+ * list of all available combination and conditional operators.
4451
4646
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
4452
4647
  * basis of a query. You should include at least one of these in a selector.
4453
4648
  *
4454
4649
  * For further reference see
4455
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
4650
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4456
4651
  */
4457
4652
  selector: JsonObject;
4458
4653
  /** Opaque bookmark token used when paginating results. */
@@ -4467,7 +4662,7 @@ declare namespace CloudantV1 {
4467
4662
  */
4468
4663
  executionStats?: boolean;
4469
4664
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
4470
- * returned. If it is omitted, the entire document is returned.
4665
+ * returned. If it is omitted or empty, the entire document is returned.
4471
4666
  */
4472
4667
  fields?: string[];
4473
4668
  /** Maximum number of results returned. The `type: text` indexes are limited to 200 results when queried. */
@@ -4535,18 +4730,17 @@ declare namespace CloudantV1 {
4535
4730
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
4536
4731
  *
4537
4732
  * There are two core types of operators in the selector syntax:
4538
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
4539
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
4540
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
4541
- * another selector, or an array of selectors.
4733
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
4734
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
4542
4735
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
4543
4736
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
4544
- * supplied argument.
4737
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
4738
+ * list of all available combination and conditional operators.
4545
4739
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
4546
4740
  * basis of a query. You should include at least one of these in a selector.
4547
4741
  *
4548
4742
  * For further reference see
4549
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
4743
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4550
4744
  */
4551
4745
  selector: JsonObject;
4552
4746
  /** Opaque bookmark token used when paginating results. */
@@ -4561,7 +4755,7 @@ declare namespace CloudantV1 {
4561
4755
  */
4562
4756
  executionStats?: boolean;
4563
4757
  /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
4564
- * returned. If it is omitted, the entire document is returned.
4758
+ * returned. If it is omitted or empty, the entire document is returned.
4565
4759
  */
4566
4760
  fields?: string[];
4567
4761
  /** Maximum number of results returned. The `type: text` indexes are limited to 200 results when queried. */
@@ -4625,14 +4819,10 @@ declare namespace CloudantV1 {
4625
4819
  * document fields and what analyzer to use for that purpose.
4626
4820
  */
4627
4821
  index: IndexDefinition;
4628
- /** Name of the design document in which the index will be created. */
4629
- ddoc?: string;
4630
- /** Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration
4631
- * properties that do not apply to `json` indexes, these are:
4632
- * * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all
4633
- * document fields and what analyzer to use for that purpose.
4822
+ /** Specifies the design document name in which the index will be created. The design document name is the
4823
+ * design document ID excluding the `_design/` prefix.
4634
4824
  */
4635
- def?: IndexDefinition;
4825
+ ddoc?: string;
4636
4826
  /** name. */
4637
4827
  name?: string;
4638
4828
  /** The default value is `true` for databases with `partitioned: true` and `false` otherwise. For databases with
@@ -5747,6 +5937,8 @@ declare namespace CloudantV1 {
5747
5937
  update_seq: string;
5748
5938
  /** The UUID of the database. */
5749
5939
  uuid?: string;
5940
+ /** Information about database's partitioned indexes. */
5941
+ partitioned_indexes?: PartitionedIndexesInformation;
5750
5942
  }
5751
5943
  /** Schema for database cluster information. */
5752
5944
  interface DatabaseInformationCluster {
@@ -6028,19 +6220,23 @@ declare namespace CloudantV1 {
6028
6220
  /** Schema for information about the index used for a find query. */
6029
6221
  interface ExplainResult {
6030
6222
  /** When `true`, the query is answered using the index only and no documents are fetched. */
6031
- covered: boolean;
6223
+ covering: boolean;
6032
6224
  /** Name of database. */
6033
6225
  dbname: string;
6034
- /** Fields to be returned by the query. */
6226
+ /** Fields that were requested to be projected from the document. If no fields were requested to be projected
6227
+ * this will be empty and all fields will be returned.
6228
+ */
6035
6229
  fields: string[];
6036
6230
  /** Schema for information about an index. */
6037
6231
  index: IndexInformation;
6038
6232
  /** The used maximum number of results returned. */
6039
6233
  limit: number;
6040
- /** Query options used. */
6041
- opts: JsonObject;
6042
- /** Range parameters passed to the underlying view. */
6043
- range?: ExplainResultRange;
6234
+ /** Arguments passed to the underlying view. */
6235
+ mrargs?: ExplainResultMrArgs;
6236
+ /** Options used for the request. */
6237
+ opts: ExplainResultOpts;
6238
+ /** Schema for any JSON type. */
6239
+ partitioned?: any;
6044
6240
  /** JSON object describing criteria used to select documents. The selector specifies fields in the document, and
6045
6241
  * provides an expression to evaluate with the field content or other data.
6046
6242
  *
@@ -6057,29 +6253,83 @@ declare namespace CloudantV1 {
6057
6253
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
6058
6254
  *
6059
6255
  * There are two core types of operators in the selector syntax:
6060
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
6061
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
6062
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
6063
- * another selector, or an array of selectors.
6256
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
6257
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
6064
6258
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
6065
6259
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
6066
- * supplied argument.
6260
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
6261
+ * list of all available combination and conditional operators.
6067
6262
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
6068
6263
  * basis of a query. You should include at least one of these in a selector.
6069
6264
  *
6070
6265
  * For further reference see
6071
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
6266
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
6072
6267
  */
6073
6268
  selector: JsonObject;
6074
6269
  /** Skip parameter used. */
6075
6270
  skip: number;
6076
6271
  }
6077
- /** Range parameters passed to the underlying view. */
6078
- interface ExplainResultRange {
6079
- /** End key parameter passed to the underlying view. */
6080
- end_key?: any[];
6081
- /** Start key parameter passed to the underlying view. */
6082
- start_key?: any[];
6272
+ /** Arguments passed to the underlying view. */
6273
+ interface ExplainResultMrArgs {
6274
+ /** Schema for any JSON type. */
6275
+ conflicts?: any;
6276
+ /** Direction parameter passed to the underlying view. */
6277
+ direction?: string;
6278
+ /** Schema for any JSON type. */
6279
+ end_key?: any;
6280
+ /** A parameter that specifies whether to include the full content of the documents in the response in the
6281
+ * underlying view.
6282
+ */
6283
+ include_docs?: boolean;
6284
+ /** Partition parameter passed to the underlying view. */
6285
+ partition?: string;
6286
+ /** A parameter that specifies returning only documents that match any of the specified keys in the underlying
6287
+ * view.
6288
+ */
6289
+ reduce?: boolean;
6290
+ /** A parameter that specifies whether the view results should be returned form a "stable" set of shards passed
6291
+ * to the underlying view.
6292
+ */
6293
+ stable?: boolean;
6294
+ /** Schema for any JSON type. */
6295
+ start_key?: any;
6296
+ /** Schema for any JSON type. */
6297
+ update?: any;
6298
+ /** The type of the underlying view. */
6299
+ view_type?: string;
6300
+ }
6301
+ /** Options used for the request. */
6302
+ interface ExplainResultOpts {
6303
+ /** Opaque bookmark token used when paginating results. */
6304
+ bookmark: string;
6305
+ /** Conflicts used in the request query. */
6306
+ conflicts: boolean;
6307
+ /** Execution statistics used in the request query. */
6308
+ execution_stats: boolean;
6309
+ /** JSON array that uses the field syntax. Use this parameter to specify which fields of a document must be
6310
+ * returned. If it is omitted or empty, the entire document is returned.
6311
+ */
6312
+ fields: string[];
6313
+ /** Limit used in the request query. */
6314
+ limit: number;
6315
+ /** On which database partition the request was used. If it was not used on a database partition, it returns
6316
+ * with `""`.
6317
+ */
6318
+ partition: string;
6319
+ /** The read quorum that is needed for the result. */
6320
+ r: number;
6321
+ /** Skip used in the request query. */
6322
+ skip: number;
6323
+ /** Schema for any JSON type. */
6324
+ sort: any;
6325
+ /** Stable used in the request query. */
6326
+ stable: boolean;
6327
+ /** Deprecated: Stale used in the request query. */
6328
+ stale: boolean;
6329
+ /** Update used in the request query. */
6330
+ update: boolean;
6331
+ /** Use index used in the request query. */
6332
+ use_index: string[];
6083
6333
  }
6084
6334
  /** Schema for the result of a query find operation. */
6085
6335
  interface FindResult {
@@ -6131,18 +6381,17 @@ declare namespace CloudantV1 {
6131
6381
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
6132
6382
  *
6133
6383
  * There are two core types of operators in the selector syntax:
6134
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
6135
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
6136
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
6137
- * another selector, or an array of selectors.
6384
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
6385
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
6138
6386
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
6139
6387
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
6140
- * supplied argument.
6388
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
6389
+ * list of all available combination and conditional operators.
6141
6390
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
6142
6391
  * basis of a query. You should include at least one of these in a selector.
6143
6392
  *
6144
6393
  * For further reference see
6145
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
6394
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
6146
6395
  */
6147
6396
  partial_filter_selector?: JsonObject;
6148
6397
  }
@@ -6157,7 +6406,7 @@ declare namespace CloudantV1 {
6157
6406
  }
6158
6407
  /** Schema for information about an index. */
6159
6408
  interface IndexInformation {
6160
- /** Design document ID. */
6409
+ /** Design document ID including a `_design/` prefix. */
6161
6410
  ddoc: string;
6162
6411
  /** Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration
6163
6412
  * properties that do not apply to `json` indexes, these are:
@@ -6167,6 +6416,8 @@ declare namespace CloudantV1 {
6167
6416
  def: IndexDefinition;
6168
6417
  /** Index name. */
6169
6418
  name: string;
6419
+ /** Indicates if index is partitioned. */
6420
+ partitioned?: boolean;
6170
6421
  /** Schema for the type of an index. */
6171
6422
  type: string;
6172
6423
  }
@@ -6243,6 +6494,22 @@ declare namespace CloudantV1 {
6243
6494
  /** The uncompressed size of database contents in bytes. */
6244
6495
  external?: number;
6245
6496
  }
6497
+ /** Number of partitioned indexes by type. */
6498
+ interface PartitionedIndexesDetailedInformation {
6499
+ /** Number of partitioned indexes of search type. */
6500
+ search?: number;
6501
+ /** Number of partitioned indexes of view type. */
6502
+ view?: number;
6503
+ }
6504
+ /** Information about database's partitioned indexes. */
6505
+ interface PartitionedIndexesInformation {
6506
+ /** Total number of partitioned indexes in the database. */
6507
+ count?: number;
6508
+ /** Number of partitioned indexes by type. */
6509
+ indexes?: PartitionedIndexesDetailedInformation;
6510
+ /** Maximum allowed number of partitioned indexes in the database. */
6511
+ limit?: number;
6512
+ }
6246
6513
  /** Request parameters to use during target database creation. */
6247
6514
  interface ReplicationCreateTargetParameters {
6248
6515
  /** Schema for the number of replicas of a database in a cluster. */
@@ -6345,18 +6612,17 @@ declare namespace CloudantV1 {
6345
6612
  * Operators are identified by the use of a dollar sign `$` prefix in the name field.
6346
6613
  *
6347
6614
  * There are two core types of operators in the selector syntax:
6348
- * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. In
6349
- * addition to the common boolean operators (`$and`, `$or`, `$not`, `$nor`) there are three combination operators:
6350
- * `$all`, `$elemMatch`, and `$allMatch`. A combination operator takes a single argument. The argument is either
6351
- * another selector, or an array of selectors.
6615
+ * * Combination operators: applied at the topmost level of selection. They are used to combine selectors. A
6616
+ * combination operator takes a single argument. The argument is either another selector, or an array of selectors.
6352
6617
  * * Condition operators: are specific to a field, and are used to evaluate the value stored in that field. For
6353
6618
  * instance, the basic `$eq` operator matches when the specified field contains a value that is equal to the
6354
- * supplied argument.
6619
+ * supplied argument. See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a
6620
+ * list of all available combination and conditional operators.
6355
6621
  * * Only equality operators such as `$eq`, `$gt`, `$gte`, `$lt`, and `$lte` (but not `$ne`) can be used as the
6356
6622
  * basis of a query. You should include at least one of these in a selector.
6357
6623
  *
6358
6624
  * For further reference see
6359
- * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-query#selector-syntax).
6625
+ * [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
6360
6626
  */
6361
6627
  selector?: JsonObject;
6362
6628
  /** Start the replication at a specific sequence value. */
@@ -6365,14 +6631,20 @@ declare namespace CloudantV1 {
6365
6631
  socket_options?: string;
6366
6632
  /** Schema for a replication source or target database. */
6367
6633
  source: ReplicationDatabase;
6368
- /** Address of a (http or socks5 protocol) proxy server through which replication with the source database
6369
- * should occur.
6634
+ /** Deprecated: This setting is forbidden in IBM Cloudant replication documents. This setting may be used with
6635
+ * alternative replication mediators.
6636
+ *
6637
+ * Address of a (http or socks5 protocol) proxy server through which replication with the source database should
6638
+ * occur.
6370
6639
  */
6371
6640
  source_proxy?: string;
6372
6641
  /** Schema for a replication source or target database. */
6373
6642
  target: ReplicationDatabase;
6374
- /** Address of a (http or socks5 protocol) proxy server through which replication with the target database
6375
- * should occur.
6643
+ /** Deprecated: This setting is forbidden in IBM Cloudant replication documents. This setting may be used with
6644
+ * alternative replication mediators.
6645
+ *
6646
+ * Address of a (http or socks5 protocol) proxy server through which replication with the target database should
6647
+ * occur.
6376
6648
  */
6377
6649
  target_proxy?: string;
6378
6650
  /** Specify whether to use _bulk_get for fetching documents from the source. If unset, the server configured
@@ -6445,8 +6717,9 @@ declare namespace CloudantV1 {
6445
6717
  node?: string;
6446
6718
  /** Replication source. */
6447
6719
  source?: string;
6448
- /** Address of the (http or socks5 protocol) proxy server through which replication with the source database
6449
- * occurs.
6720
+ /** Deprecated: Forbidden in IBM Cloudant mediated replications.
6721
+ *
6722
+ * Address of the (http or socks5 protocol) proxy server through which replication with the source database occurs.
6450
6723
  */
6451
6724
  source_proxy?: string;
6452
6725
  /** Timestamp of when the replication was started. */
@@ -6455,8 +6728,9 @@ declare namespace CloudantV1 {
6455
6728
  state: string;
6456
6729
  /** Replication target. */
6457
6730
  target?: string;
6458
- /** Address of the (http or socks5 protocol) proxy server through which replication with the target database
6459
- * occurs.
6731
+ /** Deprecated: Forbidden in IBM Cloudant mediated replications.
6732
+ *
6733
+ * Address of the (http or socks5 protocol) proxy server through which replication with the target database occurs.
6460
6734
  */
6461
6735
  target_proxy?: string;
6462
6736
  }