@ibm-cloud/cloudant 0.12.11 → 0.12.13
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.d.ts
CHANGED
|
@@ -117,8 +117,8 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
117
117
|
* and might repeat changes. Polling modes for this method work like polling modes for the changes feed.
|
|
118
118
|
*
|
|
119
119
|
* @param {Object} [params] - The parameters to send to the service.
|
|
120
|
-
* @param {boolean} [params.descending] - Query parameter to specify whether to return
|
|
121
|
-
*
|
|
120
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return rows in descending by key
|
|
121
|
+
* order.
|
|
122
122
|
* @param {string} [params.feed] - Query parameter to specify the changes feed type.
|
|
123
123
|
* @param {number} [params.heartbeat] - Query parameter to specify the period in milliseconds after which an empty
|
|
124
124
|
* line is sent in the results. Off by default and only applicable for `continuous` and `eventsource` feeds. Overrides
|
|
@@ -206,13 +206,16 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
206
206
|
* @param {string} [params.lastEventId] - Header parameter to specify the ID of the last events received by the server
|
|
207
207
|
* on a previous connection. Overrides `since` query parameter.
|
|
208
208
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
209
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
210
|
+
* requesting documents in the response.
|
|
211
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
212
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
213
|
+
* in the response.
|
|
212
214
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
213
|
-
* in each returned document.
|
|
214
|
-
*
|
|
215
|
-
*
|
|
215
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
216
|
+
* requesting documents in the response.
|
|
217
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return changes in the descending order
|
|
218
|
+
* with most recent change first. The `since` parameter has no effect when using descending order.
|
|
216
219
|
* @param {string} [params.feed] - Query parameter to specify the changes feed type.
|
|
217
220
|
* @param {string} [params.filter] - Query parameter to specify a filter to emit only specific events from the changes
|
|
218
221
|
* stream.
|
|
@@ -330,13 +333,16 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
330
333
|
* @param {string} [params.lastEventId] - Header parameter to specify the ID of the last events received by the server
|
|
331
334
|
* on a previous connection. Overrides `since` query parameter.
|
|
332
335
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
337
|
+
* requesting documents in the response.
|
|
338
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
339
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
340
|
+
* in the response.
|
|
336
341
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
337
|
-
* in each returned document.
|
|
338
|
-
*
|
|
339
|
-
*
|
|
342
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
343
|
+
* requesting documents in the response.
|
|
344
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return changes in the descending order
|
|
345
|
+
* with most recent change first. The `since` parameter has no effect when using descending order.
|
|
340
346
|
* @param {string} [params.feed] - Query parameter to specify the changes feed type.
|
|
341
347
|
* @param {string} [params.filter] - Query parameter to specify a filter to emit only specific events from the changes
|
|
342
348
|
* stream.
|
|
@@ -418,8 +424,8 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
418
424
|
* Query to retrieve a list of database names from the instance.
|
|
419
425
|
*
|
|
420
426
|
* @param {Object} [params] - The parameters to send to the service.
|
|
421
|
-
* @param {boolean} [params.descending] - Query parameter to specify whether to return
|
|
422
|
-
*
|
|
427
|
+
* @param {boolean} [params.descending] - Query parameter to specify whether to return rows in descending by key
|
|
428
|
+
* order.
|
|
423
429
|
* @param {string} [params.endKey] - Query parameter to specify to stop returning records when the specified key is
|
|
424
430
|
* reached. String representation of any JSON type that matches the key type emitted by the view function.
|
|
425
431
|
* @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
|
|
@@ -545,17 +551,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
545
551
|
*
|
|
546
552
|
* @param {Object} params - The parameters to send to the service.
|
|
547
553
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
548
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
549
|
-
*
|
|
550
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
554
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
555
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
556
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
557
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
551
558
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
552
|
-
* each returned document.
|
|
559
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
553
560
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
554
561
|
* order.
|
|
555
562
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
556
563
|
* in the response.
|
|
557
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
558
|
-
*
|
|
564
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
565
|
+
* result.
|
|
559
566
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
560
567
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
561
568
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -578,17 +585,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
578
585
|
*
|
|
579
586
|
* @param {Object} params - The parameters to send to the service.
|
|
580
587
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
581
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
582
|
-
*
|
|
583
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
588
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
589
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
590
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
591
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
584
592
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
585
|
-
* each returned document.
|
|
593
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
586
594
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
587
595
|
* order.
|
|
588
596
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
589
597
|
* in the response.
|
|
590
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
591
|
-
*
|
|
598
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
599
|
+
* result.
|
|
592
600
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
593
601
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
594
602
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -655,10 +663,12 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
655
663
|
* @param {Object} params - The parameters to send to the service.
|
|
656
664
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
657
665
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
658
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
659
|
-
* response.
|
|
666
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
667
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
668
|
+
* in the response.
|
|
660
669
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
661
|
-
*
|
|
670
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
671
|
+
* requesting documents in the response.
|
|
662
672
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
663
673
|
* matter what rev was requested.
|
|
664
674
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -675,10 +685,12 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
675
685
|
* @param {Object} params - The parameters to send to the service.
|
|
676
686
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
677
687
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
678
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
679
|
-
* response.
|
|
688
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
689
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
690
|
+
* in the response.
|
|
680
691
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
681
|
-
*
|
|
692
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
693
|
+
* requesting documents in the response.
|
|
682
694
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
683
695
|
* matter what rev was requested.
|
|
684
696
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -695,10 +707,12 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
695
707
|
* @param {Object} params - The parameters to send to the service.
|
|
696
708
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
697
709
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
698
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
699
|
-
* response.
|
|
710
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
711
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
712
|
+
* in the response.
|
|
700
713
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
701
|
-
*
|
|
714
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
715
|
+
* requesting documents in the response.
|
|
702
716
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
703
717
|
* matter what rev was requested.
|
|
704
718
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -715,10 +729,12 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
715
729
|
* @param {Object} params - The parameters to send to the service.
|
|
716
730
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
717
731
|
* @param {BulkGetQueryDocument[]} params.docs - List of document items to get in bulk.
|
|
718
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
719
|
-
* response.
|
|
732
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
733
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
734
|
+
* in the response.
|
|
720
735
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
721
|
-
*
|
|
736
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
737
|
+
* requesting documents in the response.
|
|
722
738
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
723
739
|
* matter what rev was requested.
|
|
724
740
|
* @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
|
|
@@ -755,12 +771,15 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
755
771
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
756
772
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
757
773
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
758
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
759
|
-
* response.
|
|
774
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
775
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
776
|
+
* in the response.
|
|
760
777
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
761
|
-
*
|
|
778
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
779
|
+
* requesting documents in the response.
|
|
762
780
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
763
|
-
* in each returned document.
|
|
781
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
782
|
+
* requesting documents in the response.
|
|
764
783
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
765
784
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
766
785
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -788,12 +807,15 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
788
807
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
789
808
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
790
809
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
791
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
792
|
-
* response.
|
|
810
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
811
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
812
|
+
* in the response.
|
|
793
813
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
794
|
-
*
|
|
814
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
815
|
+
* requesting documents in the response.
|
|
795
816
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
796
|
-
* in each returned document.
|
|
817
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
818
|
+
* requesting documents in the response.
|
|
797
819
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
798
820
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
799
821
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -821,12 +843,15 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
821
843
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
822
844
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
823
845
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
824
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
825
|
-
* response.
|
|
846
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
847
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
848
|
+
* in the response.
|
|
826
849
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
827
|
-
*
|
|
850
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
851
|
+
* requesting documents in the response.
|
|
828
852
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
829
|
-
* in each returned document.
|
|
853
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
854
|
+
* requesting documents in the response.
|
|
830
855
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
831
856
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
832
857
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -854,12 +879,15 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
854
879
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
855
880
|
* @param {string} params.docId - Path parameter to specify the document ID.
|
|
856
881
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
857
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
858
|
-
* response.
|
|
882
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
883
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
884
|
+
* in the response.
|
|
859
885
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
860
|
-
*
|
|
886
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
887
|
+
* requesting documents in the response.
|
|
861
888
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
862
|
-
* in each returned document.
|
|
889
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
890
|
+
* requesting documents in the response.
|
|
863
891
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
864
892
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
865
893
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -956,12 +984,15 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
956
984
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
957
985
|
* design document ID excluding the `_design/` prefix.
|
|
958
986
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
959
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
960
|
-
* response.
|
|
987
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
988
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
989
|
+
* in the response.
|
|
961
990
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
962
|
-
*
|
|
991
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
992
|
+
* requesting documents in the response.
|
|
963
993
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
964
|
-
* in each returned document.
|
|
994
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
995
|
+
* requesting documents in the response.
|
|
965
996
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
966
997
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
967
998
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -1027,17 +1058,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1027
1058
|
*
|
|
1028
1059
|
* @param {Object} params - The parameters to send to the service.
|
|
1029
1060
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1030
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1031
|
-
*
|
|
1032
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1061
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1062
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1063
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1064
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1033
1065
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1034
|
-
* each returned document.
|
|
1066
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1035
1067
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1036
1068
|
* order.
|
|
1037
1069
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1038
1070
|
* in the response.
|
|
1039
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1040
|
-
*
|
|
1071
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1072
|
+
* result.
|
|
1041
1073
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1042
1074
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1043
1075
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1082,17 +1114,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1082
1114
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
1083
1115
|
* design document ID excluding the `_design/` prefix.
|
|
1084
1116
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
1085
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1086
|
-
*
|
|
1087
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1117
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1118
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1119
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1120
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1088
1121
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1089
|
-
* each returned document.
|
|
1122
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1090
1123
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1091
1124
|
* order.
|
|
1092
1125
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1093
1126
|
* in the response.
|
|
1094
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1095
|
-
*
|
|
1127
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1128
|
+
* result.
|
|
1096
1129
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1097
1130
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1098
1131
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1151,17 +1184,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1151
1184
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
1152
1185
|
* design document ID excluding the `_design/` prefix.
|
|
1153
1186
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
1154
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1155
|
-
*
|
|
1156
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1187
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1188
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1189
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1190
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1157
1191
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1158
|
-
* each returned document.
|
|
1192
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1159
1193
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1160
1194
|
* order.
|
|
1161
1195
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1162
1196
|
* in the response.
|
|
1163
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1164
|
-
*
|
|
1197
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1198
|
+
* result.
|
|
1165
1199
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1166
1200
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1167
1201
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1267,17 +1301,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1267
1301
|
* @param {Object} params - The parameters to send to the service.
|
|
1268
1302
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1269
1303
|
* @param {string} params.partitionKey - Path parameter to specify the database partition key.
|
|
1270
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1271
|
-
*
|
|
1272
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1304
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1305
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1306
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1307
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1273
1308
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1274
|
-
* each returned document.
|
|
1309
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1275
1310
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1276
1311
|
* order.
|
|
1277
1312
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1278
1313
|
* in the response.
|
|
1279
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1280
|
-
*
|
|
1314
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1315
|
+
* result.
|
|
1281
1316
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1282
1317
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1283
1318
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1301,17 +1336,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1301
1336
|
* @param {Object} params - The parameters to send to the service.
|
|
1302
1337
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
1303
1338
|
* @param {string} params.partitionKey - Path parameter to specify the database partition key.
|
|
1304
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1305
|
-
*
|
|
1306
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1339
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1340
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1341
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1342
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1307
1343
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1308
|
-
* each returned document.
|
|
1344
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1309
1345
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1310
1346
|
* order.
|
|
1311
1347
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1312
1348
|
* in the response.
|
|
1313
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1314
|
-
*
|
|
1349
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1350
|
+
* result.
|
|
1315
1351
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1316
1352
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1317
1353
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1430,17 +1466,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1430
1466
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
1431
1467
|
* design document ID excluding the `_design/` prefix.
|
|
1432
1468
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
1433
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1434
|
-
*
|
|
1435
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1469
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1470
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1471
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1472
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1436
1473
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1437
|
-
* each returned document.
|
|
1474
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1438
1475
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1439
1476
|
* order.
|
|
1440
1477
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1441
1478
|
* in the response.
|
|
1442
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1443
|
-
*
|
|
1479
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1480
|
+
* result.
|
|
1444
1481
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1445
1482
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1446
1483
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -1497,17 +1534,18 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
1497
1534
|
* @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
|
|
1498
1535
|
* design document ID excluding the `_design/` prefix.
|
|
1499
1536
|
* @param {string} params.view - Path parameter to specify the map reduce view function name.
|
|
1500
|
-
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information
|
|
1501
|
-
*
|
|
1502
|
-
* @param {boolean} [params.attachments] - Parameter to specify whether to include
|
|
1537
|
+
* @param {boolean} [params.attEncodingInfo] - Parameter to specify whether to include the encoding information for
|
|
1538
|
+
* compressed attachments. This only applies when requesting documents in the response.
|
|
1539
|
+
* @param {boolean} [params.attachments] - Parameter to specify whether to include attachment content in included
|
|
1540
|
+
* document content or only the attachment metadata. This only applies when requesting documents in the response.
|
|
1503
1541
|
* @param {boolean} [params.conflicts] - Parameter to specify whether to include a list of conflicted revisions in
|
|
1504
|
-
* each returned document.
|
|
1542
|
+
* each returned document. This only applies when requesting documents in the response.
|
|
1505
1543
|
* @param {boolean} [params.descending] - Parameter to specify whether to return the documents in descending by key
|
|
1506
1544
|
* order.
|
|
1507
1545
|
* @param {boolean} [params.includeDocs] - Parameter to specify whether to include the full content of the documents
|
|
1508
1546
|
* in the response.
|
|
1509
|
-
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether the specified end key
|
|
1510
|
-
*
|
|
1547
|
+
* @param {boolean} [params.inclusiveEnd] - Parameter to specify whether to include the specified end key in the
|
|
1548
|
+
* result.
|
|
1511
1549
|
* @param {number} [params.limit] - Parameter to specify the number of returned documents to limit the result to.
|
|
1512
1550
|
* @param {number} [params.skip] - Parameter to specify the number of records before starting to return the results.
|
|
1513
1551
|
* @param {boolean} [params.updateSeq] - Parameter to specify whether to include in the response an update_seq value
|
|
@@ -2387,12 +2425,15 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
2387
2425
|
* @param {string} params.docId - Path parameter to specify the ID of the stored replication configuration in the
|
|
2388
2426
|
* `_replicator` database.
|
|
2389
2427
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
2390
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
2391
|
-
* response.
|
|
2428
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
2429
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
2430
|
+
* in the response.
|
|
2392
2431
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
2393
|
-
*
|
|
2432
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
2433
|
+
* requesting documents in the response.
|
|
2394
2434
|
* @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
|
|
2395
|
-
* in each returned document.
|
|
2435
|
+
* in each returned document. Note that when used with a view-style query or changes feed this only applies when
|
|
2436
|
+
* requesting documents in the response.
|
|
2396
2437
|
* @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
|
|
2397
2438
|
* conflicted revisions in the `_deleted_conflicts` property of the returned document.
|
|
2398
2439
|
* @param {boolean} [params.latest] - Query parameter to specify whether to force retrieving latest leaf revision, no
|
|
@@ -2735,10 +2776,12 @@ declare class CloudantV1 extends CloudantBaseService {
|
|
|
2735
2776
|
* @param {string} [params.accept] - The type of the response: application/json, multipart/mixed, multipart/related,
|
|
2736
2777
|
* or application/octet-stream.
|
|
2737
2778
|
* @param {string} [params.ifNoneMatch] - Header parameter for a conditional HTTP request not matching an ETag.
|
|
2738
|
-
* @param {boolean} [params.attachments] - Query parameter to specify whether to include
|
|
2739
|
-
* response.
|
|
2779
|
+
* @param {boolean} [params.attachments] - Query parameter to specify whether to include attachment content in the
|
|
2780
|
+
* response. Note that when used with a view-style query or changes feed this only applies when requesting documents
|
|
2781
|
+
* in the response.
|
|
2740
2782
|
* @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
|
|
2741
|
-
*
|
|
2783
|
+
* for compressed attachments. Note that when used with a view-style query or changes feed this only applies when
|
|
2784
|
+
* requesting documents in the response.
|
|
2742
2785
|
* @param {boolean} [params.localSeq] - Query parameter to specify whether to include the last update sequence for the
|
|
2743
2786
|
* document.
|
|
2744
2787
|
* @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
|
|
@@ -2957,7 +3000,7 @@ declare namespace CloudantV1 {
|
|
|
2957
3000
|
}
|
|
2958
3001
|
/** Parameters for the `getDbUpdates` operation. */
|
|
2959
3002
|
export interface GetDbUpdatesParams extends DefaultParams {
|
|
2960
|
-
/** Query parameter to specify whether to return
|
|
3003
|
+
/** Query parameter to specify whether to return rows in descending by key order. */
|
|
2961
3004
|
descending?: boolean;
|
|
2962
3005
|
/** Query parameter to specify the changes feed type. */
|
|
2963
3006
|
feed?: GetDbUpdatesConstants.Feed | string;
|
|
@@ -3052,17 +3095,22 @@ declare namespace CloudantV1 {
|
|
|
3052
3095
|
* Overrides `since` query parameter.
|
|
3053
3096
|
*/
|
|
3054
3097
|
lastEventId?: string;
|
|
3055
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3056
|
-
*
|
|
3098
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3099
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3057
3100
|
*/
|
|
3058
3101
|
attEncodingInfo?: boolean;
|
|
3059
|
-
/** Query parameter to specify whether to include
|
|
3102
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3103
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3104
|
+
*/
|
|
3060
3105
|
attachments?: boolean;
|
|
3061
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3062
|
-
*
|
|
3106
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3107
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3108
|
+
* response.
|
|
3063
3109
|
*/
|
|
3064
3110
|
conflicts?: boolean;
|
|
3065
|
-
/** Query parameter to specify whether to return
|
|
3111
|
+
/** Query parameter to specify whether to return changes in the descending order with most recent change first.
|
|
3112
|
+
* The `since` parameter has no effect when using descending order.
|
|
3113
|
+
*/
|
|
3066
3114
|
descending?: boolean;
|
|
3067
3115
|
/** Query parameter to specify the changes feed type. */
|
|
3068
3116
|
feed?: PostChangesConstants.Feed | string;
|
|
@@ -3199,17 +3247,22 @@ declare namespace CloudantV1 {
|
|
|
3199
3247
|
* Overrides `since` query parameter.
|
|
3200
3248
|
*/
|
|
3201
3249
|
lastEventId?: string;
|
|
3202
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3203
|
-
*
|
|
3250
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3251
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3204
3252
|
*/
|
|
3205
3253
|
attEncodingInfo?: boolean;
|
|
3206
|
-
/** Query parameter to specify whether to include
|
|
3254
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3255
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3256
|
+
*/
|
|
3207
3257
|
attachments?: boolean;
|
|
3208
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3209
|
-
*
|
|
3258
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3259
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3260
|
+
* response.
|
|
3210
3261
|
*/
|
|
3211
3262
|
conflicts?: boolean;
|
|
3212
|
-
/** Query parameter to specify whether to return
|
|
3263
|
+
/** Query parameter to specify whether to return changes in the descending order with most recent change first.
|
|
3264
|
+
* The `since` parameter has no effect when using descending order.
|
|
3265
|
+
*/
|
|
3213
3266
|
descending?: boolean;
|
|
3214
3267
|
/** Query parameter to specify the changes feed type. */
|
|
3215
3268
|
feed?: PostChangesAsStreamConstants.Feed | string;
|
|
@@ -3303,7 +3356,7 @@ declare namespace CloudantV1 {
|
|
|
3303
3356
|
}
|
|
3304
3357
|
/** Parameters for the `getAllDbs` operation. */
|
|
3305
3358
|
export interface GetAllDbsParams extends DefaultParams {
|
|
3306
|
-
/** Query parameter to specify whether to return
|
|
3359
|
+
/** Query parameter to specify whether to return rows in descending by key order. */
|
|
3307
3360
|
descending?: boolean;
|
|
3308
3361
|
/** Query parameter to specify to stop returning records when the specified key is reached. String
|
|
3309
3362
|
* representation of any JSON type that matches the key type emitted by the view function.
|
|
@@ -3397,21 +3450,23 @@ declare namespace CloudantV1 {
|
|
|
3397
3450
|
export interface PostAllDocsParams extends DefaultParams {
|
|
3398
3451
|
/** Path parameter to specify the database name. */
|
|
3399
3452
|
db: string;
|
|
3400
|
-
/** Parameter to specify whether to include the encoding information
|
|
3401
|
-
*
|
|
3453
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
3454
|
+
* applies when requesting documents in the response.
|
|
3402
3455
|
*/
|
|
3403
3456
|
attEncodingInfo?: boolean;
|
|
3404
|
-
/** Parameter to specify whether to include
|
|
3457
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
3458
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
3459
|
+
*/
|
|
3405
3460
|
attachments?: boolean;
|
|
3406
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3407
|
-
*
|
|
3461
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
3462
|
+
* applies when requesting documents in the response.
|
|
3408
3463
|
*/
|
|
3409
3464
|
conflicts?: boolean;
|
|
3410
3465
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
3411
3466
|
descending?: boolean;
|
|
3412
3467
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
3413
3468
|
includeDocs?: boolean;
|
|
3414
|
-
/** Parameter to specify whether the specified end key
|
|
3469
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
3415
3470
|
inclusiveEnd?: boolean;
|
|
3416
3471
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
3417
3472
|
limit?: number;
|
|
@@ -3434,21 +3489,23 @@ declare namespace CloudantV1 {
|
|
|
3434
3489
|
export interface PostAllDocsAsStreamParams extends DefaultParams {
|
|
3435
3490
|
/** Path parameter to specify the database name. */
|
|
3436
3491
|
db: string;
|
|
3437
|
-
/** Parameter to specify whether to include the encoding information
|
|
3438
|
-
*
|
|
3492
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
3493
|
+
* applies when requesting documents in the response.
|
|
3439
3494
|
*/
|
|
3440
3495
|
attEncodingInfo?: boolean;
|
|
3441
|
-
/** Parameter to specify whether to include
|
|
3496
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
3497
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
3498
|
+
*/
|
|
3442
3499
|
attachments?: boolean;
|
|
3443
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3444
|
-
*
|
|
3500
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
3501
|
+
* applies when requesting documents in the response.
|
|
3445
3502
|
*/
|
|
3446
3503
|
conflicts?: boolean;
|
|
3447
3504
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
3448
3505
|
descending?: boolean;
|
|
3449
3506
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
3450
3507
|
includeDocs?: boolean;
|
|
3451
|
-
/** Parameter to specify whether the specified end key
|
|
3508
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
3452
3509
|
inclusiveEnd?: boolean;
|
|
3453
3510
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
3454
3511
|
limit?: number;
|
|
@@ -3498,10 +3555,12 @@ declare namespace CloudantV1 {
|
|
|
3498
3555
|
db: string;
|
|
3499
3556
|
/** List of document items to get in bulk. */
|
|
3500
3557
|
docs: BulkGetQueryDocument[];
|
|
3501
|
-
/** Query parameter to specify whether to include
|
|
3558
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3559
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3560
|
+
*/
|
|
3502
3561
|
attachments?: boolean;
|
|
3503
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3504
|
-
*
|
|
3562
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3563
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3505
3564
|
*/
|
|
3506
3565
|
attEncodingInfo?: boolean;
|
|
3507
3566
|
/** Query parameter to specify whether to force retrieving latest leaf revision, no matter what rev was
|
|
@@ -3517,10 +3576,12 @@ declare namespace CloudantV1 {
|
|
|
3517
3576
|
db: string;
|
|
3518
3577
|
/** List of document items to get in bulk. */
|
|
3519
3578
|
docs: BulkGetQueryDocument[];
|
|
3520
|
-
/** Query parameter to specify whether to include
|
|
3579
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3580
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3581
|
+
*/
|
|
3521
3582
|
attachments?: boolean;
|
|
3522
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3523
|
-
*
|
|
3583
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3584
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3524
3585
|
*/
|
|
3525
3586
|
attEncodingInfo?: boolean;
|
|
3526
3587
|
/** Query parameter to specify whether to force retrieving latest leaf revision, no matter what rev was
|
|
@@ -3536,10 +3597,12 @@ declare namespace CloudantV1 {
|
|
|
3536
3597
|
db: string;
|
|
3537
3598
|
/** List of document items to get in bulk. */
|
|
3538
3599
|
docs: BulkGetQueryDocument[];
|
|
3539
|
-
/** Query parameter to specify whether to include
|
|
3600
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3601
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3602
|
+
*/
|
|
3540
3603
|
attachments?: boolean;
|
|
3541
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3542
|
-
*
|
|
3604
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3605
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3543
3606
|
*/
|
|
3544
3607
|
attEncodingInfo?: boolean;
|
|
3545
3608
|
/** Query parameter to specify whether to force retrieving latest leaf revision, no matter what rev was
|
|
@@ -3555,10 +3618,12 @@ declare namespace CloudantV1 {
|
|
|
3555
3618
|
db: string;
|
|
3556
3619
|
/** List of document items to get in bulk. */
|
|
3557
3620
|
docs: BulkGetQueryDocument[];
|
|
3558
|
-
/** Query parameter to specify whether to include
|
|
3621
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3622
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3623
|
+
*/
|
|
3559
3624
|
attachments?: boolean;
|
|
3560
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3561
|
-
*
|
|
3625
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3626
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3562
3627
|
*/
|
|
3563
3628
|
attEncodingInfo?: boolean;
|
|
3564
3629
|
/** Query parameter to specify whether to force retrieving latest leaf revision, no matter what rev was
|
|
@@ -3598,14 +3663,17 @@ declare namespace CloudantV1 {
|
|
|
3598
3663
|
docId: string;
|
|
3599
3664
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
3600
3665
|
ifNoneMatch?: string;
|
|
3601
|
-
/** Query parameter to specify whether to include
|
|
3666
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3667
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3668
|
+
*/
|
|
3602
3669
|
attachments?: boolean;
|
|
3603
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3604
|
-
*
|
|
3670
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3671
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3605
3672
|
*/
|
|
3606
3673
|
attEncodingInfo?: boolean;
|
|
3607
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3608
|
-
*
|
|
3674
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3675
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3676
|
+
* response.
|
|
3609
3677
|
*/
|
|
3610
3678
|
conflicts?: boolean;
|
|
3611
3679
|
/** Query parameter to specify whether to include a list of deleted conflicted revisions in the
|
|
@@ -3637,14 +3705,17 @@ declare namespace CloudantV1 {
|
|
|
3637
3705
|
docId: string;
|
|
3638
3706
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
3639
3707
|
ifNoneMatch?: string;
|
|
3640
|
-
/** Query parameter to specify whether to include
|
|
3708
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3709
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3710
|
+
*/
|
|
3641
3711
|
attachments?: boolean;
|
|
3642
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3643
|
-
*
|
|
3712
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3713
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3644
3714
|
*/
|
|
3645
3715
|
attEncodingInfo?: boolean;
|
|
3646
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3647
|
-
*
|
|
3716
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3717
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3718
|
+
* response.
|
|
3648
3719
|
*/
|
|
3649
3720
|
conflicts?: boolean;
|
|
3650
3721
|
/** Query parameter to specify whether to include a list of deleted conflicted revisions in the
|
|
@@ -3676,14 +3747,17 @@ declare namespace CloudantV1 {
|
|
|
3676
3747
|
docId: string;
|
|
3677
3748
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
3678
3749
|
ifNoneMatch?: string;
|
|
3679
|
-
/** Query parameter to specify whether to include
|
|
3750
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3751
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3752
|
+
*/
|
|
3680
3753
|
attachments?: boolean;
|
|
3681
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3682
|
-
*
|
|
3754
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3755
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3683
3756
|
*/
|
|
3684
3757
|
attEncodingInfo?: boolean;
|
|
3685
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3686
|
-
*
|
|
3758
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3759
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3760
|
+
* response.
|
|
3687
3761
|
*/
|
|
3688
3762
|
conflicts?: boolean;
|
|
3689
3763
|
/** Query parameter to specify whether to include a list of deleted conflicted revisions in the
|
|
@@ -3715,14 +3789,17 @@ declare namespace CloudantV1 {
|
|
|
3715
3789
|
docId: string;
|
|
3716
3790
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
3717
3791
|
ifNoneMatch?: string;
|
|
3718
|
-
/** Query parameter to specify whether to include
|
|
3792
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3793
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3794
|
+
*/
|
|
3719
3795
|
attachments?: boolean;
|
|
3720
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3721
|
-
*
|
|
3796
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3797
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3722
3798
|
*/
|
|
3723
3799
|
attEncodingInfo?: boolean;
|
|
3724
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3725
|
-
*
|
|
3800
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3801
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3802
|
+
* response.
|
|
3726
3803
|
*/
|
|
3727
3804
|
conflicts?: boolean;
|
|
3728
3805
|
/** Query parameter to specify whether to include a list of deleted conflicted revisions in the
|
|
@@ -3832,14 +3909,17 @@ declare namespace CloudantV1 {
|
|
|
3832
3909
|
ddoc: string;
|
|
3833
3910
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
3834
3911
|
ifNoneMatch?: string;
|
|
3835
|
-
/** Query parameter to specify whether to include
|
|
3912
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
3913
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
3914
|
+
*/
|
|
3836
3915
|
attachments?: boolean;
|
|
3837
|
-
/** Query parameter to specify whether to include the encoding information
|
|
3838
|
-
*
|
|
3916
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
3917
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
3839
3918
|
*/
|
|
3840
3919
|
attEncodingInfo?: boolean;
|
|
3841
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3842
|
-
*
|
|
3920
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
3921
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
3922
|
+
* response.
|
|
3843
3923
|
*/
|
|
3844
3924
|
conflicts?: boolean;
|
|
3845
3925
|
/** Query parameter to specify whether to include a list of deleted conflicted revisions in the
|
|
@@ -3910,21 +3990,23 @@ declare namespace CloudantV1 {
|
|
|
3910
3990
|
export interface PostDesignDocsParams extends DefaultParams {
|
|
3911
3991
|
/** Path parameter to specify the database name. */
|
|
3912
3992
|
db: string;
|
|
3913
|
-
/** Parameter to specify whether to include the encoding information
|
|
3914
|
-
*
|
|
3993
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
3994
|
+
* applies when requesting documents in the response.
|
|
3915
3995
|
*/
|
|
3916
3996
|
attEncodingInfo?: boolean;
|
|
3917
|
-
/** Parameter to specify whether to include
|
|
3997
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
3998
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
3999
|
+
*/
|
|
3918
4000
|
attachments?: boolean;
|
|
3919
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3920
|
-
*
|
|
4001
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4002
|
+
* applies when requesting documents in the response.
|
|
3921
4003
|
*/
|
|
3922
4004
|
conflicts?: boolean;
|
|
3923
4005
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
3924
4006
|
descending?: boolean;
|
|
3925
4007
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
3926
4008
|
includeDocs?: boolean;
|
|
3927
|
-
/** Parameter to specify whether the specified end key
|
|
4009
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
3928
4010
|
inclusiveEnd?: boolean;
|
|
3929
4011
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
3930
4012
|
limit?: number;
|
|
@@ -3972,21 +4054,23 @@ declare namespace CloudantV1 {
|
|
|
3972
4054
|
ddoc: string;
|
|
3973
4055
|
/** Path parameter to specify the map reduce view function name. */
|
|
3974
4056
|
view: string;
|
|
3975
|
-
/** Parameter to specify whether to include the encoding information
|
|
3976
|
-
*
|
|
4057
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
4058
|
+
* applies when requesting documents in the response.
|
|
3977
4059
|
*/
|
|
3978
4060
|
attEncodingInfo?: boolean;
|
|
3979
|
-
/** Parameter to specify whether to include
|
|
4061
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
4062
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
4063
|
+
*/
|
|
3980
4064
|
attachments?: boolean;
|
|
3981
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
3982
|
-
*
|
|
4065
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4066
|
+
* applies when requesting documents in the response.
|
|
3983
4067
|
*/
|
|
3984
4068
|
conflicts?: boolean;
|
|
3985
4069
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
3986
4070
|
descending?: boolean;
|
|
3987
4071
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
3988
4072
|
includeDocs?: boolean;
|
|
3989
|
-
/** Parameter to specify whether the specified end key
|
|
4073
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
3990
4074
|
inclusiveEnd?: boolean;
|
|
3991
4075
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
3992
4076
|
limit?: number;
|
|
@@ -4068,21 +4152,23 @@ declare namespace CloudantV1 {
|
|
|
4068
4152
|
ddoc: string;
|
|
4069
4153
|
/** Path parameter to specify the map reduce view function name. */
|
|
4070
4154
|
view: string;
|
|
4071
|
-
/** Parameter to specify whether to include the encoding information
|
|
4072
|
-
*
|
|
4155
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
4156
|
+
* applies when requesting documents in the response.
|
|
4073
4157
|
*/
|
|
4074
4158
|
attEncodingInfo?: boolean;
|
|
4075
|
-
/** Parameter to specify whether to include
|
|
4159
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
4160
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
4161
|
+
*/
|
|
4076
4162
|
attachments?: boolean;
|
|
4077
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
4078
|
-
*
|
|
4163
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4164
|
+
* applies when requesting documents in the response.
|
|
4079
4165
|
*/
|
|
4080
4166
|
conflicts?: boolean;
|
|
4081
4167
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
4082
4168
|
descending?: boolean;
|
|
4083
4169
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
4084
4170
|
includeDocs?: boolean;
|
|
4085
|
-
/** Parameter to specify whether the specified end key
|
|
4171
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
4086
4172
|
inclusiveEnd?: boolean;
|
|
4087
4173
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
4088
4174
|
limit?: number;
|
|
@@ -4197,21 +4283,23 @@ declare namespace CloudantV1 {
|
|
|
4197
4283
|
db: string;
|
|
4198
4284
|
/** Path parameter to specify the database partition key. */
|
|
4199
4285
|
partitionKey: string;
|
|
4200
|
-
/** Parameter to specify whether to include the encoding information
|
|
4201
|
-
*
|
|
4286
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
4287
|
+
* applies when requesting documents in the response.
|
|
4202
4288
|
*/
|
|
4203
4289
|
attEncodingInfo?: boolean;
|
|
4204
|
-
/** Parameter to specify whether to include
|
|
4290
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
4291
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
4292
|
+
*/
|
|
4205
4293
|
attachments?: boolean;
|
|
4206
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
4207
|
-
*
|
|
4294
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4295
|
+
* applies when requesting documents in the response.
|
|
4208
4296
|
*/
|
|
4209
4297
|
conflicts?: boolean;
|
|
4210
4298
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
4211
4299
|
descending?: boolean;
|
|
4212
4300
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
4213
4301
|
includeDocs?: boolean;
|
|
4214
|
-
/** Parameter to specify whether the specified end key
|
|
4302
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
4215
4303
|
inclusiveEnd?: boolean;
|
|
4216
4304
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
4217
4305
|
limit?: number;
|
|
@@ -4236,21 +4324,23 @@ declare namespace CloudantV1 {
|
|
|
4236
4324
|
db: string;
|
|
4237
4325
|
/** Path parameter to specify the database partition key. */
|
|
4238
4326
|
partitionKey: string;
|
|
4239
|
-
/** Parameter to specify whether to include the encoding information
|
|
4240
|
-
*
|
|
4327
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
4328
|
+
* applies when requesting documents in the response.
|
|
4241
4329
|
*/
|
|
4242
4330
|
attEncodingInfo?: boolean;
|
|
4243
|
-
/** Parameter to specify whether to include
|
|
4331
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
4332
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
4333
|
+
*/
|
|
4244
4334
|
attachments?: boolean;
|
|
4245
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
4246
|
-
*
|
|
4335
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4336
|
+
* applies when requesting documents in the response.
|
|
4247
4337
|
*/
|
|
4248
4338
|
conflicts?: boolean;
|
|
4249
4339
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
4250
4340
|
descending?: boolean;
|
|
4251
4341
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
4252
4342
|
includeDocs?: boolean;
|
|
4253
|
-
/** Parameter to specify whether the specified end key
|
|
4343
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
4254
4344
|
inclusiveEnd?: boolean;
|
|
4255
4345
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
4256
4346
|
limit?: number;
|
|
@@ -4395,21 +4485,23 @@ declare namespace CloudantV1 {
|
|
|
4395
4485
|
ddoc: string;
|
|
4396
4486
|
/** Path parameter to specify the map reduce view function name. */
|
|
4397
4487
|
view: string;
|
|
4398
|
-
/** Parameter to specify whether to include the encoding information
|
|
4399
|
-
*
|
|
4488
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
4489
|
+
* applies when requesting documents in the response.
|
|
4400
4490
|
*/
|
|
4401
4491
|
attEncodingInfo?: boolean;
|
|
4402
|
-
/** Parameter to specify whether to include
|
|
4492
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
4493
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
4494
|
+
*/
|
|
4403
4495
|
attachments?: boolean;
|
|
4404
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
4405
|
-
*
|
|
4496
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4497
|
+
* applies when requesting documents in the response.
|
|
4406
4498
|
*/
|
|
4407
4499
|
conflicts?: boolean;
|
|
4408
4500
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
4409
4501
|
descending?: boolean;
|
|
4410
4502
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
4411
4503
|
includeDocs?: boolean;
|
|
4412
|
-
/** Parameter to specify whether the specified end key
|
|
4504
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
4413
4505
|
inclusiveEnd?: boolean;
|
|
4414
4506
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
4415
4507
|
limit?: number;
|
|
@@ -4484,21 +4576,23 @@ declare namespace CloudantV1 {
|
|
|
4484
4576
|
ddoc: string;
|
|
4485
4577
|
/** Path parameter to specify the map reduce view function name. */
|
|
4486
4578
|
view: string;
|
|
4487
|
-
/** Parameter to specify whether to include the encoding information
|
|
4488
|
-
*
|
|
4579
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
4580
|
+
* applies when requesting documents in the response.
|
|
4489
4581
|
*/
|
|
4490
4582
|
attEncodingInfo?: boolean;
|
|
4491
|
-
/** Parameter to specify whether to include
|
|
4583
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
4584
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
4585
|
+
*/
|
|
4492
4586
|
attachments?: boolean;
|
|
4493
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
4494
|
-
*
|
|
4587
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
4588
|
+
* applies when requesting documents in the response.
|
|
4495
4589
|
*/
|
|
4496
4590
|
conflicts?: boolean;
|
|
4497
4591
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
4498
4592
|
descending?: boolean;
|
|
4499
4593
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
4500
4594
|
includeDocs?: boolean;
|
|
4501
|
-
/** Parameter to specify whether the specified end key
|
|
4595
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
4502
4596
|
inclusiveEnd?: boolean;
|
|
4503
4597
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
4504
4598
|
limit?: number;
|
|
@@ -5572,14 +5666,17 @@ declare namespace CloudantV1 {
|
|
|
5572
5666
|
docId: string;
|
|
5573
5667
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
5574
5668
|
ifNoneMatch?: string;
|
|
5575
|
-
/** Query parameter to specify whether to include
|
|
5669
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
5670
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
5671
|
+
*/
|
|
5576
5672
|
attachments?: boolean;
|
|
5577
|
-
/** Query parameter to specify whether to include the encoding information
|
|
5578
|
-
*
|
|
5673
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
5674
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
5579
5675
|
*/
|
|
5580
5676
|
attEncodingInfo?: boolean;
|
|
5581
|
-
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
5582
|
-
*
|
|
5677
|
+
/** Query parameter to specify whether to include a list of conflicted revisions in each returned document. Note
|
|
5678
|
+
* that when used with a view-style query or changes feed this only applies when requesting documents in the
|
|
5679
|
+
* response.
|
|
5583
5680
|
*/
|
|
5584
5681
|
conflicts?: boolean;
|
|
5585
5682
|
/** Query parameter to specify whether to include a list of deleted conflicted revisions in the
|
|
@@ -5870,10 +5967,12 @@ declare namespace CloudantV1 {
|
|
|
5870
5967
|
accept?: GetLocalDocumentConstants.Accept | string;
|
|
5871
5968
|
/** Header parameter for a conditional HTTP request not matching an ETag. */
|
|
5872
5969
|
ifNoneMatch?: string;
|
|
5873
|
-
/** Query parameter to specify whether to include
|
|
5970
|
+
/** Query parameter to specify whether to include attachment content in the response. Note that when used with a
|
|
5971
|
+
* view-style query or changes feed this only applies when requesting documents in the response.
|
|
5972
|
+
*/
|
|
5874
5973
|
attachments?: boolean;
|
|
5875
|
-
/** Query parameter to specify whether to include the encoding information
|
|
5876
|
-
*
|
|
5974
|
+
/** Query parameter to specify whether to include the encoding information for compressed attachments. Note that
|
|
5975
|
+
* when used with a view-style query or changes feed this only applies when requesting documents in the response.
|
|
5877
5976
|
*/
|
|
5878
5977
|
attEncodingInfo?: boolean;
|
|
5879
5978
|
/** Query parameter to specify whether to include the last update sequence for the document. */
|
|
@@ -6178,21 +6277,23 @@ declare namespace CloudantV1 {
|
|
|
6178
6277
|
* Schema for an all documents query operation.
|
|
6179
6278
|
*/
|
|
6180
6279
|
export class AllDocsQuery {
|
|
6181
|
-
/** Parameter to specify whether to include the encoding information
|
|
6182
|
-
*
|
|
6280
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
6281
|
+
* applies when requesting documents in the response.
|
|
6183
6282
|
*/
|
|
6184
6283
|
attEncodingInfo?: boolean;
|
|
6185
|
-
/** Parameter to specify whether to include
|
|
6284
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
6285
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
6286
|
+
*/
|
|
6186
6287
|
attachments?: boolean;
|
|
6187
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
6188
|
-
*
|
|
6288
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
6289
|
+
* applies when requesting documents in the response.
|
|
6189
6290
|
*/
|
|
6190
6291
|
conflicts?: boolean;
|
|
6191
6292
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
6192
6293
|
descending?: boolean;
|
|
6193
6294
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
6194
6295
|
includeDocs?: boolean;
|
|
6195
|
-
/** Parameter to specify whether the specified end key
|
|
6296
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
6196
6297
|
inclusiveEnd?: boolean;
|
|
6197
6298
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
6198
6299
|
limit?: number;
|
|
@@ -6419,32 +6520,36 @@ declare namespace CloudantV1 {
|
|
|
6419
6520
|
export class Attachment {
|
|
6420
6521
|
/** Attachment MIME type. */
|
|
6421
6522
|
contentType?: string;
|
|
6422
|
-
/** Base64-encoded content. Available
|
|
6423
|
-
*
|
|
6424
|
-
* `
|
|
6523
|
+
/** Base64-encoded content. Available when requested with `attachments=true` or `atts_since`. When retrieving
|
|
6524
|
+
* attachments for a single document this field is only avialable when accepting an application/json response. For
|
|
6525
|
+
* multipart responses each attachment is instead included in a separate part of the response (see `follows`).
|
|
6526
|
+
*
|
|
6527
|
+
* Note that SDK deserialization of documents with included attachments automatically decodes the Base64 encoded
|
|
6528
|
+
* attachment content string to bytes.
|
|
6425
6529
|
*/
|
|
6426
6530
|
data?: Buffer;
|
|
6427
|
-
/** Content hash digest. It starts with prefix
|
|
6428
|
-
* Base64-encoded hash digest.
|
|
6531
|
+
/** Content hash digest. It starts with prefix declaring the hash type, `md5-` for example, and continues with
|
|
6532
|
+
* the Base64-encoded hash digest.
|
|
6429
6533
|
*/
|
|
6430
6534
|
digest?: string;
|
|
6431
|
-
/** Compressed attachment size in bytes. Available
|
|
6432
|
-
*
|
|
6433
|
-
*
|
|
6535
|
+
/** Compressed attachment size in bytes. Available for compressed attachments when requested with
|
|
6536
|
+
* `att_encoding_info`. The database compresses attachments if the content_type is in the list of compressible
|
|
6537
|
+
* types when added.
|
|
6434
6538
|
*/
|
|
6435
6539
|
encodedLength?: number;
|
|
6436
|
-
/** Compression codec. Available
|
|
6437
|
-
*
|
|
6438
|
-
* `include_docs` must also be `true`.
|
|
6540
|
+
/** Compression codec. Available for compressed attachments when requested with `att_encoding_info`. The
|
|
6541
|
+
* database compresses attachments if the content_type is in the list of compressible types when added.
|
|
6439
6542
|
*/
|
|
6440
6543
|
encoding?: string;
|
|
6441
6544
|
/** True if the attachment follows in a multipart request or response. */
|
|
6442
6545
|
follows?: boolean;
|
|
6443
6546
|
/** Real attachment size in bytes. Not available if inline attachment content requested. */
|
|
6444
6547
|
length?: number;
|
|
6445
|
-
/** Revision number
|
|
6548
|
+
/** Revision number at attachment addition. */
|
|
6446
6549
|
revpos?: number;
|
|
6447
|
-
/** Has `true` value if object
|
|
6550
|
+
/** Has `true` value if object has stub attachment metadata, but not attachment content. Otherwise omitted in
|
|
6551
|
+
* response.
|
|
6552
|
+
*/
|
|
6448
6553
|
stub?: boolean;
|
|
6449
6554
|
static serialize(obj: any): Attachment.Transport;
|
|
6450
6555
|
static deserialize(obj: any): Attachment;
|
|
@@ -6694,7 +6799,10 @@ declare namespace CloudantV1 {
|
|
|
6694
6799
|
export class ContentInformationSizes {
|
|
6695
6800
|
/** The active size of the content, in bytes. */
|
|
6696
6801
|
active: number;
|
|
6697
|
-
/** The total uncompressed size of the content, in bytes.
|
|
6802
|
+
/** The total uncompressed size of the content, in bytes.
|
|
6803
|
+
*
|
|
6804
|
+
* This is the value used for IBM Cloudant storage billing.
|
|
6805
|
+
*/
|
|
6698
6806
|
external: number;
|
|
6699
6807
|
/** The total size of the content as stored on disk, in bytes. */
|
|
6700
6808
|
file: number;
|
|
@@ -7127,7 +7235,14 @@ declare namespace CloudantV1 {
|
|
|
7127
7235
|
* Schema for design document options.
|
|
7128
7236
|
*/
|
|
7129
7237
|
export class DesignDocumentOptions {
|
|
7130
|
-
/** Whether this design document describes partitioned or global indexes.
|
|
7238
|
+
/** Whether this design document describes partitioned or global indexes. Set this option to `false` for a
|
|
7239
|
+
* design document that describes global indexes in a partitioned database. A design document describes either
|
|
7240
|
+
* global or partitioned indexes, but not both. By default, for a partitioned database this option is `true` and
|
|
7241
|
+
* the design document describes partitioned indexes for queries on a single partition at a time. When set to
|
|
7242
|
+
* `false` this option allows creating global indexes in this design document for queries spanning many partitions.
|
|
7243
|
+
* For non-partitioned databases, the default is `false` and design documents default to global. Only partitioned
|
|
7244
|
+
* databases can have partitioned indexes.
|
|
7245
|
+
*/
|
|
7131
7246
|
partitioned?: boolean;
|
|
7132
7247
|
static serialize(obj: any): DesignDocumentOptions.Transport;
|
|
7133
7248
|
static deserialize(obj: any): DesignDocumentOptions;
|
|
@@ -9157,21 +9272,23 @@ declare namespace CloudantV1 {
|
|
|
9157
9272
|
* Schema for a query view operation.
|
|
9158
9273
|
*/
|
|
9159
9274
|
export class ViewQuery {
|
|
9160
|
-
/** Parameter to specify whether to include the encoding information
|
|
9161
|
-
*
|
|
9275
|
+
/** Parameter to specify whether to include the encoding information for compressed attachments. This only
|
|
9276
|
+
* applies when requesting documents in the response.
|
|
9162
9277
|
*/
|
|
9163
9278
|
attEncodingInfo?: boolean;
|
|
9164
|
-
/** Parameter to specify whether to include
|
|
9279
|
+
/** Parameter to specify whether to include attachment content in included document content or only the
|
|
9280
|
+
* attachment metadata. This only applies when requesting documents in the response.
|
|
9281
|
+
*/
|
|
9165
9282
|
attachments?: boolean;
|
|
9166
|
-
/** Parameter to specify whether to include a list of conflicted revisions in each returned document.
|
|
9167
|
-
*
|
|
9283
|
+
/** Parameter to specify whether to include a list of conflicted revisions in each returned document. This only
|
|
9284
|
+
* applies when requesting documents in the response.
|
|
9168
9285
|
*/
|
|
9169
9286
|
conflicts?: boolean;
|
|
9170
9287
|
/** Parameter to specify whether to return the documents in descending by key order. */
|
|
9171
9288
|
descending?: boolean;
|
|
9172
9289
|
/** Parameter to specify whether to include the full content of the documents in the response. */
|
|
9173
9290
|
includeDocs?: boolean;
|
|
9174
|
-
/** Parameter to specify whether the specified end key
|
|
9291
|
+
/** Parameter to specify whether to include the specified end key in the result. */
|
|
9175
9292
|
inclusiveEnd?: boolean;
|
|
9176
9293
|
/** Parameter to specify the number of returned documents to limit the result to. */
|
|
9177
9294
|
limit?: number;
|