@syntaxcircus/cmsify-client 0.4.0 → 0.4.3
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.map +1 -1
- package/dist/index.d.cts +64 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/generated/schema.ts +64 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syntaxcircus/cmsify-client",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "First-party TypeScript client for the Cmsify API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"typecheck": "tsc --noEmit"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"openapi-fetch": "^0.
|
|
38
|
+
"openapi-fetch": "^0.17.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/node": "^22.
|
|
41
|
+
"@types/node": "^22.20.0",
|
|
42
42
|
"openapi-typescript": "^7.8.0",
|
|
43
43
|
"tsup": "^8.5.0",
|
|
44
|
-
"tsx": "^4.
|
|
44
|
+
"tsx": "^4.23.13",
|
|
45
45
|
"typescript": "^5.8.0",
|
|
46
|
-
"vitest": "^
|
|
46
|
+
"vitest": "^5.0.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "485f1783237a38cb1fa4e41697b8c3b503c43423"
|
|
49
49
|
}
|
package/src/generated/schema.ts
CHANGED
|
@@ -1558,6 +1558,47 @@ export interface paths {
|
|
|
1558
1558
|
patch?: never;
|
|
1559
1559
|
trace?: never;
|
|
1560
1560
|
};
|
|
1561
|
+
"/api/v1/security/ip-bans": {
|
|
1562
|
+
parameters: {
|
|
1563
|
+
query?: never;
|
|
1564
|
+
header?: never;
|
|
1565
|
+
path?: never;
|
|
1566
|
+
cookie?: never;
|
|
1567
|
+
};
|
|
1568
|
+
get: {
|
|
1569
|
+
parameters: {
|
|
1570
|
+
query?: {
|
|
1571
|
+
IpAddress?: string;
|
|
1572
|
+
Page?: number;
|
|
1573
|
+
PageSize?: number;
|
|
1574
|
+
};
|
|
1575
|
+
header?: never;
|
|
1576
|
+
path?: never;
|
|
1577
|
+
cookie?: never;
|
|
1578
|
+
};
|
|
1579
|
+
requestBody?: never;
|
|
1580
|
+
responses: {
|
|
1581
|
+
/** @description OK */
|
|
1582
|
+
200: {
|
|
1583
|
+
headers: {
|
|
1584
|
+
[name: string]: unknown;
|
|
1585
|
+
};
|
|
1586
|
+
content: {
|
|
1587
|
+
"text/plain": components["schemas"]["IpBanEventResponsePagedResponse"];
|
|
1588
|
+
"application/json": components["schemas"]["IpBanEventResponsePagedResponse"];
|
|
1589
|
+
"text/json": components["schemas"]["IpBanEventResponsePagedResponse"];
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
put?: never;
|
|
1595
|
+
post?: never;
|
|
1596
|
+
delete?: never;
|
|
1597
|
+
options?: never;
|
|
1598
|
+
head?: never;
|
|
1599
|
+
patch?: never;
|
|
1600
|
+
trace?: never;
|
|
1601
|
+
};
|
|
1561
1602
|
"/api/v1/workspaces/{workspaceId}/media": {
|
|
1562
1603
|
parameters: {
|
|
1563
1604
|
query?: never;
|
|
@@ -4090,6 +4131,29 @@ export interface components {
|
|
|
4090
4131
|
endpoint: components["schemas"]["WebhookEndpointResponse"];
|
|
4091
4132
|
secret: string;
|
|
4092
4133
|
};
|
|
4134
|
+
IpBanEventResponse: {
|
|
4135
|
+
/** Format: uuid */
|
|
4136
|
+
id: string;
|
|
4137
|
+
ipAddress: string;
|
|
4138
|
+
/** Format: int32 */
|
|
4139
|
+
rejectionCount: number;
|
|
4140
|
+
/** Format: date-time */
|
|
4141
|
+
bannedAt: string;
|
|
4142
|
+
/** Format: date-time */
|
|
4143
|
+
bannedUntil: string;
|
|
4144
|
+
requestPath?: string | null;
|
|
4145
|
+
};
|
|
4146
|
+
IpBanEventResponsePagedResponse: {
|
|
4147
|
+
items: components["schemas"]["IpBanEventResponse"][];
|
|
4148
|
+
/** Format: int32 */
|
|
4149
|
+
totalCount: number;
|
|
4150
|
+
/** Format: int32 */
|
|
4151
|
+
page: number;
|
|
4152
|
+
/** Format: int32 */
|
|
4153
|
+
pageSize: number;
|
|
4154
|
+
/** Format: int32 */
|
|
4155
|
+
readonly totalPages: number;
|
|
4156
|
+
};
|
|
4093
4157
|
LinkTranslationRequest: {
|
|
4094
4158
|
/** Format: uuid */
|
|
4095
4159
|
targetContentItemId: string;
|