@ibm-cloud/cloudant 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,9 +12,9 @@
12
12
 
13
13
  [![Build Status](https://travis-ci.com/IBM/cloudant-node-sdk.svg?branch=master)](https://travis-ci.com/IBM/cloudant-node-sdk)
14
14
  [![Release](https://img.shields.io/github/v/release/IBM/cloudant-node-sdk?include_prereleases&sort=semver)](https://github.com/IBM/cloudant-node-sdk/releases/latest)
15
- [![Docs](https://img.shields.io/static/v1?label=nodedoc&message=latest&color=blue)](https://ibm.github.io/cloudant-node-sdk/)
15
+ [![Docs](https://img.shields.io/static/v1?label=TypeDoc&message=latest&color=blue)](https://ibm.github.io/cloudant-node-sdk/)
16
16
 
17
- # IBM Cloudant Node.js SDK Version 0.0.14
17
+ # IBM Cloudant Node.js SDK Version 0.0.15
18
18
 
19
19
  IBM Cloudant Node.js SDK is a client library that interacts with the
20
20
  [IBM Cloudant APIs](https://cloud.ibm.com/apidocs/cloudant?code=node).
@@ -215,7 +215,7 @@ For general IBM Cloud SDK usage information, please see
215
215
 
216
216
  ### Code examples
217
217
 
218
- The following code examples
218
+ The following code examples
219
219
  [authenticate with the environment variables](#authenticate-with-environment-variables).
220
220
 
221
221
  #### 1. Retrieve information from an existing database
@@ -223,7 +223,7 @@ The following code examples
223
223
  **Note:** This example code assumes that `animaldb` database does not exist in your account.
224
224
 
225
225
  This example code gathers information about an existing database hosted on
226
- the https://examples.cloudant.com/ service `url`. To connect, you must
226
+ the https://examples.cloudant.com/ service `url`. To connect, you must
227
227
  extend your environment variables with the *service url* and *authentication
228
228
  type* to use `NOAUTH` authentication while you connect to the `animaldb` database.
229
229
  This step is necessary for the SDK to distinguish the `EXAMPLES` custom service
@@ -813,7 +813,9 @@ For examples of using byte streams, see the API reference documentation
813
813
  ### Further resources
814
814
 
815
815
  - [Cloudant API docs](https://cloud.ibm.com/apidocs/cloudant?code=node):
816
- API examples for Cloudant Node.js SDK.
816
+ API reference including usage examples for Cloudant Node.js SDK API.
817
+ - [TypeDoc](https://ibm.github.io/cloudant-node-sdk/):
818
+ Cloudant Node.js SDK API Documentation.
817
819
  - [Cloudant docs](https://cloud.ibm.com/docs/services/Cloudant?topic=cloudant-overview#overview):
818
820
  The official documentation page for Cloudant.
819
821
  - [Cloudant Learning Center](https://developer.ibm.com/clouddataservices/docs/compose/cloudant/):
@@ -832,7 +834,9 @@ IBM Cloud services, ask a question on
832
834
 
833
835
  If you encounter an issue with the project, you are welcome to submit a
834
836
  [bug report](https://github.com/IBM/cloudant-node-sdk/issues).
835
- Before you submit a bug report, search for similar issues. It's possible that your issue has already been reported.
837
+ Before you submit a bug report, search for
838
+ [similar issues](https://github.com/IBM/cloudant-node-sdk/issues?q=is%3Aissue) and review the
839
+ [KNOWN_ISSUES file](KNOWN_ISSUES.md) to verify that your issue hasn't been reported yet.
836
840
 
837
841
  ## Open source at IBM
838
842
 
@@ -22,6 +22,8 @@ var __extends = (this && this.__extends) || (function () {
22
22
  return extendStatics(d, b);
23
23
  };
24
24
  return function (d, b) {
25
+ if (typeof b !== "function" && b !== null)
26
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
27
  extendStatics(d, b);
26
28
  function __() { this.constructor = d; }
27
29
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -1 +1 @@
1
- {"version":3,"file":"couchdbSessionAuthenticator.js","sourceRoot":"","sources":["../../auth/couchdbSessionAuthenticator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAEH,yDAA+E;AAC/E,6DAG+B;AAU/B;;;;;;;;;;;GAWG;AACH;IAAiD,+CAAa;IAK5D;;;;;;;OAOG;IACH,qCAAY,OAA2C;QAAvD,YACE,iBAAO,SAGR;QAFC,kCAAa,CAAC,OAAO,EAAE,KAAI,CAAC,eAAe,CAAC,CAAC;QAC7C,KAAI,C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CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IACH,kCAAC;AAAD,CAAC,AA1CD,CAAiD,kCAAa,GA0C7D;AA1CY,kEAA2B"}
@@ -22,6 +22,8 @@ var __extends = (this && this.__extends) || (function () {
22
22
  return extendStatics(d, b);
23
23
  };
24
24
  return function (d, b) {
25
+ if (typeof b !== "function" && b !== null)
26
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
27
  extendStatics(d, b);
26
28
  function __() { this.constructor = d; }
27
29
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -1 +1 @@
1
- {"version":3,"file":"sessionTokenManager.js","sourceRoot":"","sources":["../../auth/sessionTokenManager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAGH,yDAK4B;AAU5B;;;;;GAKG;AACH;IAAyC,uCAAY;IAUnD;;;;;;;;;;;;;;;OAeG;IACH,6BAAY,OAAmC;QAA/C,YACE,kBAAM,OAAO,CAAC,SAMf;QAhCS,qBAAe,GAAa;YACpC,UAAU;YACV,UAAU;YACV,YAAY;YACZ,KAAK;SACN,CAAC;QAuBA,kCAAa,CAAC,OAAO,EAAE,KAAI,CAAC,eAAe,CAAC,CAAC;QAE7C,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,SAAS,GAAG,aAAa,CAAC;;IACjC,CAAC;IAED;;;;;OAKG;IACI,wCAAU,GAAjB,UAAkB,OAA4B;QAC5C,IAAM,MAAM,GACV,iFAAiF,CAAC;QACpF,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;IAED;;;;OAIG;IACO,0CAAY,GAAtB;QACE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACzB,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;SAC3B;QACD,8BAA8B;QAC9B,IAAM,UAAU,GAAG;YACjB,OAAO,EAAE;gBACP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M;YACL,+BAA+B;YAC/B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YACnD,wCAAwC;YACxC,IAAM,UAAU,GAAG,IAAI,CAAC,UAAU,GAAG,mCAAc,EAAE,CAAC;YACtD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,UAAU,GAAG,UAAU,GAAG,CAAC,GAAG,GAAG,aAAa,CAAC,CAAC;SACzE;IACH,CAAC;IACH,0BAAC;AAAD,CAAC,AAvHD,CAAyC,iCAAY,GAuHpD;AAvHY,kDAAmB"}
package/cloudant/v1.d.ts CHANGED
@@ -89,8 +89,8 @@ declare class CloudantV1 extends CloudantBaseService {
89
89
  /**
90
90
  * Retrieve provisioned throughput capacity information.
91
91
  *
92
- * View the amount of provisioned throughput capacity allocated to an IBM Cloudant instance and what is the target
93
- * provisioned throughput capacity.
92
+ * View the amount of provisioned throughput capacity that is allocated to an IBM Cloudant instance and what is the
93
+ * target provisioned throughput capacity.
94
94
  *
95
95
  * @param {Object} [params] - The parameters to send to the service.
96
96
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
@@ -109,7 +109,7 @@ declare class CloudantV1 extends CloudantBaseService {
109
109
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
110
110
  * @returns {Promise<CloudantV1.Response<CloudantV1.CapacityThroughputInformation>>}
111
111
  */
112
- putCapacityThroughputInformation(params: CloudantV1.PutCapacityThroughputInformationParams): Promise<CloudantV1.Response<CloudantV1.CapacityThroughputInformation>>;
112
+ putCapacityThroughputConfiguration(params: CloudantV1.PutCapacityThroughputConfigurationParams): Promise<CloudantV1.Response<CloudantV1.CapacityThroughputInformation>>;
113
113
  /*************************
114
114
  * changes
115
115
  ************************/
@@ -654,8 +654,6 @@ declare class CloudantV1 extends CloudantBaseService {
654
654
  * response.
655
655
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
656
656
  * in attachment stubs if the particular attachment is compressed.
657
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
658
- * specified revisions. Note this does not include the attachments for the specified revisions.
659
657
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
660
658
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
661
659
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -666,8 +664,6 @@ declare class CloudantV1 extends CloudantBaseService {
666
664
  * document.
667
665
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
668
666
  * same as specifying all of the conflicts, deleted_conflicts and open_revs query parameters.
669
- * @param {string[]} [params.openRevs] - Query parameter to specify leaf revisions to retrieve. Additionally, it
670
- * accepts a value of `all` to return all leaf revisions.
671
667
  * @param {string} [params.rev] - Query parameter to specify a document revision.
672
668
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
673
669
  * revisions.
@@ -692,8 +688,6 @@ declare class CloudantV1 extends CloudantBaseService {
692
688
  * response.
693
689
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
694
690
  * in attachment stubs if the particular attachment is compressed.
695
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
696
- * specified revisions. Note this does not include the attachments for the specified revisions.
697
691
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
698
692
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
699
693
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -704,8 +698,6 @@ declare class CloudantV1 extends CloudantBaseService {
704
698
  * document.
705
699
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
706
700
  * same as specifying all of the conflicts, deleted_conflicts and open_revs query parameters.
707
- * @param {string[]} [params.openRevs] - Query parameter to specify leaf revisions to retrieve. Additionally, it
708
- * accepts a value of `all` to return all leaf revisions.
709
701
  * @param {string} [params.rev] - Query parameter to specify a document revision.
710
702
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
711
703
  * revisions.
@@ -730,8 +722,6 @@ declare class CloudantV1 extends CloudantBaseService {
730
722
  * response.
731
723
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
732
724
  * in attachment stubs if the particular attachment is compressed.
733
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
734
- * specified revisions. Note this does not include the attachments for the specified revisions.
735
725
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
736
726
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
737
727
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -742,8 +732,6 @@ declare class CloudantV1 extends CloudantBaseService {
742
732
  * document.
743
733
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
744
734
  * same as specifying all of the conflicts, deleted_conflicts and open_revs query parameters.
745
- * @param {string[]} [params.openRevs] - Query parameter to specify leaf revisions to retrieve. Additionally, it
746
- * accepts a value of `all` to return all leaf revisions.
747
735
  * @param {string} [params.rev] - Query parameter to specify a document revision.
748
736
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
749
737
  * revisions.
@@ -768,8 +756,6 @@ declare class CloudantV1 extends CloudantBaseService {
768
756
  * response.
769
757
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
770
758
  * in attachment stubs if the particular attachment is compressed.
771
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
772
- * specified revisions. Note this does not include the attachments for the specified revisions.
773
759
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
774
760
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
775
761
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -780,8 +766,6 @@ declare class CloudantV1 extends CloudantBaseService {
780
766
  * document.
781
767
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
782
768
  * same as specifying all of the conflicts, deleted_conflicts and open_revs query parameters.
783
- * @param {string[]} [params.openRevs] - Query parameter to specify leaf revisions to retrieve. Additionally, it
784
- * accepts a value of `all` to return all leaf revisions.
785
769
  * @param {string} [params.rev] - Query parameter to specify a document revision.
786
770
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
787
771
  * revisions.
@@ -872,8 +856,6 @@ declare class CloudantV1 extends CloudantBaseService {
872
856
  * response.
873
857
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
874
858
  * in attachment stubs if the particular attachment is compressed.
875
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
876
- * specified revisions. Note this does not include the attachments for the specified revisions.
877
859
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
878
860
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
879
861
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -884,8 +866,6 @@ declare class CloudantV1 extends CloudantBaseService {
884
866
  * document.
885
867
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
886
868
  * same as specifying all of the conflicts, deleted_conflicts and open_revs query parameters.
887
- * @param {string[]} [params.openRevs] - Query parameter to specify leaf revisions to retrieve. Additionally, it
888
- * accepts a value of `all` to return all leaf revisions.
889
869
  * @param {string} [params.rev] - Query parameter to specify a document revision.
890
870
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
891
871
  * revisions.
@@ -2067,8 +2047,6 @@ declare class CloudantV1 extends CloudantBaseService {
2067
2047
  * response.
2068
2048
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
2069
2049
  * in attachment stubs if the particular attachment is compressed.
2070
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
2071
- * specified revisions. Note this does not include the attachments for the specified revisions.
2072
2050
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
2073
2051
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
2074
2052
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -2079,8 +2057,6 @@ declare class CloudantV1 extends CloudantBaseService {
2079
2057
  * document.
2080
2058
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
2081
2059
  * same as specifying all of the conflicts, deleted_conflicts and open_revs query parameters.
2082
- * @param {string[]} [params.openRevs] - Query parameter to specify leaf revisions to retrieve. Additionally, it
2083
- * accepts a value of `all` to return all leaf revisions.
2084
2060
  * @param {string} [params.rev] - Query parameter to specify a document revision.
2085
2061
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
2086
2062
  * revisions.
@@ -2413,8 +2389,6 @@ declare class CloudantV1 extends CloudantBaseService {
2413
2389
  * response.
2414
2390
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
2415
2391
  * in attachment stubs if the particular attachment is compressed.
2416
- * @param {string[]} [params.attsSince] - Query parameter to specify whether to include attachments only since
2417
- * specified revisions. Note this does not include the attachments for the specified revisions.
2418
2392
  * @param {boolean} [params.localSeq] - Query parameter to specify whether to include the last update sequence for the
2419
2393
  * document.
2420
2394
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
@@ -2530,25 +2504,25 @@ declare class CloudantV1 extends CloudantBaseService {
2530
2504
  /**
2531
2505
  * Retrieve Activity Tracker events information.
2532
2506
  *
2533
- * Check event types that are being sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance.
2507
+ * Check event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
2534
2508
  *
2535
2509
  * @param {Object} [params] - The parameters to send to the service.
2536
2510
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
2537
- * @returns {Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEventsConfiguration>>}
2511
+ * @returns {Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEvents>>}
2538
2512
  */
2539
- getActivityTrackerEventsInformation(params?: CloudantV1.GetActivityTrackerEventsInformationParams): Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEventsConfiguration>>;
2513
+ getActivityTrackerEvents(params?: CloudantV1.GetActivityTrackerEventsParams): Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEvents>>;
2540
2514
  /**
2541
2515
  * Modify Activity Tracker events configuration.
2542
2516
  *
2543
- * Configure event types that are being sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance.
2517
+ * Configure event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
2544
2518
  *
2545
2519
  * @param {Object} params - The parameters to send to the service.
2546
- * @param {string[]} params.types - An array of event types that are being sent to IBM Cloud Activity Tracker with
2547
- * LogDNA for the IBM Cloudant instance. "management" is a required element of this array.
2520
+ * @param {string[]} params.types - An array of event types that are being sent to IBM Cloud Activity Tracker for the
2521
+ * IBM Cloudant instance. "management" is a required element of this array.
2548
2522
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
2549
2523
  * @returns {Promise<CloudantV1.Response<CloudantV1.Ok>>}
2550
2524
  */
2551
- postActivityTrackerEventsConfiguration(params: CloudantV1.PostActivityTrackerEventsConfigurationParams): Promise<CloudantV1.Response<CloudantV1.Ok>>;
2525
+ postActivityTrackerEvents(params: CloudantV1.PostActivityTrackerEventsParams): Promise<CloudantV1.Response<CloudantV1.Ok>>;
2552
2526
  /**
2553
2527
  * Retrieve the current provisioned throughput capacity consumption.
2554
2528
  *
@@ -2603,8 +2577,8 @@ declare namespace CloudantV1 {
2603
2577
  interface GetCapacityThroughputInformationParams {
2604
2578
  headers?: OutgoingHttpHeaders;
2605
2579
  }
2606
- /** Parameters for the `putCapacityThroughputInformation` operation. */
2607
- interface PutCapacityThroughputInformationParams {
2580
+ /** Parameters for the `putCapacityThroughputConfiguration` operation. */
2581
+ interface PutCapacityThroughputConfigurationParams {
2608
2582
  /** A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global
2609
2583
  * queries/sec of provisioned throughput capacity.
2610
2584
  */
@@ -3187,10 +3161,6 @@ declare namespace CloudantV1 {
3187
3161
  * attachment is compressed.
3188
3162
  */
3189
3163
  attEncodingInfo?: boolean;
3190
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
3191
- * include the attachments for the specified revisions.
3192
- */
3193
- attsSince?: string[];
3194
3164
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3195
3165
  * the returned document. Ignored if `include_docs` isn't `true`.
3196
3166
  */
@@ -3209,10 +3179,6 @@ declare namespace CloudantV1 {
3209
3179
  * the conflicts, deleted_conflicts and open_revs query parameters.
3210
3180
  */
3211
3181
  meta?: boolean;
3212
- /** Query parameter to specify leaf revisions to retrieve. Additionally, it accepts a value of `all` to return
3213
- * all leaf revisions.
3214
- */
3215
- openRevs?: string[];
3216
3182
  /** Query parameter to specify a document revision. */
3217
3183
  rev?: string;
3218
3184
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3235,10 +3201,6 @@ declare namespace CloudantV1 {
3235
3201
  * attachment is compressed.
3236
3202
  */
3237
3203
  attEncodingInfo?: boolean;
3238
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
3239
- * include the attachments for the specified revisions.
3240
- */
3241
- attsSince?: string[];
3242
3204
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3243
3205
  * the returned document. Ignored if `include_docs` isn't `true`.
3244
3206
  */
@@ -3257,10 +3219,6 @@ declare namespace CloudantV1 {
3257
3219
  * the conflicts, deleted_conflicts and open_revs query parameters.
3258
3220
  */
3259
3221
  meta?: boolean;
3260
- /** Query parameter to specify leaf revisions to retrieve. Additionally, it accepts a value of `all` to return
3261
- * all leaf revisions.
3262
- */
3263
- openRevs?: string[];
3264
3222
  /** Query parameter to specify a document revision. */
3265
3223
  rev?: string;
3266
3224
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3283,10 +3241,6 @@ declare namespace CloudantV1 {
3283
3241
  * attachment is compressed.
3284
3242
  */
3285
3243
  attEncodingInfo?: boolean;
3286
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
3287
- * include the attachments for the specified revisions.
3288
- */
3289
- attsSince?: string[];
3290
3244
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3291
3245
  * the returned document. Ignored if `include_docs` isn't `true`.
3292
3246
  */
@@ -3305,10 +3259,6 @@ declare namespace CloudantV1 {
3305
3259
  * the conflicts, deleted_conflicts and open_revs query parameters.
3306
3260
  */
3307
3261
  meta?: boolean;
3308
- /** Query parameter to specify leaf revisions to retrieve. Additionally, it accepts a value of `all` to return
3309
- * all leaf revisions.
3310
- */
3311
- openRevs?: string[];
3312
3262
  /** Query parameter to specify a document revision. */
3313
3263
  rev?: string;
3314
3264
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3331,10 +3281,6 @@ declare namespace CloudantV1 {
3331
3281
  * attachment is compressed.
3332
3282
  */
3333
3283
  attEncodingInfo?: boolean;
3334
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
3335
- * include the attachments for the specified revisions.
3336
- */
3337
- attsSince?: string[];
3338
3284
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3339
3285
  * the returned document. Ignored if `include_docs` isn't `true`.
3340
3286
  */
@@ -3353,10 +3299,6 @@ declare namespace CloudantV1 {
3353
3299
  * the conflicts, deleted_conflicts and open_revs query parameters.
3354
3300
  */
3355
3301
  meta?: boolean;
3356
- /** Query parameter to specify leaf revisions to retrieve. Additionally, it accepts a value of `all` to return
3357
- * all leaf revisions.
3358
- */
3359
- openRevs?: string[];
3360
3302
  /** Query parameter to specify a document revision. */
3361
3303
  rev?: string;
3362
3304
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3457,10 +3399,6 @@ declare namespace CloudantV1 {
3457
3399
  * attachment is compressed.
3458
3400
  */
3459
3401
  attEncodingInfo?: boolean;
3460
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
3461
- * include the attachments for the specified revisions.
3462
- */
3463
- attsSince?: string[];
3464
3402
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3465
3403
  * the returned document. Ignored if `include_docs` isn't `true`.
3466
3404
  */
@@ -3479,10 +3417,6 @@ declare namespace CloudantV1 {
3479
3417
  * the conflicts, deleted_conflicts and open_revs query parameters.
3480
3418
  */
3481
3419
  meta?: boolean;
3482
- /** Query parameter to specify leaf revisions to retrieve. Additionally, it accepts a value of `all` to return
3483
- * all leaf revisions.
3484
- */
3485
- openRevs?: string[];
3486
3420
  /** Query parameter to specify a document revision. */
3487
3421
  rev?: string;
3488
3422
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -5086,10 +5020,6 @@ declare namespace CloudantV1 {
5086
5020
  * attachment is compressed.
5087
5021
  */
5088
5022
  attEncodingInfo?: boolean;
5089
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
5090
- * include the attachments for the specified revisions.
5091
- */
5092
- attsSince?: string[];
5093
5023
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
5094
5024
  * the returned document. Ignored if `include_docs` isn't `true`.
5095
5025
  */
@@ -5108,10 +5038,6 @@ declare namespace CloudantV1 {
5108
5038
  * the conflicts, deleted_conflicts and open_revs query parameters.
5109
5039
  */
5110
5040
  meta?: boolean;
5111
- /** Query parameter to specify leaf revisions to retrieve. Additionally, it accepts a value of `all` to return
5112
- * all leaf revisions.
5113
- */
5114
- openRevs?: string[];
5115
5041
  /** Query parameter to specify a document revision. */
5116
5042
  rev?: string;
5117
5043
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -5408,10 +5334,6 @@ declare namespace CloudantV1 {
5408
5334
  * attachment is compressed.
5409
5335
  */
5410
5336
  attEncodingInfo?: boolean;
5411
- /** Query parameter to specify whether to include attachments only since specified revisions. Note this does not
5412
- * include the attachments for the specified revisions.
5413
- */
5414
- attsSince?: string[];
5415
5337
  /** Query parameter to specify whether to include the last update sequence for the document. */
5416
5338
  localSeq?: boolean;
5417
5339
  headers?: OutgoingHttpHeaders;
@@ -5498,20 +5420,20 @@ declare namespace CloudantV1 {
5498
5420
  interface GetUpInformationParams {
5499
5421
  headers?: OutgoingHttpHeaders;
5500
5422
  }
5501
- /** Parameters for the `getActivityTrackerEventsInformation` operation. */
5502
- interface GetActivityTrackerEventsInformationParams {
5423
+ /** Parameters for the `getActivityTrackerEvents` operation. */
5424
+ interface GetActivityTrackerEventsParams {
5503
5425
  headers?: OutgoingHttpHeaders;
5504
5426
  }
5505
- /** Parameters for the `postActivityTrackerEventsConfiguration` operation. */
5506
- interface PostActivityTrackerEventsConfigurationParams {
5507
- /** An array of event types that are being sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant
5508
- * instance. "management" is a required element of this array.
5427
+ /** Parameters for the `postActivityTrackerEvents` operation. */
5428
+ interface PostActivityTrackerEventsParams {
5429
+ /** An array of event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
5430
+ * "management" is a required element of this array.
5509
5431
  */
5510
- types: PostActivityTrackerEventsConfigurationConstants.Types | string[];
5432
+ types: PostActivityTrackerEventsConstants.Types | string[];
5511
5433
  headers?: OutgoingHttpHeaders;
5512
5434
  }
5513
- /** Constants for the `postActivityTrackerEventsConfiguration` operation. */
5514
- namespace PostActivityTrackerEventsConfigurationConstants {
5435
+ /** Constants for the `postActivityTrackerEvents` operation. */
5436
+ namespace PostActivityTrackerEventsConstants {
5515
5437
  /** Types */
5516
5438
  enum Types {
5517
5439
  MANAGEMENT = "management",
@@ -5550,10 +5472,10 @@ declare namespace CloudantV1 {
5550
5472
  /** Schema for a Unix epoch timestamp. */
5551
5473
  updated_on: number;
5552
5474
  }
5553
- /** Schema for Activity Tracker events configuration. */
5554
- interface ActivityTrackerEventsConfiguration {
5555
- /** An array of event types that are being sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant
5556
- * instance. "management" is a required element of this array.
5475
+ /** Schema for Activity Tracker events. */
5476
+ interface ActivityTrackerEvents {
5477
+ /** An array of event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
5478
+ * "management" is a required element of this array.
5557
5479
  */
5558
5480
  types: string[];
5559
5481
  }