@types/chartmogul-node 2.0.2 → 3.8.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 +1 -1
- chartmogul-node/index.d.ts +34 -9
- chartmogul-node/package.json +4 -3
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:
|
|
11
|
+
* Last updated: Thu, 18 Dec 2025 12:44:40 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
chartmogul-node/index.d.ts
CHANGED
|
@@ -14,23 +14,48 @@ export namespace Ping {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export namespace DataSource {
|
|
17
|
+
type DataSourceStatus =
|
|
18
|
+
| "never_imported"
|
|
19
|
+
| "import_complete"
|
|
20
|
+
| "import_in_progress"
|
|
21
|
+
| "import_failed"
|
|
22
|
+
| string
|
|
23
|
+
| undefined;
|
|
24
|
+
|
|
25
|
+
interface ProcessingStatus {
|
|
26
|
+
processed?: number;
|
|
27
|
+
pending?: number;
|
|
28
|
+
failed?: number;
|
|
29
|
+
}
|
|
30
|
+
interface AutoChurnSubscriptionSetting {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
interval: number | null;
|
|
33
|
+
}
|
|
34
|
+
interface ExtraDataSourceParams {
|
|
35
|
+
with_processing_status?: boolean;
|
|
36
|
+
with_auto_churn_subscription_setting?: boolean;
|
|
37
|
+
with_invoice_handling_setting?: boolean;
|
|
38
|
+
}
|
|
39
|
+
interface ListDataSourcesParams extends ExtraDataSourceParams {
|
|
40
|
+
name?: string;
|
|
41
|
+
system?: string;
|
|
42
|
+
}
|
|
17
43
|
interface DataSource {
|
|
18
|
-
uuid?: string
|
|
44
|
+
uuid?: string;
|
|
19
45
|
name: string;
|
|
20
|
-
created_at?: string
|
|
21
|
-
status?:
|
|
22
|
-
system?: string
|
|
46
|
+
created_at?: string;
|
|
47
|
+
status?: DataSourceStatus;
|
|
48
|
+
system?: string;
|
|
49
|
+
processing_status?: ProcessingStatus;
|
|
50
|
+
auto_churn_subscription_setting?: AutoChurnSubscriptionSetting;
|
|
51
|
+
invoice_handling_setting?: Record<string, any>;
|
|
23
52
|
}
|
|
24
53
|
interface DataSources {
|
|
25
54
|
data_sources: DataSource[];
|
|
26
55
|
}
|
|
27
|
-
interface ListDataSourcesParams {
|
|
28
|
-
name?: string | undefined;
|
|
29
|
-
system?: string | undefined;
|
|
30
|
-
}
|
|
31
56
|
|
|
32
57
|
function create(config: Config, data: DataSource): Promise<DataSource>;
|
|
33
|
-
function retrieve(config: Config, uuid: string): Promise<DataSource>;
|
|
58
|
+
function retrieve(config: Config, uuid: string, params?: ExtraDataSourceParams): Promise<DataSource>;
|
|
34
59
|
function destroy(config: Config, uuid: string): Promise<{}>;
|
|
35
60
|
function all(config: Config, params?: ListDataSourcesParams): Promise<DataSources>;
|
|
36
61
|
}
|
chartmogul-node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chartmogul-node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.8.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",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"dependencies": {},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
23
|
+
"peerDependencies": {},
|
|
24
|
+
"typesPublisherContentHash": "7da41e9839d6c14b03936648597fdf3871b78bab00aac33738d397de0cf3fe5a",
|
|
25
|
+
"typeScriptVersion": "5.2"
|
|
25
26
|
}
|