@keetanetwork/anchor 0.0.80 → 0.0.81
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/lib/chaining.d.ts.map +1 -1
- package/lib/chaining.js +62 -26
- package/lib/chaining.js.map +1 -1
- package/lib/http-server/common.d.ts +2 -1
- package/lib/http-server/common.d.ts.map +1 -1
- package/lib/http-server/common.js.map +1 -1
- package/lib/resolver.d.ts +1 -1
- package/lib/resolver.d.ts.map +1 -1
- package/lib/resolver.generated.js +19 -4
- package/lib/resolver.generated.js.map +1 -1
- package/lib/resolver.js.map +1 -1
- package/lib/sensitive-attribute.js +1 -1
- package/lib/sensitive-attribute.js.map +1 -1
- package/npm-shrinkwrap.json +4 -4
- package/package.json +1 -1
- package/services/asset-movement/client.d.ts +11 -1
- package/services/asset-movement/client.d.ts.map +1 -1
- package/services/asset-movement/client.js +41 -2
- package/services/asset-movement/client.js.map +1 -1
- package/services/asset-movement/common.d.ts +58 -1
- package/services/asset-movement/common.d.ts.map +1 -1
- package/services/asset-movement/common.generated.d.ts +2 -1
- package/services/asset-movement/common.generated.d.ts.map +1 -1
- package/services/asset-movement/common.generated.js +133 -39
- package/services/asset-movement/common.generated.js.map +1 -1
- package/services/asset-movement/common.js +44 -4
- package/services/asset-movement/common.js.map +1 -1
- package/services/asset-movement/common.server.generated.d.ts +3 -0
- package/services/asset-movement/common.server.generated.d.ts.map +1 -1
- package/services/asset-movement/common.server.generated.js +269 -0
- package/services/asset-movement/common.server.generated.js.map +1 -1
- package/services/asset-movement/server.d.ts +5 -1
- package/services/asset-movement/server.d.ts.map +1 -1
- package/services/asset-movement/server.js +56 -2
- package/services/asset-movement/server.js.map +1 -1
- package/services/kyc/iso20022.generated.js +5 -5
- package/services/kyc/iso20022.generated.js.map +1 -1
- package/services/kyc/utils/generate-kyc-schema.js +2 -2
- package/services/kyc/utils/generate-kyc-schema.js.map +1 -1
|
@@ -81142,6 +81142,275 @@ export const assertKeetaAssetMovementAnchorGetTransferStatusResponse = (() => {
|
|
|
81142
81142
|
}
|
|
81143
81143
|
return input;
|
|
81144
81144
|
}; })();
|
|
81145
|
+
export const assertKeetaAssetMovementAnchorGetAccountStatusRequest = (() => { const _io0 = input => (undefined === input.account || "string" === typeof input.account && (RegExp(/^keeta_am(.*)/).test(input.account) || RegExp(/^keeta_an(.*)/).test(input.account) || RegExp(/^keeta_ao(.*)/).test(input.account) || RegExp(/^keeta_ap(.*)/).test(input.account) || RegExp(/^tyblocks_am(.*)/).test(input.account) || RegExp(/^tyblocks_an(.*)/).test(input.account) || RegExp(/^tyblocks_ao(.*)/).test(input.account) || RegExp(/^tyblocks_ap(.*)/).test(input.account) || RegExp(/^keeta_aa(.*)/).test(input.account) || RegExp(/^keeta_ab(.*)/).test(input.account) || RegExp(/^keeta_ac(.*)/).test(input.account) || RegExp(/^keeta_ad(.*)/).test(input.account) || RegExp(/^tyblocks_aa(.*)/).test(input.account) || RegExp(/^tyblocks_ab(.*)/).test(input.account) || RegExp(/^tyblocks_ac(.*)/).test(input.account) || RegExp(/^tyblocks_ad(.*)/).test(input.account) || RegExp(/^keeta_ae(.*)/).test(input.account) || RegExp(/^keeta_af(.*)/).test(input.account) || RegExp(/^keeta_ag(.*)/).test(input.account) || RegExp(/^keeta_ah(.*)/).test(input.account) || RegExp(/^tyblocks_ae(.*)/).test(input.account) || RegExp(/^tyblocks_af(.*)/).test(input.account) || RegExp(/^tyblocks_ag(.*)/).test(input.account) || RegExp(/^tyblocks_ah(.*)/).test(input.account) || RegExp(/^keeta_ai(.*)/).test(input.account) || RegExp(/^keeta_aj(.*)/).test(input.account) || RegExp(/^keeta_ak(.*)/).test(input.account) || RegExp(/^keeta_al(.*)/).test(input.account) || RegExp(/^tyblocks_ai(.*)/).test(input.account) || RegExp(/^tyblocks_aj(.*)/).test(input.account) || RegExp(/^tyblocks_ak(.*)/).test(input.account) || RegExp(/^tyblocks_al(.*)/).test(input.account) || RegExp(/^keeta_at(.*)/).test(input.account) || RegExp(/^keeta_ar(.*)/).test(input.account) || RegExp(/^keeta_aq(.*)/).test(input.account) || RegExp(/^keeta_as(.*)/).test(input.account) || RegExp(/^tyblocks_at(.*)/).test(input.account) || RegExp(/^tyblocks_ar(.*)/).test(input.account) || RegExp(/^tyblocks_aq(.*)/).test(input.account) || RegExp(/^tyblocks_as(.*)/).test(input.account) || RegExp(/^keeta_ay(.*)/).test(input.account) || RegExp(/^keeta_az(.*)/).test(input.account) || RegExp(/^keeta_a2(.*)/).test(input.account) || RegExp(/^keeta_a3(.*)/).test(input.account) || RegExp(/^tyblocks_ay(.*)/).test(input.account) || RegExp(/^tyblocks_az(.*)/).test(input.account) || RegExp(/^tyblocks_a2(.*)/).test(input.account) || RegExp(/^tyblocks_a3(.*)/).test(input.account) || RegExp(/^keeta_a4(.*)/).test(input.account) || RegExp(/^keeta_a5(.*)/).test(input.account) || RegExp(/^keeta_a6(.*)/).test(input.account) || RegExp(/^keeta_a7(.*)/).test(input.account) || RegExp(/^tyblocks_a4(.*)/).test(input.account) || RegExp(/^tyblocks_a5(.*)/).test(input.account) || RegExp(/^tyblocks_a6(.*)/).test(input.account) || RegExp(/^tyblocks_a7(.*)/).test(input.account))) && (undefined === input.signed || "object" === typeof input.signed && null !== input.signed && _io1(input.signed)); const _io1 = input => "string" === typeof input.nonce && "string" === typeof input.timestamp && "string" === typeof input.signature; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.account || "string" === typeof input.account && (RegExp(/^keeta_am(.*)/).test(input.account) || RegExp(/^keeta_an(.*)/).test(input.account) || RegExp(/^keeta_ao(.*)/).test(input.account) || RegExp(/^keeta_ap(.*)/).test(input.account) || RegExp(/^tyblocks_am(.*)/).test(input.account) || RegExp(/^tyblocks_an(.*)/).test(input.account) || RegExp(/^tyblocks_ao(.*)/).test(input.account) || RegExp(/^tyblocks_ap(.*)/).test(input.account) || RegExp(/^keeta_aa(.*)/).test(input.account) || RegExp(/^keeta_ab(.*)/).test(input.account) || RegExp(/^keeta_ac(.*)/).test(input.account) || RegExp(/^keeta_ad(.*)/).test(input.account) || RegExp(/^tyblocks_aa(.*)/).test(input.account) || RegExp(/^tyblocks_ab(.*)/).test(input.account) || RegExp(/^tyblocks_ac(.*)/).test(input.account) || RegExp(/^tyblocks_ad(.*)/).test(input.account) || RegExp(/^keeta_ae(.*)/).test(input.account) || RegExp(/^keeta_af(.*)/).test(input.account) || RegExp(/^keeta_ag(.*)/).test(input.account) || RegExp(/^keeta_ah(.*)/).test(input.account) || RegExp(/^tyblocks_ae(.*)/).test(input.account) || RegExp(/^tyblocks_af(.*)/).test(input.account) || RegExp(/^tyblocks_ag(.*)/).test(input.account) || RegExp(/^tyblocks_ah(.*)/).test(input.account) || RegExp(/^keeta_ai(.*)/).test(input.account) || RegExp(/^keeta_aj(.*)/).test(input.account) || RegExp(/^keeta_ak(.*)/).test(input.account) || RegExp(/^keeta_al(.*)/).test(input.account) || RegExp(/^tyblocks_ai(.*)/).test(input.account) || RegExp(/^tyblocks_aj(.*)/).test(input.account) || RegExp(/^tyblocks_ak(.*)/).test(input.account) || RegExp(/^tyblocks_al(.*)/).test(input.account) || RegExp(/^keeta_at(.*)/).test(input.account) || RegExp(/^keeta_ar(.*)/).test(input.account) || RegExp(/^keeta_aq(.*)/).test(input.account) || RegExp(/^keeta_as(.*)/).test(input.account) || RegExp(/^tyblocks_at(.*)/).test(input.account) || RegExp(/^tyblocks_ar(.*)/).test(input.account) || RegExp(/^tyblocks_aq(.*)/).test(input.account) || RegExp(/^tyblocks_as(.*)/).test(input.account) || RegExp(/^keeta_ay(.*)/).test(input.account) || RegExp(/^keeta_az(.*)/).test(input.account) || RegExp(/^keeta_a2(.*)/).test(input.account) || RegExp(/^keeta_a3(.*)/).test(input.account) || RegExp(/^tyblocks_ay(.*)/).test(input.account) || RegExp(/^tyblocks_az(.*)/).test(input.account) || RegExp(/^tyblocks_a2(.*)/).test(input.account) || RegExp(/^tyblocks_a3(.*)/).test(input.account) || RegExp(/^keeta_a4(.*)/).test(input.account) || RegExp(/^keeta_a5(.*)/).test(input.account) || RegExp(/^keeta_a6(.*)/).test(input.account) || RegExp(/^keeta_a7(.*)/).test(input.account) || RegExp(/^tyblocks_a4(.*)/).test(input.account) || RegExp(/^tyblocks_a5(.*)/).test(input.account) || RegExp(/^tyblocks_a6(.*)/).test(input.account) || RegExp(/^tyblocks_a7(.*)/).test(input.account)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81146
|
+
method: "createAssert",
|
|
81147
|
+
path: _path + ".account",
|
|
81148
|
+
expected: "(`keeta_a2${string}` | `keeta_a3${string}` | `keeta_a4${string}` | `keeta_a5${string}` | `keeta_a6${string}` | `keeta_a7${string}` | `keeta_aa${string}` | `keeta_ab${string}` | `keeta_ac${string}` | `keeta_ad${string}` | `keeta_ae${string}` | `keeta_af${string}` | `keeta_ag${string}` | `keeta_ah${string}` | `keeta_ai${string}` | `keeta_aj${string}` | `keeta_ak${string}` | `keeta_al${string}` | `keeta_am${string}` | `keeta_an${string}` | `keeta_ao${string}` | `keeta_ap${string}` | `keeta_aq${string}` | `keeta_ar${string}` | `keeta_as${string}` | `keeta_at${string}` | `keeta_ay${string}` | `keeta_az${string}` | `tyblocks_a2${string}` | `tyblocks_a3${string}` | `tyblocks_a4${string}` | `tyblocks_a5${string}` | `tyblocks_a6${string}` | `tyblocks_a7${string}` | `tyblocks_aa${string}` | `tyblocks_ab${string}` | `tyblocks_ac${string}` | `tyblocks_ad${string}` | `tyblocks_ae${string}` | `tyblocks_af${string}` | `tyblocks_ag${string}` | `tyblocks_ah${string}` | `tyblocks_ai${string}` | `tyblocks_aj${string}` | `tyblocks_ak${string}` | `tyblocks_al${string}` | `tyblocks_am${string}` | `tyblocks_an${string}` | `tyblocks_ao${string}` | `tyblocks_ap${string}` | `tyblocks_aq${string}` | `tyblocks_ar${string}` | `tyblocks_as${string}` | `tyblocks_at${string}` | `tyblocks_ay${string}` | `tyblocks_az${string}` | undefined)",
|
|
81149
|
+
value: input.account
|
|
81150
|
+
}, _errorFactory)) && (undefined === input.signed || ("object" === typeof input.signed && null !== input.signed || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81151
|
+
method: "createAssert",
|
|
81152
|
+
path: _path + ".signed",
|
|
81153
|
+
expected: "(HTTPSignedField | undefined)",
|
|
81154
|
+
value: input.signed
|
|
81155
|
+
}, _errorFactory)) && _ao1(input.signed, _path + ".signed", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81156
|
+
method: "createAssert",
|
|
81157
|
+
path: _path + ".signed",
|
|
81158
|
+
expected: "(HTTPSignedField | undefined)",
|
|
81159
|
+
value: input.signed
|
|
81160
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.nonce || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81161
|
+
method: "createAssert",
|
|
81162
|
+
path: _path + ".nonce",
|
|
81163
|
+
expected: "string",
|
|
81164
|
+
value: input.nonce
|
|
81165
|
+
}, _errorFactory)) && ("string" === typeof input.timestamp || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81166
|
+
method: "createAssert",
|
|
81167
|
+
path: _path + ".timestamp",
|
|
81168
|
+
expected: "string",
|
|
81169
|
+
value: input.timestamp
|
|
81170
|
+
}, _errorFactory)) && ("string" === typeof input.signature || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81171
|
+
method: "createAssert",
|
|
81172
|
+
path: _path + ".signature",
|
|
81173
|
+
expected: "string",
|
|
81174
|
+
value: input.signature
|
|
81175
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
81176
|
+
if (false === __is(input)) {
|
|
81177
|
+
_errorFactory = errorFactory;
|
|
81178
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
81179
|
+
method: "createAssert",
|
|
81180
|
+
path: _path + "",
|
|
81181
|
+
expected: "KeetaAssetMovementAnchorGetAccountStatusRequest",
|
|
81182
|
+
value: input
|
|
81183
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
81184
|
+
method: "createAssert",
|
|
81185
|
+
path: _path + "",
|
|
81186
|
+
expected: "KeetaAssetMovementAnchorGetAccountStatusRequest",
|
|
81187
|
+
value: input
|
|
81188
|
+
}, _errorFactory))(input, "$input", true);
|
|
81189
|
+
}
|
|
81190
|
+
return input;
|
|
81191
|
+
}; })();
|
|
81192
|
+
export const assertKeetaAssetMovementAnchorGetAccountStatusResponse = (() => { const _io0 = (input, _exceptionable = true) => true === input.ok && false === input.actionRequired && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
81193
|
+
if (["ok", "actionRequired"].some(prop => key === prop))
|
|
81194
|
+
return true;
|
|
81195
|
+
const value = input[key];
|
|
81196
|
+
if (undefined === value)
|
|
81197
|
+
return true;
|
|
81198
|
+
return false;
|
|
81199
|
+
})); const _io1 = (input, _exceptionable = true) => true === input.ok && true === input.actionRequired && (Array.isArray(input.errors) && input.errors.every((elem, _index1) => "object" === typeof elem && null !== elem && _io2(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
81200
|
+
if (["ok", "actionRequired", "errors"].some(prop => key === prop))
|
|
81201
|
+
return true;
|
|
81202
|
+
const value = input[key];
|
|
81203
|
+
if (undefined === value)
|
|
81204
|
+
return true;
|
|
81205
|
+
return false;
|
|
81206
|
+
})); const _io2 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.name && "string" === typeof input.error && Object.keys(input).every(key => {
|
|
81207
|
+
if (["ok", "name", "error"].some(prop => key === prop))
|
|
81208
|
+
return true;
|
|
81209
|
+
const value = input[key];
|
|
81210
|
+
if (undefined === value)
|
|
81211
|
+
return true;
|
|
81212
|
+
return true;
|
|
81213
|
+
}); const _io3 = (input, _exceptionable = true) => false === input.ok && "string" === typeof input.error && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
81214
|
+
if (["ok", "error"].some(prop => key === prop))
|
|
81215
|
+
return true;
|
|
81216
|
+
const value = input[key];
|
|
81217
|
+
if (undefined === value)
|
|
81218
|
+
return true;
|
|
81219
|
+
return false;
|
|
81220
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
81221
|
+
if (false === input.actionRequired)
|
|
81222
|
+
return _io0(input, true && _exceptionable);
|
|
81223
|
+
else if (true === input.actionRequired)
|
|
81224
|
+
return _io1(input, true && _exceptionable);
|
|
81225
|
+
else if (false === input.ok)
|
|
81226
|
+
return _io3(input, true && _exceptionable);
|
|
81227
|
+
else
|
|
81228
|
+
return false;
|
|
81229
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81230
|
+
method: "createAssertEquals",
|
|
81231
|
+
path: _path + ".ok",
|
|
81232
|
+
expected: "true",
|
|
81233
|
+
value: input.ok
|
|
81234
|
+
}, _errorFactory)) && (false === input.actionRequired || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81235
|
+
method: "createAssertEquals",
|
|
81236
|
+
path: _path + ".actionRequired",
|
|
81237
|
+
expected: "false",
|
|
81238
|
+
value: input.actionRequired
|
|
81239
|
+
}, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
|
|
81240
|
+
if (["ok", "actionRequired"].some(prop => key === prop))
|
|
81241
|
+
return true;
|
|
81242
|
+
const value = input[key];
|
|
81243
|
+
if (undefined === value)
|
|
81244
|
+
return true;
|
|
81245
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81246
|
+
method: "createAssertEquals",
|
|
81247
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
81248
|
+
expected: "undefined",
|
|
81249
|
+
value: value
|
|
81250
|
+
}, _errorFactory);
|
|
81251
|
+
}))); const _ao1 = (input, _path, _exceptionable = true) => (true === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81252
|
+
method: "createAssertEquals",
|
|
81253
|
+
path: _path + ".ok",
|
|
81254
|
+
expected: "true",
|
|
81255
|
+
value: input.ok
|
|
81256
|
+
}, _errorFactory)) && (true === input.actionRequired || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81257
|
+
method: "createAssertEquals",
|
|
81258
|
+
path: _path + ".actionRequired",
|
|
81259
|
+
expected: "true",
|
|
81260
|
+
value: input.actionRequired
|
|
81261
|
+
}, _errorFactory)) && ((Array.isArray(input.errors) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81262
|
+
method: "createAssertEquals",
|
|
81263
|
+
path: _path + ".errors",
|
|
81264
|
+
expected: "Array<KeetaAssetMovementAnchorAccountStatusEntry>",
|
|
81265
|
+
value: input.errors
|
|
81266
|
+
}, _errorFactory)) && input.errors.every((elem, _index2) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81267
|
+
method: "createAssertEquals",
|
|
81268
|
+
path: _path + ".errors[" + _index2 + "]",
|
|
81269
|
+
expected: "KeetaAssetMovementAnchorAccountStatusEntry",
|
|
81270
|
+
value: elem
|
|
81271
|
+
}, _errorFactory)) && _ao2(elem, _path + ".errors[" + _index2 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81272
|
+
method: "createAssertEquals",
|
|
81273
|
+
path: _path + ".errors[" + _index2 + "]",
|
|
81274
|
+
expected: "KeetaAssetMovementAnchorAccountStatusEntry",
|
|
81275
|
+
value: elem
|
|
81276
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81277
|
+
method: "createAssertEquals",
|
|
81278
|
+
path: _path + ".errors",
|
|
81279
|
+
expected: "Array<KeetaAssetMovementAnchorAccountStatusEntry>",
|
|
81280
|
+
value: input.errors
|
|
81281
|
+
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
|
|
81282
|
+
if (["ok", "actionRequired", "errors"].some(prop => key === prop))
|
|
81283
|
+
return true;
|
|
81284
|
+
const value = input[key];
|
|
81285
|
+
if (undefined === value)
|
|
81286
|
+
return true;
|
|
81287
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81288
|
+
method: "createAssertEquals",
|
|
81289
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
81290
|
+
expected: "undefined",
|
|
81291
|
+
value: value
|
|
81292
|
+
}, _errorFactory);
|
|
81293
|
+
}))); const _ao2 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81294
|
+
method: "createAssertEquals",
|
|
81295
|
+
path: _path + ".ok",
|
|
81296
|
+
expected: "false",
|
|
81297
|
+
value: input.ok
|
|
81298
|
+
}, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81299
|
+
method: "createAssertEquals",
|
|
81300
|
+
path: _path + ".name",
|
|
81301
|
+
expected: "string",
|
|
81302
|
+
value: input.name
|
|
81303
|
+
}, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81304
|
+
method: "createAssertEquals",
|
|
81305
|
+
path: _path + ".error",
|
|
81306
|
+
expected: "string",
|
|
81307
|
+
value: input.error
|
|
81308
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
81309
|
+
if (["ok", "name", "error"].some(prop => key === prop))
|
|
81310
|
+
return true;
|
|
81311
|
+
const value = input[key];
|
|
81312
|
+
if (undefined === value)
|
|
81313
|
+
return true;
|
|
81314
|
+
return true;
|
|
81315
|
+
})); const _ao3 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81316
|
+
method: "createAssertEquals",
|
|
81317
|
+
path: _path + ".ok",
|
|
81318
|
+
expected: "false",
|
|
81319
|
+
value: input.ok
|
|
81320
|
+
}, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81321
|
+
method: "createAssertEquals",
|
|
81322
|
+
path: _path + ".error",
|
|
81323
|
+
expected: "string",
|
|
81324
|
+
value: input.error
|
|
81325
|
+
}, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
|
|
81326
|
+
if (["ok", "error"].some(prop => key === prop))
|
|
81327
|
+
return true;
|
|
81328
|
+
const value = input[key];
|
|
81329
|
+
if (undefined === value)
|
|
81330
|
+
return true;
|
|
81331
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81332
|
+
method: "createAssertEquals",
|
|
81333
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
81334
|
+
expected: "undefined",
|
|
81335
|
+
value: value
|
|
81336
|
+
}, _errorFactory);
|
|
81337
|
+
}))); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
81338
|
+
if (false === input.actionRequired)
|
|
81339
|
+
return _ao0(input, _path, true && _exceptionable);
|
|
81340
|
+
else if (true === input.actionRequired)
|
|
81341
|
+
return _ao1(input, _path, true && _exceptionable);
|
|
81342
|
+
else if (false === input.ok)
|
|
81343
|
+
return _ao3(input, _path, true && _exceptionable);
|
|
81344
|
+
else
|
|
81345
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81346
|
+
method: "createAssertEquals",
|
|
81347
|
+
path: _path,
|
|
81348
|
+
expected: "(__type | __type.o1 | __type.o2)",
|
|
81349
|
+
value: input
|
|
81350
|
+
}, _errorFactory);
|
|
81351
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu0(input, true); let _errorFactory; return (input, errorFactory) => {
|
|
81352
|
+
if (false === __is(input)) {
|
|
81353
|
+
_errorFactory = errorFactory;
|
|
81354
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
81355
|
+
method: "createAssertEquals",
|
|
81356
|
+
path: _path + "",
|
|
81357
|
+
expected: "(__type | __type.o1 | __type.o2)",
|
|
81358
|
+
value: input
|
|
81359
|
+
}, _errorFactory)) && _au0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
81360
|
+
method: "createAssertEquals",
|
|
81361
|
+
path: _path + "",
|
|
81362
|
+
expected: "(__type | __type.o1 | __type.o2)",
|
|
81363
|
+
value: input
|
|
81364
|
+
}, _errorFactory))(input, "$input", true);
|
|
81365
|
+
}
|
|
81366
|
+
return input;
|
|
81367
|
+
}; })();
|
|
81368
|
+
export const assertKeetaAssetMovementAnchorAccountStatusEntry = (() => { const _io0 = input => false === input.ok && "string" === typeof input.name && "string" === typeof input.error && Object.keys(input).every(key => {
|
|
81369
|
+
if (["ok", "name", "error"].some(prop => key === prop))
|
|
81370
|
+
return true;
|
|
81371
|
+
const value = input[key];
|
|
81372
|
+
if (undefined === value)
|
|
81373
|
+
return true;
|
|
81374
|
+
return true;
|
|
81375
|
+
}); const _ao0 = (input, _path, _exceptionable = true) => (false === input.ok || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81376
|
+
method: "createAssert",
|
|
81377
|
+
path: _path + ".ok",
|
|
81378
|
+
expected: "false",
|
|
81379
|
+
value: input.ok
|
|
81380
|
+
}, _errorFactory)) && ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81381
|
+
method: "createAssert",
|
|
81382
|
+
path: _path + ".name",
|
|
81383
|
+
expected: "string",
|
|
81384
|
+
value: input.name
|
|
81385
|
+
}, _errorFactory)) && ("string" === typeof input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81386
|
+
method: "createAssert",
|
|
81387
|
+
path: _path + ".error",
|
|
81388
|
+
expected: "string",
|
|
81389
|
+
value: input.error
|
|
81390
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
81391
|
+
if (["ok", "name", "error"].some(prop => key === prop))
|
|
81392
|
+
return true;
|
|
81393
|
+
const value = input[key];
|
|
81394
|
+
if (undefined === value)
|
|
81395
|
+
return true;
|
|
81396
|
+
return true;
|
|
81397
|
+
})); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
81398
|
+
if (false === __is(input)) {
|
|
81399
|
+
_errorFactory = errorFactory;
|
|
81400
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
81401
|
+
method: "createAssert",
|
|
81402
|
+
path: _path + "",
|
|
81403
|
+
expected: "KeetaAssetMovementAnchorAccountStatusEntry",
|
|
81404
|
+
value: input
|
|
81405
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
81406
|
+
method: "createAssert",
|
|
81407
|
+
path: _path + "",
|
|
81408
|
+
expected: "KeetaAssetMovementAnchorAccountStatusEntry",
|
|
81409
|
+
value: input
|
|
81410
|
+
}, _errorFactory))(input, "$input", true);
|
|
81411
|
+
}
|
|
81412
|
+
return input;
|
|
81413
|
+
}; })();
|
|
81145
81414
|
export const assertKeetaAssetMovementAnchorDeactivatePersistentForwardingTemplateRequest = (() => { const _io0 = input => (undefined === input.account || "string" === typeof input.account && (RegExp(/^keeta_am(.*)/).test(input.account) || RegExp(/^keeta_an(.*)/).test(input.account) || RegExp(/^keeta_ao(.*)/).test(input.account) || RegExp(/^keeta_ap(.*)/).test(input.account) || RegExp(/^tyblocks_am(.*)/).test(input.account) || RegExp(/^tyblocks_an(.*)/).test(input.account) || RegExp(/^tyblocks_ao(.*)/).test(input.account) || RegExp(/^tyblocks_ap(.*)/).test(input.account) || RegExp(/^keeta_aa(.*)/).test(input.account) || RegExp(/^keeta_ab(.*)/).test(input.account) || RegExp(/^keeta_ac(.*)/).test(input.account) || RegExp(/^keeta_ad(.*)/).test(input.account) || RegExp(/^tyblocks_aa(.*)/).test(input.account) || RegExp(/^tyblocks_ab(.*)/).test(input.account) || RegExp(/^tyblocks_ac(.*)/).test(input.account) || RegExp(/^tyblocks_ad(.*)/).test(input.account) || RegExp(/^keeta_ae(.*)/).test(input.account) || RegExp(/^keeta_af(.*)/).test(input.account) || RegExp(/^keeta_ag(.*)/).test(input.account) || RegExp(/^keeta_ah(.*)/).test(input.account) || RegExp(/^tyblocks_ae(.*)/).test(input.account) || RegExp(/^tyblocks_af(.*)/).test(input.account) || RegExp(/^tyblocks_ag(.*)/).test(input.account) || RegExp(/^tyblocks_ah(.*)/).test(input.account) || RegExp(/^keeta_ai(.*)/).test(input.account) || RegExp(/^keeta_aj(.*)/).test(input.account) || RegExp(/^keeta_ak(.*)/).test(input.account) || RegExp(/^keeta_al(.*)/).test(input.account) || RegExp(/^tyblocks_ai(.*)/).test(input.account) || RegExp(/^tyblocks_aj(.*)/).test(input.account) || RegExp(/^tyblocks_ak(.*)/).test(input.account) || RegExp(/^tyblocks_al(.*)/).test(input.account) || RegExp(/^keeta_at(.*)/).test(input.account) || RegExp(/^keeta_ar(.*)/).test(input.account) || RegExp(/^keeta_aq(.*)/).test(input.account) || RegExp(/^keeta_as(.*)/).test(input.account) || RegExp(/^tyblocks_at(.*)/).test(input.account) || RegExp(/^tyblocks_ar(.*)/).test(input.account) || RegExp(/^tyblocks_aq(.*)/).test(input.account) || RegExp(/^tyblocks_as(.*)/).test(input.account) || RegExp(/^keeta_ay(.*)/).test(input.account) || RegExp(/^keeta_az(.*)/).test(input.account) || RegExp(/^keeta_a2(.*)/).test(input.account) || RegExp(/^keeta_a3(.*)/).test(input.account) || RegExp(/^tyblocks_ay(.*)/).test(input.account) || RegExp(/^tyblocks_az(.*)/).test(input.account) || RegExp(/^tyblocks_a2(.*)/).test(input.account) || RegExp(/^tyblocks_a3(.*)/).test(input.account) || RegExp(/^keeta_a4(.*)/).test(input.account) || RegExp(/^keeta_a5(.*)/).test(input.account) || RegExp(/^keeta_a6(.*)/).test(input.account) || RegExp(/^keeta_a7(.*)/).test(input.account) || RegExp(/^tyblocks_a4(.*)/).test(input.account) || RegExp(/^tyblocks_a5(.*)/).test(input.account) || RegExp(/^tyblocks_a6(.*)/).test(input.account) || RegExp(/^tyblocks_a7(.*)/).test(input.account))) && (undefined === input.signed || "object" === typeof input.signed && null !== input.signed && _io1(input.signed)); const _io1 = input => "string" === typeof input.nonce && "string" === typeof input.timestamp && "string" === typeof input.signature; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.account || "string" === typeof input.account && (RegExp(/^keeta_am(.*)/).test(input.account) || RegExp(/^keeta_an(.*)/).test(input.account) || RegExp(/^keeta_ao(.*)/).test(input.account) || RegExp(/^keeta_ap(.*)/).test(input.account) || RegExp(/^tyblocks_am(.*)/).test(input.account) || RegExp(/^tyblocks_an(.*)/).test(input.account) || RegExp(/^tyblocks_ao(.*)/).test(input.account) || RegExp(/^tyblocks_ap(.*)/).test(input.account) || RegExp(/^keeta_aa(.*)/).test(input.account) || RegExp(/^keeta_ab(.*)/).test(input.account) || RegExp(/^keeta_ac(.*)/).test(input.account) || RegExp(/^keeta_ad(.*)/).test(input.account) || RegExp(/^tyblocks_aa(.*)/).test(input.account) || RegExp(/^tyblocks_ab(.*)/).test(input.account) || RegExp(/^tyblocks_ac(.*)/).test(input.account) || RegExp(/^tyblocks_ad(.*)/).test(input.account) || RegExp(/^keeta_ae(.*)/).test(input.account) || RegExp(/^keeta_af(.*)/).test(input.account) || RegExp(/^keeta_ag(.*)/).test(input.account) || RegExp(/^keeta_ah(.*)/).test(input.account) || RegExp(/^tyblocks_ae(.*)/).test(input.account) || RegExp(/^tyblocks_af(.*)/).test(input.account) || RegExp(/^tyblocks_ag(.*)/).test(input.account) || RegExp(/^tyblocks_ah(.*)/).test(input.account) || RegExp(/^keeta_ai(.*)/).test(input.account) || RegExp(/^keeta_aj(.*)/).test(input.account) || RegExp(/^keeta_ak(.*)/).test(input.account) || RegExp(/^keeta_al(.*)/).test(input.account) || RegExp(/^tyblocks_ai(.*)/).test(input.account) || RegExp(/^tyblocks_aj(.*)/).test(input.account) || RegExp(/^tyblocks_ak(.*)/).test(input.account) || RegExp(/^tyblocks_al(.*)/).test(input.account) || RegExp(/^keeta_at(.*)/).test(input.account) || RegExp(/^keeta_ar(.*)/).test(input.account) || RegExp(/^keeta_aq(.*)/).test(input.account) || RegExp(/^keeta_as(.*)/).test(input.account) || RegExp(/^tyblocks_at(.*)/).test(input.account) || RegExp(/^tyblocks_ar(.*)/).test(input.account) || RegExp(/^tyblocks_aq(.*)/).test(input.account) || RegExp(/^tyblocks_as(.*)/).test(input.account) || RegExp(/^keeta_ay(.*)/).test(input.account) || RegExp(/^keeta_az(.*)/).test(input.account) || RegExp(/^keeta_a2(.*)/).test(input.account) || RegExp(/^keeta_a3(.*)/).test(input.account) || RegExp(/^tyblocks_ay(.*)/).test(input.account) || RegExp(/^tyblocks_az(.*)/).test(input.account) || RegExp(/^tyblocks_a2(.*)/).test(input.account) || RegExp(/^tyblocks_a3(.*)/).test(input.account) || RegExp(/^keeta_a4(.*)/).test(input.account) || RegExp(/^keeta_a5(.*)/).test(input.account) || RegExp(/^keeta_a6(.*)/).test(input.account) || RegExp(/^keeta_a7(.*)/).test(input.account) || RegExp(/^tyblocks_a4(.*)/).test(input.account) || RegExp(/^tyblocks_a5(.*)/).test(input.account) || RegExp(/^tyblocks_a6(.*)/).test(input.account) || RegExp(/^tyblocks_a7(.*)/).test(input.account)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
81146
81415
|
method: "createAssert",
|
|
81147
81416
|
path: _path + ".account",
|