@djvlc/openapi-user-client 1.8.3 → 1.8.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.mts CHANGED
@@ -284,10 +284,10 @@ interface ActionDefinitionVersionResponse {
284
284
  createdByUsername: string;
285
285
  /**
286
286
  * 创建时间
287
- * @type {Date}
287
+ * @type {string}
288
288
  * @memberof ActionDefinitionVersionResponse
289
289
  */
290
- createdAt: Date;
290
+ createdAt: string;
291
291
  }
292
292
  /**
293
293
  * @export
@@ -344,16 +344,16 @@ interface ActivityInfoData {
344
344
  type: string;
345
345
  /**
346
346
  * 开始时间
347
- * @type {Date}
347
+ * @type {string}
348
348
  * @memberof ActivityInfoData
349
349
  */
350
- startAt: Date;
350
+ startAt: string;
351
351
  /**
352
352
  * 结束时间
353
- * @type {Date}
353
+ * @type {string}
354
354
  * @memberof ActivityInfoData
355
355
  */
356
- endAt: Date;
356
+ endAt: string;
357
357
  }
358
358
  /**
359
359
  * Check if a given object implements the ActivityInfoData interface.
@@ -857,10 +857,10 @@ interface BlockedComponentItem {
857
857
  reason: string;
858
858
  /**
859
859
  * 阻断时间
860
- * @type {Date}
860
+ * @type {string}
861
861
  * @memberof BlockedComponentItem
862
862
  */
863
- blockedAt: Date;
863
+ blockedAt: string;
864
864
  /**
865
865
  * 阻断操作者
866
866
  * @type {string}
@@ -1743,10 +1743,10 @@ interface KillSwitchItem {
1743
1743
  reason?: string;
1744
1744
  /**
1745
1745
  * 关闭时间
1746
- * @type {Date}
1746
+ * @type {string}
1747
1747
  * @memberof KillSwitchItem
1748
1748
  */
1749
- enabledAt?: Date;
1749
+ enabledAt?: string;
1750
1750
  /**
1751
1751
  * 关闭操作者
1752
1752
  * @type {string}
@@ -1871,10 +1871,10 @@ interface OpsConfig {
1871
1871
  rateLimit?: RateLimitConfig;
1872
1872
  /**
1873
1873
  * 配置过期时间
1874
- * @type {Date}
1874
+ * @type {string}
1875
1875
  * @memberof OpsConfig
1876
1876
  */
1877
- expiresAt?: Date;
1877
+ expiresAt?: string;
1878
1878
  }
1879
1879
  /**
1880
1880
  * Check if a given object implements the OpsConfig interface.
package/dist/index.d.ts CHANGED
@@ -284,10 +284,10 @@ interface ActionDefinitionVersionResponse {
284
284
  createdByUsername: string;
285
285
  /**
286
286
  * 创建时间
287
- * @type {Date}
287
+ * @type {string}
288
288
  * @memberof ActionDefinitionVersionResponse
289
289
  */
290
- createdAt: Date;
290
+ createdAt: string;
291
291
  }
292
292
  /**
293
293
  * @export
@@ -344,16 +344,16 @@ interface ActivityInfoData {
344
344
  type: string;
345
345
  /**
346
346
  * 开始时间
347
- * @type {Date}
347
+ * @type {string}
348
348
  * @memberof ActivityInfoData
349
349
  */
350
- startAt: Date;
350
+ startAt: string;
351
351
  /**
352
352
  * 结束时间
353
- * @type {Date}
353
+ * @type {string}
354
354
  * @memberof ActivityInfoData
355
355
  */
356
- endAt: Date;
356
+ endAt: string;
357
357
  }
358
358
  /**
359
359
  * Check if a given object implements the ActivityInfoData interface.
@@ -857,10 +857,10 @@ interface BlockedComponentItem {
857
857
  reason: string;
858
858
  /**
859
859
  * 阻断时间
860
- * @type {Date}
860
+ * @type {string}
861
861
  * @memberof BlockedComponentItem
862
862
  */
863
- blockedAt: Date;
863
+ blockedAt: string;
864
864
  /**
865
865
  * 阻断操作者
866
866
  * @type {string}
@@ -1743,10 +1743,10 @@ interface KillSwitchItem {
1743
1743
  reason?: string;
1744
1744
  /**
1745
1745
  * 关闭时间
1746
- * @type {Date}
1746
+ * @type {string}
1747
1747
  * @memberof KillSwitchItem
1748
1748
  */
1749
- enabledAt?: Date;
1749
+ enabledAt?: string;
1750
1750
  /**
1751
1751
  * 关闭操作者
1752
1752
  * @type {string}
@@ -1871,10 +1871,10 @@ interface OpsConfig {
1871
1871
  rateLimit?: RateLimitConfig;
1872
1872
  /**
1873
1873
  * 配置过期时间
1874
- * @type {Date}
1874
+ * @type {string}
1875
1875
  * @memberof OpsConfig
1876
1876
  */
1877
- expiresAt?: Date;
1877
+ expiresAt?: string;
1878
1878
  }
1879
1879
  /**
1880
1880
  * Check if a given object implements the OpsConfig interface.
package/dist/index.js CHANGED
@@ -692,7 +692,7 @@ function ActionDefinitionVersionResponseFromJSONTyped(json, ignoreDiscriminator)
692
692
  "status": json["status"],
693
693
  "createdBy": json["createdBy"],
694
694
  "createdByUsername": json["createdByUsername"],
695
- "createdAt": new Date(json["createdAt"])
695
+ "createdAt": json["createdAt"]
696
696
  };
697
697
  }
698
698
  function ActionDefinitionVersionResponseToJSON(value) {
@@ -712,7 +712,7 @@ function ActionDefinitionVersionResponseToJSON(value) {
712
712
  "status": value.status,
713
713
  "createdBy": value.createdBy,
714
714
  "createdByUsername": value.createdByUsername,
715
- "createdAt": value.createdAt.toISOString()
715
+ "createdAt": value.createdAt
716
716
  };
717
717
  }
718
718
 
@@ -737,8 +737,8 @@ function ActivityInfoDataFromJSONTyped(json, ignoreDiscriminator) {
737
737
  "activityId": json["activityId"],
738
738
  "name": json["name"],
739
739
  "type": json["type"],
740
- "startAt": new Date(json["startAt"]),
741
- "endAt": new Date(json["endAt"])
740
+ "startAt": json["startAt"],
741
+ "endAt": json["endAt"]
742
742
  };
743
743
  }
744
744
  function ActivityInfoDataToJSON(value) {
@@ -752,8 +752,8 @@ function ActivityInfoDataToJSON(value) {
752
752
  "activityId": value.activityId,
753
753
  "name": value.name,
754
754
  "type": value.type,
755
- "startAt": value.startAt.toISOString(),
756
- "endAt": value.endAt.toISOString()
755
+ "startAt": value.startAt,
756
+ "endAt": value.endAt
757
757
  };
758
758
  }
759
759
 
@@ -1104,7 +1104,7 @@ function BlockedComponentItemFromJSONTyped(json, ignoreDiscriminator) {
1104
1104
  "name": json["name"],
1105
1105
  "version": !exists(json, "version") ? void 0 : json["version"],
1106
1106
  "reason": json["reason"],
1107
- "blockedAt": new Date(json["blockedAt"]),
1107
+ "blockedAt": json["blockedAt"],
1108
1108
  "blockedBy": json["blockedBy"],
1109
1109
  "fallbackVersion": !exists(json, "fallbackVersion") ? void 0 : json["fallbackVersion"],
1110
1110
  "urgent": json["urgent"]
@@ -1121,7 +1121,7 @@ function BlockedComponentItemToJSON(value) {
1121
1121
  "name": value.name,
1122
1122
  "version": value.version,
1123
1123
  "reason": value.reason,
1124
- "blockedAt": value.blockedAt.toISOString(),
1124
+ "blockedAt": value.blockedAt,
1125
1125
  "blockedBy": value.blockedBy,
1126
1126
  "fallbackVersion": value.fallbackVersion,
1127
1127
  "urgent": value.urgent
@@ -1684,7 +1684,7 @@ function KillSwitchItemFromJSONTyped(json, ignoreDiscriminator) {
1684
1684
  "targetId": json["targetId"],
1685
1685
  "enabled": json["enabled"],
1686
1686
  "reason": !exists(json, "reason") ? void 0 : json["reason"],
1687
- "enabledAt": !exists(json, "enabledAt") ? void 0 : new Date(json["enabledAt"]),
1687
+ "enabledAt": !exists(json, "enabledAt") ? void 0 : json["enabledAt"],
1688
1688
  "enabledBy": !exists(json, "enabledBy") ? void 0 : json["enabledBy"],
1689
1689
  "userMessage": !exists(json, "userMessage") ? void 0 : json["userMessage"]
1690
1690
  };
@@ -1701,7 +1701,7 @@ function KillSwitchItemToJSON(value) {
1701
1701
  "targetId": value.targetId,
1702
1702
  "enabled": value.enabled,
1703
1703
  "reason": value.reason,
1704
- "enabledAt": value.enabledAt === void 0 ? void 0 : value.enabledAt.toISOString(),
1704
+ "enabledAt": value.enabledAt,
1705
1705
  "enabledBy": value.enabledBy,
1706
1706
  "userMessage": value.userMessage
1707
1707
  };
@@ -1758,7 +1758,7 @@ function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
1758
1758
  "blockedComponents": json["blockedComponents"].map(BlockedComponentItemFromJSON),
1759
1759
  "flags": json["flags"],
1760
1760
  "rateLimit": !exists(json, "rateLimit") ? void 0 : RateLimitConfigFromJSON(json["rateLimit"]),
1761
- "expiresAt": !exists(json, "expiresAt") ? void 0 : new Date(json["expiresAt"])
1761
+ "expiresAt": !exists(json, "expiresAt") ? void 0 : json["expiresAt"]
1762
1762
  };
1763
1763
  }
1764
1764
  function OpsConfigToJSON(value) {
@@ -1774,7 +1774,7 @@ function OpsConfigToJSON(value) {
1774
1774
  "blockedComponents": value.blockedComponents.map(BlockedComponentItemToJSON),
1775
1775
  "flags": value.flags,
1776
1776
  "rateLimit": RateLimitConfigToJSON(value.rateLimit),
1777
- "expiresAt": value.expiresAt === void 0 ? void 0 : value.expiresAt.toISOString()
1777
+ "expiresAt": value.expiresAt
1778
1778
  };
1779
1779
  }
1780
1780
 
package/dist/index.mjs CHANGED
@@ -334,7 +334,7 @@ function ActionDefinitionVersionResponseFromJSONTyped(json, ignoreDiscriminator)
334
334
  "status": json["status"],
335
335
  "createdBy": json["createdBy"],
336
336
  "createdByUsername": json["createdByUsername"],
337
- "createdAt": new Date(json["createdAt"])
337
+ "createdAt": json["createdAt"]
338
338
  };
339
339
  }
340
340
  function ActionDefinitionVersionResponseToJSON(value) {
@@ -354,7 +354,7 @@ function ActionDefinitionVersionResponseToJSON(value) {
354
354
  "status": value.status,
355
355
  "createdBy": value.createdBy,
356
356
  "createdByUsername": value.createdByUsername,
357
- "createdAt": value.createdAt.toISOString()
357
+ "createdAt": value.createdAt
358
358
  };
359
359
  }
360
360
 
@@ -379,8 +379,8 @@ function ActivityInfoDataFromJSONTyped(json, ignoreDiscriminator) {
379
379
  "activityId": json["activityId"],
380
380
  "name": json["name"],
381
381
  "type": json["type"],
382
- "startAt": new Date(json["startAt"]),
383
- "endAt": new Date(json["endAt"])
382
+ "startAt": json["startAt"],
383
+ "endAt": json["endAt"]
384
384
  };
385
385
  }
386
386
  function ActivityInfoDataToJSON(value) {
@@ -394,8 +394,8 @@ function ActivityInfoDataToJSON(value) {
394
394
  "activityId": value.activityId,
395
395
  "name": value.name,
396
396
  "type": value.type,
397
- "startAt": value.startAt.toISOString(),
398
- "endAt": value.endAt.toISOString()
397
+ "startAt": value.startAt,
398
+ "endAt": value.endAt
399
399
  };
400
400
  }
401
401
 
@@ -746,7 +746,7 @@ function BlockedComponentItemFromJSONTyped(json, ignoreDiscriminator) {
746
746
  "name": json["name"],
747
747
  "version": !exists(json, "version") ? void 0 : json["version"],
748
748
  "reason": json["reason"],
749
- "blockedAt": new Date(json["blockedAt"]),
749
+ "blockedAt": json["blockedAt"],
750
750
  "blockedBy": json["blockedBy"],
751
751
  "fallbackVersion": !exists(json, "fallbackVersion") ? void 0 : json["fallbackVersion"],
752
752
  "urgent": json["urgent"]
@@ -763,7 +763,7 @@ function BlockedComponentItemToJSON(value) {
763
763
  "name": value.name,
764
764
  "version": value.version,
765
765
  "reason": value.reason,
766
- "blockedAt": value.blockedAt.toISOString(),
766
+ "blockedAt": value.blockedAt,
767
767
  "blockedBy": value.blockedBy,
768
768
  "fallbackVersion": value.fallbackVersion,
769
769
  "urgent": value.urgent
@@ -1326,7 +1326,7 @@ function KillSwitchItemFromJSONTyped(json, ignoreDiscriminator) {
1326
1326
  "targetId": json["targetId"],
1327
1327
  "enabled": json["enabled"],
1328
1328
  "reason": !exists(json, "reason") ? void 0 : json["reason"],
1329
- "enabledAt": !exists(json, "enabledAt") ? void 0 : new Date(json["enabledAt"]),
1329
+ "enabledAt": !exists(json, "enabledAt") ? void 0 : json["enabledAt"],
1330
1330
  "enabledBy": !exists(json, "enabledBy") ? void 0 : json["enabledBy"],
1331
1331
  "userMessage": !exists(json, "userMessage") ? void 0 : json["userMessage"]
1332
1332
  };
@@ -1343,7 +1343,7 @@ function KillSwitchItemToJSON(value) {
1343
1343
  "targetId": value.targetId,
1344
1344
  "enabled": value.enabled,
1345
1345
  "reason": value.reason,
1346
- "enabledAt": value.enabledAt === void 0 ? void 0 : value.enabledAt.toISOString(),
1346
+ "enabledAt": value.enabledAt,
1347
1347
  "enabledBy": value.enabledBy,
1348
1348
  "userMessage": value.userMessage
1349
1349
  };
@@ -1400,7 +1400,7 @@ function OpsConfigFromJSONTyped(json, ignoreDiscriminator) {
1400
1400
  "blockedComponents": json["blockedComponents"].map(BlockedComponentItemFromJSON),
1401
1401
  "flags": json["flags"],
1402
1402
  "rateLimit": !exists(json, "rateLimit") ? void 0 : RateLimitConfigFromJSON(json["rateLimit"]),
1403
- "expiresAt": !exists(json, "expiresAt") ? void 0 : new Date(json["expiresAt"])
1403
+ "expiresAt": !exists(json, "expiresAt") ? void 0 : json["expiresAt"]
1404
1404
  };
1405
1405
  }
1406
1406
  function OpsConfigToJSON(value) {
@@ -1416,7 +1416,7 @@ function OpsConfigToJSON(value) {
1416
1416
  "blockedComponents": value.blockedComponents.map(BlockedComponentItemToJSON),
1417
1417
  "flags": value.flags,
1418
1418
  "rateLimit": RateLimitConfigToJSON(value.rateLimit),
1419
- "expiresAt": value.expiresAt === void 0 ? void 0 : value.expiresAt.toISOString()
1419
+ "expiresAt": value.expiresAt
1420
1420
  };
1421
1421
  }
1422
1422
 
@@ -931,7 +931,7 @@ components:
931
931
  enabledAt:
932
932
  type: string
933
933
  description: 关闭时间
934
- format: date-time
934
+ example: '2024-01-01T00:00:00.000Z'
935
935
  enabledBy:
936
936
  type: string
937
937
  description: 关闭操作者
@@ -960,7 +960,7 @@ components:
960
960
  blockedAt:
961
961
  type: string
962
962
  description: 阻断时间
963
- format: date-time
963
+ example: '2024-01-01T00:00:00.000Z'
964
964
  blockedBy:
965
965
  type: string
966
966
  description: 阻断操作者
@@ -1015,7 +1015,7 @@ components:
1015
1015
  expiresAt:
1016
1016
  type: string
1017
1017
  description: 配置过期时间
1018
- format: date-time
1018
+ example: '2024-01-01T00:00:00.000Z'
1019
1019
  RolloutMatch:
1020
1020
  type: object
1021
1021
  required:
@@ -1395,7 +1395,7 @@ components:
1395
1395
  example: admin
1396
1396
  createdAt:
1397
1397
  type: string
1398
- format: date-time
1398
+ example: '2024-01-01T00:00:00.000Z'
1399
1399
  description: 创建时间
1400
1400
  QueryContext:
1401
1401
  type: object
@@ -1557,11 +1557,11 @@ components:
1557
1557
  startAt:
1558
1558
  type: string
1559
1559
  description: 开始时间
1560
- format: date-time
1560
+ example: '2024-01-01T00:00:00.000Z'
1561
1561
  endAt:
1562
1562
  type: string
1563
1563
  description: 结束时间
1564
- format: date-time
1564
+ example: '2024-01-01T00:00:00.000Z'
1565
1565
  ActivityInfoResponse:
1566
1566
  type: object
1567
1567
  required:
@@ -273,7 +273,7 @@ KillSwitchItem:
273
273
  enabledAt:
274
274
  type: string
275
275
  description: 关闭时间
276
- format: date-time
276
+ example: '2024-01-01T00:00:00.000Z'
277
277
  enabledBy:
278
278
  type: string
279
279
  description: 关闭操作者
@@ -298,7 +298,7 @@ BlockedComponentItem:
298
298
  blockedAt:
299
299
  type: string
300
300
  description: 阻断时间
301
- format: date-time
301
+ example: '2024-01-01T00:00:00.000Z'
302
302
  blockedBy:
303
303
  type: string
304
304
  description: 阻断操作者
@@ -352,7 +352,7 @@ OpsConfig:
352
352
  expiresAt:
353
353
  type: string
354
354
  description: 配置过期时间
355
- format: date-time
355
+ example: '2024-01-01T00:00:00.000Z'
356
356
 
357
357
  # ============================================================================
358
358
  # Action Gateway 动作相关
@@ -537,7 +537,7 @@ ActionDefinitionVersionResponse:
537
537
  example: admin
538
538
  createdAt:
539
539
  type: string
540
- format: date-time
540
+ example: '2024-01-01T00:00:00.000Z'
541
541
  description: 创建时间
542
542
 
543
543
  # ============================================================================
@@ -697,11 +697,11 @@ ActivityInfoData:
697
697
  startAt:
698
698
  type: string
699
699
  description: 开始时间
700
- format: date-time
700
+ example: '2024-01-01T00:00:00.000Z'
701
701
  endAt:
702
702
  type: string
703
703
  description: 结束时间
704
- format: date-time
704
+ example: '2024-01-01T00:00:00.000Z'
705
705
 
706
706
  ActivityInfoResponse:
707
707
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djvlc/openapi-user-client",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "DJV Low-code Platform - User API 客户端(自动生成)",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",