@ibm-cloud/cloudant 0.0.14 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cloudant/v1.d.ts CHANGED
@@ -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.
@@ -2026,17 +2006,6 @@ declare class CloudantV1 extends CloudantBaseService {
2026
2006
  * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
2027
2007
  */
2028
2008
  headSchedulerJob(params: CloudantV1.HeadSchedulerJobParams): Promise<CloudantV1.Response<CloudantV1.Empty>>;
2029
- /**
2030
- * Create or modify a replication operation.
2031
- *
2032
- * Requests, configures, or stops a replicate operation.
2033
- *
2034
- * @param {Object} params - The parameters to send to the service.
2035
- * @param {ReplicationDocument} params.replicationDocument - HTTP request body for replication operations.
2036
- * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
2037
- * @returns {Promise<CloudantV1.Response<CloudantV1.ReplicationResult>>}
2038
- */
2039
- postReplicate(params: CloudantV1.PostReplicateParams): Promise<CloudantV1.Response<CloudantV1.ReplicationResult>>;
2040
2009
  /**
2041
2010
  * Cancel a replication.
2042
2011
  *
@@ -2067,8 +2036,6 @@ declare class CloudantV1 extends CloudantBaseService {
2067
2036
  * response.
2068
2037
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
2069
2038
  * 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
2039
  * @param {boolean} [params.conflicts] - Query parameter to specify whether to include a list of conflicted revisions
2073
2040
  * in the `_conflicts` property of the returned document. Ignored if `include_docs` isn't `true`.
2074
2041
  * @param {boolean} [params.deletedConflicts] - Query parameter to specify whether to include a list of deleted
@@ -2079,8 +2046,6 @@ declare class CloudantV1 extends CloudantBaseService {
2079
2046
  * document.
2080
2047
  * @param {boolean} [params.meta] - Query parameter to specify whether to include document meta information. Acts the
2081
2048
  * 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
2049
  * @param {string} [params.rev] - Query parameter to specify a document revision.
2085
2050
  * @param {boolean} [params.revs] - Query parameter to specify whether to include a list of all known document
2086
2051
  * revisions.
@@ -2091,7 +2056,7 @@ declare class CloudantV1 extends CloudantBaseService {
2091
2056
  */
2092
2057
  getReplicationDocument(params: CloudantV1.GetReplicationDocumentParams): Promise<CloudantV1.Response<CloudantV1.ReplicationDocument>>;
2093
2058
  /**
2094
- * Start or update a replication.
2059
+ * Create or modify a replication using a replication document.
2095
2060
  *
2096
2061
  * Creates or modifies a document in the `_replicator` database to start a new replication or to edit an existing
2097
2062
  * replication.
@@ -2413,8 +2378,6 @@ declare class CloudantV1 extends CloudantBaseService {
2413
2378
  * response.
2414
2379
  * @param {boolean} [params.attEncodingInfo] - Query parameter to specify whether to include the encoding information
2415
2380
  * 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
2381
  * @param {boolean} [params.localSeq] - Query parameter to specify whether to include the last update sequence for the
2419
2382
  * document.
2420
2383
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
@@ -2530,25 +2493,25 @@ declare class CloudantV1 extends CloudantBaseService {
2530
2493
  /**
2531
2494
  * Retrieve Activity Tracker events information.
2532
2495
  *
2533
- * Check event types that are being sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance.
2496
+ * Check event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
2534
2497
  *
2535
2498
  * @param {Object} [params] - The parameters to send to the service.
2536
2499
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
2537
- * @returns {Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEventsConfiguration>>}
2500
+ * @returns {Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEvents>>}
2538
2501
  */
2539
- getActivityTrackerEventsInformation(params?: CloudantV1.GetActivityTrackerEventsInformationParams): Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEventsConfiguration>>;
2502
+ getActivityTrackerEvents(params?: CloudantV1.GetActivityTrackerEventsParams): Promise<CloudantV1.Response<CloudantV1.ActivityTrackerEvents>>;
2540
2503
  /**
2541
2504
  * Modify Activity Tracker events configuration.
2542
2505
  *
2543
- * Configure event types that are being sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance.
2506
+ * Configure event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
2544
2507
  *
2545
2508
  * @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.
2509
+ * @param {string[]} params.types - An array of event types that are being sent to IBM Cloud Activity Tracker for the
2510
+ * IBM Cloudant instance. "management" is a required element of this array.
2548
2511
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
2549
2512
  * @returns {Promise<CloudantV1.Response<CloudantV1.Ok>>}
2550
2513
  */
2551
- postActivityTrackerEventsConfiguration(params: CloudantV1.PostActivityTrackerEventsConfigurationParams): Promise<CloudantV1.Response<CloudantV1.Ok>>;
2514
+ postActivityTrackerEvents(params: CloudantV1.PostActivityTrackerEventsParams): Promise<CloudantV1.Response<CloudantV1.Ok>>;
2552
2515
  /**
2553
2516
  * Retrieve the current provisioned throughput capacity consumption.
2554
2517
  *
@@ -2603,8 +2566,8 @@ declare namespace CloudantV1 {
2603
2566
  interface GetCapacityThroughputInformationParams {
2604
2567
  headers?: OutgoingHttpHeaders;
2605
2568
  }
2606
- /** Parameters for the `putCapacityThroughputInformation` operation. */
2607
- interface PutCapacityThroughputInformationParams {
2569
+ /** Parameters for the `putCapacityThroughputConfiguration` operation. */
2570
+ interface PutCapacityThroughputConfigurationParams {
2608
2571
  /** A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global
2609
2572
  * queries/sec of provisioned throughput capacity.
2610
2573
  */
@@ -3187,10 +3150,6 @@ declare namespace CloudantV1 {
3187
3150
  * attachment is compressed.
3188
3151
  */
3189
3152
  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
3153
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3195
3154
  * the returned document. Ignored if `include_docs` isn't `true`.
3196
3155
  */
@@ -3209,10 +3168,6 @@ declare namespace CloudantV1 {
3209
3168
  * the conflicts, deleted_conflicts and open_revs query parameters.
3210
3169
  */
3211
3170
  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
3171
  /** Query parameter to specify a document revision. */
3217
3172
  rev?: string;
3218
3173
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3235,10 +3190,6 @@ declare namespace CloudantV1 {
3235
3190
  * attachment is compressed.
3236
3191
  */
3237
3192
  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
3193
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3243
3194
  * the returned document. Ignored if `include_docs` isn't `true`.
3244
3195
  */
@@ -3257,10 +3208,6 @@ declare namespace CloudantV1 {
3257
3208
  * the conflicts, deleted_conflicts and open_revs query parameters.
3258
3209
  */
3259
3210
  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
3211
  /** Query parameter to specify a document revision. */
3265
3212
  rev?: string;
3266
3213
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3283,10 +3230,6 @@ declare namespace CloudantV1 {
3283
3230
  * attachment is compressed.
3284
3231
  */
3285
3232
  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
3233
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3291
3234
  * the returned document. Ignored if `include_docs` isn't `true`.
3292
3235
  */
@@ -3305,10 +3248,6 @@ declare namespace CloudantV1 {
3305
3248
  * the conflicts, deleted_conflicts and open_revs query parameters.
3306
3249
  */
3307
3250
  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
3251
  /** Query parameter to specify a document revision. */
3313
3252
  rev?: string;
3314
3253
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3331,10 +3270,6 @@ declare namespace CloudantV1 {
3331
3270
  * attachment is compressed.
3332
3271
  */
3333
3272
  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
3273
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3339
3274
  * the returned document. Ignored if `include_docs` isn't `true`.
3340
3275
  */
@@ -3353,10 +3288,6 @@ declare namespace CloudantV1 {
3353
3288
  * the conflicts, deleted_conflicts and open_revs query parameters.
3354
3289
  */
3355
3290
  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
3291
  /** Query parameter to specify a document revision. */
3361
3292
  rev?: string;
3362
3293
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -3457,10 +3388,6 @@ declare namespace CloudantV1 {
3457
3388
  * attachment is compressed.
3458
3389
  */
3459
3390
  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
3391
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
3465
3392
  * the returned document. Ignored if `include_docs` isn't `true`.
3466
3393
  */
@@ -3479,10 +3406,6 @@ declare namespace CloudantV1 {
3479
3406
  * the conflicts, deleted_conflicts and open_revs query parameters.
3480
3407
  */
3481
3408
  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
3409
  /** Query parameter to specify a document revision. */
3487
3410
  rev?: string;
3488
3411
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -5047,12 +4970,6 @@ declare namespace CloudantV1 {
5047
4970
  jobId: string;
5048
4971
  headers?: OutgoingHttpHeaders;
5049
4972
  }
5050
- /** Parameters for the `postReplicate` operation. */
5051
- interface PostReplicateParams {
5052
- /** HTTP request body for replication operations. */
5053
- replicationDocument: ReplicationDocument;
5054
- headers?: OutgoingHttpHeaders;
5055
- }
5056
4973
  /** Parameters for the `deleteReplicationDocument` operation. */
5057
4974
  interface DeleteReplicationDocumentParams {
5058
4975
  /** Path parameter to specify the document ID. */
@@ -5086,10 +5003,6 @@ declare namespace CloudantV1 {
5086
5003
  * attachment is compressed.
5087
5004
  */
5088
5005
  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
5006
  /** Query parameter to specify whether to include a list of conflicted revisions in the `_conflicts` property of
5094
5007
  * the returned document. Ignored if `include_docs` isn't `true`.
5095
5008
  */
@@ -5108,10 +5021,6 @@ declare namespace CloudantV1 {
5108
5021
  * the conflicts, deleted_conflicts and open_revs query parameters.
5109
5022
  */
5110
5023
  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
5024
  /** Query parameter to specify a document revision. */
5116
5025
  rev?: string;
5117
5026
  /** Query parameter to specify whether to include a list of all known document revisions. */
@@ -5408,10 +5317,6 @@ declare namespace CloudantV1 {
5408
5317
  * attachment is compressed.
5409
5318
  */
5410
5319
  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
5320
  /** Query parameter to specify whether to include the last update sequence for the document. */
5416
5321
  localSeq?: boolean;
5417
5322
  headers?: OutgoingHttpHeaders;
@@ -5498,20 +5403,20 @@ declare namespace CloudantV1 {
5498
5403
  interface GetUpInformationParams {
5499
5404
  headers?: OutgoingHttpHeaders;
5500
5405
  }
5501
- /** Parameters for the `getActivityTrackerEventsInformation` operation. */
5502
- interface GetActivityTrackerEventsInformationParams {
5406
+ /** Parameters for the `getActivityTrackerEvents` operation. */
5407
+ interface GetActivityTrackerEventsParams {
5503
5408
  headers?: OutgoingHttpHeaders;
5504
5409
  }
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.
5410
+ /** Parameters for the `postActivityTrackerEvents` operation. */
5411
+ interface PostActivityTrackerEventsParams {
5412
+ /** An array of event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
5413
+ * "management" is a required element of this array.
5509
5414
  */
5510
- types: PostActivityTrackerEventsConfigurationConstants.Types | string[];
5415
+ types: PostActivityTrackerEventsConstants.Types | string[];
5511
5416
  headers?: OutgoingHttpHeaders;
5512
5417
  }
5513
- /** Constants for the `postActivityTrackerEventsConfiguration` operation. */
5514
- namespace PostActivityTrackerEventsConfigurationConstants {
5418
+ /** Constants for the `postActivityTrackerEvents` operation. */
5419
+ namespace PostActivityTrackerEventsConstants {
5515
5420
  /** Types */
5516
5421
  enum Types {
5517
5422
  MANAGEMENT = "management",
@@ -5550,10 +5455,10 @@ declare namespace CloudantV1 {
5550
5455
  /** Schema for a Unix epoch timestamp. */
5551
5456
  updated_on: number;
5552
5457
  }
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.
5458
+ /** Schema for Activity Tracker events. */
5459
+ interface ActivityTrackerEvents {
5460
+ /** An array of event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
5461
+ * "management" is a required element of this array.
5557
5462
  */
5558
5463
  types: string[];
5559
5464
  }
@@ -5686,8 +5591,6 @@ declare namespace CloudantV1 {
5686
5591
  atts_since?: string[];
5687
5592
  /** Schema for a document ID. */
5688
5593
  id: string;
5689
- /** Retrieves documents of specified leaf revisions. */
5690
- open_revs?: string[];
5691
5594
  /** Schema for a document revision identifier. */
5692
5595
  rev?: string;
5693
5596
  }
@@ -6443,44 +6346,6 @@ declare namespace CloudantV1 {
6443
6346
  /** ReplicationDocument accepts additional properties. */
6444
6347
  [propName: string]: any;
6445
6348
  }
6446
- /** Schema for replication history information. */
6447
- interface ReplicationHistory {
6448
- /** Number of document write failures. */
6449
- doc_write_failures: number;
6450
- /** Number of documents read. */
6451
- docs_read: number;
6452
- /** Number of documents written to target. */
6453
- docs_written: number;
6454
- /** Last sequence number in changes stream. */
6455
- end_last_seq: string;
6456
- /** Date/Time replication operation completed in RFC 2822 format. */
6457
- end_time: string;
6458
- /** Number of missing documents checked. */
6459
- missing_checked: number;
6460
- /** Number of missing documents found. */
6461
- missing_found: number;
6462
- /** Last recorded sequence number. */
6463
- recorded_seq: string;
6464
- /** Session ID for this replication operation. */
6465
- session_id: string;
6466
- /** First sequence number in changes stream. */
6467
- start_last_seq: string;
6468
- /** Date/Time replication operation started in RFC 2822 format. */
6469
- start_time: string;
6470
- }
6471
- /** Schema for a replication result. */
6472
- interface ReplicationResult {
6473
- /** Replication history. */
6474
- history: ReplicationHistory[];
6475
- /** Replication status. */
6476
- ok: boolean;
6477
- /** Replication protocol version. */
6478
- replication_id_version: number;
6479
- /** Unique session ID. */
6480
- session_id: string;
6481
- /** Last sequence number read from source database. */
6482
- source_last_seq: string;
6483
- }
6484
6349
  /** Schema for list of revision information. */
6485
6350
  interface Revisions {
6486
6351
  /** Array of valid revision IDs, in reverse order (latest first). */