@aws-sdk/client-workmail 3.28.0 → 3.32.0

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.
@@ -47,8 +47,7 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "workmail", regionHash: regionHash,
51
- partitionHash: partitionHash }))];
50
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "workmail", regionHash: regionHash, partitionHash: partitionHash }))];
52
51
  });
53
52
  }); };
54
53
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,iCAAiC;KAC5C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,oCAAoC;KAC/C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,8BAA8B;KACzC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,iCAAiC;KAC5C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,UAAU,EAC1B,UAAU,YAAA;gBACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,iCAAiC;KAC5C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,oCAAoC;KAC/C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,8BAA8B;KACzC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,iCAAiC;KAC5C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,UAAU,EAC1B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-workmail",
3
3
  "description": "AWS SDK for JavaScript Workmail Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, limitedParseFloat as __limitedParseFloat, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  export var serializeAws_json1_1AssociateDelegateToResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var headers, body;
@@ -5876,10 +5876,10 @@ var deserializeAws_json1_1AccessControlRule = function (output, context) {
5876
5876
  ? deserializeAws_json1_1ActionsList(output.Actions, context)
5877
5877
  : undefined,
5878
5878
  DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
5879
- ? new Date(Math.round(output.DateCreated * 1000))
5879
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
5880
5880
  : undefined,
5881
5881
  DateModified: output.DateModified !== undefined && output.DateModified !== null
5882
- ? new Date(Math.round(output.DateModified * 1000))
5882
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
5883
5883
  : undefined,
5884
5884
  Description: __expectString(output.Description),
5885
5885
  Effect: __expectString(output.Effect),
@@ -6027,11 +6027,11 @@ var deserializeAws_json1_1DeregisterFromWorkMailResponse = function (output, con
6027
6027
  var deserializeAws_json1_1DescribeGroupResponse = function (output, context) {
6028
6028
  return {
6029
6029
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6030
- ? new Date(Math.round(output.DisabledDate * 1000))
6030
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6031
6031
  : undefined,
6032
6032
  Email: __expectString(output.Email),
6033
6033
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6034
- ? new Date(Math.round(output.EnabledDate * 1000))
6034
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6035
6035
  : undefined,
6036
6036
  GroupId: __expectString(output.GroupId),
6037
6037
  Name: __expectString(output.Name),
@@ -6041,17 +6041,19 @@ var deserializeAws_json1_1DescribeGroupResponse = function (output, context) {
6041
6041
  var deserializeAws_json1_1DescribeMailboxExportJobResponse = function (output, context) {
6042
6042
  return {
6043
6043
  Description: __expectString(output.Description),
6044
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
6044
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
6045
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
6046
+ : undefined,
6045
6047
  EntityId: __expectString(output.EntityId),
6046
6048
  ErrorInfo: __expectString(output.ErrorInfo),
6047
- EstimatedProgress: __expectInt(output.EstimatedProgress),
6049
+ EstimatedProgress: __expectInt32(output.EstimatedProgress),
6048
6050
  KmsKeyArn: __expectString(output.KmsKeyArn),
6049
6051
  RoleArn: __expectString(output.RoleArn),
6050
6052
  S3BucketName: __expectString(output.S3BucketName),
6051
6053
  S3Path: __expectString(output.S3Path),
6052
6054
  S3Prefix: __expectString(output.S3Prefix),
6053
6055
  StartTime: output.StartTime !== undefined && output.StartTime !== null
6054
- ? new Date(Math.round(output.StartTime * 1000))
6056
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
6055
6057
  : undefined,
6056
6058
  State: __expectString(output.State),
6057
6059
  };
@@ -6061,7 +6063,7 @@ var deserializeAws_json1_1DescribeOrganizationResponse = function (output, conte
6061
6063
  ARN: __expectString(output.ARN),
6062
6064
  Alias: __expectString(output.Alias),
6063
6065
  CompletedDate: output.CompletedDate !== undefined && output.CompletedDate !== null
6064
- ? new Date(Math.round(output.CompletedDate * 1000))
6066
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletedDate)))
6065
6067
  : undefined,
6066
6068
  DefaultMailDomain: __expectString(output.DefaultMailDomain),
6067
6069
  DirectoryId: __expectString(output.DirectoryId),
@@ -6077,11 +6079,11 @@ var deserializeAws_json1_1DescribeResourceResponse = function (output, context)
6077
6079
  ? deserializeAws_json1_1BookingOptions(output.BookingOptions, context)
6078
6080
  : undefined,
6079
6081
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6080
- ? new Date(Math.round(output.DisabledDate * 1000))
6082
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6081
6083
  : undefined,
6082
6084
  Email: __expectString(output.Email),
6083
6085
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6084
- ? new Date(Math.round(output.EnabledDate * 1000))
6086
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6085
6087
  : undefined,
6086
6088
  Name: __expectString(output.Name),
6087
6089
  ResourceId: __expectString(output.ResourceId),
@@ -6092,12 +6094,12 @@ var deserializeAws_json1_1DescribeResourceResponse = function (output, context)
6092
6094
  var deserializeAws_json1_1DescribeUserResponse = function (output, context) {
6093
6095
  return {
6094
6096
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6095
- ? new Date(Math.round(output.DisabledDate * 1000))
6097
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6096
6098
  : undefined,
6097
6099
  DisplayName: __expectString(output.DisplayName),
6098
6100
  Email: __expectString(output.Email),
6099
6101
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6100
- ? new Date(Math.round(output.EnabledDate * 1000))
6102
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6101
6103
  : undefined,
6102
6104
  Name: __expectString(output.Name),
6103
6105
  State: __expectString(output.State),
@@ -6190,7 +6192,7 @@ var deserializeAws_json1_1FolderConfiguration = function (output, context) {
6190
6192
  return {
6191
6193
  Action: __expectString(output.Action),
6192
6194
  Name: __expectString(output.Name),
6193
- Period: __expectInt(output.Period),
6195
+ Period: __expectInt32(output.Period),
6194
6196
  };
6195
6197
  };
6196
6198
  var deserializeAws_json1_1FolderConfigurations = function (output, context) {
@@ -6223,8 +6225,8 @@ var deserializeAws_json1_1GetDefaultRetentionPolicyResponse = function (output,
6223
6225
  };
6224
6226
  var deserializeAws_json1_1GetMailboxDetailsResponse = function (output, context) {
6225
6227
  return {
6226
- MailboxQuota: __expectInt(output.MailboxQuota),
6227
- MailboxSize: __limitedParseFloat(output.MailboxSize),
6228
+ MailboxQuota: __expectInt32(output.MailboxQuota),
6229
+ MailboxSize: __limitedParseDouble(output.MailboxSize),
6228
6230
  };
6229
6231
  };
6230
6232
  var deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = function (output, context) {
@@ -6238,11 +6240,11 @@ var deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = function (output
6238
6240
  var deserializeAws_json1_1Group = function (output, context) {
6239
6241
  return {
6240
6242
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6241
- ? new Date(Math.round(output.DisabledDate * 1000))
6243
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6242
6244
  : undefined,
6243
6245
  Email: __expectString(output.Email),
6244
6246
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6245
- ? new Date(Math.round(output.EnabledDate * 1000))
6247
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6246
6248
  : undefined,
6247
6249
  Id: __expectString(output.Id),
6248
6250
  Name: __expectString(output.Name),
@@ -6393,14 +6395,16 @@ var deserializeAws_json1_1ListUsersResponse = function (output, context) {
6393
6395
  var deserializeAws_json1_1MailboxExportJob = function (output, context) {
6394
6396
  return {
6395
6397
  Description: __expectString(output.Description),
6396
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
6398
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
6399
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
6400
+ : undefined,
6397
6401
  EntityId: __expectString(output.EntityId),
6398
- EstimatedProgress: __expectInt(output.EstimatedProgress),
6402
+ EstimatedProgress: __expectInt32(output.EstimatedProgress),
6399
6403
  JobId: __expectString(output.JobId),
6400
6404
  S3BucketName: __expectString(output.S3BucketName),
6401
6405
  S3Path: __expectString(output.S3Path),
6402
6406
  StartTime: output.StartTime !== undefined && output.StartTime !== null
6403
- ? new Date(Math.round(output.StartTime * 1000))
6407
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
6404
6408
  : undefined,
6405
6409
  State: __expectString(output.State),
6406
6410
  };
@@ -6418,10 +6422,10 @@ var deserializeAws_json1_1MailDomainStateException = function (output, context)
6418
6422
  var deserializeAws_json1_1Member = function (output, context) {
6419
6423
  return {
6420
6424
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6421
- ? new Date(Math.round(output.DisabledDate * 1000))
6425
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6422
6426
  : undefined,
6423
6427
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6424
- ? new Date(Math.round(output.EnabledDate * 1000))
6428
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6425
6429
  : undefined,
6426
6430
  Id: __expectString(output.Id),
6427
6431
  Name: __expectString(output.Name),
@@ -6458,10 +6462,10 @@ var deserializeAws_json1_1MobileDeviceAccessMatchedRuleList = function (output,
6458
6462
  var deserializeAws_json1_1MobileDeviceAccessRule = function (output, context) {
6459
6463
  return {
6460
6464
  DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
6461
- ? new Date(Math.round(output.DateCreated * 1000))
6465
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
6462
6466
  : undefined,
6463
6467
  DateModified: output.DateModified !== undefined && output.DateModified !== null
6464
- ? new Date(Math.round(output.DateModified * 1000))
6468
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
6465
6469
  : undefined,
6466
6470
  Description: __expectString(output.Description),
6467
6471
  DeviceModels: output.DeviceModels !== undefined && output.DeviceModels !== null
@@ -6589,11 +6593,11 @@ var deserializeAws_json1_1ResetPasswordResponse = function (output, context) {
6589
6593
  var deserializeAws_json1_1Resource = function (output, context) {
6590
6594
  return {
6591
6595
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6592
- ? new Date(Math.round(output.DisabledDate * 1000))
6596
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6593
6597
  : undefined,
6594
6598
  Email: __expectString(output.Email),
6595
6599
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6596
- ? new Date(Math.round(output.EnabledDate * 1000))
6600
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6597
6601
  : undefined,
6598
6602
  Id: __expectString(output.Id),
6599
6603
  Name: __expectString(output.Name),
@@ -6678,12 +6682,12 @@ var deserializeAws_json1_1UpdateResourceResponse = function (output, context) {
6678
6682
  var deserializeAws_json1_1User = function (output, context) {
6679
6683
  return {
6680
6684
  DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
6681
- ? new Date(Math.round(output.DisabledDate * 1000))
6685
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
6682
6686
  : undefined,
6683
6687
  DisplayName: __expectString(output.DisplayName),
6684
6688
  Email: __expectString(output.Email),
6685
6689
  EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
6686
- ? new Date(Math.round(output.EnabledDate * 1000))
6690
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
6687
6691
  : undefined,
6688
6692
  Id: __expectString(output.Id),
6689
6693
  Name: __expectString(output.Name),