@ibm-cloud/cloudant 0.12.18 → 0.12.20

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  [![Release](https://img.shields.io/github/v/release/IBM/cloudant-node-sdk?include_prereleases&sort=semver)](https://github.com/IBM/cloudant-node-sdk/releases/latest)
3
3
  [![Docs](https://img.shields.io/static/v1?label=TypeDoc&message=latest&color=blue)](https://ibm.github.io/cloudant-node-sdk/)
4
4
 
5
- # IBM Cloudant Node.js SDK Version 0.12.18
5
+ # IBM Cloudant Node.js SDK Version 0.12.20
6
6
 
7
7
  IBM Cloudant Node.js SDK is a client library that interacts with the
8
8
  [IBM Cloudant APIs](https://cloud.ibm.com/apidocs/cloudant?code=node).
@@ -68,8 +68,8 @@ project:
68
68
  - Handles the authentication.
69
69
  - Familiar user experience with IBM Cloud SDKs.
70
70
  - Flexibility to use either built-in models or byte-based requests and responses for documents.
71
- - Built-in [Changes feed follower](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Changes_Follower.md)
72
- - Built-in [Pagination](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Pagination.md)
71
+ - Built-in [Changes feed follower](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Changes_Follower.md)
72
+ - Built-in [Pagination](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Pagination.md)
73
73
  - `Promise` based design with asynchronous HTTP requests.
74
74
  - Use either as native JavaScript or take advantage of TypeScript models.
75
75
  - Transparently compresses request and response bodies.
@@ -81,7 +81,7 @@ project:
81
81
  service instance or a
82
82
  [CouchDB](https://docs.couchdb.org/en/latest/install/index.html)
83
83
  server.
84
- - Node.js 20, 22 or 24.
84
+ - Node.js 22 or 24.
85
85
 
86
86
  ## Installation
87
87
 
@@ -99,16 +99,16 @@ account.
99
99
 
100
100
  There are several ways to **set** these authentication properties:
101
101
 
102
- 1. As [environment variables](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Authentication.md#authentication-with-environment-variables)
103
- 2. The [programmatic approach](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Authentication.md#programmatic-authentication)
104
- 3. With an [external credentials file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Authentication.md#authentication-with-external-configuration)
102
+ 1. As [environment variables](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Authentication.md#authentication-with-environment-variables)
103
+ 2. The [programmatic approach](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Authentication.md#programmatic-authentication)
104
+ 3. With an [external credentials file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Authentication.md#authentication-with-external-configuration)
105
105
 
106
106
  The following section describes the different authentication types and provides environment variable examples.
107
107
  Examples for other configuration methods are available by following the provided links.
108
108
 
109
109
  ### Authentication
110
110
 
111
- Consult the [authentication document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Authentication.md)
111
+ Consult the [authentication document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Authentication.md)
112
112
  for comprehensive details of all the available authentication methods and how to configure them with environment settings
113
113
  or programmatically.
114
114
 
@@ -154,10 +154,10 @@ service.getAllDbs().then(response => {
154
154
  });
155
155
  ```
156
156
 
157
- [More tutorial examples](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Examples.md) for creating a database
157
+ [More tutorial examples](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Examples.md) for creating a database
158
158
  and document create, read, update and delete operations.
159
159
 
160
- For a complete list of code examples, see the [examples directory](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/examples#examples-for-node).
160
+ For a complete list of code examples, see the [examples directory](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/examples#examples-for-node).
161
161
 
162
162
  ### Error handling
163
163
 
@@ -181,7 +181,7 @@ Response byte stream is supported in functions with the suffix of `AsStream`.
181
181
  The returned byte stream allows the response body to be consumed
182
182
  without triggering JSON unmarshalling that is typically performed by the SDK.
183
183
 
184
- The [update document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs/Examples.md#3-update-your-previously-created-document) section
184
+ The [update document](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs/Examples.md#3-update-your-previously-created-document) section
185
185
  contains examples for both request and response byte stream cases.
186
186
 
187
187
  The API reference contains further examples of using byte streams.
@@ -197,7 +197,7 @@ Expand them to see examples of:
197
197
 
198
198
  ### Further resources
199
199
 
200
- - [Cloudant Node.js SDK feature docs](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/docs)
200
+ - [Cloudant Node.js SDK feature docs](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/docs)
201
201
  - [Cloudant API docs](https://cloud.ibm.com/apidocs/cloudant?code=node):
202
202
  API reference including usage examples for Cloudant Node.js SDK API.
203
203
  - [TypeDoc](https://ibm.github.io/cloudant-node-sdk/):
@@ -282,7 +282,7 @@ If you encounter an issue with the project, you are welcome to submit a
282
282
 
283
283
  Before you submit a bug report, search for
284
284
  [similar issues](https://github.com/IBM/cloudant-node-sdk/issues?q=is%3Aissue) and review the
285
- [KNOWN_ISSUES file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/KNOWN_ISSUES.md) to verify that your issue hasn't been reported yet.
285
+ [KNOWN_ISSUES file](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/KNOWN_ISSUES.md) to verify that your issue hasn't been reported yet.
286
286
 
287
287
  Please consult the [security policy](https://github.com/IBM/cloudant-node-sdk/security/policy) before opening security related issues.
288
288
 
@@ -312,8 +312,8 @@ Find more open source projects on the [IBM GitHub](http://ibm.github.io/) page.
312
312
 
313
313
  ## Contributing
314
314
 
315
- For more information, see [CONTRIBUTING](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/CONTRIBUTING.md).
315
+ For more information, see [CONTRIBUTING](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/CONTRIBUTING.md).
316
316
 
317
317
  ## License
318
318
 
319
- This SDK is released under the Apache 2.0 license. To read the full text of the license, see [LICENSE](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.18/LICENSE).
319
+ This SDK is released under the Apache 2.0 license. To read the full text of the license, see [LICENSE](https://github.com/IBM/cloudant-node-sdk/tree/v0.12.20/LICENSE).
package/cloudant/v1.d.ts CHANGED
@@ -19,7 +19,7 @@ import { CloudantBaseService } from '../lib/cloudantBaseService';
19
19
  /**
20
20
  * NoSQL database based on Apache CouchDB
21
21
  *
22
- * See: https://cloud.ibm.com/docs/services/Cloudant/
22
+ * See: https://cloud.ibm.com/docs/Cloudant
23
23
  */
24
24
  declare class CloudantV1 extends CloudantBaseService {
25
25
  static _logger: SDKLogger;
@@ -199,7 +199,7 @@ declare class CloudantV1 extends CloudantBaseService {
199
199
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
200
200
  * of documents that will need to be scanned.
201
201
  *
202
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
202
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
203
203
  * combination and conditional operators.
204
204
  *
205
205
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -326,7 +326,7 @@ declare class CloudantV1 extends CloudantBaseService {
326
326
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
327
327
  * of documents that will need to be scanned.
328
328
  *
329
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
329
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
330
330
  * combination and conditional operators.
331
331
  *
332
332
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -1367,6 +1367,7 @@ declare class CloudantV1 extends CloudantBaseService {
1367
1367
  * Lucene Query Parser Syntax. Search indexes are defined by an index function, similar to a map function in MapReduce
1368
1368
  * views. The index function decides what data to index and store in the index.
1369
1369
  *
1370
+ *
1370
1371
  * Before using read the
1371
1372
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
1372
1373
  * the limitations and appropriate use cases.
@@ -1411,6 +1412,7 @@ declare class CloudantV1 extends CloudantBaseService {
1411
1412
  * Lucene Query Parser Syntax. Search indexes are defined by an index function, similar to a map function in MapReduce
1412
1413
  * views. The index function decides what data to index and store in the index.
1413
1414
  *
1415
+ *
1414
1416
  * Before using read the
1415
1417
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
1416
1418
  * the limitations and appropriate use cases.
@@ -1456,6 +1458,7 @@ declare class CloudantV1 extends CloudantBaseService {
1456
1458
  * results. The remainder of the POST view functionality is identical to the `GET /{db}/_design/{ddoc}/_view/{view}`
1457
1459
  * API.
1458
1460
  *
1461
+ *
1459
1462
  * Before using read the
1460
1463
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
1461
1464
  * the limitations and appropriate use cases.
@@ -1524,6 +1527,7 @@ declare class CloudantV1 extends CloudantBaseService {
1524
1527
  * results. The remainder of the POST view functionality is identical to the `GET /{db}/_design/{ddoc}/_view/{view}`
1525
1528
  * API.
1526
1529
  *
1530
+ *
1527
1531
  * Before using read the
1528
1532
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
1529
1533
  * the limitations and appropriate use cases.
@@ -1622,7 +1626,7 @@ declare class CloudantV1 extends CloudantBaseService {
1622
1626
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
1623
1627
  * of documents that will need to be scanned.
1624
1628
  *
1625
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
1629
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
1626
1630
  * combination and conditional operators.
1627
1631
  *
1628
1632
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -1716,7 +1720,7 @@ declare class CloudantV1 extends CloudantBaseService {
1716
1720
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
1717
1721
  * of documents that will need to be scanned.
1718
1722
  *
1719
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
1723
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
1720
1724
  * combination and conditional operators.
1721
1725
  *
1722
1726
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -1810,7 +1814,7 @@ declare class CloudantV1 extends CloudantBaseService {
1810
1814
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
1811
1815
  * of documents that will need to be scanned.
1812
1816
  *
1813
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
1817
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
1814
1818
  * combination and conditional operators.
1815
1819
  *
1816
1820
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -1893,7 +1897,7 @@ declare class CloudantV1 extends CloudantBaseService {
1893
1897
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
1894
1898
  * of documents that will need to be scanned.
1895
1899
  *
1896
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
1900
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
1897
1901
  * combination and conditional operators.
1898
1902
  *
1899
1903
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -1986,7 +1990,7 @@ declare class CloudantV1 extends CloudantBaseService {
1986
1990
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
1987
1991
  * of documents that will need to be scanned.
1988
1992
  *
1989
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
1993
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
1990
1994
  * combination and conditional operators.
1991
1995
  *
1992
1996
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -2079,7 +2083,7 @@ declare class CloudantV1 extends CloudantBaseService {
2079
2083
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
2080
2084
  * of documents that will need to be scanned.
2081
2085
  *
2082
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
2086
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
2083
2087
  * combination and conditional operators.
2084
2088
  *
2085
2089
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -2574,7 +2578,7 @@ declare class CloudantV1 extends CloudantBaseService {
2574
2578
  *
2575
2579
  * @param {Object} params - The parameters to send to the service.
2576
2580
  * @param {string} params.db - Path parameter to specify the database name.
2577
- * @param {JsonObject} params.cloudant - Database permissions for Cloudant users and/or API keys.
2581
+ * @param {JsonObject} params.cloudant - Database permissions for Cloudant users, API keys or both.
2578
2582
  * @param {SecurityObject} [params.admins] - Schema for names and roles to map to a database permission.
2579
2583
  * @param {boolean} [params.couchdbAuthOnly] - Manage permissions using the `_users` database only.
2580
2584
  * @param {SecurityObject} [params.members] - Schema for names and roles to map to a database permission.
@@ -2611,7 +2615,7 @@ declare class CloudantV1 extends CloudantBaseService {
2611
2615
  * @param {Object} params - The parameters to send to the service.
2612
2616
  * @param {string} params.db - Path parameter to specify the database name.
2613
2617
  * @param {SecurityObject} [params.admins] - Schema for names and roles to map to a database permission.
2614
- * @param {JsonObject} [params.cloudant] - Database permissions for Cloudant users and/or API keys.
2618
+ * @param {JsonObject} [params.cloudant] - Database permissions for Cloudant users, API keys or both.
2615
2619
  * @param {boolean} [params.couchdbAuthOnly] - Manage permissions using the `_users` database only.
2616
2620
  * @param {SecurityObject} [params.members] - Schema for names and roles to map to a database permission.
2617
2621
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
@@ -3085,8 +3089,8 @@ declare namespace CloudantV1 {
3085
3089
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
3086
3090
  * the number of documents that will need to be scanned.
3087
3091
  *
3088
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
3089
- * combination and conditional operators.
3092
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
3093
+ * available combination and conditional operators.
3090
3094
  *
3091
3095
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
3092
3096
  */
@@ -3237,8 +3241,8 @@ declare namespace CloudantV1 {
3237
3241
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
3238
3242
  * the number of documents that will need to be scanned.
3239
3243
  *
3240
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
3241
- * combination and conditional operators.
3244
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
3245
+ * available combination and conditional operators.
3242
3246
  *
3243
3247
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
3244
3248
  */
@@ -4691,8 +4695,8 @@ declare namespace CloudantV1 {
4691
4695
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
4692
4696
  * the number of documents that will need to be scanned.
4693
4697
  *
4694
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
4695
- * combination and conditional operators.
4698
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
4699
+ * available combination and conditional operators.
4696
4700
  *
4697
4701
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4698
4702
  */
@@ -4797,8 +4801,8 @@ declare namespace CloudantV1 {
4797
4801
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
4798
4802
  * the number of documents that will need to be scanned.
4799
4803
  *
4800
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
4801
- * combination and conditional operators.
4804
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
4805
+ * available combination and conditional operators.
4802
4806
  *
4803
4807
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4804
4808
  */
@@ -4903,8 +4907,8 @@ declare namespace CloudantV1 {
4903
4907
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
4904
4908
  * the number of documents that will need to be scanned.
4905
4909
  *
4906
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
4907
- * combination and conditional operators.
4910
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
4911
+ * available combination and conditional operators.
4908
4912
  *
4909
4913
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
4910
4914
  */
@@ -5007,8 +5011,8 @@ declare namespace CloudantV1 {
5007
5011
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
5008
5012
  * the number of documents that will need to be scanned.
5009
5013
  *
5010
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
5011
- * combination and conditional operators.
5014
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
5015
+ * available combination and conditional operators.
5012
5016
  *
5013
5017
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
5014
5018
  */
@@ -5117,8 +5121,8 @@ declare namespace CloudantV1 {
5117
5121
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
5118
5122
  * the number of documents that will need to be scanned.
5119
5123
  *
5120
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
5121
- * combination and conditional operators.
5124
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
5125
+ * available combination and conditional operators.
5122
5126
  *
5123
5127
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
5124
5128
  */
@@ -5227,8 +5231,8 @@ declare namespace CloudantV1 {
5227
5231
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
5228
5232
  * the number of documents that will need to be scanned.
5229
5233
  *
5230
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
5231
- * combination and conditional operators.
5234
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
5235
+ * available combination and conditional operators.
5232
5236
  *
5233
5237
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
5234
5238
  */
@@ -5781,7 +5785,7 @@ declare namespace CloudantV1 {
5781
5785
  export interface PutCloudantSecurityConfigurationParams extends DefaultParams {
5782
5786
  /** Path parameter to specify the database name. */
5783
5787
  db: string;
5784
- /** Database permissions for Cloudant users and/or API keys. */
5788
+ /** Database permissions for Cloudant users, API keys or both. */
5785
5789
  cloudant: JsonObject;
5786
5790
  /** Schema for names and roles to map to a database permission. */
5787
5791
  admins?: SecurityObject;
@@ -5792,7 +5796,7 @@ declare namespace CloudantV1 {
5792
5796
  }
5793
5797
  /** Constants for the `putCloudantSecurityConfiguration` operation. */
5794
5798
  export namespace PutCloudantSecurityConfigurationConstants {
5795
- /** Database permissions for Cloudant users and/or API keys. */
5799
+ /** Database permissions for Cloudant users, API keys or both. */
5796
5800
  enum Cloudant {
5797
5801
  READER = "_reader",
5798
5802
  WRITER = "_writer",
@@ -5815,7 +5819,7 @@ declare namespace CloudantV1 {
5815
5819
  db: string;
5816
5820
  /** Schema for names and roles to map to a database permission. */
5817
5821
  admins?: SecurityObject;
5818
- /** Database permissions for Cloudant users and/or API keys. */
5822
+ /** Database permissions for Cloudant users, API keys or both. */
5819
5823
  cloudant?: JsonObject;
5820
5824
  /** Manage permissions using the `_users` database only. */
5821
5825
  couchdbAuthOnly?: boolean;
@@ -5824,7 +5828,7 @@ declare namespace CloudantV1 {
5824
5828
  }
5825
5829
  /** Constants for the `putSecurity` operation. */
5826
5830
  export namespace PutSecurityConstants {
5827
- /** Database permissions for Cloudant users and/or API keys. */
5831
+ /** Database permissions for Cloudant users, API keys or both. */
5828
5832
  enum Cloudant {
5829
5833
  READER = "_reader",
5830
5834
  WRITER = "_writer",
@@ -7579,8 +7583,8 @@ declare namespace CloudantV1 {
7579
7583
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
7580
7584
  * the number of documents that will need to be scanned.
7581
7585
  *
7582
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
7583
- * combination and conditional operators.
7586
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
7587
+ * available combination and conditional operators.
7584
7588
  *
7585
7589
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
7586
7590
  */
@@ -7892,8 +7896,8 @@ declare namespace CloudantV1 {
7892
7896
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
7893
7897
  * the number of documents that will need to be scanned.
7894
7898
  *
7895
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
7896
- * combination and conditional operators.
7899
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
7900
+ * available combination and conditional operators.
7897
7901
  *
7898
7902
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
7899
7903
  */
@@ -8373,8 +8377,8 @@ declare namespace CloudantV1 {
8373
8377
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
8374
8378
  * the number of documents that will need to be scanned.
8375
8379
  *
8376
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
8377
- * combination and conditional operators.
8380
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
8381
+ * available combination and conditional operators.
8378
8382
  *
8379
8383
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
8380
8384
  */
@@ -8969,7 +8973,7 @@ declare namespace CloudantV1 {
8969
8973
  export class Security {
8970
8974
  /** Schema for names and roles to map to a database permission. */
8971
8975
  admins?: SecurityObject;
8972
- /** Database permissions for Cloudant users and/or API keys. */
8976
+ /** Database permissions for Cloudant users, API keys or both. */
8973
8977
  cloudant?: JsonObject;
8974
8978
  /** Manage permissions using the `_users` database only. */
8975
8979
  couchdbAuthOnly?: boolean;
package/cloudant/v1.js CHANGED
@@ -28,7 +28,7 @@ const getAuthenticatorFromEnvCloudantExtension_1 = require("../lib/getAuthentica
28
28
  /**
29
29
  * NoSQL database based on Apache CouchDB
30
30
  *
31
- * See: https://cloud.ibm.com/docs/services/Cloudant/
31
+ * See: https://cloud.ibm.com/docs/Cloudant
32
32
  */
33
33
  class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
34
34
  static _logger = (0, ibm_cloud_sdk_core_1.getNewLogger)('CloudantV1');
@@ -372,7 +372,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
372
372
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
373
373
  * of documents that will need to be scanned.
374
374
  *
375
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
375
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
376
376
  * combination and conditional operators.
377
377
  *
378
378
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -552,7 +552,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
552
552
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
553
553
  * of documents that will need to be scanned.
554
554
  *
555
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
555
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
556
556
  * combination and conditional operators.
557
557
  *
558
558
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -3066,6 +3066,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3066
3066
  * Lucene Query Parser Syntax. Search indexes are defined by an index function, similar to a map function in MapReduce
3067
3067
  * views. The index function decides what data to index and store in the index.
3068
3068
  *
3069
+ *
3069
3070
  * Before using read the
3070
3071
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
3071
3072
  * the limitations and appropriate use cases.
@@ -3157,6 +3158,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3157
3158
  * Lucene Query Parser Syntax. Search indexes are defined by an index function, similar to a map function in MapReduce
3158
3159
  * views. The index function decides what data to index and store in the index.
3159
3160
  *
3161
+ *
3160
3162
  * Before using read the
3161
3163
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
3162
3164
  * the limitations and appropriate use cases.
@@ -3250,6 +3252,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3250
3252
  * results. The remainder of the POST view functionality is identical to the `GET /{db}/_design/{ddoc}/_view/{view}`
3251
3253
  * API.
3252
3254
  *
3255
+ *
3253
3256
  * Before using read the
3254
3257
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
3255
3258
  * the limitations and appropriate use cases.
@@ -3372,6 +3375,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3372
3375
  * results. The remainder of the POST view functionality is identical to the `GET /{db}/_design/{ddoc}/_view/{view}`
3373
3376
  * API.
3374
3377
  *
3378
+ *
3375
3379
  * Before using read the
3376
3380
  * [FAQs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-database-partitioning#partition-querying) to understand
3377
3381
  * the limitations and appropriate use cases.
@@ -3525,7 +3529,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3525
3529
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
3526
3530
  * of documents that will need to be scanned.
3527
3531
  *
3528
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
3532
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
3529
3533
  * combination and conditional operators.
3530
3534
  *
3531
3535
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -3664,7 +3668,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3664
3668
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
3665
3669
  * of documents that will need to be scanned.
3666
3670
  *
3667
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
3671
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
3668
3672
  * combination and conditional operators.
3669
3673
  *
3670
3674
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -3803,7 +3807,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3803
3807
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
3804
3808
  * of documents that will need to be scanned.
3805
3809
  *
3806
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
3810
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
3807
3811
  * combination and conditional operators.
3808
3812
  *
3809
3813
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -3932,7 +3936,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
3932
3936
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
3933
3937
  * of documents that will need to be scanned.
3934
3938
  *
3935
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
3939
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
3936
3940
  * combination and conditional operators.
3937
3941
  *
3938
3942
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -4070,7 +4074,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
4070
4074
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
4071
4075
  * of documents that will need to be scanned.
4072
4076
  *
4073
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
4077
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
4074
4078
  * combination and conditional operators.
4075
4079
  *
4076
4080
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -4208,7 +4212,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
4208
4212
  * use these operators in conjunction with equality operators or create and use a partial index to reduce the number
4209
4213
  * of documents that will need to be scanned.
4210
4214
  *
4211
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
4215
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all available
4212
4216
  * combination and conditional operators.
4213
4217
  *
4214
4218
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
@@ -5428,7 +5432,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
5428
5432
  *
5429
5433
  * @param {Object} params - The parameters to send to the service.
5430
5434
  * @param {string} params.db - Path parameter to specify the database name.
5431
- * @param {JsonObject} params.cloudant - Database permissions for Cloudant users and/or API keys.
5435
+ * @param {JsonObject} params.cloudant - Database permissions for Cloudant users, API keys or both.
5432
5436
  * @param {SecurityObject} [params.admins] - Schema for names and roles to map to a database permission.
5433
5437
  * @param {boolean} [params.couchdbAuthOnly] - Manage permissions using the `_users` database only.
5434
5438
  * @param {SecurityObject} [params.members] - Schema for names and roles to map to a database permission.
@@ -5529,7 +5533,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
5529
5533
  * @param {Object} params - The parameters to send to the service.
5530
5534
  * @param {string} params.db - Path parameter to specify the database name.
5531
5535
  * @param {SecurityObject} [params.admins] - Schema for names and roles to map to a database permission.
5532
- * @param {JsonObject} [params.cloudant] - Database permissions for Cloudant users and/or API keys.
5536
+ * @param {JsonObject} [params.cloudant] - Database permissions for Cloudant users, API keys or both.
5533
5537
  * @param {boolean} [params.couchdbAuthOnly] - Manage permissions using the `_users` database only.
5534
5538
  * @param {SecurityObject} [params.members] - Schema for names and roles to map to a database permission.
5535
5539
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
@@ -6980,7 +6984,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
6980
6984
  /** Constants for the `putCloudantSecurityConfiguration` operation. */
6981
6985
  let PutCloudantSecurityConfigurationConstants;
6982
6986
  (function (PutCloudantSecurityConfigurationConstants) {
6983
- /** Database permissions for Cloudant users and/or API keys. */
6987
+ /** Database permissions for Cloudant users, API keys or both. */
6984
6988
  let Cloudant;
6985
6989
  (function (Cloudant) {
6986
6990
  Cloudant["READER"] = "_reader";
@@ -6996,7 +7000,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
6996
7000
  /** Constants for the `putSecurity` operation. */
6997
7001
  let PutSecurityConstants;
6998
7002
  (function (PutSecurityConstants) {
6999
- /** Database permissions for Cloudant users and/or API keys. */
7003
+ /** Database permissions for Cloudant users, API keys or both. */
7000
7004
  let Cloudant;
7001
7005
  (function (Cloudant) {
7002
7006
  Cloudant["READER"] = "_reader";
@@ -10056,8 +10060,8 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
10056
10060
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
10057
10061
  * the number of documents that will need to be scanned.
10058
10062
  *
10059
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
10060
- * combination and conditional operators.
10063
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
10064
+ * available combination and conditional operators.
10061
10065
  *
10062
10066
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
10063
10067
  */
@@ -10671,8 +10675,8 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
10671
10675
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
10672
10676
  * the number of documents that will need to be scanned.
10673
10677
  *
10674
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
10675
- * combination and conditional operators.
10678
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
10679
+ * available combination and conditional operators.
10676
10680
  *
10677
10681
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
10678
10682
  */
@@ -11600,8 +11604,8 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
11600
11604
  * selectors use these operators in conjunction with equality operators or create and use a partial index to reduce
11601
11605
  * the number of documents that will need to be scanned.
11602
11606
  *
11603
- * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators)for a list of all available
11604
- * combination and conditional operators.
11607
+ * See [the Cloudant Docs](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-operators) for a list of all
11608
+ * available combination and conditional operators.
11605
11609
  *
11606
11610
  * For further reference see [selector syntax](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-selector-syntax).
11607
11611
  */
@@ -12970,7 +12974,7 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
12970
12974
  class Security {
12971
12975
  /** Schema for names and roles to map to a database permission. */
12972
12976
  admins;
12973
- /** Database permissions for Cloudant users and/or API keys. */
12977
+ /** Database permissions for Cloudant users, API keys or both. */
12974
12978
  cloudant;
12975
12979
  /** Manage permissions using the `_users` database only. */
12976
12980
  couchdbAuthOnly;