@quantcdn/quant-client 4.0.0 → 4.2.1
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 +11 -16
- package/api.ts +13646 -9336
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +11869 -7571
- package/dist/api.js +4055 -4690
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +11869 -7571
- package/dist/esm/api.js +4053 -4636
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +3 -3
- package/tsconfig.json +3 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ import { EnvironmentsApi, Configuration } from 'quant-ts-client';
|
|
|
16
16
|
// Create a configuration with your API key
|
|
17
17
|
const config = new Configuration({
|
|
18
18
|
apiKey: 'YOUR_API_KEY',
|
|
19
|
-
basePath: 'https://
|
|
19
|
+
basePath: 'https://dashboard.quantcdn.io'
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
// Initialize an API instance
|
|
@@ -48,7 +48,7 @@ The client provides access to the following API endpoints:
|
|
|
48
48
|
- `EnvironmentsApi` - Manage environments
|
|
49
49
|
- `ContainersApi` - Manage containers
|
|
50
50
|
- `CommandsApi` - Execute commands
|
|
51
|
-
- `ComposeApi` - Docker Compose
|
|
51
|
+
- `ComposeApi` - Docker Compose and container definitions
|
|
52
52
|
|
|
53
53
|
### Scheduling & Automation
|
|
54
54
|
- `CronApi` - Manage cron jobs
|
|
@@ -67,22 +67,17 @@ The client provides access to the following API endpoints:
|
|
|
67
67
|
- `ProjectsApi` - Project management
|
|
68
68
|
|
|
69
69
|
### Rules & Traffic Management
|
|
70
|
-
- `
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- `RulesCustomResponseApi` - Custom response rules
|
|
74
|
-
- `RulesFunctionApi` - Function-based rules
|
|
75
|
-
- `RulesHeadersApi` - Header manipulation rules
|
|
76
|
-
- `RulesProxyApi` - Proxy rules
|
|
77
|
-
- `RulesRedirectApi` - Redirect rules
|
|
78
|
-
- `RulesServeStaticApi` - Static file serving rules
|
|
79
|
-
|
|
80
|
-
### Infrastructure
|
|
70
|
+
- `RulesApi` - Unified rules management (auth, redirects, proxies, headers, etc.)
|
|
71
|
+
|
|
72
|
+
### Infrastructure & Performance
|
|
81
73
|
- `DomainsApi` - Domain management
|
|
82
74
|
- `HeadersApi` - Custom headers
|
|
83
75
|
- `PurgeApi` - Cache purging
|
|
84
76
|
- `ScalingPolicyApi` - Auto-scaling policies
|
|
85
77
|
|
|
78
|
+
### AI & Advanced Features
|
|
79
|
+
- `AIServicesApi` - AI services integration
|
|
80
|
+
|
|
86
81
|
## Examples
|
|
87
82
|
|
|
88
83
|
### Working with Applications
|
|
@@ -113,8 +108,7 @@ envsApi.setDefaultAuthentication(auth);
|
|
|
113
108
|
|
|
114
109
|
// Create an environment
|
|
115
110
|
const env = await envsApi.createEnvironment('org-id', 'app-id', {
|
|
116
|
-
name: 'production'
|
|
117
|
-
region: 'us-east-1'
|
|
111
|
+
name: 'production'
|
|
118
112
|
});
|
|
119
113
|
|
|
120
114
|
// Get environment logs
|
|
@@ -192,4 +186,5 @@ try {
|
|
|
192
186
|
|
|
193
187
|
## License
|
|
194
188
|
|
|
195
|
-
MIT
|
|
189
|
+
MIT
|
|
190
|
+
|