@djangocfg/api 1.2.4 → 1.2.5
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/dist/index.cjs +6912 -5124
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6992 -4881
- package/dist/index.d.ts +6992 -4881
- package/dist/index.mjs +7024 -5247
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +211 -0
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +150 -0
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +152 -0
- package/src/cfg/generated/_utils/fetchers/index.ts +3 -2
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts +246 -0
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts +137 -0
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts +171 -0
- package/src/cfg/generated/_utils/hooks/index.ts +3 -2
- package/src/cfg/generated/_utils/schemas/CentrifugoChannelInfo.schema.ts +19 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts +19 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoChannelsResponse.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoChannelsResult.schema.ts +19 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoClientInfo.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoError.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoHistoryResponse.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoHistoryResult.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoInfoResponse.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoInfoResult.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoMetrics.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoNodeInfo.schema.ts +30 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts +19 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceResponse.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceResult.schema.ts +19 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts +19 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoProcess.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoPublication.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/CentrifugoStreamPosition.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/ChannelList.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/ChannelStatsSerializer.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/ConnectionTokenRequestRequest.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/ConnectionTokenResponse.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/HealthCheck.schema.ts +5 -7
- package/src/cfg/generated/_utils/schemas/ManualAckRequestRequest.schema.ts +20 -0
- package/src/cfg/generated/_utils/schemas/ManualAckResponse.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/OverviewStats.schema.ts +9 -12
- package/src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts +22 -0
- package/src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts +24 -0
- package/src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts +21 -0
- package/src/cfg/generated/_utils/schemas/index.ts +31 -10
- package/src/cfg/generated/cfg__centrifugo__centrifugo_admin_api/client.ts +136 -0
- package/src/cfg/generated/cfg__centrifugo__centrifugo_admin_api/models.ts +256 -0
- package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/client.ts +160 -0
- package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/models.ts +86 -0
- package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/client.ts +100 -0
- package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/index.ts +2 -0
- package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/models.ts +88 -0
- package/src/cfg/generated/cfg__health/models.ts +7 -11
- package/src/cfg/generated/client.ts +9 -6
- package/src/cfg/generated/index.ts +15 -10
- package/src/cfg/generated/schema.ts +4463 -3169
- package/src/cfg/generated/_utils/fetchers/cfg__ipc__ipcrpc_monitoring.ts +0 -179
- package/src/cfg/generated/_utils/fetchers/cfg__ipc__ipcrpc_testing.ts +0 -151
- package/src/cfg/generated/_utils/hooks/cfg__ipc__ipcrpc_monitoring.ts +0 -166
- package/src/cfg/generated/_utils/hooks/cfg__ipc__ipcrpc_testing.ts +0 -162
- package/src/cfg/generated/_utils/schemas/LoadTestRequestRequest.schema.ts +0 -22
- package/src/cfg/generated/_utils/schemas/LoadTestResponse.schema.ts +0 -21
- package/src/cfg/generated/_utils/schemas/LoadTestStatus.schema.ts +0 -27
- package/src/cfg/generated/_utils/schemas/MethodStat.schema.ts +0 -25
- package/src/cfg/generated/_utils/schemas/MethodStats.schema.ts +0 -22
- package/src/cfg/generated/_utils/schemas/NotificationStats.schema.ts +0 -25
- package/src/cfg/generated/_utils/schemas/RPCRequest.schema.ts +0 -25
- package/src/cfg/generated/_utils/schemas/RecentRequests.schema.ts +0 -22
- package/src/cfg/generated/_utils/schemas/TestRPCRequestRequest.schema.ts +0 -21
- package/src/cfg/generated/_utils/schemas/TestRPCResponse.schema.ts +0 -23
- package/src/cfg/generated/cfg__ipc__ipcrpc_monitoring/client.ts +0 -136
- package/src/cfg/generated/cfg__ipc__ipcrpc_monitoring/models.ts +0 -144
- package/src/cfg/generated/cfg__ipc__ipcrpc_testing/client.ts +0 -96
- package/src/cfg/generated/cfg__ipc__ipcrpc_testing/models.ts +0 -88
- /package/src/cfg/generated/{cfg__ipc__ipcrpc_monitoring → cfg__centrifugo__centrifugo_admin_api}/index.ts +0 -0
- /package/src/cfg/generated/{cfg__ipc__ipcrpc_testing → cfg__centrifugo__centrifugo_monitoring}/index.ts +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List of channel statistics.
|
|
3
|
+
*
|
|
4
|
+
* Response model (includes read-only fields).
|
|
5
|
+
*/
|
|
6
|
+
export interface ChannelList {
|
|
7
|
+
/** Channel statistics */
|
|
8
|
+
channels: Array<ChannelStatsSerializer>;
|
|
9
|
+
/** Total number of channels */
|
|
10
|
+
total_channels: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Health check response.
|
|
15
|
+
*
|
|
16
|
+
* Response model (includes read-only fields).
|
|
17
|
+
*/
|
|
18
|
+
export interface HealthCheck {
|
|
19
|
+
/** Health status: healthy or unhealthy */
|
|
20
|
+
status: string;
|
|
21
|
+
/** Configured wrapper URL */
|
|
22
|
+
wrapper_url: string;
|
|
23
|
+
/** Whether API key is configured */
|
|
24
|
+
has_api_key: boolean;
|
|
25
|
+
/** Current timestamp */
|
|
26
|
+
timestamp: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Overview statistics for Centrifugo publishes.
|
|
31
|
+
*
|
|
32
|
+
* Response model (includes read-only fields).
|
|
33
|
+
*/
|
|
34
|
+
export interface OverviewStats {
|
|
35
|
+
/** Total publishes in period */
|
|
36
|
+
total: number;
|
|
37
|
+
/** Successful publishes */
|
|
38
|
+
successful: number;
|
|
39
|
+
/** Failed publishes */
|
|
40
|
+
failed: number;
|
|
41
|
+
/** Timeout publishes */
|
|
42
|
+
timeout: number;
|
|
43
|
+
/** Success rate percentage */
|
|
44
|
+
success_rate: number;
|
|
45
|
+
/** Average duration in milliseconds */
|
|
46
|
+
avg_duration_ms: number;
|
|
47
|
+
/** Average ACKs received */
|
|
48
|
+
avg_acks_received: number;
|
|
49
|
+
/** Statistics period in hours */
|
|
50
|
+
period_hours: number;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Recent publishes list.
|
|
55
|
+
*
|
|
56
|
+
* Response model (includes read-only fields).
|
|
57
|
+
*/
|
|
58
|
+
export interface RecentPublishes {
|
|
59
|
+
/** List of recent publishes */
|
|
60
|
+
publishes: Array<Record<string, any>>;
|
|
61
|
+
/** Number of publishes returned */
|
|
62
|
+
count: number;
|
|
63
|
+
/** Total publishes available */
|
|
64
|
+
total_available: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Statistics per channel.
|
|
69
|
+
*
|
|
70
|
+
* Response model (includes read-only fields).
|
|
71
|
+
*/
|
|
72
|
+
export interface ChannelStatsSerializer {
|
|
73
|
+
/** Channel name */
|
|
74
|
+
channel: string;
|
|
75
|
+
/** Total publishes to this channel */
|
|
76
|
+
total: number;
|
|
77
|
+
/** Successful publishes */
|
|
78
|
+
successful: number;
|
|
79
|
+
/** Failed publishes */
|
|
80
|
+
failed: number;
|
|
81
|
+
/** Average duration */
|
|
82
|
+
avg_duration_ms: number;
|
|
83
|
+
/** Average ACKs received */
|
|
84
|
+
avg_acks: number;
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as Models from "./models";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* API endpoints for Centrifugo Testing.
|
|
6
|
+
*/
|
|
7
|
+
export class CfgCentrifugoTesting {
|
|
8
|
+
private client: any;
|
|
9
|
+
|
|
10
|
+
constructor(client: any) {
|
|
11
|
+
this.client = client;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Generate connection token
|
|
16
|
+
*
|
|
17
|
+
* Generate JWT token for WebSocket connection to Centrifugo.
|
|
18
|
+
*/
|
|
19
|
+
async centrifugoAdminApiTestingConnectionTokenCreate(data: Models.ConnectionTokenRequestRequest): Promise<Models.ConnectionTokenResponse> {
|
|
20
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/admin/api/testing/connection-token/", { body: data });
|
|
21
|
+
return response;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Publish test message
|
|
26
|
+
*
|
|
27
|
+
* Publish test message to Centrifugo via wrapper with optional ACK
|
|
28
|
+
* tracking.
|
|
29
|
+
*/
|
|
30
|
+
async centrifugoAdminApiTestingPublishTestCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {
|
|
31
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/admin/api/testing/publish-test/", { body: data });
|
|
32
|
+
return response;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Publish with database logging
|
|
37
|
+
*
|
|
38
|
+
* Publish message using CentrifugoClient with database logging. This will
|
|
39
|
+
* create CentrifugoLog records.
|
|
40
|
+
*/
|
|
41
|
+
async centrifugoAdminApiTestingPublishWithLoggingCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {
|
|
42
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/admin/api/testing/publish-with-logging/", { body: data });
|
|
43
|
+
return response;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Send manual ACK
|
|
48
|
+
*
|
|
49
|
+
* Manually send ACK for a message to the wrapper. Pass message_id in
|
|
50
|
+
* request body.
|
|
51
|
+
*/
|
|
52
|
+
async centrifugoAdminApiTestingSendAckCreate(data: Models.ManualAckRequestRequest): Promise<Models.ManualAckResponse> {
|
|
53
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/admin/api/testing/send-ack/", { body: data });
|
|
54
|
+
return response;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Generate connection token
|
|
59
|
+
*
|
|
60
|
+
* Generate JWT token for WebSocket connection to Centrifugo.
|
|
61
|
+
*/
|
|
62
|
+
async connectionTokenCreate(data: Models.ConnectionTokenRequestRequest): Promise<Models.ConnectionTokenResponse> {
|
|
63
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/testing/connection-token/", { body: data });
|
|
64
|
+
return response;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Publish test message
|
|
69
|
+
*
|
|
70
|
+
* Publish test message to Centrifugo via wrapper with optional ACK
|
|
71
|
+
* tracking.
|
|
72
|
+
*/
|
|
73
|
+
async publishTestCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {
|
|
74
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/testing/publish-test/", { body: data });
|
|
75
|
+
return response;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Publish with database logging
|
|
80
|
+
*
|
|
81
|
+
* Publish message using CentrifugoClient with database logging. This will
|
|
82
|
+
* create CentrifugoLog records.
|
|
83
|
+
*/
|
|
84
|
+
async publishWithLoggingCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {
|
|
85
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/testing/publish-with-logging/", { body: data });
|
|
86
|
+
return response;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Send manual ACK
|
|
91
|
+
*
|
|
92
|
+
* Manually send ACK for a message to the wrapper. Pass message_id in
|
|
93
|
+
* request body.
|
|
94
|
+
*/
|
|
95
|
+
async sendAckCreate(data: Models.ManualAckRequestRequest): Promise<Models.ManualAckResponse> {
|
|
96
|
+
const response = await this.client.request('POST', "/cfg/centrifugo/testing/send-ack/", { body: data });
|
|
97
|
+
return response;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request model for connection token generation.
|
|
3
|
+
*
|
|
4
|
+
* Request model (no read-only fields).
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectionTokenRequestRequest {
|
|
7
|
+
/** User ID for the connection */
|
|
8
|
+
user_id: string;
|
|
9
|
+
/** List of channels to authorize */
|
|
10
|
+
channels?: Array<string>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Response model for connection token.
|
|
15
|
+
*
|
|
16
|
+
* Response model (includes read-only fields).
|
|
17
|
+
*/
|
|
18
|
+
export interface ConnectionTokenResponse {
|
|
19
|
+
/** JWT token for WebSocket connection */
|
|
20
|
+
token: string;
|
|
21
|
+
/** Centrifugo WebSocket URL */
|
|
22
|
+
centrifugo_url: string;
|
|
23
|
+
/** Token expiration time (ISO 8601) */
|
|
24
|
+
expires_at: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Request model for test message publishing.
|
|
29
|
+
*
|
|
30
|
+
* Request model (no read-only fields).
|
|
31
|
+
*/
|
|
32
|
+
export interface PublishTestRequestRequest {
|
|
33
|
+
/** Target channel name */
|
|
34
|
+
channel: string;
|
|
35
|
+
/** Message data (any JSON object) */
|
|
36
|
+
data: Record<string, any>;
|
|
37
|
+
/** Wait for client acknowledgment */
|
|
38
|
+
wait_for_ack?: boolean;
|
|
39
|
+
/** ACK timeout in seconds */
|
|
40
|
+
ack_timeout?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Response model for test message publishing.
|
|
45
|
+
*
|
|
46
|
+
* Response model (includes read-only fields).
|
|
47
|
+
*/
|
|
48
|
+
export interface PublishTestResponse {
|
|
49
|
+
/** Whether publish succeeded */
|
|
50
|
+
success: boolean;
|
|
51
|
+
/** Unique message ID */
|
|
52
|
+
message_id: string;
|
|
53
|
+
/** Target channel */
|
|
54
|
+
channel: string;
|
|
55
|
+
/** Number of ACKs received */
|
|
56
|
+
acks_received?: number;
|
|
57
|
+
/** Whether message was delivered */
|
|
58
|
+
delivered?: boolean;
|
|
59
|
+
/** Error message if failed */
|
|
60
|
+
error?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Request model for manual ACK sending.
|
|
65
|
+
*
|
|
66
|
+
* Request model (no read-only fields).
|
|
67
|
+
*/
|
|
68
|
+
export interface ManualAckRequestRequest {
|
|
69
|
+
/** Message ID to acknowledge */
|
|
70
|
+
message_id: string;
|
|
71
|
+
/** Client ID sending the ACK */
|
|
72
|
+
client_id: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Response model for manual ACK.
|
|
77
|
+
*
|
|
78
|
+
* Response model (includes read-only fields).
|
|
79
|
+
*/
|
|
80
|
+
export interface ManualAckResponse {
|
|
81
|
+
/** Whether ACK was sent successfully */
|
|
82
|
+
success: boolean;
|
|
83
|
+
/** Message ID that was acknowledged */
|
|
84
|
+
message_id: string;
|
|
85
|
+
/** Error message if failed */
|
|
86
|
+
error?: string;
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Health check response.
|
|
3
3
|
*
|
|
4
4
|
* Response model (includes read-only fields).
|
|
5
5
|
*/
|
|
6
6
|
export interface HealthCheck {
|
|
7
|
-
/**
|
|
7
|
+
/** Health status: healthy or unhealthy */
|
|
8
8
|
status: string;
|
|
9
|
-
/**
|
|
9
|
+
/** Configured wrapper URL */
|
|
10
|
+
wrapper_url: string;
|
|
11
|
+
/** Whether API key is configured */
|
|
12
|
+
has_api_key: boolean;
|
|
13
|
+
/** Current timestamp */
|
|
10
14
|
timestamp: string;
|
|
11
|
-
/** Service name */
|
|
12
|
-
service: string;
|
|
13
|
-
/** Django-CFG version */
|
|
14
|
-
version: string;
|
|
15
|
-
/** Detailed health checks for databases, cache, and system */
|
|
16
|
-
checks: Record<string, any>;
|
|
17
|
-
/** Environment information */
|
|
18
|
-
environment: Record<string, any>;
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CfgAuth } from "./cfg__accounts__auth";
|
|
2
2
|
import { CfgBulkEmail } from "./cfg__newsletter__bulk_email";
|
|
3
3
|
import { CfgCampaigns } from "./cfg__newsletter__campaigns";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { CfgCentrifugoAdminApi } from "./cfg__centrifugo__centrifugo_admin_api";
|
|
5
|
+
import { CfgCentrifugoMonitoring } from "./cfg__centrifugo__centrifugo_monitoring";
|
|
6
|
+
import { CfgCentrifugoTesting } from "./cfg__centrifugo__centrifugo_testing";
|
|
6
7
|
import { CfgLeadSubmission } from "./cfg__leads__lead_submission";
|
|
7
8
|
import { CfgLogs } from "./cfg__newsletter__logs";
|
|
8
9
|
import { CfgNewsletters } from "./cfg__newsletter__newsletters";
|
|
@@ -49,8 +50,9 @@ export class APIClient {
|
|
|
49
50
|
public cfg_auth: CfgAuth;
|
|
50
51
|
public cfg_bulk_email: CfgBulkEmail;
|
|
51
52
|
public cfg_campaigns: CfgCampaigns;
|
|
52
|
-
public
|
|
53
|
-
public
|
|
53
|
+
public cfg_centrifugo_admin_api: CfgCentrifugoAdminApi;
|
|
54
|
+
public cfg_centrifugo_monitoring: CfgCentrifugoMonitoring;
|
|
55
|
+
public cfg_centrifugo_testing: CfgCentrifugoTesting;
|
|
54
56
|
public cfg_lead_submission: CfgLeadSubmission;
|
|
55
57
|
public cfg_logs: CfgLogs;
|
|
56
58
|
public cfg_newsletters: CfgNewsletters;
|
|
@@ -92,8 +94,9 @@ export class APIClient {
|
|
|
92
94
|
this.cfg_auth = new CfgAuth(this);
|
|
93
95
|
this.cfg_bulk_email = new CfgBulkEmail(this);
|
|
94
96
|
this.cfg_campaigns = new CfgCampaigns(this);
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
+
this.cfg_centrifugo_admin_api = new CfgCentrifugoAdminApi(this);
|
|
98
|
+
this.cfg_centrifugo_monitoring = new CfgCentrifugoMonitoring(this);
|
|
99
|
+
this.cfg_centrifugo_testing = new CfgCentrifugoTesting(this);
|
|
97
100
|
this.cfg_lead_submission = new CfgLeadSubmission(this);
|
|
98
101
|
this.cfg_logs = new CfgLogs(this);
|
|
99
102
|
this.cfg_newsletters = new CfgNewsletters(this);
|
|
@@ -46,8 +46,9 @@ import { APILogger } from "./logger";
|
|
|
46
46
|
import { CfgAuth } from "./cfg__accounts__auth/client";
|
|
47
47
|
import { CfgBulkEmail } from "./cfg__newsletter__bulk_email/client";
|
|
48
48
|
import { CfgCampaigns } from "./cfg__newsletter__campaigns/client";
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
49
|
+
import { CfgCentrifugoAdminApi } from "./cfg__centrifugo__centrifugo_admin_api/client";
|
|
50
|
+
import { CfgCentrifugoMonitoring } from "./cfg__centrifugo__centrifugo_monitoring/client";
|
|
51
|
+
import { CfgCentrifugoTesting } from "./cfg__centrifugo__centrifugo_testing/client";
|
|
51
52
|
import { CfgLeadSubmission } from "./cfg__leads__lead_submission/client";
|
|
52
53
|
import { CfgLogs } from "./cfg__newsletter__logs/client";
|
|
53
54
|
import { CfgNewsletters } from "./cfg__newsletter__newsletters/client";
|
|
@@ -66,8 +67,9 @@ import { CfgTasks } from "./cfg__tasks/client";
|
|
|
66
67
|
export * as CfgAuthTypes from "./cfg__accounts__auth/models";
|
|
67
68
|
export * as CfgBulkEmailTypes from "./cfg__newsletter__bulk_email/models";
|
|
68
69
|
export * as CfgCampaignsTypes from "./cfg__newsletter__campaigns/models";
|
|
69
|
-
export * as
|
|
70
|
-
export * as
|
|
70
|
+
export * as CfgCentrifugoAdminApiTypes from "./cfg__centrifugo__centrifugo_admin_api/models";
|
|
71
|
+
export * as CfgCentrifugoMonitoringTypes from "./cfg__centrifugo__centrifugo_monitoring/models";
|
|
72
|
+
export * as CfgCentrifugoTestingTypes from "./cfg__centrifugo__centrifugo_testing/models";
|
|
71
73
|
export * as CfgLeadSubmissionTypes from "./cfg__leads__lead_submission/models";
|
|
72
74
|
export * as CfgLogsTypes from "./cfg__newsletter__logs/models";
|
|
73
75
|
export * as CfgNewslettersTypes from "./cfg__newsletter__newsletters/models";
|
|
@@ -154,8 +156,9 @@ export class API {
|
|
|
154
156
|
public cfg_auth!: CfgAuth;
|
|
155
157
|
public cfg_bulk_email!: CfgBulkEmail;
|
|
156
158
|
public cfg_campaigns!: CfgCampaigns;
|
|
157
|
-
public
|
|
158
|
-
public
|
|
159
|
+
public cfg_centrifugo_admin_api!: CfgCentrifugoAdminApi;
|
|
160
|
+
public cfg_centrifugo_monitoring!: CfgCentrifugoMonitoring;
|
|
161
|
+
public cfg_centrifugo_testing!: CfgCentrifugoTesting;
|
|
159
162
|
public cfg_lead_submission!: CfgLeadSubmission;
|
|
160
163
|
public cfg_logs!: CfgLogs;
|
|
161
164
|
public cfg_newsletters!: CfgNewsletters;
|
|
@@ -199,8 +202,9 @@ export class API {
|
|
|
199
202
|
this.cfg_auth = this._client.cfg_auth;
|
|
200
203
|
this.cfg_bulk_email = this._client.cfg_bulk_email;
|
|
201
204
|
this.cfg_campaigns = this._client.cfg_campaigns;
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
205
|
+
this.cfg_centrifugo_admin_api = this._client.cfg_centrifugo_admin_api;
|
|
206
|
+
this.cfg_centrifugo_monitoring = this._client.cfg_centrifugo_monitoring;
|
|
207
|
+
this.cfg_centrifugo_testing = this._client.cfg_centrifugo_testing;
|
|
204
208
|
this.cfg_lead_submission = this._client.cfg_lead_submission;
|
|
205
209
|
this.cfg_logs = this._client.cfg_logs;
|
|
206
210
|
this.cfg_newsletters = this._client.cfg_newsletters;
|
|
@@ -238,8 +242,9 @@ export class API {
|
|
|
238
242
|
this.cfg_auth = this._client.cfg_auth;
|
|
239
243
|
this.cfg_bulk_email = this._client.cfg_bulk_email;
|
|
240
244
|
this.cfg_campaigns = this._client.cfg_campaigns;
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
245
|
+
this.cfg_centrifugo_admin_api = this._client.cfg_centrifugo_admin_api;
|
|
246
|
+
this.cfg_centrifugo_monitoring = this._client.cfg_centrifugo_monitoring;
|
|
247
|
+
this.cfg_centrifugo_testing = this._client.cfg_centrifugo_testing;
|
|
243
248
|
this.cfg_lead_submission = this._client.cfg_lead_submission;
|
|
244
249
|
this.cfg_logs = this._client.cfg_logs;
|
|
245
250
|
this.cfg_newsletters = this._client.cfg_newsletters;
|