@remit/electrodb-entities 0.0.35 → 0.0.37
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/index.cjs +26 -111
- package/index.d.cts +17 -74
- package/index.d.mts +17 -74
- package/index.d.ts +17 -74
- package/index.mjs +25 -110
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageLabel = exports.CalendarFeedToken = exports.CalendarEventIndex = exports.
|
|
3
|
+
exports.MessageLabel = exports.CalendarFeedToken = exports.CalendarEventIndex = exports.RawMessageStorage = exports.MessageSearchText = exports.BodyStructureRefetch = exports.BodyPartParameter = exports.SenderSignerStanding = exports.Envelope = exports.MessageFlagPush = exports.MessagePlacementMove = exports.MessageFlag = exports.MailboxLock = exports.MailboxFlag = exports.MailboxSpecialUseEntry = exports.MailboxAttributeEntry = exports.AccountSetting = exports.ConfigImport = exports.EnvelopeAddress = exports.CalendarSuggestion = exports.MessageReference = exports.BodyPart = exports.MessageRecord = exports.Address = exports.OutboxAttachment = exports.OutboxMessage = exports.ThreadMessage = exports.CalendarObject = exports.CalendarCollection = exports.OrganizeJobRequest = exports.Label = exports.Filter = exports.Mailbox = exports.Account = exports.AccountConfig = exports.SyncWarning = exports.Quarantine = exports.AccountExportRequest = void 0;
|
|
4
4
|
const electrodb_1 = require("electrodb");
|
|
5
5
|
exports.AccountExportRequest = {
|
|
6
6
|
attributes: {
|
|
@@ -4968,19 +4968,8 @@ exports.BodyStructureRefetch = {
|
|
|
4968
4968
|
version: "1"
|
|
4969
4969
|
}
|
|
4970
4970
|
};
|
|
4971
|
-
exports.
|
|
4971
|
+
exports.MessageSearchText = {
|
|
4972
4972
|
attributes: {
|
|
4973
|
-
rawStorageId: {
|
|
4974
|
-
type: "string",
|
|
4975
|
-
required: true,
|
|
4976
|
-
validate: value => {
|
|
4977
|
-
if (typeof value === "string" && value.length < 25)
|
|
4978
|
-
throw new Error("'rawStorageId' must be at least 25 characters");
|
|
4979
|
-
if (typeof value === "string" && value.length > 25)
|
|
4980
|
-
throw new Error("'rawStorageId' must be at most 25 characters");
|
|
4981
|
-
return true;
|
|
4982
|
-
}
|
|
4983
|
-
},
|
|
4984
4973
|
messageId: {
|
|
4985
4974
|
type: "string",
|
|
4986
4975
|
required: true,
|
|
@@ -4992,62 +4981,10 @@ exports.RawMessageStorage = {
|
|
|
4992
4981
|
return true;
|
|
4993
4982
|
}
|
|
4994
4983
|
},
|
|
4995
|
-
|
|
4996
|
-
type: ["s3", "filesystem", "inline", "database"],
|
|
4997
|
-
required: true
|
|
4998
|
-
},
|
|
4999
|
-
storageLocation: {
|
|
5000
|
-
type: "string",
|
|
5001
|
-
required: true
|
|
5002
|
-
},
|
|
5003
|
-
storageKey: {
|
|
4984
|
+
text: {
|
|
5004
4985
|
type: "string",
|
|
5005
4986
|
required: true
|
|
5006
4987
|
},
|
|
5007
|
-
sizeBytes: {
|
|
5008
|
-
type: "number",
|
|
5009
|
-
required: true,
|
|
5010
|
-
validate: value => {
|
|
5011
|
-
if (typeof value === "number" && value < 0)
|
|
5012
|
-
throw new Error("'sizeBytes' must be at least 0");
|
|
5013
|
-
if (typeof value === "number" && !Number.isInteger(value))
|
|
5014
|
-
throw new Error("'sizeBytes' must be an integer");
|
|
5015
|
-
return true;
|
|
5016
|
-
}
|
|
5017
|
-
},
|
|
5018
|
-
checksumSha256: {
|
|
5019
|
-
type: "string",
|
|
5020
|
-
required: true,
|
|
5021
|
-
validate: value => {
|
|
5022
|
-
if (typeof value === "string" && value.length < 64)
|
|
5023
|
-
throw new Error("'checksumSha256' must be at least 64 characters");
|
|
5024
|
-
if (typeof value === "string" && value.length > 64)
|
|
5025
|
-
throw new Error("'checksumSha256' must be at most 64 characters");
|
|
5026
|
-
return true;
|
|
5027
|
-
}
|
|
5028
|
-
},
|
|
5029
|
-
contentEncoding: {
|
|
5030
|
-
type: ["none", "gzip", "zstd"],
|
|
5031
|
-
required: true
|
|
5032
|
-
},
|
|
5033
|
-
storedAt: {
|
|
5034
|
-
type: "number",
|
|
5035
|
-
required: true,
|
|
5036
|
-
validate: value => {
|
|
5037
|
-
if (typeof value === "number" && !Number.isInteger(value))
|
|
5038
|
-
throw new Error("'storedAt' must be an integer");
|
|
5039
|
-
return true;
|
|
5040
|
-
}
|
|
5041
|
-
},
|
|
5042
|
-
expiresAt: {
|
|
5043
|
-
type: "number",
|
|
5044
|
-
required: false,
|
|
5045
|
-
validate: value => {
|
|
5046
|
-
if (typeof value === "number" && !Number.isInteger(value))
|
|
5047
|
-
throw new Error("'expiresAt' must be an integer");
|
|
5048
|
-
return true;
|
|
5049
|
-
}
|
|
5050
|
-
},
|
|
5051
4988
|
createdAt: {
|
|
5052
4989
|
type: "number",
|
|
5053
4990
|
readOnly: true,
|
|
@@ -5064,22 +5001,10 @@ exports.RawMessageStorage = {
|
|
|
5064
5001
|
}
|
|
5065
5002
|
},
|
|
5066
5003
|
indexes: {
|
|
5067
|
-
|
|
5068
|
-
pk: {
|
|
5069
|
-
field: "gsi2pk",
|
|
5070
|
-
composite: ["messageId"]
|
|
5071
|
-
},
|
|
5072
|
-
sk: {
|
|
5073
|
-
field: "gsi2sk",
|
|
5074
|
-
composite: ["rawStorageId"]
|
|
5075
|
-
},
|
|
5076
|
-
index: "gsi2",
|
|
5077
|
-
collection: "messageData"
|
|
5078
|
-
},
|
|
5079
|
-
RawMessageStorage: {
|
|
5004
|
+
MessageSearchText: {
|
|
5080
5005
|
pk: {
|
|
5081
5006
|
field: "pk",
|
|
5082
|
-
composite: ["
|
|
5007
|
+
composite: ["messageId"]
|
|
5083
5008
|
},
|
|
5084
5009
|
sk: {
|
|
5085
5010
|
field: "sk",
|
|
@@ -5088,21 +5013,21 @@ exports.RawMessageStorage = {
|
|
|
5088
5013
|
}
|
|
5089
5014
|
},
|
|
5090
5015
|
model: {
|
|
5091
|
-
entity: "
|
|
5016
|
+
entity: "messageSearchText",
|
|
5092
5017
|
service: "remit",
|
|
5093
5018
|
version: "1"
|
|
5094
5019
|
}
|
|
5095
5020
|
};
|
|
5096
|
-
exports.
|
|
5021
|
+
exports.RawMessageStorage = {
|
|
5097
5022
|
attributes: {
|
|
5098
|
-
|
|
5023
|
+
rawStorageId: {
|
|
5099
5024
|
type: "string",
|
|
5100
5025
|
required: true,
|
|
5101
5026
|
validate: value => {
|
|
5102
5027
|
if (typeof value === "string" && value.length < 25)
|
|
5103
|
-
throw new Error("'
|
|
5028
|
+
throw new Error("'rawStorageId' must be at least 25 characters");
|
|
5104
5029
|
if (typeof value === "string" && value.length > 25)
|
|
5105
|
-
throw new Error("'
|
|
5030
|
+
throw new Error("'rawStorageId' must be at most 25 characters");
|
|
5106
5031
|
return true;
|
|
5107
5032
|
}
|
|
5108
5033
|
},
|
|
@@ -5117,17 +5042,6 @@ exports.BodyPartStorage = {
|
|
|
5117
5042
|
return true;
|
|
5118
5043
|
}
|
|
5119
5044
|
},
|
|
5120
|
-
bodyPartId: {
|
|
5121
|
-
type: "string",
|
|
5122
|
-
required: true,
|
|
5123
|
-
validate: value => {
|
|
5124
|
-
if (typeof value === "string" && value.length < 25)
|
|
5125
|
-
throw new Error("'bodyPartId' must be at least 25 characters");
|
|
5126
|
-
if (typeof value === "string" && value.length > 25)
|
|
5127
|
-
throw new Error("'bodyPartId' must be at most 25 characters");
|
|
5128
|
-
return true;
|
|
5129
|
-
}
|
|
5130
|
-
},
|
|
5131
5045
|
storageType: {
|
|
5132
5046
|
type: ["s3", "filesystem", "inline", "database"],
|
|
5133
5047
|
required: true
|
|
@@ -5140,14 +5054,14 @@ exports.BodyPartStorage = {
|
|
|
5140
5054
|
type: "string",
|
|
5141
5055
|
required: true
|
|
5142
5056
|
},
|
|
5143
|
-
|
|
5057
|
+
sizeBytes: {
|
|
5144
5058
|
type: "number",
|
|
5145
5059
|
required: true,
|
|
5146
5060
|
validate: value => {
|
|
5147
5061
|
if (typeof value === "number" && value < 0)
|
|
5148
|
-
throw new Error("'
|
|
5062
|
+
throw new Error("'sizeBytes' must be at least 0");
|
|
5149
5063
|
if (typeof value === "number" && !Number.isInteger(value))
|
|
5150
|
-
throw new Error("'
|
|
5064
|
+
throw new Error("'sizeBytes' must be an integer");
|
|
5151
5065
|
return true;
|
|
5152
5066
|
}
|
|
5153
5067
|
},
|
|
@@ -5166,14 +5080,6 @@ exports.BodyPartStorage = {
|
|
|
5166
5080
|
type: ["none", "gzip", "zstd"],
|
|
5167
5081
|
required: true
|
|
5168
5082
|
},
|
|
5169
|
-
isDeduped: {
|
|
5170
|
-
type: "boolean",
|
|
5171
|
-
required: true
|
|
5172
|
-
},
|
|
5173
|
-
dedupHash: {
|
|
5174
|
-
type: "string",
|
|
5175
|
-
required: false
|
|
5176
|
-
},
|
|
5177
5083
|
storedAt: {
|
|
5178
5084
|
type: "number",
|
|
5179
5085
|
required: true,
|
|
@@ -5183,6 +5089,15 @@ exports.BodyPartStorage = {
|
|
|
5183
5089
|
return true;
|
|
5184
5090
|
}
|
|
5185
5091
|
},
|
|
5092
|
+
expiresAt: {
|
|
5093
|
+
type: "number",
|
|
5094
|
+
required: false,
|
|
5095
|
+
validate: value => {
|
|
5096
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
5097
|
+
throw new Error("'expiresAt' must be an integer");
|
|
5098
|
+
return true;
|
|
5099
|
+
}
|
|
5100
|
+
},
|
|
5186
5101
|
createdAt: {
|
|
5187
5102
|
type: "number",
|
|
5188
5103
|
readOnly: true,
|
|
@@ -5206,15 +5121,15 @@ exports.BodyPartStorage = {
|
|
|
5206
5121
|
},
|
|
5207
5122
|
sk: {
|
|
5208
5123
|
field: "gsi2sk",
|
|
5209
|
-
composite: ["
|
|
5124
|
+
composite: ["rawStorageId"]
|
|
5210
5125
|
},
|
|
5211
5126
|
index: "gsi2",
|
|
5212
5127
|
collection: "messageData"
|
|
5213
5128
|
},
|
|
5214
|
-
|
|
5129
|
+
RawMessageStorage: {
|
|
5215
5130
|
pk: {
|
|
5216
5131
|
field: "pk",
|
|
5217
|
-
composite: ["
|
|
5132
|
+
composite: ["rawStorageId"]
|
|
5218
5133
|
},
|
|
5219
5134
|
sk: {
|
|
5220
5135
|
field: "sk",
|
|
@@ -5223,7 +5138,7 @@ exports.BodyPartStorage = {
|
|
|
5223
5138
|
}
|
|
5224
5139
|
},
|
|
5225
5140
|
model: {
|
|
5226
|
-
entity: "
|
|
5141
|
+
entity: "rawMessageStorage",
|
|
5227
5142
|
service: "remit",
|
|
5228
5143
|
version: "1"
|
|
5229
5144
|
}
|
package/index.d.cts
CHANGED
|
@@ -3882,54 +3882,17 @@ export declare const BodyStructureRefetch: {
|
|
|
3882
3882
|
readonly version: "1";
|
|
3883
3883
|
};
|
|
3884
3884
|
};
|
|
3885
|
-
export declare const
|
|
3885
|
+
export declare const MessageSearchText: {
|
|
3886
3886
|
readonly attributes: {
|
|
3887
|
-
readonly rawStorageId: {
|
|
3888
|
-
readonly type: "string";
|
|
3889
|
-
readonly required: true;
|
|
3890
|
-
readonly validate: (value: unknown) => boolean;
|
|
3891
|
-
};
|
|
3892
3887
|
readonly messageId: {
|
|
3893
3888
|
readonly type: "string";
|
|
3894
3889
|
readonly required: true;
|
|
3895
3890
|
readonly validate: (value: unknown) => boolean;
|
|
3896
3891
|
};
|
|
3897
|
-
readonly
|
|
3898
|
-
readonly type: readonly ["s3", "filesystem", "inline", "database"];
|
|
3899
|
-
readonly required: true;
|
|
3900
|
-
};
|
|
3901
|
-
readonly storageLocation: {
|
|
3902
|
-
readonly type: "string";
|
|
3903
|
-
readonly required: true;
|
|
3904
|
-
};
|
|
3905
|
-
readonly storageKey: {
|
|
3892
|
+
readonly text: {
|
|
3906
3893
|
readonly type: "string";
|
|
3907
3894
|
readonly required: true;
|
|
3908
3895
|
};
|
|
3909
|
-
readonly sizeBytes: {
|
|
3910
|
-
readonly type: "number";
|
|
3911
|
-
readonly required: true;
|
|
3912
|
-
readonly validate: (value: unknown) => boolean;
|
|
3913
|
-
};
|
|
3914
|
-
readonly checksumSha256: {
|
|
3915
|
-
readonly type: "string";
|
|
3916
|
-
readonly required: true;
|
|
3917
|
-
readonly validate: (value: unknown) => boolean;
|
|
3918
|
-
};
|
|
3919
|
-
readonly contentEncoding: {
|
|
3920
|
-
readonly type: readonly ["none", "gzip", "zstd"];
|
|
3921
|
-
readonly required: true;
|
|
3922
|
-
};
|
|
3923
|
-
readonly storedAt: {
|
|
3924
|
-
readonly type: "number";
|
|
3925
|
-
readonly required: true;
|
|
3926
|
-
readonly validate: (value: unknown) => boolean;
|
|
3927
|
-
};
|
|
3928
|
-
readonly expiresAt: {
|
|
3929
|
-
readonly type: "number";
|
|
3930
|
-
readonly required: false;
|
|
3931
|
-
readonly validate: (value: unknown) => boolean;
|
|
3932
|
-
};
|
|
3933
3896
|
readonly createdAt: {
|
|
3934
3897
|
readonly type: "number";
|
|
3935
3898
|
readonly readOnly: true;
|
|
@@ -3946,22 +3909,10 @@ export declare const RawMessageStorage: {
|
|
|
3946
3909
|
};
|
|
3947
3910
|
};
|
|
3948
3911
|
readonly indexes: {
|
|
3949
|
-
readonly
|
|
3950
|
-
readonly pk: {
|
|
3951
|
-
readonly field: "gsi2pk";
|
|
3952
|
-
readonly composite: readonly ["messageId"];
|
|
3953
|
-
};
|
|
3954
|
-
readonly sk: {
|
|
3955
|
-
readonly field: "gsi2sk";
|
|
3956
|
-
readonly composite: readonly ["rawStorageId"];
|
|
3957
|
-
};
|
|
3958
|
-
readonly index: "gsi2";
|
|
3959
|
-
readonly collection: "messageData";
|
|
3960
|
-
};
|
|
3961
|
-
readonly RawMessageStorage: {
|
|
3912
|
+
readonly MessageSearchText: {
|
|
3962
3913
|
readonly pk: {
|
|
3963
3914
|
readonly field: "pk";
|
|
3964
|
-
readonly composite: readonly ["
|
|
3915
|
+
readonly composite: readonly ["messageId"];
|
|
3965
3916
|
};
|
|
3966
3917
|
readonly sk: {
|
|
3967
3918
|
readonly field: "sk";
|
|
@@ -3970,14 +3921,14 @@ export declare const RawMessageStorage: {
|
|
|
3970
3921
|
};
|
|
3971
3922
|
};
|
|
3972
3923
|
readonly model: {
|
|
3973
|
-
readonly entity: "
|
|
3924
|
+
readonly entity: "messageSearchText";
|
|
3974
3925
|
readonly service: "remit";
|
|
3975
3926
|
readonly version: "1";
|
|
3976
3927
|
};
|
|
3977
3928
|
};
|
|
3978
|
-
export declare const
|
|
3929
|
+
export declare const RawMessageStorage: {
|
|
3979
3930
|
readonly attributes: {
|
|
3980
|
-
readonly
|
|
3931
|
+
readonly rawStorageId: {
|
|
3981
3932
|
readonly type: "string";
|
|
3982
3933
|
readonly required: true;
|
|
3983
3934
|
readonly validate: (value: unknown) => boolean;
|
|
@@ -3987,11 +3938,6 @@ export declare const BodyPartStorage: {
|
|
|
3987
3938
|
readonly required: true;
|
|
3988
3939
|
readonly validate: (value: unknown) => boolean;
|
|
3989
3940
|
};
|
|
3990
|
-
readonly bodyPartId: {
|
|
3991
|
-
readonly type: "string";
|
|
3992
|
-
readonly required: true;
|
|
3993
|
-
readonly validate: (value: unknown) => boolean;
|
|
3994
|
-
};
|
|
3995
3941
|
readonly storageType: {
|
|
3996
3942
|
readonly type: readonly ["s3", "filesystem", "inline", "database"];
|
|
3997
3943
|
readonly required: true;
|
|
@@ -4004,7 +3950,7 @@ export declare const BodyPartStorage: {
|
|
|
4004
3950
|
readonly type: "string";
|
|
4005
3951
|
readonly required: true;
|
|
4006
3952
|
};
|
|
4007
|
-
readonly
|
|
3953
|
+
readonly sizeBytes: {
|
|
4008
3954
|
readonly type: "number";
|
|
4009
3955
|
readonly required: true;
|
|
4010
3956
|
readonly validate: (value: unknown) => boolean;
|
|
@@ -4018,19 +3964,16 @@ export declare const BodyPartStorage: {
|
|
|
4018
3964
|
readonly type: readonly ["none", "gzip", "zstd"];
|
|
4019
3965
|
readonly required: true;
|
|
4020
3966
|
};
|
|
4021
|
-
readonly isDeduped: {
|
|
4022
|
-
readonly type: "boolean";
|
|
4023
|
-
readonly required: true;
|
|
4024
|
-
};
|
|
4025
|
-
readonly dedupHash: {
|
|
4026
|
-
readonly type: "string";
|
|
4027
|
-
readonly required: false;
|
|
4028
|
-
};
|
|
4029
3967
|
readonly storedAt: {
|
|
4030
3968
|
readonly type: "number";
|
|
4031
3969
|
readonly required: true;
|
|
4032
3970
|
readonly validate: (value: unknown) => boolean;
|
|
4033
3971
|
};
|
|
3972
|
+
readonly expiresAt: {
|
|
3973
|
+
readonly type: "number";
|
|
3974
|
+
readonly required: false;
|
|
3975
|
+
readonly validate: (value: unknown) => boolean;
|
|
3976
|
+
};
|
|
4034
3977
|
readonly createdAt: {
|
|
4035
3978
|
readonly type: "number";
|
|
4036
3979
|
readonly readOnly: true;
|
|
@@ -4054,15 +3997,15 @@ export declare const BodyPartStorage: {
|
|
|
4054
3997
|
};
|
|
4055
3998
|
readonly sk: {
|
|
4056
3999
|
readonly field: "gsi2sk";
|
|
4057
|
-
readonly composite: readonly ["
|
|
4000
|
+
readonly composite: readonly ["rawStorageId"];
|
|
4058
4001
|
};
|
|
4059
4002
|
readonly index: "gsi2";
|
|
4060
4003
|
readonly collection: "messageData";
|
|
4061
4004
|
};
|
|
4062
|
-
readonly
|
|
4005
|
+
readonly RawMessageStorage: {
|
|
4063
4006
|
readonly pk: {
|
|
4064
4007
|
readonly field: "pk";
|
|
4065
|
-
readonly composite: readonly ["
|
|
4008
|
+
readonly composite: readonly ["rawStorageId"];
|
|
4066
4009
|
};
|
|
4067
4010
|
readonly sk: {
|
|
4068
4011
|
readonly field: "sk";
|
|
@@ -4071,7 +4014,7 @@ export declare const BodyPartStorage: {
|
|
|
4071
4014
|
};
|
|
4072
4015
|
};
|
|
4073
4016
|
readonly model: {
|
|
4074
|
-
readonly entity: "
|
|
4017
|
+
readonly entity: "rawMessageStorage";
|
|
4075
4018
|
readonly service: "remit";
|
|
4076
4019
|
readonly version: "1";
|
|
4077
4020
|
};
|
package/index.d.mts
CHANGED
|
@@ -3882,54 +3882,17 @@ export declare const BodyStructureRefetch: {
|
|
|
3882
3882
|
readonly version: "1";
|
|
3883
3883
|
};
|
|
3884
3884
|
};
|
|
3885
|
-
export declare const
|
|
3885
|
+
export declare const MessageSearchText: {
|
|
3886
3886
|
readonly attributes: {
|
|
3887
|
-
readonly rawStorageId: {
|
|
3888
|
-
readonly type: "string";
|
|
3889
|
-
readonly required: true;
|
|
3890
|
-
readonly validate: (value: unknown) => boolean;
|
|
3891
|
-
};
|
|
3892
3887
|
readonly messageId: {
|
|
3893
3888
|
readonly type: "string";
|
|
3894
3889
|
readonly required: true;
|
|
3895
3890
|
readonly validate: (value: unknown) => boolean;
|
|
3896
3891
|
};
|
|
3897
|
-
readonly
|
|
3898
|
-
readonly type: readonly ["s3", "filesystem", "inline", "database"];
|
|
3899
|
-
readonly required: true;
|
|
3900
|
-
};
|
|
3901
|
-
readonly storageLocation: {
|
|
3902
|
-
readonly type: "string";
|
|
3903
|
-
readonly required: true;
|
|
3904
|
-
};
|
|
3905
|
-
readonly storageKey: {
|
|
3892
|
+
readonly text: {
|
|
3906
3893
|
readonly type: "string";
|
|
3907
3894
|
readonly required: true;
|
|
3908
3895
|
};
|
|
3909
|
-
readonly sizeBytes: {
|
|
3910
|
-
readonly type: "number";
|
|
3911
|
-
readonly required: true;
|
|
3912
|
-
readonly validate: (value: unknown) => boolean;
|
|
3913
|
-
};
|
|
3914
|
-
readonly checksumSha256: {
|
|
3915
|
-
readonly type: "string";
|
|
3916
|
-
readonly required: true;
|
|
3917
|
-
readonly validate: (value: unknown) => boolean;
|
|
3918
|
-
};
|
|
3919
|
-
readonly contentEncoding: {
|
|
3920
|
-
readonly type: readonly ["none", "gzip", "zstd"];
|
|
3921
|
-
readonly required: true;
|
|
3922
|
-
};
|
|
3923
|
-
readonly storedAt: {
|
|
3924
|
-
readonly type: "number";
|
|
3925
|
-
readonly required: true;
|
|
3926
|
-
readonly validate: (value: unknown) => boolean;
|
|
3927
|
-
};
|
|
3928
|
-
readonly expiresAt: {
|
|
3929
|
-
readonly type: "number";
|
|
3930
|
-
readonly required: false;
|
|
3931
|
-
readonly validate: (value: unknown) => boolean;
|
|
3932
|
-
};
|
|
3933
3896
|
readonly createdAt: {
|
|
3934
3897
|
readonly type: "number";
|
|
3935
3898
|
readonly readOnly: true;
|
|
@@ -3946,22 +3909,10 @@ export declare const RawMessageStorage: {
|
|
|
3946
3909
|
};
|
|
3947
3910
|
};
|
|
3948
3911
|
readonly indexes: {
|
|
3949
|
-
readonly
|
|
3950
|
-
readonly pk: {
|
|
3951
|
-
readonly field: "gsi2pk";
|
|
3952
|
-
readonly composite: readonly ["messageId"];
|
|
3953
|
-
};
|
|
3954
|
-
readonly sk: {
|
|
3955
|
-
readonly field: "gsi2sk";
|
|
3956
|
-
readonly composite: readonly ["rawStorageId"];
|
|
3957
|
-
};
|
|
3958
|
-
readonly index: "gsi2";
|
|
3959
|
-
readonly collection: "messageData";
|
|
3960
|
-
};
|
|
3961
|
-
readonly RawMessageStorage: {
|
|
3912
|
+
readonly MessageSearchText: {
|
|
3962
3913
|
readonly pk: {
|
|
3963
3914
|
readonly field: "pk";
|
|
3964
|
-
readonly composite: readonly ["
|
|
3915
|
+
readonly composite: readonly ["messageId"];
|
|
3965
3916
|
};
|
|
3966
3917
|
readonly sk: {
|
|
3967
3918
|
readonly field: "sk";
|
|
@@ -3970,14 +3921,14 @@ export declare const RawMessageStorage: {
|
|
|
3970
3921
|
};
|
|
3971
3922
|
};
|
|
3972
3923
|
readonly model: {
|
|
3973
|
-
readonly entity: "
|
|
3924
|
+
readonly entity: "messageSearchText";
|
|
3974
3925
|
readonly service: "remit";
|
|
3975
3926
|
readonly version: "1";
|
|
3976
3927
|
};
|
|
3977
3928
|
};
|
|
3978
|
-
export declare const
|
|
3929
|
+
export declare const RawMessageStorage: {
|
|
3979
3930
|
readonly attributes: {
|
|
3980
|
-
readonly
|
|
3931
|
+
readonly rawStorageId: {
|
|
3981
3932
|
readonly type: "string";
|
|
3982
3933
|
readonly required: true;
|
|
3983
3934
|
readonly validate: (value: unknown) => boolean;
|
|
@@ -3987,11 +3938,6 @@ export declare const BodyPartStorage: {
|
|
|
3987
3938
|
readonly required: true;
|
|
3988
3939
|
readonly validate: (value: unknown) => boolean;
|
|
3989
3940
|
};
|
|
3990
|
-
readonly bodyPartId: {
|
|
3991
|
-
readonly type: "string";
|
|
3992
|
-
readonly required: true;
|
|
3993
|
-
readonly validate: (value: unknown) => boolean;
|
|
3994
|
-
};
|
|
3995
3941
|
readonly storageType: {
|
|
3996
3942
|
readonly type: readonly ["s3", "filesystem", "inline", "database"];
|
|
3997
3943
|
readonly required: true;
|
|
@@ -4004,7 +3950,7 @@ export declare const BodyPartStorage: {
|
|
|
4004
3950
|
readonly type: "string";
|
|
4005
3951
|
readonly required: true;
|
|
4006
3952
|
};
|
|
4007
|
-
readonly
|
|
3953
|
+
readonly sizeBytes: {
|
|
4008
3954
|
readonly type: "number";
|
|
4009
3955
|
readonly required: true;
|
|
4010
3956
|
readonly validate: (value: unknown) => boolean;
|
|
@@ -4018,19 +3964,16 @@ export declare const BodyPartStorage: {
|
|
|
4018
3964
|
readonly type: readonly ["none", "gzip", "zstd"];
|
|
4019
3965
|
readonly required: true;
|
|
4020
3966
|
};
|
|
4021
|
-
readonly isDeduped: {
|
|
4022
|
-
readonly type: "boolean";
|
|
4023
|
-
readonly required: true;
|
|
4024
|
-
};
|
|
4025
|
-
readonly dedupHash: {
|
|
4026
|
-
readonly type: "string";
|
|
4027
|
-
readonly required: false;
|
|
4028
|
-
};
|
|
4029
3967
|
readonly storedAt: {
|
|
4030
3968
|
readonly type: "number";
|
|
4031
3969
|
readonly required: true;
|
|
4032
3970
|
readonly validate: (value: unknown) => boolean;
|
|
4033
3971
|
};
|
|
3972
|
+
readonly expiresAt: {
|
|
3973
|
+
readonly type: "number";
|
|
3974
|
+
readonly required: false;
|
|
3975
|
+
readonly validate: (value: unknown) => boolean;
|
|
3976
|
+
};
|
|
4034
3977
|
readonly createdAt: {
|
|
4035
3978
|
readonly type: "number";
|
|
4036
3979
|
readonly readOnly: true;
|
|
@@ -4054,15 +3997,15 @@ export declare const BodyPartStorage: {
|
|
|
4054
3997
|
};
|
|
4055
3998
|
readonly sk: {
|
|
4056
3999
|
readonly field: "gsi2sk";
|
|
4057
|
-
readonly composite: readonly ["
|
|
4000
|
+
readonly composite: readonly ["rawStorageId"];
|
|
4058
4001
|
};
|
|
4059
4002
|
readonly index: "gsi2";
|
|
4060
4003
|
readonly collection: "messageData";
|
|
4061
4004
|
};
|
|
4062
|
-
readonly
|
|
4005
|
+
readonly RawMessageStorage: {
|
|
4063
4006
|
readonly pk: {
|
|
4064
4007
|
readonly field: "pk";
|
|
4065
|
-
readonly composite: readonly ["
|
|
4008
|
+
readonly composite: readonly ["rawStorageId"];
|
|
4066
4009
|
};
|
|
4067
4010
|
readonly sk: {
|
|
4068
4011
|
readonly field: "sk";
|
|
@@ -4071,7 +4014,7 @@ export declare const BodyPartStorage: {
|
|
|
4071
4014
|
};
|
|
4072
4015
|
};
|
|
4073
4016
|
readonly model: {
|
|
4074
|
-
readonly entity: "
|
|
4017
|
+
readonly entity: "rawMessageStorage";
|
|
4075
4018
|
readonly service: "remit";
|
|
4076
4019
|
readonly version: "1";
|
|
4077
4020
|
};
|
package/index.d.ts
CHANGED
|
@@ -3882,54 +3882,17 @@ export declare const BodyStructureRefetch: {
|
|
|
3882
3882
|
readonly version: "1";
|
|
3883
3883
|
};
|
|
3884
3884
|
};
|
|
3885
|
-
export declare const
|
|
3885
|
+
export declare const MessageSearchText: {
|
|
3886
3886
|
readonly attributes: {
|
|
3887
|
-
readonly rawStorageId: {
|
|
3888
|
-
readonly type: "string";
|
|
3889
|
-
readonly required: true;
|
|
3890
|
-
readonly validate: (value: unknown) => boolean;
|
|
3891
|
-
};
|
|
3892
3887
|
readonly messageId: {
|
|
3893
3888
|
readonly type: "string";
|
|
3894
3889
|
readonly required: true;
|
|
3895
3890
|
readonly validate: (value: unknown) => boolean;
|
|
3896
3891
|
};
|
|
3897
|
-
readonly
|
|
3898
|
-
readonly type: readonly ["s3", "filesystem", "inline", "database"];
|
|
3899
|
-
readonly required: true;
|
|
3900
|
-
};
|
|
3901
|
-
readonly storageLocation: {
|
|
3902
|
-
readonly type: "string";
|
|
3903
|
-
readonly required: true;
|
|
3904
|
-
};
|
|
3905
|
-
readonly storageKey: {
|
|
3892
|
+
readonly text: {
|
|
3906
3893
|
readonly type: "string";
|
|
3907
3894
|
readonly required: true;
|
|
3908
3895
|
};
|
|
3909
|
-
readonly sizeBytes: {
|
|
3910
|
-
readonly type: "number";
|
|
3911
|
-
readonly required: true;
|
|
3912
|
-
readonly validate: (value: unknown) => boolean;
|
|
3913
|
-
};
|
|
3914
|
-
readonly checksumSha256: {
|
|
3915
|
-
readonly type: "string";
|
|
3916
|
-
readonly required: true;
|
|
3917
|
-
readonly validate: (value: unknown) => boolean;
|
|
3918
|
-
};
|
|
3919
|
-
readonly contentEncoding: {
|
|
3920
|
-
readonly type: readonly ["none", "gzip", "zstd"];
|
|
3921
|
-
readonly required: true;
|
|
3922
|
-
};
|
|
3923
|
-
readonly storedAt: {
|
|
3924
|
-
readonly type: "number";
|
|
3925
|
-
readonly required: true;
|
|
3926
|
-
readonly validate: (value: unknown) => boolean;
|
|
3927
|
-
};
|
|
3928
|
-
readonly expiresAt: {
|
|
3929
|
-
readonly type: "number";
|
|
3930
|
-
readonly required: false;
|
|
3931
|
-
readonly validate: (value: unknown) => boolean;
|
|
3932
|
-
};
|
|
3933
3896
|
readonly createdAt: {
|
|
3934
3897
|
readonly type: "number";
|
|
3935
3898
|
readonly readOnly: true;
|
|
@@ -3946,22 +3909,10 @@ export declare const RawMessageStorage: {
|
|
|
3946
3909
|
};
|
|
3947
3910
|
};
|
|
3948
3911
|
readonly indexes: {
|
|
3949
|
-
readonly
|
|
3950
|
-
readonly pk: {
|
|
3951
|
-
readonly field: "gsi2pk";
|
|
3952
|
-
readonly composite: readonly ["messageId"];
|
|
3953
|
-
};
|
|
3954
|
-
readonly sk: {
|
|
3955
|
-
readonly field: "gsi2sk";
|
|
3956
|
-
readonly composite: readonly ["rawStorageId"];
|
|
3957
|
-
};
|
|
3958
|
-
readonly index: "gsi2";
|
|
3959
|
-
readonly collection: "messageData";
|
|
3960
|
-
};
|
|
3961
|
-
readonly RawMessageStorage: {
|
|
3912
|
+
readonly MessageSearchText: {
|
|
3962
3913
|
readonly pk: {
|
|
3963
3914
|
readonly field: "pk";
|
|
3964
|
-
readonly composite: readonly ["
|
|
3915
|
+
readonly composite: readonly ["messageId"];
|
|
3965
3916
|
};
|
|
3966
3917
|
readonly sk: {
|
|
3967
3918
|
readonly field: "sk";
|
|
@@ -3970,14 +3921,14 @@ export declare const RawMessageStorage: {
|
|
|
3970
3921
|
};
|
|
3971
3922
|
};
|
|
3972
3923
|
readonly model: {
|
|
3973
|
-
readonly entity: "
|
|
3924
|
+
readonly entity: "messageSearchText";
|
|
3974
3925
|
readonly service: "remit";
|
|
3975
3926
|
readonly version: "1";
|
|
3976
3927
|
};
|
|
3977
3928
|
};
|
|
3978
|
-
export declare const
|
|
3929
|
+
export declare const RawMessageStorage: {
|
|
3979
3930
|
readonly attributes: {
|
|
3980
|
-
readonly
|
|
3931
|
+
readonly rawStorageId: {
|
|
3981
3932
|
readonly type: "string";
|
|
3982
3933
|
readonly required: true;
|
|
3983
3934
|
readonly validate: (value: unknown) => boolean;
|
|
@@ -3987,11 +3938,6 @@ export declare const BodyPartStorage: {
|
|
|
3987
3938
|
readonly required: true;
|
|
3988
3939
|
readonly validate: (value: unknown) => boolean;
|
|
3989
3940
|
};
|
|
3990
|
-
readonly bodyPartId: {
|
|
3991
|
-
readonly type: "string";
|
|
3992
|
-
readonly required: true;
|
|
3993
|
-
readonly validate: (value: unknown) => boolean;
|
|
3994
|
-
};
|
|
3995
3941
|
readonly storageType: {
|
|
3996
3942
|
readonly type: readonly ["s3", "filesystem", "inline", "database"];
|
|
3997
3943
|
readonly required: true;
|
|
@@ -4004,7 +3950,7 @@ export declare const BodyPartStorage: {
|
|
|
4004
3950
|
readonly type: "string";
|
|
4005
3951
|
readonly required: true;
|
|
4006
3952
|
};
|
|
4007
|
-
readonly
|
|
3953
|
+
readonly sizeBytes: {
|
|
4008
3954
|
readonly type: "number";
|
|
4009
3955
|
readonly required: true;
|
|
4010
3956
|
readonly validate: (value: unknown) => boolean;
|
|
@@ -4018,19 +3964,16 @@ export declare const BodyPartStorage: {
|
|
|
4018
3964
|
readonly type: readonly ["none", "gzip", "zstd"];
|
|
4019
3965
|
readonly required: true;
|
|
4020
3966
|
};
|
|
4021
|
-
readonly isDeduped: {
|
|
4022
|
-
readonly type: "boolean";
|
|
4023
|
-
readonly required: true;
|
|
4024
|
-
};
|
|
4025
|
-
readonly dedupHash: {
|
|
4026
|
-
readonly type: "string";
|
|
4027
|
-
readonly required: false;
|
|
4028
|
-
};
|
|
4029
3967
|
readonly storedAt: {
|
|
4030
3968
|
readonly type: "number";
|
|
4031
3969
|
readonly required: true;
|
|
4032
3970
|
readonly validate: (value: unknown) => boolean;
|
|
4033
3971
|
};
|
|
3972
|
+
readonly expiresAt: {
|
|
3973
|
+
readonly type: "number";
|
|
3974
|
+
readonly required: false;
|
|
3975
|
+
readonly validate: (value: unknown) => boolean;
|
|
3976
|
+
};
|
|
4034
3977
|
readonly createdAt: {
|
|
4035
3978
|
readonly type: "number";
|
|
4036
3979
|
readonly readOnly: true;
|
|
@@ -4054,15 +3997,15 @@ export declare const BodyPartStorage: {
|
|
|
4054
3997
|
};
|
|
4055
3998
|
readonly sk: {
|
|
4056
3999
|
readonly field: "gsi2sk";
|
|
4057
|
-
readonly composite: readonly ["
|
|
4000
|
+
readonly composite: readonly ["rawStorageId"];
|
|
4058
4001
|
};
|
|
4059
4002
|
readonly index: "gsi2";
|
|
4060
4003
|
readonly collection: "messageData";
|
|
4061
4004
|
};
|
|
4062
|
-
readonly
|
|
4005
|
+
readonly RawMessageStorage: {
|
|
4063
4006
|
readonly pk: {
|
|
4064
4007
|
readonly field: "pk";
|
|
4065
|
-
readonly composite: readonly ["
|
|
4008
|
+
readonly composite: readonly ["rawStorageId"];
|
|
4066
4009
|
};
|
|
4067
4010
|
readonly sk: {
|
|
4068
4011
|
readonly field: "sk";
|
|
@@ -4071,7 +4014,7 @@ export declare const BodyPartStorage: {
|
|
|
4071
4014
|
};
|
|
4072
4015
|
};
|
|
4073
4016
|
readonly model: {
|
|
4074
|
-
readonly entity: "
|
|
4017
|
+
readonly entity: "rawMessageStorage";
|
|
4075
4018
|
readonly service: "remit";
|
|
4076
4019
|
readonly version: "1";
|
|
4077
4020
|
};
|
package/index.mjs
CHANGED
|
@@ -4965,19 +4965,8 @@ export const BodyStructureRefetch = {
|
|
|
4965
4965
|
version: "1"
|
|
4966
4966
|
}
|
|
4967
4967
|
};
|
|
4968
|
-
export const
|
|
4968
|
+
export const MessageSearchText = {
|
|
4969
4969
|
attributes: {
|
|
4970
|
-
rawStorageId: {
|
|
4971
|
-
type: "string",
|
|
4972
|
-
required: true,
|
|
4973
|
-
validate: value => {
|
|
4974
|
-
if (typeof value === "string" && value.length < 25)
|
|
4975
|
-
throw new Error("'rawStorageId' must be at least 25 characters");
|
|
4976
|
-
if (typeof value === "string" && value.length > 25)
|
|
4977
|
-
throw new Error("'rawStorageId' must be at most 25 characters");
|
|
4978
|
-
return true;
|
|
4979
|
-
}
|
|
4980
|
-
},
|
|
4981
4970
|
messageId: {
|
|
4982
4971
|
type: "string",
|
|
4983
4972
|
required: true,
|
|
@@ -4989,62 +4978,10 @@ export const RawMessageStorage = {
|
|
|
4989
4978
|
return true;
|
|
4990
4979
|
}
|
|
4991
4980
|
},
|
|
4992
|
-
|
|
4993
|
-
type: ["s3", "filesystem", "inline", "database"],
|
|
4994
|
-
required: true
|
|
4995
|
-
},
|
|
4996
|
-
storageLocation: {
|
|
4997
|
-
type: "string",
|
|
4998
|
-
required: true
|
|
4999
|
-
},
|
|
5000
|
-
storageKey: {
|
|
4981
|
+
text: {
|
|
5001
4982
|
type: "string",
|
|
5002
4983
|
required: true
|
|
5003
4984
|
},
|
|
5004
|
-
sizeBytes: {
|
|
5005
|
-
type: "number",
|
|
5006
|
-
required: true,
|
|
5007
|
-
validate: value => {
|
|
5008
|
-
if (typeof value === "number" && value < 0)
|
|
5009
|
-
throw new Error("'sizeBytes' must be at least 0");
|
|
5010
|
-
if (typeof value === "number" && !Number.isInteger(value))
|
|
5011
|
-
throw new Error("'sizeBytes' must be an integer");
|
|
5012
|
-
return true;
|
|
5013
|
-
}
|
|
5014
|
-
},
|
|
5015
|
-
checksumSha256: {
|
|
5016
|
-
type: "string",
|
|
5017
|
-
required: true,
|
|
5018
|
-
validate: value => {
|
|
5019
|
-
if (typeof value === "string" && value.length < 64)
|
|
5020
|
-
throw new Error("'checksumSha256' must be at least 64 characters");
|
|
5021
|
-
if (typeof value === "string" && value.length > 64)
|
|
5022
|
-
throw new Error("'checksumSha256' must be at most 64 characters");
|
|
5023
|
-
return true;
|
|
5024
|
-
}
|
|
5025
|
-
},
|
|
5026
|
-
contentEncoding: {
|
|
5027
|
-
type: ["none", "gzip", "zstd"],
|
|
5028
|
-
required: true
|
|
5029
|
-
},
|
|
5030
|
-
storedAt: {
|
|
5031
|
-
type: "number",
|
|
5032
|
-
required: true,
|
|
5033
|
-
validate: value => {
|
|
5034
|
-
if (typeof value === "number" && !Number.isInteger(value))
|
|
5035
|
-
throw new Error("'storedAt' must be an integer");
|
|
5036
|
-
return true;
|
|
5037
|
-
}
|
|
5038
|
-
},
|
|
5039
|
-
expiresAt: {
|
|
5040
|
-
type: "number",
|
|
5041
|
-
required: false,
|
|
5042
|
-
validate: value => {
|
|
5043
|
-
if (typeof value === "number" && !Number.isInteger(value))
|
|
5044
|
-
throw new Error("'expiresAt' must be an integer");
|
|
5045
|
-
return true;
|
|
5046
|
-
}
|
|
5047
|
-
},
|
|
5048
4985
|
createdAt: {
|
|
5049
4986
|
type: "number",
|
|
5050
4987
|
readOnly: true,
|
|
@@ -5061,22 +4998,10 @@ export const RawMessageStorage = {
|
|
|
5061
4998
|
}
|
|
5062
4999
|
},
|
|
5063
5000
|
indexes: {
|
|
5064
|
-
|
|
5065
|
-
pk: {
|
|
5066
|
-
field: "gsi2pk",
|
|
5067
|
-
composite: ["messageId"]
|
|
5068
|
-
},
|
|
5069
|
-
sk: {
|
|
5070
|
-
field: "gsi2sk",
|
|
5071
|
-
composite: ["rawStorageId"]
|
|
5072
|
-
},
|
|
5073
|
-
index: "gsi2",
|
|
5074
|
-
collection: "messageData"
|
|
5075
|
-
},
|
|
5076
|
-
RawMessageStorage: {
|
|
5001
|
+
MessageSearchText: {
|
|
5077
5002
|
pk: {
|
|
5078
5003
|
field: "pk",
|
|
5079
|
-
composite: ["
|
|
5004
|
+
composite: ["messageId"]
|
|
5080
5005
|
},
|
|
5081
5006
|
sk: {
|
|
5082
5007
|
field: "sk",
|
|
@@ -5085,21 +5010,21 @@ export const RawMessageStorage = {
|
|
|
5085
5010
|
}
|
|
5086
5011
|
},
|
|
5087
5012
|
model: {
|
|
5088
|
-
entity: "
|
|
5013
|
+
entity: "messageSearchText",
|
|
5089
5014
|
service: "remit",
|
|
5090
5015
|
version: "1"
|
|
5091
5016
|
}
|
|
5092
5017
|
};
|
|
5093
|
-
export const
|
|
5018
|
+
export const RawMessageStorage = {
|
|
5094
5019
|
attributes: {
|
|
5095
|
-
|
|
5020
|
+
rawStorageId: {
|
|
5096
5021
|
type: "string",
|
|
5097
5022
|
required: true,
|
|
5098
5023
|
validate: value => {
|
|
5099
5024
|
if (typeof value === "string" && value.length < 25)
|
|
5100
|
-
throw new Error("'
|
|
5025
|
+
throw new Error("'rawStorageId' must be at least 25 characters");
|
|
5101
5026
|
if (typeof value === "string" && value.length > 25)
|
|
5102
|
-
throw new Error("'
|
|
5027
|
+
throw new Error("'rawStorageId' must be at most 25 characters");
|
|
5103
5028
|
return true;
|
|
5104
5029
|
}
|
|
5105
5030
|
},
|
|
@@ -5114,17 +5039,6 @@ export const BodyPartStorage = {
|
|
|
5114
5039
|
return true;
|
|
5115
5040
|
}
|
|
5116
5041
|
},
|
|
5117
|
-
bodyPartId: {
|
|
5118
|
-
type: "string",
|
|
5119
|
-
required: true,
|
|
5120
|
-
validate: value => {
|
|
5121
|
-
if (typeof value === "string" && value.length < 25)
|
|
5122
|
-
throw new Error("'bodyPartId' must be at least 25 characters");
|
|
5123
|
-
if (typeof value === "string" && value.length > 25)
|
|
5124
|
-
throw new Error("'bodyPartId' must be at most 25 characters");
|
|
5125
|
-
return true;
|
|
5126
|
-
}
|
|
5127
|
-
},
|
|
5128
5042
|
storageType: {
|
|
5129
5043
|
type: ["s3", "filesystem", "inline", "database"],
|
|
5130
5044
|
required: true
|
|
@@ -5137,14 +5051,14 @@ export const BodyPartStorage = {
|
|
|
5137
5051
|
type: "string",
|
|
5138
5052
|
required: true
|
|
5139
5053
|
},
|
|
5140
|
-
|
|
5054
|
+
sizeBytes: {
|
|
5141
5055
|
type: "number",
|
|
5142
5056
|
required: true,
|
|
5143
5057
|
validate: value => {
|
|
5144
5058
|
if (typeof value === "number" && value < 0)
|
|
5145
|
-
throw new Error("'
|
|
5059
|
+
throw new Error("'sizeBytes' must be at least 0");
|
|
5146
5060
|
if (typeof value === "number" && !Number.isInteger(value))
|
|
5147
|
-
throw new Error("'
|
|
5061
|
+
throw new Error("'sizeBytes' must be an integer");
|
|
5148
5062
|
return true;
|
|
5149
5063
|
}
|
|
5150
5064
|
},
|
|
@@ -5163,14 +5077,6 @@ export const BodyPartStorage = {
|
|
|
5163
5077
|
type: ["none", "gzip", "zstd"],
|
|
5164
5078
|
required: true
|
|
5165
5079
|
},
|
|
5166
|
-
isDeduped: {
|
|
5167
|
-
type: "boolean",
|
|
5168
|
-
required: true
|
|
5169
|
-
},
|
|
5170
|
-
dedupHash: {
|
|
5171
|
-
type: "string",
|
|
5172
|
-
required: false
|
|
5173
|
-
},
|
|
5174
5080
|
storedAt: {
|
|
5175
5081
|
type: "number",
|
|
5176
5082
|
required: true,
|
|
@@ -5180,6 +5086,15 @@ export const BodyPartStorage = {
|
|
|
5180
5086
|
return true;
|
|
5181
5087
|
}
|
|
5182
5088
|
},
|
|
5089
|
+
expiresAt: {
|
|
5090
|
+
type: "number",
|
|
5091
|
+
required: false,
|
|
5092
|
+
validate: value => {
|
|
5093
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
5094
|
+
throw new Error("'expiresAt' must be an integer");
|
|
5095
|
+
return true;
|
|
5096
|
+
}
|
|
5097
|
+
},
|
|
5183
5098
|
createdAt: {
|
|
5184
5099
|
type: "number",
|
|
5185
5100
|
readOnly: true,
|
|
@@ -5203,15 +5118,15 @@ export const BodyPartStorage = {
|
|
|
5203
5118
|
},
|
|
5204
5119
|
sk: {
|
|
5205
5120
|
field: "gsi2sk",
|
|
5206
|
-
composite: ["
|
|
5121
|
+
composite: ["rawStorageId"]
|
|
5207
5122
|
},
|
|
5208
5123
|
index: "gsi2",
|
|
5209
5124
|
collection: "messageData"
|
|
5210
5125
|
},
|
|
5211
|
-
|
|
5126
|
+
RawMessageStorage: {
|
|
5212
5127
|
pk: {
|
|
5213
5128
|
field: "pk",
|
|
5214
|
-
composite: ["
|
|
5129
|
+
composite: ["rawStorageId"]
|
|
5215
5130
|
},
|
|
5216
5131
|
sk: {
|
|
5217
5132
|
field: "sk",
|
|
@@ -5220,7 +5135,7 @@ export const BodyPartStorage = {
|
|
|
5220
5135
|
}
|
|
5221
5136
|
},
|
|
5222
5137
|
model: {
|
|
5223
|
-
entity: "
|
|
5138
|
+
entity: "rawMessageStorage",
|
|
5224
5139
|
service: "remit",
|
|
5225
5140
|
version: "1"
|
|
5226
5141
|
}
|