@ibm-cloud/cloudant 0.12.11 → 0.12.12
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 +14 -14
- package/cloudant/features/changesResultIterator.js.map +1 -1
- package/cloudant/features/pagination/basePageIterator.js.map +1 -1
- package/cloudant/v1.d.ts +366 -249
- package/cloudant/v1.js +197 -136
- package/cloudant/v1.js.map +1 -1
- package/package.json +7 -7
package/cloudant/v1.js
CHANGED
|
@@ -255,8 +255,8 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
255
255
|
* and might repeat changes. Polling modes for this method work like polling modes for the changes feed.
|
|
256
256
|
*
|
|
257
257
|
* @param {Object} [params] - The parameters to send to the service.
|
|
258
|
-
* @param {boolean} [params.descending] - Query parameter to specify whether to return
|
|
259
|
-
*
|
|
258
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return rows in descending by key
|
|
259
|
+
* order.
|
|
260
260
|
* @param {string} [params.feed] - Query parameter to specify the changes feed type.
|
|
261
261
|
* @param {number} [params.heartbeat] - Query parameter to specify the period in milliseconds after which an empty
|
|
262
262
|
* line is sent in the results. Off by default and only applicable for `continuous` and `eventsource` feeds. Overrides
|
|
@@ -378,13 +378,16 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
378
378
|
* @param {string} [params.lastEventId] - Header parameter to specify the ID of the last events received by the server
|
|
379
379
|
* on a previous connection. Overrides `since` query parameter.
|
|
380
380
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
381
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
382
|
+
* requesting documents in the response.
|
|
383
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
384
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
385
|
+
* in the response.
|
|
384
386
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
385
|
-
* in each returned document.
|
|
386
|
-
*
|
|
387
|
-
*
|
|
387
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
388
|
+
* requesting documents in the response.
|
|
389
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return changes in the descending order
|
|
390
|
+
* with most recent change first. The `since` parameter has no effect when using descending order.
|
|
388
391
|
* @param {string} [params.feed] - Query parameter to specify the changes feed type.
|
|
389
392
|
* @param {string} [params.filter] - Query parameter to specify a filter to emit only specific events from the changes
|
|
390
393
|
* stream.
|
|
@@ -555,13 +558,16 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
555
558
|
* @param {string} [params.lastEventId] - Header parameter to specify the ID of the last events received by the server
|
|
556
559
|
* on a previous connection. Overrides `since` query parameter.
|
|
557
560
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
562
|
+
* requesting documents in the response.
|
|
563
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
564
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
565
|
+
* in the response.
|
|
561
566
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
562
|
-
* in each returned document.
|
|
563
|
-
*
|
|
564
|
-
*
|
|
567
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
568
|
+
* requesting documents in the response.
|
|
569
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return changes in the descending order
|
|
570
|
+
* with most recent change first. The `since` parameter has no effect when using descending order.
|
|
565
571
|
* @param {string} [params.feed] - Query parameter to specify the changes feed type.
|
|
566
572
|
* @param {string} [params.filter] - Query parameter to specify a filter to emit only specific events from the changes
|
|
567
573
|
* stream.
|
|
@@ -723,8 +729,8 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
723
729
|
* Query to retrieve a list of database names from the instance.
|
|
724
730
|
*
|
|
725
731
|
* @param {Object} [params] - The parameters to send to the service.
|
|
726
|
-
* @param {boolean} [params.descending] - Query parameter to specify whether to return
|
|
727
|
-
*
|
|
732
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return rows in descending by key
|
|
733
|
+
* order.
|
|
728
734
|
* @param {string} [params.endKey] - Query parameter to specify to stop returning records when the specified key is
|
|
729
735
|
* reached. String representation of any JSON type that matches the key type emitted by the view function.
|
|
730
736
|
* @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
|
|
@@ -1069,17 +1075,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1069
1075
|
*
|
|
1070
1076
|
* @param {Object} params - The parameters to send to the service.
|
|
1071
1077
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1072
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1073
|
-
*
|
|
1074
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1078
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1079
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1080
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1081
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1075
1082
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1076
|
-
* each returned document.
|
|
1083
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1077
1084
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1078
1085
|
* order.
|
|
1079
1086
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1080
1087
|
* in the response.
|
|
1081
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1082
|
-
*
|
|
1088
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1089
|
+
* result.
|
|
1083
1090
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1084
1091
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1085
1092
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1147,17 +1154,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1147
1154
|
*
|
|
1148
1155
|
* @param {Object} params - The parameters to send to the service.
|
|
1149
1156
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1150
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1151
|
-
*
|
|
1152
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1157
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1158
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1159
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1160
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1153
1161
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1154
|
-
* each returned document.
|
|
1162
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1155
1163
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1156
1164
|
* order.
|
|
1157
1165
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1158
1166
|
* in the response.
|
|
1159
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1160
|
-
*
|
|
1167
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1168
|
+
* result.
|
|
1161
1169
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1162
1170
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1163
1171
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1368,10 +1376,12 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1368
1376
|
* @param {Object} params - The parameters to send to the service.
|
|
1369
1377
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1370
1378
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
1371
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1372
|
-
* response.
|
|
1379
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1380
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1381
|
+
* in the response.
|
|
1373
1382
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1374
|
-
*
|
|
1383
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1384
|
+
* requesting documents in the response.
|
|
1375
1385
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
1376
1386
|
* matter what rev was requested.
|
|
1377
1387
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -1428,10 +1438,12 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1428
1438
|
* @param {Object} params - The parameters to send to the service.
|
|
1429
1439
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1430
1440
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
1431
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1432
|
-
* response.
|
|
1441
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1442
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1443
|
+
* in the response.
|
|
1433
1444
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1434
|
-
*
|
|
1445
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1446
|
+
* requesting documents in the response.
|
|
1435
1447
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
1436
1448
|
* matter what rev was requested.
|
|
1437
1449
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -1489,10 +1501,12 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1489
1501
|
* @param {Object} params - The parameters to send to the service.
|
|
1490
1502
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1491
1503
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
1492
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1493
|
-
* response.
|
|
1504
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1505
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1506
|
+
* in the response.
|
|
1494
1507
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1495
|
-
*
|
|
1508
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1509
|
+
* requesting documents in the response.
|
|
1496
1510
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
1497
1511
|
* matter what rev was requested.
|
|
1498
1512
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -1550,10 +1564,12 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1550
1564
|
* @param {Object} params - The parameters to send to the service.
|
|
1551
1565
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1552
1566
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
1553
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1554
|
-
* response.
|
|
1567
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1568
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1569
|
+
* in the response.
|
|
1555
1570
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1556
|
-
*
|
|
1571
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1572
|
+
* requesting documents in the response.
|
|
1557
1573
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
1558
1574
|
* matter what rev was requested.
|
|
1559
1575
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -1666,12 +1682,15 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1666
1682
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1667
1683
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
1668
1684
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
1669
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1670
|
-
* response.
|
|
1685
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1686
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1687
|
+
* in the response.
|
|
1671
1688
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1672
|
-
*
|
|
1689
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1690
|
+
* requesting documents in the response.
|
|
1673
1691
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
1674
|
-
* in each returned document.
|
|
1692
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
1693
|
+
* requesting documents in the response.
|
|
1675
1694
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
1676
1695
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
1677
1696
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -1742,12 +1761,15 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1742
1761
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1743
1762
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
1744
1763
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
1745
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1746
|
-
* response.
|
|
1764
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1765
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1766
|
+
* in the response.
|
|
1747
1767
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1748
|
-
*
|
|
1768
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1769
|
+
* requesting documents in the response.
|
|
1749
1770
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
1750
|
-
* in each returned document.
|
|
1771
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
1772
|
+
* requesting documents in the response.
|
|
1751
1773
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
1752
1774
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
1753
1775
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -1819,12 +1841,15 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1819
1841
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1820
1842
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
1821
1843
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
1822
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1823
|
-
* response.
|
|
1844
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1845
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1846
|
+
* in the response.
|
|
1824
1847
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1825
|
-
*
|
|
1848
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1849
|
+
* requesting documents in the response.
|
|
1826
1850
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
1827
|
-
* in each returned document.
|
|
1851
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
1852
|
+
* requesting documents in the response.
|
|
1828
1853
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
1829
1854
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
1830
1855
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -1896,12 +1921,15 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
1896
1921
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1897
1922
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
1898
1923
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
1899
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
1900
|
-
* response.
|
|
1924
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
1925
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
1926
|
+
* in the response.
|
|
1901
1927
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
1902
|
-
*
|
|
1928
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
1929
|
+
* requesting documents in the response.
|
|
1903
1930
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
1904
|
-
* in each returned document.
|
|
1931
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
1932
|
+
* requesting documents in the response.
|
|
1905
1933
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
1906
1934
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
1907
1935
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -2145,12 +2173,15 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
2145
2173
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
2146
2174
|
* design document ID excluding the `_design/` prefix.
|
|
2147
2175
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
2148
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
2149
|
-
* response.
|
|
2176
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
2177
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
2178
|
+
* in the response.
|
|
2150
2179
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
2151
|
-
*
|
|
2180
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
2181
|
+
* requesting documents in the response.
|
|
2152
2182
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
2153
|
-
* in each returned document.
|
|
2183
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
2184
|
+
* requesting documents in the response.
|
|
2154
2185
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
2155
2186
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
2156
2187
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -2327,17 +2358,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
2327
2358
|
*
|
|
2328
2359
|
* @param {Object} params - The parameters to send to the service.
|
|
2329
2360
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
2330
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
2331
|
-
*
|
|
2332
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
2361
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
2362
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
2363
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
2364
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
2333
2365
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
2334
|
-
* each returned document.
|
|
2366
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
2335
2367
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
2336
2368
|
* order.
|
|
2337
2369
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
2338
2370
|
* in the response.
|
|
2339
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
2340
|
-
*
|
|
2371
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
2372
|
+
* result.
|
|
2341
2373
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
2342
2374
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
2343
2375
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -2460,17 +2492,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
2460
2492
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
2461
2493
|
* design document ID excluding the `_design/` prefix.
|
|
2462
2494
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
2463
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
2464
|
-
*
|
|
2465
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
2495
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
2496
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
2497
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
2498
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
2466
2499
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
2467
|
-
* each returned document.
|
|
2500
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
2468
2501
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
2469
2502
|
* order.
|
|
2470
2503
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
2471
2504
|
* in the response.
|
|
2472
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
2473
|
-
*
|
|
2505
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
2506
|
+
* result.
|
|
2474
2507
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
2475
2508
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
2476
2509
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -2583,17 +2616,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
2583
2616
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
2584
2617
|
* design document ID excluding the `_design/` prefix.
|
|
2585
2618
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
2586
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
2587
|
-
*
|
|
2588
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
2619
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
2620
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
2621
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
2622
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
2589
2623
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
2590
|
-
* each returned document.
|
|
2624
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
2591
2625
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
2592
2626
|
* order.
|
|
2593
2627
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
2594
2628
|
* in the response.
|
|
2595
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
2596
|
-
*
|
|
2629
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
2630
|
+
* result.
|
|
2597
2631
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
2598
2632
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
2599
2633
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -2854,17 +2888,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
2854
2888
|
* @param {Object} params - The parameters to send to the service.
|
|
2855
2889
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
2856
2890
|
* @param {string} params.partitionKey - Path parameter to specify the database partition key.
|
|
2857
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
2858
|
-
*
|
|
2859
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
2891
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
2892
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
2893
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
2894
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
2860
2895
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
2861
|
-
* each returned document.
|
|
2896
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
2862
2897
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
2863
2898
|
* order.
|
|
2864
2899
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
2865
2900
|
* in the response.
|
|
2866
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
2867
|
-
*
|
|
2901
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
2902
|
+
* result.
|
|
2868
2903
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
2869
2904
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
2870
2905
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -2934,17 +2969,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
2934
2969
|
* @param {Object} params - The parameters to send to the service.
|
|
2935
2970
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
2936
2971
|
* @param {string} params.partitionKey - Path parameter to specify the database partition key.
|
|
2937
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
2938
|
-
*
|
|
2939
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
2972
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
2973
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
2974
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
2975
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
2940
2976
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
2941
|
-
* each returned document.
|
|
2977
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
2942
2978
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
2943
2979
|
* order.
|
|
2944
2980
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
2945
2981
|
* in the response.
|
|
2946
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
2947
|
-
*
|
|
2982
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
2983
|
+
* result.
|
|
2948
2984
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
2949
2985
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
2950
2986
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -3205,17 +3241,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
3205
3241
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
3206
3242
|
* design document ID excluding the `_design/` prefix.
|
|
3207
3243
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
3208
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
3209
|
-
*
|
|
3210
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
3244
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
3245
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
3246
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
3247
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
3211
3248
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
3212
|
-
* each returned document.
|
|
3249
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
3213
3250
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
3214
3251
|
* order.
|
|
3215
3252
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
3216
3253
|
* in the response.
|
|
3217
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
3218
|
-
*
|
|
3254
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
3255
|
+
* result.
|
|
3219
3256
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
3220
3257
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
3221
3258
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -3326,17 +3363,18 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
3326
3363
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
3327
3364
|
* design document ID excluding the `_design/` prefix.
|
|
3328
3365
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
3329
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
3330
|
-
*
|
|
3331
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
3366
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
3367
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
3368
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
3369
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
3332
3370
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
3333
|
-
* each returned document.
|
|
3371
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
3334
3372
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
3335
3373
|
* order.
|
|
3336
3374
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
3337
3375
|
* in the response.
|
|
3338
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
3339
|
-
*
|
|
3376
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
3377
|
+
* result.
|
|
3340
3378
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
3341
3379
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
3342
3380
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -4979,12 +5017,15 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
4979
5017
|
* @param {string} params.docId - Path parameter to specify the ID of the stored replication configuration in the
|
|
4980
5018
|
* `_replicator` database.
|
|
4981
5019
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
4982
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
4983
|
-
* response.
|
|
5020
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
5021
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
5022
|
+
* in the response.
|
|
4984
5023
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
4985
|
-
*
|
|
5024
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
5025
|
+
* requesting documents in the response.
|
|
4986
5026
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
4987
|
-
* in each returned document.
|
|
5027
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
5028
|
+
* requesting documents in the response.
|
|
4988
5029
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
4989
5030
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
4990
5031
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -5934,10 +5975,12 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
5934
5975
|
* @param {string} [params.accept] - The type of the response: application/json, multipart/mixed, multipart/related,
|
|
5935
5976
|
* or application/octet-stream.
|
|
5936
5977
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
5937
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
5938
|
-
* response.
|
|
5978
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
5979
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
5980
|
+
* in the response.
|
|
5939
5981
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
5940
|
-
*
|
|
5982
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
5983
|
+
* requesting documents in the response.
|
|
5941
5984
|
* @param {boolean} [params.localSeq] - Query parameter to specify whether to include the last update sequence for the
|
|
5942
5985
|
* document.
|
|
5943
5986
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
@@ -7417,21 +7460,23 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
7417
7460
|
* Schema for an all documents query operation.
|
|
7418
7461
|
*/
|
|
7419
7462
|
class AllDocsQuery {
|
|
7420
|
-
/** Parameter to specify whether to include the encoding information
|
|
7421
|
-
*
|
|
7463
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
7464
|
+
* applies when requesting documents in the response.
|
|
7422
7465
|
*/
|
|
7423
7466
|
attEncodingInfo;
|
|
7424
|
-
/** Parameter to specify whether to include
|
|
7467
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
7468
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
7469
|
+
*/
|
|
7425
7470
|
attachments;
|
|
7426
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
7427
|
-
*
|
|
7471
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
7472
|
+
* applies when requesting documents in the response.
|
|
7428
7473
|
*/
|
|
7429
7474
|
conflicts;
|
|
7430
7475
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
7431
7476
|
descending;
|
|
7432
7477
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
7433
7478
|
includeDocs;
|
|
7434
|
-
/** Parameter to specify whether the specified end key
|
|
7479
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
7435
7480
|
inclusiveEnd;
|
|
7436
7481
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
7437
7482
|
limit;
|
|
@@ -7827,32 +7872,36 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
7827
7872
|
class Attachment {
|
|
7828
7873
|
/** Attachment MIME type. */
|
|
7829
7874
|
contentType;
|
|
7830
|
-
/** Base64-encoded content. Available
|
|
7831
|
-
*
|
|
7832
|
-
* `
|
|
7875
|
+
/** Base64-encoded content. Available when requested with `attachments=true` or `atts_since`. When retrieving
|
|
7876
|
+
* attachments for a single document this field is only avialable when accepting an application/json response. For
|
|
7877
|
+
* multipart responses each attachment is instead included in a separate part of the response (see `follows`).
|
|
7878
|
+
*
|
|
7879
|
+
* Note that SDK deserialization of documents with included attachments automatically decodes the Base64 encoded
|
|
7880
|
+
* attachment content string to bytes.
|
|
7833
7881
|
*/
|
|
7834
7882
|
data;
|
|
7835
|
-
/** Content hash digest. It starts with prefix
|
|
7836
|
-
* Base64-encoded hash digest.
|
|
7883
|
+
/** Content hash digest. It starts with prefix declaring the hash type, `md5-` for example, and continues with
|
|
7884
|
+
* the Base64-encoded hash digest.
|
|
7837
7885
|
*/
|
|
7838
7886
|
digest;
|
|
7839
|
-
/** Compressed attachment size in bytes. Available
|
|
7840
|
-
*
|
|
7841
|
-
*
|
|
7887
|
+
/** Compressed attachment size in bytes. Available for compressed attachments when requested with
|
|
7888
|
+
* `att_encoding_info`. The database compresses attachments if the content_type is in the list of compressible
|
|
7889
|
+
* types when added.
|
|
7842
7890
|
*/
|
|
7843
7891
|
encodedLength;
|
|
7844
|
-
/** Compression codec. Available
|
|
7845
|
-
*
|
|
7846
|
-
* `include_docs` must also be `true`.
|
|
7892
|
+
/** Compression codec. Available for compressed attachments when requested with `att_encoding_info`. The
|
|
7893
|
+
* database compresses attachments if the content_type is in the list of compressible types when added.
|
|
7847
7894
|
*/
|
|
7848
7895
|
encoding;
|
|
7849
7896
|
/** True if the attachment follows in a multipart request or response. */
|
|
7850
7897
|
follows;
|
|
7851
7898
|
/** Real attachment size in bytes. Not available if inline attachment content requested. */
|
|
7852
7899
|
length;
|
|
7853
|
-
/** Revision number
|
|
7900
|
+
/** Revision number at attachment addition. */
|
|
7854
7901
|
revpos;
|
|
7855
|
-
/** Has `true` value if object
|
|
7902
|
+
/** Has `true` value if object has stub attachment metadata, but not attachment content. Otherwise omitted in
|
|
7903
|
+
* response.
|
|
7904
|
+
*/
|
|
7856
7905
|
stub;
|
|
7857
7906
|
static serialize(obj) {
|
|
7858
7907
|
if (obj === undefined || obj === null || typeof obj === 'string') {
|
|
@@ -8398,7 +8447,10 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
8398
8447
|
class ContentInformationSizes {
|
|
8399
8448
|
/** The active size of the content, in bytes. */
|
|
8400
8449
|
active;
|
|
8401
|
-
/** The total uncompressed size of the content, in bytes.
|
|
8450
|
+
/** The total uncompressed size of the content, in bytes.
|
|
8451
|
+
*
|
|
8452
|
+
* This is the value used for IBM Cloudant storage billing.
|
|
8453
|
+
*/
|
|
8402
8454
|
external;
|
|
8403
8455
|
/** The total size of the content as stored on disk, in bytes. */
|
|
8404
8456
|
file;
|
|
@@ -9279,7 +9331,14 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
9279
9331
|
* Schema for design document options.
|
|
9280
9332
|
*/
|
|
9281
9333
|
class DesignDocumentOptions {
|
|
9282
|
-
/** Whether this design document describes partitioned or global indexes.
|
|
9334
|
+
/** Whether this design document describes partitioned or global indexes. Set this option to `false` for a
|
|
9335
|
+
* design document that describes global indexes in a partitioned database. A design document describes either
|
|
9336
|
+
* global or partitioned indexes, but not both. By default, for a partitioned database this option is `true` and
|
|
9337
|
+
* the design document describes partitioned indexes for queries on a single partition at a time. When set to
|
|
9338
|
+
* `false` this option allows creating global indexes in this design document for queries spanning many partitions.
|
|
9339
|
+
* For non-partitioned databases, the default is `false` and design documents default to global. Only partitioned
|
|
9340
|
+
* databases can have partitioned indexes.
|
|
9341
|
+
*/
|
|
9283
9342
|
partitioned;
|
|
9284
9343
|
static serialize(obj) {
|
|
9285
9344
|
if (obj === undefined || obj === null || typeof obj === 'string') {
|
|
@@ -13535,21 +13594,23 @@ class CloudantV1 extends cloudantBaseService_1.CloudantBaseService {
|
|
|
13535
13594
|
* Schema for a query view operation.
|
|
13536
13595
|
*/
|
|
13537
13596
|
class ViewQuery {
|
|
13538
|
-
/** Parameter to specify whether to include the encoding information
|
|
13539
|
-
*
|
|
13597
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
13598
|
+
* applies when requesting documents in the response.
|
|
13540
13599
|
*/
|
|
13541
13600
|
attEncodingInfo;
|
|
13542
|
-
/** Parameter to specify whether to include
|
|
13601
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
13602
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
13603
|
+
*/
|
|
13543
13604
|
attachments;
|
|
13544
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
13545
|
-
*
|
|
13605
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
13606
|
+
* applies when requesting documents in the response.
|
|
13546
13607
|
*/
|
|
13547
13608
|
conflicts;
|
|
13548
13609
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
13549
13610
|
descending;
|
|
13550
13611
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
13551
13612
|
includeDocs;
|
|
13552
|
-
/** Parameter to specify whether the specified end key
|
|
13613
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
13553
13614
|
inclusiveEnd;
|
|
13554
13615
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
13555
13616
|
limit;
|