@types/chartmogul-node 3.8.0 → 3.9.0

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.
chartmogul-node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chartmogul-node (https://github.com/c
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chartmogul-node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 18 Dec 2025 12:44:40 GMT
11
+ * Last updated: Wed, 07 Jan 2026 11:02:02 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -154,6 +154,10 @@ export namespace Customer {
154
154
  into: MergeID;
155
155
  }
156
156
 
157
+ interface SubscriptionData {
158
+ subscriptions: Array<{ uuid: string; data_source_uuid?: string }>;
159
+ }
160
+
157
161
  function create(config: Config, data: NewCustomer): Promise<Customer>;
158
162
  function retrieve(config: Config, uuid: string): Promise<Customer>;
159
163
  function modify(config: Config, uuid: string, data: UpdateCustomer): Promise<Customer>;
@@ -162,6 +166,14 @@ export namespace Customer {
162
166
  function search(config: Config, params?: SearchCustomersParams): Promise<Entries<Customer>>;
163
167
  function merge(config: Config, params?: MergeCustomersParams): Promise<{}>;
164
168
  function attributes(config: Config, uuid: string): Promise<Attributes>;
169
+ /**
170
+ * @deprecated Use Metrics.Customer.connectSubscriptions instead
171
+ */
172
+ function connectSubscriptions(config: Config, customerUuid: string, data: SubscriptionData): Promise<{}>;
173
+ /**
174
+ * @deprecated Use Metrics.Customer.disconnectSubscriptions instead
175
+ */
176
+ function disconnectSubscriptions(config: Config, customerUuid: string, data: SubscriptionData): Promise<{}>;
165
177
  }
166
178
 
167
179
  export namespace Plan {
@@ -413,12 +425,28 @@ export namespace Metrics {
413
425
  type: string;
414
426
  }
415
427
 
428
+ interface SubscriptionConnectionData {
429
+ subscriptions: Array<{ uuid: string; data_source_uuid: string }>;
430
+ }
431
+
416
432
  function subscriptions(
417
433
  config: Config,
418
434
  uuid: string,
419
435
  params?: CursorParams,
420
436
  ): Promise<Entries<MetricsSubscription>>;
421
437
  function activities(config: Config, uuid: string, params?: CursorParams): Promise<Entries<MetricsActivity>>;
438
+ function connectSubscriptions(
439
+ config: Config,
440
+ dataSourceUuid: string,
441
+ customerUuid: string,
442
+ data: SubscriptionConnectionData,
443
+ ): Promise<{}>;
444
+ function disconnectSubscriptions(
445
+ config: Config,
446
+ dataSourceUuid: string,
447
+ customerUuid: string,
448
+ data: SubscriptionConnectionData,
449
+ ): Promise<{}>;
422
450
  }
423
451
  }
424
452
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chartmogul-node",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "description": "TypeScript definitions for chartmogul-node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chartmogul-node",
6
6
  "license": "MIT",
@@ -21,6 +21,6 @@
21
21
  "scripts": {},
22
22
  "dependencies": {},
23
23
  "peerDependencies": {},
24
- "typesPublisherContentHash": "7da41e9839d6c14b03936648597fdf3871b78bab00aac33738d397de0cf3fe5a",
24
+ "typesPublisherContentHash": "0e60b2c701c2de3c16c73d58080555800e06ac72e709db5da801749ee7a008c5",
25
25
  "typeScriptVersion": "5.2"
26
26
  }