@syntaxcircus/cmsify-client 0.4.2 → 0.4.4

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.d.cts CHANGED
@@ -1568,6 +1568,47 @@ interface paths {
1568
1568
  patch?: never;
1569
1569
  trace?: never;
1570
1570
  };
1571
+ "/api/v1/security/ip-bans": {
1572
+ parameters: {
1573
+ query?: never;
1574
+ header?: never;
1575
+ path?: never;
1576
+ cookie?: never;
1577
+ };
1578
+ get: {
1579
+ parameters: {
1580
+ query?: {
1581
+ IpAddress?: string;
1582
+ Page?: number;
1583
+ PageSize?: number;
1584
+ };
1585
+ header?: never;
1586
+ path?: never;
1587
+ cookie?: never;
1588
+ };
1589
+ requestBody?: never;
1590
+ responses: {
1591
+ /** @description OK */
1592
+ 200: {
1593
+ headers: {
1594
+ [name: string]: unknown;
1595
+ };
1596
+ content: {
1597
+ "text/plain": components["schemas"]["IpBanEventResponsePagedResponse"];
1598
+ "application/json": components["schemas"]["IpBanEventResponsePagedResponse"];
1599
+ "text/json": components["schemas"]["IpBanEventResponsePagedResponse"];
1600
+ };
1601
+ };
1602
+ };
1603
+ };
1604
+ put?: never;
1605
+ post?: never;
1606
+ delete?: never;
1607
+ options?: never;
1608
+ head?: never;
1609
+ patch?: never;
1610
+ trace?: never;
1611
+ };
1571
1612
  "/api/v1/workspaces/{workspaceId}/media": {
1572
1613
  parameters: {
1573
1614
  query?: never;
@@ -4100,6 +4141,29 @@ interface components {
4100
4141
  endpoint: components["schemas"]["WebhookEndpointResponse"];
4101
4142
  secret: string;
4102
4143
  };
4144
+ IpBanEventResponse: {
4145
+ /** Format: uuid */
4146
+ id: string;
4147
+ ipAddress: string;
4148
+ /** Format: int32 */
4149
+ rejectionCount: number;
4150
+ /** Format: date-time */
4151
+ bannedAt: string;
4152
+ /** Format: date-time */
4153
+ bannedUntil: string;
4154
+ requestPath?: string | null;
4155
+ };
4156
+ IpBanEventResponsePagedResponse: {
4157
+ items: components["schemas"]["IpBanEventResponse"][];
4158
+ /** Format: int32 */
4159
+ totalCount: number;
4160
+ /** Format: int32 */
4161
+ page: number;
4162
+ /** Format: int32 */
4163
+ pageSize: number;
4164
+ /** Format: int32 */
4165
+ readonly totalPages: number;
4166
+ };
4103
4167
  LinkTranslationRequest: {
4104
4168
  /** Format: uuid */
4105
4169
  targetContentItemId: string;
package/dist/index.d.ts CHANGED
@@ -1568,6 +1568,47 @@ interface paths {
1568
1568
  patch?: never;
1569
1569
  trace?: never;
1570
1570
  };
1571
+ "/api/v1/security/ip-bans": {
1572
+ parameters: {
1573
+ query?: never;
1574
+ header?: never;
1575
+ path?: never;
1576
+ cookie?: never;
1577
+ };
1578
+ get: {
1579
+ parameters: {
1580
+ query?: {
1581
+ IpAddress?: string;
1582
+ Page?: number;
1583
+ PageSize?: number;
1584
+ };
1585
+ header?: never;
1586
+ path?: never;
1587
+ cookie?: never;
1588
+ };
1589
+ requestBody?: never;
1590
+ responses: {
1591
+ /** @description OK */
1592
+ 200: {
1593
+ headers: {
1594
+ [name: string]: unknown;
1595
+ };
1596
+ content: {
1597
+ "text/plain": components["schemas"]["IpBanEventResponsePagedResponse"];
1598
+ "application/json": components["schemas"]["IpBanEventResponsePagedResponse"];
1599
+ "text/json": components["schemas"]["IpBanEventResponsePagedResponse"];
1600
+ };
1601
+ };
1602
+ };
1603
+ };
1604
+ put?: never;
1605
+ post?: never;
1606
+ delete?: never;
1607
+ options?: never;
1608
+ head?: never;
1609
+ patch?: never;
1610
+ trace?: never;
1611
+ };
1571
1612
  "/api/v1/workspaces/{workspaceId}/media": {
1572
1613
  parameters: {
1573
1614
  query?: never;
@@ -4100,6 +4141,29 @@ interface components {
4100
4141
  endpoint: components["schemas"]["WebhookEndpointResponse"];
4101
4142
  secret: string;
4102
4143
  };
4144
+ IpBanEventResponse: {
4145
+ /** Format: uuid */
4146
+ id: string;
4147
+ ipAddress: string;
4148
+ /** Format: int32 */
4149
+ rejectionCount: number;
4150
+ /** Format: date-time */
4151
+ bannedAt: string;
4152
+ /** Format: date-time */
4153
+ bannedUntil: string;
4154
+ requestPath?: string | null;
4155
+ };
4156
+ IpBanEventResponsePagedResponse: {
4157
+ items: components["schemas"]["IpBanEventResponse"][];
4158
+ /** Format: int32 */
4159
+ totalCount: number;
4160
+ /** Format: int32 */
4161
+ page: number;
4162
+ /** Format: int32 */
4163
+ pageSize: number;
4164
+ /** Format: int32 */
4165
+ readonly totalPages: number;
4166
+ };
4103
4167
  LinkTranslationRequest: {
4104
4168
  /** Format: uuid */
4105
4169
  targetContentItemId: string;