@remit/electrodb-entities 0.0.12 → 0.0.14
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 +125 -2
- package/index.d.cts +94 -1
- package/index.d.mts +94 -1
- package/index.d.ts +94 -1
- package/index.mjs +124 -1
- 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.FilterAnchor = exports.MessageLabel = exports.BodyPartContent = exports.BodyPartStorage = exports.RawMessageStorage = exports.BodyPartParameter = exports.Envelope = exports.MessageFlagPush = exports.MessagePlacementMove = exports.MessageFlag = exports.MailboxLock = exports.MailboxFlag = exports.MailboxSpecialUseEntry = exports.MailboxAttributeEntry = exports.AccountSetting = exports.EnvelopeAddress = exports.MessageReference = exports.BodyPart = exports.Message = exports.Address = exports.OutboxAttachment = exports.OutboxMessage = exports.ThreadMessage = exports.OrganizeJobRequest = exports.Label = exports.Filter = exports.Mailbox = exports.Account = exports.AccountConfig = exports.Quarantine = exports.AccountExportRequest = void 0;
|
|
3
|
+
exports.FilterAnchor = exports.MessageLabel = exports.BodyPartContent = exports.BodyPartStorage = exports.RawMessageStorage = exports.BodyPartParameter = exports.SenderSignerStanding = exports.Envelope = exports.MessageFlagPush = exports.MessagePlacementMove = exports.MessageFlag = exports.MailboxLock = exports.MailboxFlag = exports.MailboxSpecialUseEntry = exports.MailboxAttributeEntry = exports.AccountSetting = exports.EnvelopeAddress = exports.MessageReference = exports.BodyPart = exports.Message = exports.Address = exports.OutboxAttachment = exports.OutboxMessage = exports.ThreadMessage = exports.OrganizeJobRequest = exports.Label = exports.Filter = exports.Mailbox = exports.Account = exports.AccountConfig = exports.Quarantine = exports.AccountExportRequest = void 0;
|
|
4
4
|
const electrodb_1 = require("electrodb");
|
|
5
5
|
exports.AccountExportRequest = {
|
|
6
6
|
attributes: {
|
|
@@ -1763,7 +1763,7 @@ exports.OutboxMessage = {
|
|
|
1763
1763
|
required: false
|
|
1764
1764
|
},
|
|
1765
1765
|
status: {
|
|
1766
|
-
type: ["draft", "queued", "sending", "sent", "failed", "blocked"],
|
|
1766
|
+
type: ["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"],
|
|
1767
1767
|
required: true
|
|
1768
1768
|
},
|
|
1769
1769
|
lastError: {
|
|
@@ -2507,10 +2507,31 @@ exports.Message = {
|
|
|
2507
2507
|
type: "string"
|
|
2508
2508
|
},
|
|
2509
2509
|
required: false
|
|
2510
|
+
},
|
|
2511
|
+
signerDomain: {
|
|
2512
|
+
type: "string",
|
|
2513
|
+
required: false
|
|
2514
|
+
},
|
|
2515
|
+
envelopeDomain: {
|
|
2516
|
+
type: "string",
|
|
2517
|
+
required: false
|
|
2518
|
+
},
|
|
2519
|
+
signerMessageCount: {
|
|
2520
|
+
type: "number",
|
|
2521
|
+
required: false
|
|
2522
|
+
},
|
|
2523
|
+
signerFirstSeenAt: {
|
|
2524
|
+
type: "number",
|
|
2525
|
+
required: false
|
|
2510
2526
|
}
|
|
2511
2527
|
},
|
|
2512
2528
|
required: false
|
|
2513
2529
|
},
|
|
2530
|
+
authenticityVerdict: {
|
|
2531
|
+
type: ["NotEvaluated", "NotChecked", "Aligned", "Authenticated", "Routine", "Caution", "Impersonation"],
|
|
2532
|
+
required: true,
|
|
2533
|
+
default: "NotEvaluated"
|
|
2534
|
+
},
|
|
2514
2535
|
authResult: {
|
|
2515
2536
|
type: "map",
|
|
2516
2537
|
properties: {
|
|
@@ -3804,6 +3825,108 @@ exports.Envelope = {
|
|
|
3804
3825
|
version: "1"
|
|
3805
3826
|
}
|
|
3806
3827
|
};
|
|
3828
|
+
exports.SenderSignerStanding = {
|
|
3829
|
+
attributes: {
|
|
3830
|
+
accountConfigId: {
|
|
3831
|
+
type: "string",
|
|
3832
|
+
required: true,
|
|
3833
|
+
validate: value => {
|
|
3834
|
+
if (typeof value === "string" && value.length < 25)
|
|
3835
|
+
throw new Error("'accountConfigId' must be at least 25 characters");
|
|
3836
|
+
if (typeof value === "string" && value.length > 25)
|
|
3837
|
+
throw new Error("'accountConfigId' must be at most 25 characters");
|
|
3838
|
+
return true;
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
senderKey: {
|
|
3842
|
+
type: "string",
|
|
3843
|
+
required: true,
|
|
3844
|
+
validate: value => {
|
|
3845
|
+
if (typeof value === "string" && value.length > 256)
|
|
3846
|
+
throw new Error("'senderKey' must be at most 256 characters");
|
|
3847
|
+
return true;
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
signerDomain: {
|
|
3851
|
+
type: "string",
|
|
3852
|
+
required: true,
|
|
3853
|
+
validate: value => {
|
|
3854
|
+
if (typeof value === "string" && value.length > 256)
|
|
3855
|
+
throw new Error("'signerDomain' must be at most 256 characters");
|
|
3856
|
+
return true;
|
|
3857
|
+
}
|
|
3858
|
+
},
|
|
3859
|
+
messageCount: {
|
|
3860
|
+
type: "number",
|
|
3861
|
+
required: true,
|
|
3862
|
+
default: 0,
|
|
3863
|
+
validate: value => {
|
|
3864
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3865
|
+
throw new Error("'messageCount' must be an integer");
|
|
3866
|
+
return true;
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3869
|
+
firstSeenAt: {
|
|
3870
|
+
type: "number",
|
|
3871
|
+
required: true,
|
|
3872
|
+
validate: value => {
|
|
3873
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3874
|
+
throw new Error("'firstSeenAt' must be an integer");
|
|
3875
|
+
return true;
|
|
3876
|
+
}
|
|
3877
|
+
},
|
|
3878
|
+
lastSeenAt: {
|
|
3879
|
+
type: "number",
|
|
3880
|
+
required: true,
|
|
3881
|
+
validate: value => {
|
|
3882
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3883
|
+
throw new Error("'lastSeenAt' must be an integer");
|
|
3884
|
+
return true;
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
userAffirmedAt: {
|
|
3888
|
+
type: "number",
|
|
3889
|
+
required: true,
|
|
3890
|
+
default: 0,
|
|
3891
|
+
validate: value => {
|
|
3892
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3893
|
+
throw new Error("'userAffirmedAt' must be an integer");
|
|
3894
|
+
return true;
|
|
3895
|
+
}
|
|
3896
|
+
},
|
|
3897
|
+
createdAt: {
|
|
3898
|
+
type: "number",
|
|
3899
|
+
readOnly: true,
|
|
3900
|
+
required: true,
|
|
3901
|
+
default: () => Date.now(),
|
|
3902
|
+
set: () => Date.now()
|
|
3903
|
+
},
|
|
3904
|
+
updatedAt: {
|
|
3905
|
+
type: "number",
|
|
3906
|
+
watch: "*",
|
|
3907
|
+
required: true,
|
|
3908
|
+
default: () => Date.now(),
|
|
3909
|
+
set: () => Date.now()
|
|
3910
|
+
}
|
|
3911
|
+
},
|
|
3912
|
+
indexes: {
|
|
3913
|
+
SenderSignerStanding: {
|
|
3914
|
+
pk: {
|
|
3915
|
+
field: "pk",
|
|
3916
|
+
composite: ["accountConfigId"]
|
|
3917
|
+
},
|
|
3918
|
+
sk: {
|
|
3919
|
+
field: "sk",
|
|
3920
|
+
composite: ["senderKey", "signerDomain"]
|
|
3921
|
+
}
|
|
3922
|
+
}
|
|
3923
|
+
},
|
|
3924
|
+
model: {
|
|
3925
|
+
entity: "senderSignerStanding",
|
|
3926
|
+
service: "remit",
|
|
3927
|
+
version: "1"
|
|
3928
|
+
}
|
|
3929
|
+
};
|
|
3807
3930
|
exports.BodyPartParameter = {
|
|
3808
3931
|
attributes: {
|
|
3809
3932
|
bodyPartParameterId: {
|
package/index.d.cts
CHANGED
|
@@ -1343,7 +1343,7 @@ export declare const OutboxMessage: {
|
|
|
1343
1343
|
readonly required: false;
|
|
1344
1344
|
};
|
|
1345
1345
|
readonly status: {
|
|
1346
|
-
readonly type: readonly ["draft", "queued", "sending", "sent", "failed", "blocked"];
|
|
1346
|
+
readonly type: readonly ["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"];
|
|
1347
1347
|
readonly required: true;
|
|
1348
1348
|
};
|
|
1349
1349
|
readonly lastError: {
|
|
@@ -1932,9 +1932,30 @@ export declare const Message: {
|
|
|
1932
1932
|
};
|
|
1933
1933
|
readonly required: false;
|
|
1934
1934
|
};
|
|
1935
|
+
readonly signerDomain: {
|
|
1936
|
+
readonly type: "string";
|
|
1937
|
+
readonly required: false;
|
|
1938
|
+
};
|
|
1939
|
+
readonly envelopeDomain: {
|
|
1940
|
+
readonly type: "string";
|
|
1941
|
+
readonly required: false;
|
|
1942
|
+
};
|
|
1943
|
+
readonly signerMessageCount: {
|
|
1944
|
+
readonly type: "number";
|
|
1945
|
+
readonly required: false;
|
|
1946
|
+
};
|
|
1947
|
+
readonly signerFirstSeenAt: {
|
|
1948
|
+
readonly type: "number";
|
|
1949
|
+
readonly required: false;
|
|
1950
|
+
};
|
|
1935
1951
|
};
|
|
1936
1952
|
readonly required: false;
|
|
1937
1953
|
};
|
|
1954
|
+
readonly authenticityVerdict: {
|
|
1955
|
+
readonly type: readonly ["NotEvaluated", "NotChecked", "Aligned", "Authenticated", "Routine", "Caution", "Impersonation"];
|
|
1956
|
+
readonly required: true;
|
|
1957
|
+
readonly default: "NotEvaluated";
|
|
1958
|
+
};
|
|
1938
1959
|
readonly authResult: {
|
|
1939
1960
|
readonly type: "map";
|
|
1940
1961
|
readonly properties: {
|
|
@@ -2980,6 +3001,78 @@ export declare const Envelope: {
|
|
|
2980
3001
|
readonly version: "1";
|
|
2981
3002
|
};
|
|
2982
3003
|
};
|
|
3004
|
+
export declare const SenderSignerStanding: {
|
|
3005
|
+
readonly attributes: {
|
|
3006
|
+
readonly accountConfigId: {
|
|
3007
|
+
readonly type: "string";
|
|
3008
|
+
readonly required: true;
|
|
3009
|
+
readonly validate: (value: unknown) => boolean;
|
|
3010
|
+
};
|
|
3011
|
+
readonly senderKey: {
|
|
3012
|
+
readonly type: "string";
|
|
3013
|
+
readonly required: true;
|
|
3014
|
+
readonly validate: (value: unknown) => boolean;
|
|
3015
|
+
};
|
|
3016
|
+
readonly signerDomain: {
|
|
3017
|
+
readonly type: "string";
|
|
3018
|
+
readonly required: true;
|
|
3019
|
+
readonly validate: (value: unknown) => boolean;
|
|
3020
|
+
};
|
|
3021
|
+
readonly messageCount: {
|
|
3022
|
+
readonly type: "number";
|
|
3023
|
+
readonly required: true;
|
|
3024
|
+
readonly default: 0;
|
|
3025
|
+
readonly validate: (value: unknown) => boolean;
|
|
3026
|
+
};
|
|
3027
|
+
readonly firstSeenAt: {
|
|
3028
|
+
readonly type: "number";
|
|
3029
|
+
readonly required: true;
|
|
3030
|
+
readonly validate: (value: unknown) => boolean;
|
|
3031
|
+
};
|
|
3032
|
+
readonly lastSeenAt: {
|
|
3033
|
+
readonly type: "number";
|
|
3034
|
+
readonly required: true;
|
|
3035
|
+
readonly validate: (value: unknown) => boolean;
|
|
3036
|
+
};
|
|
3037
|
+
readonly userAffirmedAt: {
|
|
3038
|
+
readonly type: "number";
|
|
3039
|
+
readonly required: true;
|
|
3040
|
+
readonly default: 0;
|
|
3041
|
+
readonly validate: (value: unknown) => boolean;
|
|
3042
|
+
};
|
|
3043
|
+
readonly createdAt: {
|
|
3044
|
+
readonly type: "number";
|
|
3045
|
+
readonly readOnly: true;
|
|
3046
|
+
readonly required: true;
|
|
3047
|
+
readonly default: () => any;
|
|
3048
|
+
readonly set: () => any;
|
|
3049
|
+
};
|
|
3050
|
+
readonly updatedAt: {
|
|
3051
|
+
readonly type: "number";
|
|
3052
|
+
readonly watch: "*";
|
|
3053
|
+
readonly required: true;
|
|
3054
|
+
readonly default: () => any;
|
|
3055
|
+
readonly set: () => any;
|
|
3056
|
+
};
|
|
3057
|
+
};
|
|
3058
|
+
readonly indexes: {
|
|
3059
|
+
readonly SenderSignerStanding: {
|
|
3060
|
+
readonly pk: {
|
|
3061
|
+
readonly field: "pk";
|
|
3062
|
+
readonly composite: readonly ["accountConfigId"];
|
|
3063
|
+
};
|
|
3064
|
+
readonly sk: {
|
|
3065
|
+
readonly field: "sk";
|
|
3066
|
+
readonly composite: readonly ["senderKey", "signerDomain"];
|
|
3067
|
+
};
|
|
3068
|
+
};
|
|
3069
|
+
};
|
|
3070
|
+
readonly model: {
|
|
3071
|
+
readonly entity: "senderSignerStanding";
|
|
3072
|
+
readonly service: "remit";
|
|
3073
|
+
readonly version: "1";
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
2983
3076
|
export declare const BodyPartParameter: {
|
|
2984
3077
|
readonly attributes: {
|
|
2985
3078
|
readonly bodyPartParameterId: {
|
package/index.d.mts
CHANGED
|
@@ -1343,7 +1343,7 @@ export declare const OutboxMessage: {
|
|
|
1343
1343
|
readonly required: false;
|
|
1344
1344
|
};
|
|
1345
1345
|
readonly status: {
|
|
1346
|
-
readonly type: readonly ["draft", "queued", "sending", "sent", "failed", "blocked"];
|
|
1346
|
+
readonly type: readonly ["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"];
|
|
1347
1347
|
readonly required: true;
|
|
1348
1348
|
};
|
|
1349
1349
|
readonly lastError: {
|
|
@@ -1932,9 +1932,30 @@ export declare const Message: {
|
|
|
1932
1932
|
};
|
|
1933
1933
|
readonly required: false;
|
|
1934
1934
|
};
|
|
1935
|
+
readonly signerDomain: {
|
|
1936
|
+
readonly type: "string";
|
|
1937
|
+
readonly required: false;
|
|
1938
|
+
};
|
|
1939
|
+
readonly envelopeDomain: {
|
|
1940
|
+
readonly type: "string";
|
|
1941
|
+
readonly required: false;
|
|
1942
|
+
};
|
|
1943
|
+
readonly signerMessageCount: {
|
|
1944
|
+
readonly type: "number";
|
|
1945
|
+
readonly required: false;
|
|
1946
|
+
};
|
|
1947
|
+
readonly signerFirstSeenAt: {
|
|
1948
|
+
readonly type: "number";
|
|
1949
|
+
readonly required: false;
|
|
1950
|
+
};
|
|
1935
1951
|
};
|
|
1936
1952
|
readonly required: false;
|
|
1937
1953
|
};
|
|
1954
|
+
readonly authenticityVerdict: {
|
|
1955
|
+
readonly type: readonly ["NotEvaluated", "NotChecked", "Aligned", "Authenticated", "Routine", "Caution", "Impersonation"];
|
|
1956
|
+
readonly required: true;
|
|
1957
|
+
readonly default: "NotEvaluated";
|
|
1958
|
+
};
|
|
1938
1959
|
readonly authResult: {
|
|
1939
1960
|
readonly type: "map";
|
|
1940
1961
|
readonly properties: {
|
|
@@ -2980,6 +3001,78 @@ export declare const Envelope: {
|
|
|
2980
3001
|
readonly version: "1";
|
|
2981
3002
|
};
|
|
2982
3003
|
};
|
|
3004
|
+
export declare const SenderSignerStanding: {
|
|
3005
|
+
readonly attributes: {
|
|
3006
|
+
readonly accountConfigId: {
|
|
3007
|
+
readonly type: "string";
|
|
3008
|
+
readonly required: true;
|
|
3009
|
+
readonly validate: (value: unknown) => boolean;
|
|
3010
|
+
};
|
|
3011
|
+
readonly senderKey: {
|
|
3012
|
+
readonly type: "string";
|
|
3013
|
+
readonly required: true;
|
|
3014
|
+
readonly validate: (value: unknown) => boolean;
|
|
3015
|
+
};
|
|
3016
|
+
readonly signerDomain: {
|
|
3017
|
+
readonly type: "string";
|
|
3018
|
+
readonly required: true;
|
|
3019
|
+
readonly validate: (value: unknown) => boolean;
|
|
3020
|
+
};
|
|
3021
|
+
readonly messageCount: {
|
|
3022
|
+
readonly type: "number";
|
|
3023
|
+
readonly required: true;
|
|
3024
|
+
readonly default: 0;
|
|
3025
|
+
readonly validate: (value: unknown) => boolean;
|
|
3026
|
+
};
|
|
3027
|
+
readonly firstSeenAt: {
|
|
3028
|
+
readonly type: "number";
|
|
3029
|
+
readonly required: true;
|
|
3030
|
+
readonly validate: (value: unknown) => boolean;
|
|
3031
|
+
};
|
|
3032
|
+
readonly lastSeenAt: {
|
|
3033
|
+
readonly type: "number";
|
|
3034
|
+
readonly required: true;
|
|
3035
|
+
readonly validate: (value: unknown) => boolean;
|
|
3036
|
+
};
|
|
3037
|
+
readonly userAffirmedAt: {
|
|
3038
|
+
readonly type: "number";
|
|
3039
|
+
readonly required: true;
|
|
3040
|
+
readonly default: 0;
|
|
3041
|
+
readonly validate: (value: unknown) => boolean;
|
|
3042
|
+
};
|
|
3043
|
+
readonly createdAt: {
|
|
3044
|
+
readonly type: "number";
|
|
3045
|
+
readonly readOnly: true;
|
|
3046
|
+
readonly required: true;
|
|
3047
|
+
readonly default: () => any;
|
|
3048
|
+
readonly set: () => any;
|
|
3049
|
+
};
|
|
3050
|
+
readonly updatedAt: {
|
|
3051
|
+
readonly type: "number";
|
|
3052
|
+
readonly watch: "*";
|
|
3053
|
+
readonly required: true;
|
|
3054
|
+
readonly default: () => any;
|
|
3055
|
+
readonly set: () => any;
|
|
3056
|
+
};
|
|
3057
|
+
};
|
|
3058
|
+
readonly indexes: {
|
|
3059
|
+
readonly SenderSignerStanding: {
|
|
3060
|
+
readonly pk: {
|
|
3061
|
+
readonly field: "pk";
|
|
3062
|
+
readonly composite: readonly ["accountConfigId"];
|
|
3063
|
+
};
|
|
3064
|
+
readonly sk: {
|
|
3065
|
+
readonly field: "sk";
|
|
3066
|
+
readonly composite: readonly ["senderKey", "signerDomain"];
|
|
3067
|
+
};
|
|
3068
|
+
};
|
|
3069
|
+
};
|
|
3070
|
+
readonly model: {
|
|
3071
|
+
readonly entity: "senderSignerStanding";
|
|
3072
|
+
readonly service: "remit";
|
|
3073
|
+
readonly version: "1";
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
2983
3076
|
export declare const BodyPartParameter: {
|
|
2984
3077
|
readonly attributes: {
|
|
2985
3078
|
readonly bodyPartParameterId: {
|
package/index.d.ts
CHANGED
|
@@ -1343,7 +1343,7 @@ export declare const OutboxMessage: {
|
|
|
1343
1343
|
readonly required: false;
|
|
1344
1344
|
};
|
|
1345
1345
|
readonly status: {
|
|
1346
|
-
readonly type: readonly ["draft", "queued", "sending", "sent", "failed", "blocked"];
|
|
1346
|
+
readonly type: readonly ["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"];
|
|
1347
1347
|
readonly required: true;
|
|
1348
1348
|
};
|
|
1349
1349
|
readonly lastError: {
|
|
@@ -1932,9 +1932,30 @@ export declare const Message: {
|
|
|
1932
1932
|
};
|
|
1933
1933
|
readonly required: false;
|
|
1934
1934
|
};
|
|
1935
|
+
readonly signerDomain: {
|
|
1936
|
+
readonly type: "string";
|
|
1937
|
+
readonly required: false;
|
|
1938
|
+
};
|
|
1939
|
+
readonly envelopeDomain: {
|
|
1940
|
+
readonly type: "string";
|
|
1941
|
+
readonly required: false;
|
|
1942
|
+
};
|
|
1943
|
+
readonly signerMessageCount: {
|
|
1944
|
+
readonly type: "number";
|
|
1945
|
+
readonly required: false;
|
|
1946
|
+
};
|
|
1947
|
+
readonly signerFirstSeenAt: {
|
|
1948
|
+
readonly type: "number";
|
|
1949
|
+
readonly required: false;
|
|
1950
|
+
};
|
|
1935
1951
|
};
|
|
1936
1952
|
readonly required: false;
|
|
1937
1953
|
};
|
|
1954
|
+
readonly authenticityVerdict: {
|
|
1955
|
+
readonly type: readonly ["NotEvaluated", "NotChecked", "Aligned", "Authenticated", "Routine", "Caution", "Impersonation"];
|
|
1956
|
+
readonly required: true;
|
|
1957
|
+
readonly default: "NotEvaluated";
|
|
1958
|
+
};
|
|
1938
1959
|
readonly authResult: {
|
|
1939
1960
|
readonly type: "map";
|
|
1940
1961
|
readonly properties: {
|
|
@@ -2980,6 +3001,78 @@ export declare const Envelope: {
|
|
|
2980
3001
|
readonly version: "1";
|
|
2981
3002
|
};
|
|
2982
3003
|
};
|
|
3004
|
+
export declare const SenderSignerStanding: {
|
|
3005
|
+
readonly attributes: {
|
|
3006
|
+
readonly accountConfigId: {
|
|
3007
|
+
readonly type: "string";
|
|
3008
|
+
readonly required: true;
|
|
3009
|
+
readonly validate: (value: unknown) => boolean;
|
|
3010
|
+
};
|
|
3011
|
+
readonly senderKey: {
|
|
3012
|
+
readonly type: "string";
|
|
3013
|
+
readonly required: true;
|
|
3014
|
+
readonly validate: (value: unknown) => boolean;
|
|
3015
|
+
};
|
|
3016
|
+
readonly signerDomain: {
|
|
3017
|
+
readonly type: "string";
|
|
3018
|
+
readonly required: true;
|
|
3019
|
+
readonly validate: (value: unknown) => boolean;
|
|
3020
|
+
};
|
|
3021
|
+
readonly messageCount: {
|
|
3022
|
+
readonly type: "number";
|
|
3023
|
+
readonly required: true;
|
|
3024
|
+
readonly default: 0;
|
|
3025
|
+
readonly validate: (value: unknown) => boolean;
|
|
3026
|
+
};
|
|
3027
|
+
readonly firstSeenAt: {
|
|
3028
|
+
readonly type: "number";
|
|
3029
|
+
readonly required: true;
|
|
3030
|
+
readonly validate: (value: unknown) => boolean;
|
|
3031
|
+
};
|
|
3032
|
+
readonly lastSeenAt: {
|
|
3033
|
+
readonly type: "number";
|
|
3034
|
+
readonly required: true;
|
|
3035
|
+
readonly validate: (value: unknown) => boolean;
|
|
3036
|
+
};
|
|
3037
|
+
readonly userAffirmedAt: {
|
|
3038
|
+
readonly type: "number";
|
|
3039
|
+
readonly required: true;
|
|
3040
|
+
readonly default: 0;
|
|
3041
|
+
readonly validate: (value: unknown) => boolean;
|
|
3042
|
+
};
|
|
3043
|
+
readonly createdAt: {
|
|
3044
|
+
readonly type: "number";
|
|
3045
|
+
readonly readOnly: true;
|
|
3046
|
+
readonly required: true;
|
|
3047
|
+
readonly default: () => any;
|
|
3048
|
+
readonly set: () => any;
|
|
3049
|
+
};
|
|
3050
|
+
readonly updatedAt: {
|
|
3051
|
+
readonly type: "number";
|
|
3052
|
+
readonly watch: "*";
|
|
3053
|
+
readonly required: true;
|
|
3054
|
+
readonly default: () => any;
|
|
3055
|
+
readonly set: () => any;
|
|
3056
|
+
};
|
|
3057
|
+
};
|
|
3058
|
+
readonly indexes: {
|
|
3059
|
+
readonly SenderSignerStanding: {
|
|
3060
|
+
readonly pk: {
|
|
3061
|
+
readonly field: "pk";
|
|
3062
|
+
readonly composite: readonly ["accountConfigId"];
|
|
3063
|
+
};
|
|
3064
|
+
readonly sk: {
|
|
3065
|
+
readonly field: "sk";
|
|
3066
|
+
readonly composite: readonly ["senderKey", "signerDomain"];
|
|
3067
|
+
};
|
|
3068
|
+
};
|
|
3069
|
+
};
|
|
3070
|
+
readonly model: {
|
|
3071
|
+
readonly entity: "senderSignerStanding";
|
|
3072
|
+
readonly service: "remit";
|
|
3073
|
+
readonly version: "1";
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
2983
3076
|
export declare const BodyPartParameter: {
|
|
2984
3077
|
readonly attributes: {
|
|
2985
3078
|
readonly bodyPartParameterId: {
|
package/index.mjs
CHANGED
|
@@ -1760,7 +1760,7 @@ export const OutboxMessage = {
|
|
|
1760
1760
|
required: false
|
|
1761
1761
|
},
|
|
1762
1762
|
status: {
|
|
1763
|
-
type: ["draft", "queued", "sending", "sent", "failed", "blocked"],
|
|
1763
|
+
type: ["draft", "queued", "sending", "sent", "unfiled", "failed", "blocked"],
|
|
1764
1764
|
required: true
|
|
1765
1765
|
},
|
|
1766
1766
|
lastError: {
|
|
@@ -2504,10 +2504,31 @@ export const Message = {
|
|
|
2504
2504
|
type: "string"
|
|
2505
2505
|
},
|
|
2506
2506
|
required: false
|
|
2507
|
+
},
|
|
2508
|
+
signerDomain: {
|
|
2509
|
+
type: "string",
|
|
2510
|
+
required: false
|
|
2511
|
+
},
|
|
2512
|
+
envelopeDomain: {
|
|
2513
|
+
type: "string",
|
|
2514
|
+
required: false
|
|
2515
|
+
},
|
|
2516
|
+
signerMessageCount: {
|
|
2517
|
+
type: "number",
|
|
2518
|
+
required: false
|
|
2519
|
+
},
|
|
2520
|
+
signerFirstSeenAt: {
|
|
2521
|
+
type: "number",
|
|
2522
|
+
required: false
|
|
2507
2523
|
}
|
|
2508
2524
|
},
|
|
2509
2525
|
required: false
|
|
2510
2526
|
},
|
|
2527
|
+
authenticityVerdict: {
|
|
2528
|
+
type: ["NotEvaluated", "NotChecked", "Aligned", "Authenticated", "Routine", "Caution", "Impersonation"],
|
|
2529
|
+
required: true,
|
|
2530
|
+
default: "NotEvaluated"
|
|
2531
|
+
},
|
|
2511
2532
|
authResult: {
|
|
2512
2533
|
type: "map",
|
|
2513
2534
|
properties: {
|
|
@@ -3801,6 +3822,108 @@ export const Envelope = {
|
|
|
3801
3822
|
version: "1"
|
|
3802
3823
|
}
|
|
3803
3824
|
};
|
|
3825
|
+
export const SenderSignerStanding = {
|
|
3826
|
+
attributes: {
|
|
3827
|
+
accountConfigId: {
|
|
3828
|
+
type: "string",
|
|
3829
|
+
required: true,
|
|
3830
|
+
validate: value => {
|
|
3831
|
+
if (typeof value === "string" && value.length < 25)
|
|
3832
|
+
throw new Error("'accountConfigId' must be at least 25 characters");
|
|
3833
|
+
if (typeof value === "string" && value.length > 25)
|
|
3834
|
+
throw new Error("'accountConfigId' must be at most 25 characters");
|
|
3835
|
+
return true;
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
senderKey: {
|
|
3839
|
+
type: "string",
|
|
3840
|
+
required: true,
|
|
3841
|
+
validate: value => {
|
|
3842
|
+
if (typeof value === "string" && value.length > 256)
|
|
3843
|
+
throw new Error("'senderKey' must be at most 256 characters");
|
|
3844
|
+
return true;
|
|
3845
|
+
}
|
|
3846
|
+
},
|
|
3847
|
+
signerDomain: {
|
|
3848
|
+
type: "string",
|
|
3849
|
+
required: true,
|
|
3850
|
+
validate: value => {
|
|
3851
|
+
if (typeof value === "string" && value.length > 256)
|
|
3852
|
+
throw new Error("'signerDomain' must be at most 256 characters");
|
|
3853
|
+
return true;
|
|
3854
|
+
}
|
|
3855
|
+
},
|
|
3856
|
+
messageCount: {
|
|
3857
|
+
type: "number",
|
|
3858
|
+
required: true,
|
|
3859
|
+
default: 0,
|
|
3860
|
+
validate: value => {
|
|
3861
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3862
|
+
throw new Error("'messageCount' must be an integer");
|
|
3863
|
+
return true;
|
|
3864
|
+
}
|
|
3865
|
+
},
|
|
3866
|
+
firstSeenAt: {
|
|
3867
|
+
type: "number",
|
|
3868
|
+
required: true,
|
|
3869
|
+
validate: value => {
|
|
3870
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3871
|
+
throw new Error("'firstSeenAt' must be an integer");
|
|
3872
|
+
return true;
|
|
3873
|
+
}
|
|
3874
|
+
},
|
|
3875
|
+
lastSeenAt: {
|
|
3876
|
+
type: "number",
|
|
3877
|
+
required: true,
|
|
3878
|
+
validate: value => {
|
|
3879
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3880
|
+
throw new Error("'lastSeenAt' must be an integer");
|
|
3881
|
+
return true;
|
|
3882
|
+
}
|
|
3883
|
+
},
|
|
3884
|
+
userAffirmedAt: {
|
|
3885
|
+
type: "number",
|
|
3886
|
+
required: true,
|
|
3887
|
+
default: 0,
|
|
3888
|
+
validate: value => {
|
|
3889
|
+
if (typeof value === "number" && !Number.isInteger(value))
|
|
3890
|
+
throw new Error("'userAffirmedAt' must be an integer");
|
|
3891
|
+
return true;
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3894
|
+
createdAt: {
|
|
3895
|
+
type: "number",
|
|
3896
|
+
readOnly: true,
|
|
3897
|
+
required: true,
|
|
3898
|
+
default: () => Date.now(),
|
|
3899
|
+
set: () => Date.now()
|
|
3900
|
+
},
|
|
3901
|
+
updatedAt: {
|
|
3902
|
+
type: "number",
|
|
3903
|
+
watch: "*",
|
|
3904
|
+
required: true,
|
|
3905
|
+
default: () => Date.now(),
|
|
3906
|
+
set: () => Date.now()
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3909
|
+
indexes: {
|
|
3910
|
+
SenderSignerStanding: {
|
|
3911
|
+
pk: {
|
|
3912
|
+
field: "pk",
|
|
3913
|
+
composite: ["accountConfigId"]
|
|
3914
|
+
},
|
|
3915
|
+
sk: {
|
|
3916
|
+
field: "sk",
|
|
3917
|
+
composite: ["senderKey", "signerDomain"]
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
model: {
|
|
3922
|
+
entity: "senderSignerStanding",
|
|
3923
|
+
service: "remit",
|
|
3924
|
+
version: "1"
|
|
3925
|
+
}
|
|
3926
|
+
};
|
|
3804
3927
|
export const BodyPartParameter = {
|
|
3805
3928
|
attributes: {
|
|
3806
3929
|
bodyPartParameterId: {
|