@keetanetwork/anchor 0.0.63 → 0.0.65

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.
@@ -54489,4 +54489,270 @@ export const assertKeetaAssetMovementAnchorOperationNotSupportedErrorJSONPropert
54489
54489
  }
54490
54490
  return input;
54491
54491
  }; })();
54492
+ export const assertKeetaAssetMovementAnchorUserActionNeededErrorJSONProperties = (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.actionsNeeded) && input.actionsNeeded.every((elem, _index1) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
54493
+ if (["actionsNeeded"].some(prop => key === prop))
54494
+ return true;
54495
+ const value = input[key];
54496
+ if (undefined === value)
54497
+ return true;
54498
+ return false;
54499
+ })); const _io1 = (input, _exceptionable = true) => "grant-permission" === input.type && ("object" === typeof input.permissionToGrant && null !== input.permissionToGrant && _io2(input.permissionToGrant, true && _exceptionable)) && (undefined === input.details || "object" === typeof input.details && null !== input.details && _io3(input.details, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
54500
+ if (["type", "permissionToGrant", "details"].some(prop => key === prop))
54501
+ return true;
54502
+ const value = input[key];
54503
+ if (undefined === value)
54504
+ return true;
54505
+ return false;
54506
+ })); const _io2 = (input, _exceptionable = true) => "string" === typeof input.principal && (RegExp(/^keeta_am(.*)/).test(input.principal) || RegExp(/^keeta_an(.*)/).test(input.principal) || RegExp(/^keeta_ao(.*)/).test(input.principal) || RegExp(/^keeta_ap(.*)/).test(input.principal) || RegExp(/^tyblocks_am(.*)/).test(input.principal) || RegExp(/^tyblocks_an(.*)/).test(input.principal) || RegExp(/^tyblocks_ao(.*)/).test(input.principal) || RegExp(/^tyblocks_ap(.*)/).test(input.principal) || RegExp(/^keeta_aa(.*)/).test(input.principal) || RegExp(/^keeta_ab(.*)/).test(input.principal) || RegExp(/^keeta_ac(.*)/).test(input.principal) || RegExp(/^keeta_ad(.*)/).test(input.principal) || RegExp(/^tyblocks_aa(.*)/).test(input.principal) || RegExp(/^tyblocks_ab(.*)/).test(input.principal) || RegExp(/^tyblocks_ac(.*)/).test(input.principal) || RegExp(/^tyblocks_ad(.*)/).test(input.principal) || RegExp(/^keeta_ae(.*)/).test(input.principal) || RegExp(/^keeta_af(.*)/).test(input.principal) || RegExp(/^keeta_ag(.*)/).test(input.principal) || RegExp(/^keeta_ah(.*)/).test(input.principal) || RegExp(/^tyblocks_ae(.*)/).test(input.principal) || RegExp(/^tyblocks_af(.*)/).test(input.principal) || RegExp(/^tyblocks_ag(.*)/).test(input.principal) || RegExp(/^tyblocks_ah(.*)/).test(input.principal) || RegExp(/^keeta_ai(.*)/).test(input.principal) || RegExp(/^keeta_aj(.*)/).test(input.principal) || RegExp(/^keeta_ak(.*)/).test(input.principal) || RegExp(/^keeta_al(.*)/).test(input.principal) || RegExp(/^tyblocks_ai(.*)/).test(input.principal) || RegExp(/^tyblocks_aj(.*)/).test(input.principal) || RegExp(/^tyblocks_ak(.*)/).test(input.principal) || RegExp(/^tyblocks_al(.*)/).test(input.principal) || RegExp(/^keeta_at(.*)/).test(input.principal) || RegExp(/^keeta_aq(.*)/).test(input.principal) || RegExp(/^keeta_ar(.*)/).test(input.principal) || RegExp(/^keeta_as(.*)/).test(input.principal) || RegExp(/^tyblocks_at(.*)/).test(input.principal) || RegExp(/^tyblocks_aq(.*)/).test(input.principal) || RegExp(/^tyblocks_ar(.*)/).test(input.principal) || RegExp(/^tyblocks_as(.*)/).test(input.principal) || RegExp(/^keeta_ay(.*)/).test(input.principal) || RegExp(/^keeta_az(.*)/).test(input.principal) || RegExp(/^keeta_a2(.*)/).test(input.principal) || RegExp(/^keeta_a3(.*)/).test(input.principal) || RegExp(/^tyblocks_ay(.*)/).test(input.principal) || RegExp(/^tyblocks_az(.*)/).test(input.principal) || RegExp(/^tyblocks_a2(.*)/).test(input.principal) || RegExp(/^tyblocks_a3(.*)/).test(input.principal) || RegExp(/^keeta_a4(.*)/).test(input.principal) || RegExp(/^keeta_a5(.*)/).test(input.principal) || RegExp(/^keeta_a6(.*)/).test(input.principal) || RegExp(/^keeta_a7(.*)/).test(input.principal) || RegExp(/^tyblocks_a4(.*)/).test(input.principal) || RegExp(/^tyblocks_a5(.*)/).test(input.principal) || RegExp(/^tyblocks_a6(.*)/).test(input.principal) || RegExp(/^tyblocks_a7(.*)/).test(input.principal)) && (Array.isArray(input.permissions) && (input.permissions.length === 2 && "string" === typeof input.permissions[0] && "string" === typeof input.permissions[1])) && (undefined === input.target || "string" === typeof input.target && (RegExp(/^keeta_am(.*)/).test(input.target) || RegExp(/^keeta_an(.*)/).test(input.target) || RegExp(/^keeta_ao(.*)/).test(input.target) || RegExp(/^keeta_ap(.*)/).test(input.target) || RegExp(/^tyblocks_am(.*)/).test(input.target) || RegExp(/^tyblocks_an(.*)/).test(input.target) || RegExp(/^tyblocks_ao(.*)/).test(input.target) || RegExp(/^tyblocks_ap(.*)/).test(input.target) || RegExp(/^keeta_aa(.*)/).test(input.target) || RegExp(/^keeta_ab(.*)/).test(input.target) || RegExp(/^keeta_ac(.*)/).test(input.target) || RegExp(/^keeta_ad(.*)/).test(input.target) || RegExp(/^tyblocks_aa(.*)/).test(input.target) || RegExp(/^tyblocks_ab(.*)/).test(input.target) || RegExp(/^tyblocks_ac(.*)/).test(input.target) || RegExp(/^tyblocks_ad(.*)/).test(input.target) || RegExp(/^keeta_ae(.*)/).test(input.target) || RegExp(/^keeta_af(.*)/).test(input.target) || RegExp(/^keeta_ag(.*)/).test(input.target) || RegExp(/^keeta_ah(.*)/).test(input.target) || RegExp(/^tyblocks_ae(.*)/).test(input.target) || RegExp(/^tyblocks_af(.*)/).test(input.target) || RegExp(/^tyblocks_ag(.*)/).test(input.target) || RegExp(/^tyblocks_ah(.*)/).test(input.target) || RegExp(/^keeta_ai(.*)/).test(input.target) || RegExp(/^keeta_aj(.*)/).test(input.target) || RegExp(/^keeta_ak(.*)/).test(input.target) || RegExp(/^keeta_al(.*)/).test(input.target) || RegExp(/^tyblocks_ai(.*)/).test(input.target) || RegExp(/^tyblocks_aj(.*)/).test(input.target) || RegExp(/^tyblocks_ak(.*)/).test(input.target) || RegExp(/^tyblocks_al(.*)/).test(input.target) || RegExp(/^keeta_at(.*)/).test(input.target) || RegExp(/^keeta_aq(.*)/).test(input.target) || RegExp(/^keeta_ar(.*)/).test(input.target) || RegExp(/^keeta_as(.*)/).test(input.target) || RegExp(/^tyblocks_at(.*)/).test(input.target) || RegExp(/^tyblocks_aq(.*)/).test(input.target) || RegExp(/^tyblocks_ar(.*)/).test(input.target) || RegExp(/^tyblocks_as(.*)/).test(input.target) || RegExp(/^keeta_ay(.*)/).test(input.target) || RegExp(/^keeta_az(.*)/).test(input.target) || RegExp(/^keeta_a2(.*)/).test(input.target) || RegExp(/^keeta_a3(.*)/).test(input.target) || RegExp(/^tyblocks_ay(.*)/).test(input.target) || RegExp(/^tyblocks_az(.*)/).test(input.target) || RegExp(/^tyblocks_a2(.*)/).test(input.target) || RegExp(/^tyblocks_a3(.*)/).test(input.target) || RegExp(/^keeta_a4(.*)/).test(input.target) || RegExp(/^keeta_a5(.*)/).test(input.target) || RegExp(/^keeta_a6(.*)/).test(input.target) || RegExp(/^keeta_a7(.*)/).test(input.target) || RegExp(/^tyblocks_a4(.*)/).test(input.target) || RegExp(/^tyblocks_a5(.*)/).test(input.target) || RegExp(/^tyblocks_a6(.*)/).test(input.target) || RegExp(/^tyblocks_a7(.*)/).test(input.target))) && (undefined === input.entity || "string" === typeof input.entity && (RegExp(/^keeta_am(.*)/).test(input.entity) || RegExp(/^keeta_an(.*)/).test(input.entity) || RegExp(/^keeta_ao(.*)/).test(input.entity) || RegExp(/^keeta_ap(.*)/).test(input.entity) || RegExp(/^tyblocks_am(.*)/).test(input.entity) || RegExp(/^tyblocks_an(.*)/).test(input.entity) || RegExp(/^tyblocks_ao(.*)/).test(input.entity) || RegExp(/^tyblocks_ap(.*)/).test(input.entity) || RegExp(/^keeta_aa(.*)/).test(input.entity) || RegExp(/^keeta_ab(.*)/).test(input.entity) || RegExp(/^keeta_ac(.*)/).test(input.entity) || RegExp(/^keeta_ad(.*)/).test(input.entity) || RegExp(/^tyblocks_aa(.*)/).test(input.entity) || RegExp(/^tyblocks_ab(.*)/).test(input.entity) || RegExp(/^tyblocks_ac(.*)/).test(input.entity) || RegExp(/^tyblocks_ad(.*)/).test(input.entity) || RegExp(/^keeta_ae(.*)/).test(input.entity) || RegExp(/^keeta_af(.*)/).test(input.entity) || RegExp(/^keeta_ag(.*)/).test(input.entity) || RegExp(/^keeta_ah(.*)/).test(input.entity) || RegExp(/^tyblocks_ae(.*)/).test(input.entity) || RegExp(/^tyblocks_af(.*)/).test(input.entity) || RegExp(/^tyblocks_ag(.*)/).test(input.entity) || RegExp(/^tyblocks_ah(.*)/).test(input.entity) || RegExp(/^keeta_ai(.*)/).test(input.entity) || RegExp(/^keeta_aj(.*)/).test(input.entity) || RegExp(/^keeta_ak(.*)/).test(input.entity) || RegExp(/^keeta_al(.*)/).test(input.entity) || RegExp(/^tyblocks_ai(.*)/).test(input.entity) || RegExp(/^tyblocks_aj(.*)/).test(input.entity) || RegExp(/^tyblocks_ak(.*)/).test(input.entity) || RegExp(/^tyblocks_al(.*)/).test(input.entity) || RegExp(/^keeta_at(.*)/).test(input.entity) || RegExp(/^keeta_aq(.*)/).test(input.entity) || RegExp(/^keeta_ar(.*)/).test(input.entity) || RegExp(/^keeta_as(.*)/).test(input.entity) || RegExp(/^tyblocks_at(.*)/).test(input.entity) || RegExp(/^tyblocks_aq(.*)/).test(input.entity) || RegExp(/^tyblocks_ar(.*)/).test(input.entity) || RegExp(/^tyblocks_as(.*)/).test(input.entity) || RegExp(/^keeta_ay(.*)/).test(input.entity) || RegExp(/^keeta_az(.*)/).test(input.entity) || RegExp(/^keeta_a2(.*)/).test(input.entity) || RegExp(/^keeta_a3(.*)/).test(input.entity) || RegExp(/^tyblocks_ay(.*)/).test(input.entity) || RegExp(/^tyblocks_az(.*)/).test(input.entity) || RegExp(/^tyblocks_a2(.*)/).test(input.entity) || RegExp(/^tyblocks_a3(.*)/).test(input.entity) || RegExp(/^keeta_a4(.*)/).test(input.entity) || RegExp(/^keeta_a5(.*)/).test(input.entity) || RegExp(/^keeta_a6(.*)/).test(input.entity) || RegExp(/^keeta_a7(.*)/).test(input.entity) || RegExp(/^tyblocks_a4(.*)/).test(input.entity) || RegExp(/^tyblocks_a5(.*)/).test(input.entity) || RegExp(/^tyblocks_a6(.*)/).test(input.entity) || RegExp(/^tyblocks_a7(.*)/).test(input.entity))) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
54507
+ if (["principal", "permissions", "target", "entity"].some(prop => key === prop))
54508
+ return true;
54509
+ const value = input[key];
54510
+ if (undefined === value)
54511
+ return true;
54512
+ return false;
54513
+ })); const _io3 = (input, _exceptionable = true) => ("plaintext" === input.type || "markdown" === input.type) && "string" === typeof input.content && (2 === Object.keys(input).length || Object.keys(input).every(key => {
54514
+ if (["type", "content"].some(prop => key === prop))
54515
+ return true;
54516
+ const value = input[key];
54517
+ if (undefined === value)
54518
+ return true;
54519
+ return false;
54520
+ })); const _io4 = (input, _exceptionable = true) => "add-certificate" === input.type && "string" === typeof input.certificate && (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_aq(.*)/).test(input.account) || RegExp(/^keeta_ar(.*)/).test(input.account) || RegExp(/^keeta_as(.*)/).test(input.account) || RegExp(/^tyblocks_at(.*)/).test(input.account) || RegExp(/^tyblocks_aq(.*)/).test(input.account) || RegExp(/^tyblocks_ar(.*)/).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.details || "object" === typeof input.details && null !== input.details && _io3(input.details, true && _exceptionable)) && (undefined === input.intermediates || Array.isArray(input.intermediates) && input.intermediates.every((elem, _index2) => "string" === typeof elem)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
54521
+ if (["type", "certificate", "account", "details", "intermediates"].some(prop => key === prop))
54522
+ return true;
54523
+ const value = input[key];
54524
+ if (undefined === value)
54525
+ return true;
54526
+ return false;
54527
+ })); const _iu0 = (input, _exceptionable = true) => (() => {
54528
+ if ("grant-permission" === input.type)
54529
+ return _io1(input, true && _exceptionable);
54530
+ else if ("add-certificate" === input.type)
54531
+ return _io4(input, true && _exceptionable);
54532
+ else
54533
+ return false;
54534
+ })(); const _ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.actionsNeeded) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54535
+ method: "createAssertEquals",
54536
+ path: _path + ".actionsNeeded",
54537
+ expected: "Array<KeetaAssetMovementAnchorUserActionJSON>",
54538
+ value: input.actionsNeeded
54539
+ }, _errorFactory)) && input.actionsNeeded.every((elem, _index3) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54540
+ method: "createAssertEquals",
54541
+ path: _path + ".actionsNeeded[" + _index3 + "]",
54542
+ expected: "({ type: \"add-certificate\"; certificate: string; } & { account?: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; details?: ClientRenderableContent; intermediates?: string[]; } | { type: \"grant-permission\"; permissionToGrant: { principal: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; permissions: [...]; } & { ...; }; } & { ...; })",
54543
+ value: elem
54544
+ }, _errorFactory)) && _au0(elem, _path + ".actionsNeeded[" + _index3 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54545
+ method: "createAssertEquals",
54546
+ path: _path + ".actionsNeeded[" + _index3 + "]",
54547
+ expected: "({ type: \"add-certificate\"; certificate: string; } & { account?: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; details?: ClientRenderableContent; intermediates?: string[]; } | { type: \"grant-permission\"; permissionToGrant: { principal: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; permissions: [...]; } & { ...; }; } & { ...; })",
54548
+ value: elem
54549
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54550
+ method: "createAssertEquals",
54551
+ path: _path + ".actionsNeeded",
54552
+ expected: "Array<KeetaAssetMovementAnchorUserActionJSON>",
54553
+ value: input.actionsNeeded
54554
+ }, _errorFactory)) && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
54555
+ if (["actionsNeeded"].some(prop => key === prop))
54556
+ return true;
54557
+ const value = input[key];
54558
+ if (undefined === value)
54559
+ return true;
54560
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
54561
+ method: "createAssertEquals",
54562
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
54563
+ expected: "undefined",
54564
+ value: value
54565
+ }, _errorFactory);
54566
+ }))); const _ao1 = (input, _path, _exceptionable = true) => ("grant-permission" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54567
+ method: "createAssertEquals",
54568
+ path: _path + ".type",
54569
+ expected: "\"grant-permission\"",
54570
+ value: input.type
54571
+ }, _errorFactory)) && (("object" === typeof input.permissionToGrant && null !== input.permissionToGrant || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54572
+ method: "createAssertEquals",
54573
+ path: _path + ".permissionToGrant",
54574
+ expected: "{ principal: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; permissions: [...]; } & { ...; }",
54575
+ value: input.permissionToGrant
54576
+ }, _errorFactory)) && _ao2(input.permissionToGrant, _path + ".permissionToGrant", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54577
+ method: "createAssertEquals",
54578
+ path: _path + ".permissionToGrant",
54579
+ expected: "{ principal: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; permissions: [...]; } & { ...; }",
54580
+ value: input.permissionToGrant
54581
+ }, _errorFactory)) && (undefined === input.details || ("object" === typeof input.details && null !== input.details || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54582
+ method: "createAssertEquals",
54583
+ path: _path + ".details",
54584
+ expected: "(ClientRenderableContent | undefined)",
54585
+ value: input.details
54586
+ }, _errorFactory)) && _ao3(input.details, _path + ".details", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54587
+ method: "createAssertEquals",
54588
+ path: _path + ".details",
54589
+ expected: "(ClientRenderableContent | undefined)",
54590
+ value: input.details
54591
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
54592
+ if (["type", "permissionToGrant", "details"].some(prop => key === prop))
54593
+ return true;
54594
+ const value = input[key];
54595
+ if (undefined === value)
54596
+ return true;
54597
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
54598
+ method: "createAssertEquals",
54599
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
54600
+ expected: "undefined",
54601
+ value: value
54602
+ }, _errorFactory);
54603
+ }))); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.principal && (RegExp(/^keeta_am(.*)/).test(input.principal) || RegExp(/^keeta_an(.*)/).test(input.principal) || RegExp(/^keeta_ao(.*)/).test(input.principal) || RegExp(/^keeta_ap(.*)/).test(input.principal) || RegExp(/^tyblocks_am(.*)/).test(input.principal) || RegExp(/^tyblocks_an(.*)/).test(input.principal) || RegExp(/^tyblocks_ao(.*)/).test(input.principal) || RegExp(/^tyblocks_ap(.*)/).test(input.principal) || RegExp(/^keeta_aa(.*)/).test(input.principal) || RegExp(/^keeta_ab(.*)/).test(input.principal) || RegExp(/^keeta_ac(.*)/).test(input.principal) || RegExp(/^keeta_ad(.*)/).test(input.principal) || RegExp(/^tyblocks_aa(.*)/).test(input.principal) || RegExp(/^tyblocks_ab(.*)/).test(input.principal) || RegExp(/^tyblocks_ac(.*)/).test(input.principal) || RegExp(/^tyblocks_ad(.*)/).test(input.principal) || RegExp(/^keeta_ae(.*)/).test(input.principal) || RegExp(/^keeta_af(.*)/).test(input.principal) || RegExp(/^keeta_ag(.*)/).test(input.principal) || RegExp(/^keeta_ah(.*)/).test(input.principal) || RegExp(/^tyblocks_ae(.*)/).test(input.principal) || RegExp(/^tyblocks_af(.*)/).test(input.principal) || RegExp(/^tyblocks_ag(.*)/).test(input.principal) || RegExp(/^tyblocks_ah(.*)/).test(input.principal) || RegExp(/^keeta_ai(.*)/).test(input.principal) || RegExp(/^keeta_aj(.*)/).test(input.principal) || RegExp(/^keeta_ak(.*)/).test(input.principal) || RegExp(/^keeta_al(.*)/).test(input.principal) || RegExp(/^tyblocks_ai(.*)/).test(input.principal) || RegExp(/^tyblocks_aj(.*)/).test(input.principal) || RegExp(/^tyblocks_ak(.*)/).test(input.principal) || RegExp(/^tyblocks_al(.*)/).test(input.principal) || RegExp(/^keeta_at(.*)/).test(input.principal) || RegExp(/^keeta_aq(.*)/).test(input.principal) || RegExp(/^keeta_ar(.*)/).test(input.principal) || RegExp(/^keeta_as(.*)/).test(input.principal) || RegExp(/^tyblocks_at(.*)/).test(input.principal) || RegExp(/^tyblocks_aq(.*)/).test(input.principal) || RegExp(/^tyblocks_ar(.*)/).test(input.principal) || RegExp(/^tyblocks_as(.*)/).test(input.principal) || RegExp(/^keeta_ay(.*)/).test(input.principal) || RegExp(/^keeta_az(.*)/).test(input.principal) || RegExp(/^keeta_a2(.*)/).test(input.principal) || RegExp(/^keeta_a3(.*)/).test(input.principal) || RegExp(/^tyblocks_ay(.*)/).test(input.principal) || RegExp(/^tyblocks_az(.*)/).test(input.principal) || RegExp(/^tyblocks_a2(.*)/).test(input.principal) || RegExp(/^tyblocks_a3(.*)/).test(input.principal) || RegExp(/^keeta_a4(.*)/).test(input.principal) || RegExp(/^keeta_a5(.*)/).test(input.principal) || RegExp(/^keeta_a6(.*)/).test(input.principal) || RegExp(/^keeta_a7(.*)/).test(input.principal) || RegExp(/^tyblocks_a4(.*)/).test(input.principal) || RegExp(/^tyblocks_a5(.*)/).test(input.principal) || RegExp(/^tyblocks_a6(.*)/).test(input.principal) || RegExp(/^tyblocks_a7(.*)/).test(input.principal)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54604
+ method: "createAssertEquals",
54605
+ path: _path + ".principal",
54606
+ 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}`)",
54607
+ value: input.principal
54608
+ }, _errorFactory)) && ((Array.isArray(input.permissions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54609
+ method: "createAssertEquals",
54610
+ path: _path + ".permissions",
54611
+ expected: "[string, string]",
54612
+ value: input.permissions
54613
+ }, _errorFactory)) && ((input.permissions.length === 2 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54614
+ method: "createAssertEquals",
54615
+ path: _path + ".permissions",
54616
+ expected: "[string, string]",
54617
+ value: input.permissions
54618
+ }, _errorFactory)) && ("string" === typeof input.permissions[0] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54619
+ method: "createAssertEquals",
54620
+ path: _path + ".permissions[0]",
54621
+ expected: "string",
54622
+ value: input.permissions[0]
54623
+ }, _errorFactory)) && ("string" === typeof input.permissions[1] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54624
+ method: "createAssertEquals",
54625
+ path: _path + ".permissions[1]",
54626
+ expected: "string",
54627
+ value: input.permissions[1]
54628
+ }, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54629
+ method: "createAssertEquals",
54630
+ path: _path + ".permissions",
54631
+ expected: "[string, string]",
54632
+ value: input.permissions
54633
+ }, _errorFactory)) && (undefined === input.target || "string" === typeof input.target && (RegExp(/^keeta_am(.*)/).test(input.target) || RegExp(/^keeta_an(.*)/).test(input.target) || RegExp(/^keeta_ao(.*)/).test(input.target) || RegExp(/^keeta_ap(.*)/).test(input.target) || RegExp(/^tyblocks_am(.*)/).test(input.target) || RegExp(/^tyblocks_an(.*)/).test(input.target) || RegExp(/^tyblocks_ao(.*)/).test(input.target) || RegExp(/^tyblocks_ap(.*)/).test(input.target) || RegExp(/^keeta_aa(.*)/).test(input.target) || RegExp(/^keeta_ab(.*)/).test(input.target) || RegExp(/^keeta_ac(.*)/).test(input.target) || RegExp(/^keeta_ad(.*)/).test(input.target) || RegExp(/^tyblocks_aa(.*)/).test(input.target) || RegExp(/^tyblocks_ab(.*)/).test(input.target) || RegExp(/^tyblocks_ac(.*)/).test(input.target) || RegExp(/^tyblocks_ad(.*)/).test(input.target) || RegExp(/^keeta_ae(.*)/).test(input.target) || RegExp(/^keeta_af(.*)/).test(input.target) || RegExp(/^keeta_ag(.*)/).test(input.target) || RegExp(/^keeta_ah(.*)/).test(input.target) || RegExp(/^tyblocks_ae(.*)/).test(input.target) || RegExp(/^tyblocks_af(.*)/).test(input.target) || RegExp(/^tyblocks_ag(.*)/).test(input.target) || RegExp(/^tyblocks_ah(.*)/).test(input.target) || RegExp(/^keeta_ai(.*)/).test(input.target) || RegExp(/^keeta_aj(.*)/).test(input.target) || RegExp(/^keeta_ak(.*)/).test(input.target) || RegExp(/^keeta_al(.*)/).test(input.target) || RegExp(/^tyblocks_ai(.*)/).test(input.target) || RegExp(/^tyblocks_aj(.*)/).test(input.target) || RegExp(/^tyblocks_ak(.*)/).test(input.target) || RegExp(/^tyblocks_al(.*)/).test(input.target) || RegExp(/^keeta_at(.*)/).test(input.target) || RegExp(/^keeta_aq(.*)/).test(input.target) || RegExp(/^keeta_ar(.*)/).test(input.target) || RegExp(/^keeta_as(.*)/).test(input.target) || RegExp(/^tyblocks_at(.*)/).test(input.target) || RegExp(/^tyblocks_aq(.*)/).test(input.target) || RegExp(/^tyblocks_ar(.*)/).test(input.target) || RegExp(/^tyblocks_as(.*)/).test(input.target) || RegExp(/^keeta_ay(.*)/).test(input.target) || RegExp(/^keeta_az(.*)/).test(input.target) || RegExp(/^keeta_a2(.*)/).test(input.target) || RegExp(/^keeta_a3(.*)/).test(input.target) || RegExp(/^tyblocks_ay(.*)/).test(input.target) || RegExp(/^tyblocks_az(.*)/).test(input.target) || RegExp(/^tyblocks_a2(.*)/).test(input.target) || RegExp(/^tyblocks_a3(.*)/).test(input.target) || RegExp(/^keeta_a4(.*)/).test(input.target) || RegExp(/^keeta_a5(.*)/).test(input.target) || RegExp(/^keeta_a6(.*)/).test(input.target) || RegExp(/^keeta_a7(.*)/).test(input.target) || RegExp(/^tyblocks_a4(.*)/).test(input.target) || RegExp(/^tyblocks_a5(.*)/).test(input.target) || RegExp(/^tyblocks_a6(.*)/).test(input.target) || RegExp(/^tyblocks_a7(.*)/).test(input.target)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54634
+ method: "createAssertEquals",
54635
+ path: _path + ".target",
54636
+ 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)",
54637
+ value: input.target
54638
+ }, _errorFactory)) && (undefined === input.entity || "string" === typeof input.entity && (RegExp(/^keeta_am(.*)/).test(input.entity) || RegExp(/^keeta_an(.*)/).test(input.entity) || RegExp(/^keeta_ao(.*)/).test(input.entity) || RegExp(/^keeta_ap(.*)/).test(input.entity) || RegExp(/^tyblocks_am(.*)/).test(input.entity) || RegExp(/^tyblocks_an(.*)/).test(input.entity) || RegExp(/^tyblocks_ao(.*)/).test(input.entity) || RegExp(/^tyblocks_ap(.*)/).test(input.entity) || RegExp(/^keeta_aa(.*)/).test(input.entity) || RegExp(/^keeta_ab(.*)/).test(input.entity) || RegExp(/^keeta_ac(.*)/).test(input.entity) || RegExp(/^keeta_ad(.*)/).test(input.entity) || RegExp(/^tyblocks_aa(.*)/).test(input.entity) || RegExp(/^tyblocks_ab(.*)/).test(input.entity) || RegExp(/^tyblocks_ac(.*)/).test(input.entity) || RegExp(/^tyblocks_ad(.*)/).test(input.entity) || RegExp(/^keeta_ae(.*)/).test(input.entity) || RegExp(/^keeta_af(.*)/).test(input.entity) || RegExp(/^keeta_ag(.*)/).test(input.entity) || RegExp(/^keeta_ah(.*)/).test(input.entity) || RegExp(/^tyblocks_ae(.*)/).test(input.entity) || RegExp(/^tyblocks_af(.*)/).test(input.entity) || RegExp(/^tyblocks_ag(.*)/).test(input.entity) || RegExp(/^tyblocks_ah(.*)/).test(input.entity) || RegExp(/^keeta_ai(.*)/).test(input.entity) || RegExp(/^keeta_aj(.*)/).test(input.entity) || RegExp(/^keeta_ak(.*)/).test(input.entity) || RegExp(/^keeta_al(.*)/).test(input.entity) || RegExp(/^tyblocks_ai(.*)/).test(input.entity) || RegExp(/^tyblocks_aj(.*)/).test(input.entity) || RegExp(/^tyblocks_ak(.*)/).test(input.entity) || RegExp(/^tyblocks_al(.*)/).test(input.entity) || RegExp(/^keeta_at(.*)/).test(input.entity) || RegExp(/^keeta_aq(.*)/).test(input.entity) || RegExp(/^keeta_ar(.*)/).test(input.entity) || RegExp(/^keeta_as(.*)/).test(input.entity) || RegExp(/^tyblocks_at(.*)/).test(input.entity) || RegExp(/^tyblocks_aq(.*)/).test(input.entity) || RegExp(/^tyblocks_ar(.*)/).test(input.entity) || RegExp(/^tyblocks_as(.*)/).test(input.entity) || RegExp(/^keeta_ay(.*)/).test(input.entity) || RegExp(/^keeta_az(.*)/).test(input.entity) || RegExp(/^keeta_a2(.*)/).test(input.entity) || RegExp(/^keeta_a3(.*)/).test(input.entity) || RegExp(/^tyblocks_ay(.*)/).test(input.entity) || RegExp(/^tyblocks_az(.*)/).test(input.entity) || RegExp(/^tyblocks_a2(.*)/).test(input.entity) || RegExp(/^tyblocks_a3(.*)/).test(input.entity) || RegExp(/^keeta_a4(.*)/).test(input.entity) || RegExp(/^keeta_a5(.*)/).test(input.entity) || RegExp(/^keeta_a6(.*)/).test(input.entity) || RegExp(/^keeta_a7(.*)/).test(input.entity) || RegExp(/^tyblocks_a4(.*)/).test(input.entity) || RegExp(/^tyblocks_a5(.*)/).test(input.entity) || RegExp(/^tyblocks_a6(.*)/).test(input.entity) || RegExp(/^tyblocks_a7(.*)/).test(input.entity)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54639
+ method: "createAssertEquals",
54640
+ path: _path + ".entity",
54641
+ 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)",
54642
+ value: input.entity
54643
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
54644
+ if (["principal", "permissions", "target", "entity"].some(prop => key === prop))
54645
+ return true;
54646
+ const value = input[key];
54647
+ if (undefined === value)
54648
+ return true;
54649
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
54650
+ method: "createAssertEquals",
54651
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
54652
+ expected: "undefined",
54653
+ value: value
54654
+ }, _errorFactory);
54655
+ }))); const _ao3 = (input, _path, _exceptionable = true) => ("plaintext" === input.type || "markdown" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54656
+ method: "createAssertEquals",
54657
+ path: _path + ".type",
54658
+ expected: "(\"markdown\" | \"plaintext\")",
54659
+ value: input.type
54660
+ }, _errorFactory)) && ("string" === typeof input.content || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54661
+ method: "createAssertEquals",
54662
+ path: _path + ".content",
54663
+ expected: "string",
54664
+ value: input.content
54665
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
54666
+ if (["type", "content"].some(prop => key === prop))
54667
+ return true;
54668
+ const value = input[key];
54669
+ if (undefined === value)
54670
+ return true;
54671
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
54672
+ method: "createAssertEquals",
54673
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
54674
+ expected: "undefined",
54675
+ value: value
54676
+ }, _errorFactory);
54677
+ }))); const _ao4 = (input, _path, _exceptionable = true) => ("add-certificate" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54678
+ method: "createAssertEquals",
54679
+ path: _path + ".type",
54680
+ expected: "\"add-certificate\"",
54681
+ value: input.type
54682
+ }, _errorFactory)) && ("string" === typeof input.certificate || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54683
+ method: "createAssertEquals",
54684
+ path: _path + ".certificate",
54685
+ expected: "string",
54686
+ value: input.certificate
54687
+ }, _errorFactory)) && (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_aq(.*)/).test(input.account) || RegExp(/^keeta_ar(.*)/).test(input.account) || RegExp(/^keeta_as(.*)/).test(input.account) || RegExp(/^tyblocks_at(.*)/).test(input.account) || RegExp(/^tyblocks_aq(.*)/).test(input.account) || RegExp(/^tyblocks_ar(.*)/).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, {
54688
+ method: "createAssertEquals",
54689
+ path: _path + ".account",
54690
+ 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)",
54691
+ value: input.account
54692
+ }, _errorFactory)) && (undefined === input.details || ("object" === typeof input.details && null !== input.details || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54693
+ method: "createAssertEquals",
54694
+ path: _path + ".details",
54695
+ expected: "(ClientRenderableContent | undefined)",
54696
+ value: input.details
54697
+ }, _errorFactory)) && _ao3(input.details, _path + ".details", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54698
+ method: "createAssertEquals",
54699
+ path: _path + ".details",
54700
+ expected: "(ClientRenderableContent | undefined)",
54701
+ value: input.details
54702
+ }, _errorFactory)) && (undefined === input.intermediates || (Array.isArray(input.intermediates) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54703
+ method: "createAssertEquals",
54704
+ path: _path + ".intermediates",
54705
+ expected: "(Array<string> | undefined)",
54706
+ value: input.intermediates
54707
+ }, _errorFactory)) && input.intermediates.every((elem, _index4) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54708
+ method: "createAssertEquals",
54709
+ path: _path + ".intermediates[" + _index4 + "]",
54710
+ expected: "string",
54711
+ value: elem
54712
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
54713
+ method: "createAssertEquals",
54714
+ path: _path + ".intermediates",
54715
+ expected: "(Array<string> | undefined)",
54716
+ value: input.intermediates
54717
+ }, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every(key => {
54718
+ if (["type", "certificate", "account", "details", "intermediates"].some(prop => key === prop))
54719
+ return true;
54720
+ const value = input[key];
54721
+ if (undefined === value)
54722
+ return true;
54723
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
54724
+ method: "createAssertEquals",
54725
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
54726
+ expected: "undefined",
54727
+ value: value
54728
+ }, _errorFactory);
54729
+ }))); const _au0 = (input, _path, _exceptionable = true) => (() => {
54730
+ if ("grant-permission" === input.type)
54731
+ return _ao1(input, _path, true && _exceptionable);
54732
+ else if ("add-certificate" === input.type)
54733
+ return _ao4(input, _path, true && _exceptionable);
54734
+ else
54735
+ return __typia_transform__assertGuard._assertGuard(_exceptionable, {
54736
+ method: "createAssertEquals",
54737
+ path: _path,
54738
+ expected: "({ type: \"grant-permission\"; permissionToGrant: { principal: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; permissions: [...]; } & { ...; }; } & { ...; } | { type: \"add-certificate\"; certificate: string; } & { account?: TokenPublicKeyString | Secp256K1PublicKeyString | ED25519PublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | Secp256R1PublicKeyString | MultisigPublicKeyString; details?: ClientRenderableContent; intermediates?: string[]; })",
54739
+ value: input
54740
+ }, _errorFactory);
54741
+ })(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let _errorFactory; return (input, errorFactory) => {
54742
+ if (false === __is(input)) {
54743
+ _errorFactory = errorFactory;
54744
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
54745
+ method: "createAssertEquals",
54746
+ path: _path + "",
54747
+ expected: "KeetaAssetMovementAnchorUserActionNeededErrorJSONProperties",
54748
+ value: input
54749
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
54750
+ method: "createAssertEquals",
54751
+ path: _path + "",
54752
+ expected: "KeetaAssetMovementAnchorUserActionNeededErrorJSONProperties",
54753
+ value: input
54754
+ }, _errorFactory))(input, "$input", true);
54755
+ }
54756
+ return input;
54757
+ }; })();
54492
54758
  //# sourceMappingURL=common.generated.js.map