@coopenomics/extension-kit 2026.12.2 → 2026.12.3-dev.2

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/dist/index.mjs CHANGED
@@ -1,15 +1,18 @@
1
1
  import { HttpException, HttpStatus, BadGatewayException, ServiceUnavailableException, BadRequestException, UnauthorizedException, ForbiddenException, NotFoundException, ConflictException, UnprocessableEntityException, InternalServerErrorException, createParamDecorator, Injectable, SetMetadata, Inject, Logger } from '@nestjs/common';
2
- import { GqlExecutionContext, Directive, Field, InputType, registerEnumType, Int, IntersectionType, OmitType, ObjectType } from '@nestjs/graphql';
2
+ import { GqlExecutionContext, Directive, Field, Int, InputType, IntersectionType, OmitType, registerEnumType, ObjectType } from '@nestjs/graphql';
3
3
  import { te, t } from '@coopenomics/i18n/server';
4
+ import { validationMessage, GenerateMetaDocumentInputDTO, MetaDocumentInputDTO, SignedDigitalDocumentInputDTO, SORT_ORDERS, SORT_FIELD_PATTERN, createPaginationResult } from '@coopenomics/extension-sdk/graphql';
5
+ export { AccountType, DocumentAggregateDTO, EntrepreneurCertificateDTO, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, IndividualCertificateDTO, LangType, MetaDocumentInputDTO, OrganizationCertificateDTO, PaginationInputDTO, PaginationResult, RepresentedByCertificateDTO, SORT_FIELD_PATTERN, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, SignerCertificateResolver, TransactionDTO, UserCertificateUnion, createPaginationResult, printSubgraphSdl, validationMessage } from '@coopenomics/extension-sdk/graphql';
4
6
  import { AuthGuard } from '@nestjs/passport';
5
7
  import { timingSafeEqual } from 'node:crypto';
6
8
  import { createMongoAbility, subject } from '@casl/ability';
7
9
  import { Reflector } from '@nestjs/core';
8
10
  import { z } from 'zod';
9
- import { IsNumber, IsString, IsArray, ArrayMinSize, ValidateNested, IsEnum, IsInt, IsOptional, Matches, IsNotEmpty, IsIn, MaxLength, IsDate, Min, Max, IsObject, registerDecorator } from 'class-validator';
11
+ import { IsString, IsOptional, IsInt, Matches, IsNotEmpty, ValidateNested, IsArray, ArrayMinSize, MaxLength, IsDate, Min, Max, IsIn, registerDecorator } from 'class-validator';
10
12
  import { Type } from 'class-transformer';
11
- import GraphQLJSON$1, { GraphQLJSON } from 'graphql-type-json';
12
13
  export * from '@coopenomics/extension-sdk/database';
14
+ export * from '@coopenomics/extension-sdk/secrets';
15
+ import GraphQLJSON from 'graphql-type-json';
13
16
  import { Classes } from '@coopenomics/sdk';
14
17
  import { Name } from '@wharfkit/antelope';
15
18
  import moment from 'moment';
@@ -158,9 +161,6 @@ class DomainInternal extends InternalServerErrorException {
158
161
  return `errors.${this.code}`;
159
162
  }
160
163
  }
161
- function validationMessage(key, params = {}) {
162
- return (args) => t(key, { property: args.property, value: String(args.value ?? ""), ...params });
163
- }
164
164
 
165
165
  function CouncilField(self = []) {
166
166
  const council = 'roles: ["chairman", "member"]';
@@ -196,15 +196,15 @@ function hasServerSecret(headers) {
196
196
  return a.length === b.length && timingSafeEqual(a, b);
197
197
  }
198
198
 
199
- var __defProp$r = Object.defineProperty;
200
- var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
201
- var __decorateClass$r = (decorators, target, key, kind) => {
202
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
199
+ var __defProp$h = Object.defineProperty;
200
+ var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
201
+ var __decorateClass$h = (decorators, target, key, kind) => {
202
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
203
203
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
204
204
  if (decorator = decorators[i])
205
205
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
206
206
  if (kind && result)
207
- __defProp$r(target, key, result);
207
+ __defProp$h(target, key, result);
208
208
  return result;
209
209
  };
210
210
  const ACTIVE_USER_STATUS = "active";
@@ -229,7 +229,7 @@ let GqlJwtAuthGuard = class extends AuthGuard("jwt") {
229
229
  return super.canActivate(context);
230
230
  }
231
231
  };
232
- GqlJwtAuthGuard = __decorateClass$r([
232
+ GqlJwtAuthGuard = __decorateClass$h([
233
233
  Injectable()
234
234
  ], GqlJwtAuthGuard);
235
235
  function hasAuthorizationHeader(headers) {
@@ -254,7 +254,7 @@ let OptionalGqlJwtAuthGuard = class extends AuthGuard("jwt") {
254
254
  throw DomainError.unauthorized("KIT_SESSION_ENDED");
255
255
  }
256
256
  };
257
- OptionalGqlJwtAuthGuard = __decorateClass$r([
257
+ OptionalGqlJwtAuthGuard = __decorateClass$h([
258
258
  Injectable()
259
259
  ], OptionalGqlJwtAuthGuard);
260
260
  let HttpJwtAuthGuard = class extends AuthGuard("jwt") {
@@ -269,7 +269,7 @@ let HttpJwtAuthGuard = class extends AuthGuard("jwt") {
269
269
  return super.canActivate(context);
270
270
  }
271
271
  };
272
- HttpJwtAuthGuard = __decorateClass$r([
272
+ HttpJwtAuthGuard = __decorateClass$h([
273
273
  Injectable()
274
274
  ], HttpJwtAuthGuard);
275
275
  let ActiveUserStatusGuard = class {
@@ -289,7 +289,7 @@ let ActiveUserStatusGuard = class {
289
289
  return true;
290
290
  }
291
291
  };
292
- ActiveUserStatusGuard = __decorateClass$r([
292
+ ActiveUserStatusGuard = __decorateClass$h([
293
293
  Injectable()
294
294
  ], ActiveUserStatusGuard);
295
295
 
@@ -488,15 +488,15 @@ const GrantedScope = createParamDecorator((_data, context) => {
488
488
  return request?.[GRANTED_SCOPE_KEY] ?? { scopes: [] };
489
489
  });
490
490
 
491
- var __defProp$q = Object.defineProperty;
492
- var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
493
- var __decorateClass$q = (decorators, target, key, kind) => {
494
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
491
+ var __defProp$g = Object.defineProperty;
492
+ var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
493
+ var __decorateClass$g = (decorators, target, key, kind) => {
494
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
495
495
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
496
496
  if (decorator = decorators[i])
497
497
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
498
498
  if (kind && result)
499
- __defProp$q(target, key, result);
499
+ __defProp$g(target, key, result);
500
500
  return result;
501
501
  };
502
502
  var __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);
@@ -651,21 +651,21 @@ let RightsGuard = class {
651
651
  return true;
652
652
  }
653
653
  };
654
- RightsGuard = __decorateClass$q([
654
+ RightsGuard = __decorateClass$g([
655
655
  Injectable(),
656
656
  __decorateParam(0, Inject(Reflector)),
657
657
  __decorateParam(1, Inject(APP_RIGHTS))
658
658
  ], RightsGuard);
659
659
 
660
- var __defProp$p = Object.defineProperty;
661
- var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
662
- var __decorateClass$p = (decorators, target, key, kind) => {
663
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
660
+ var __defProp$f = Object.defineProperty;
661
+ var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
662
+ var __decorateClass$f = (decorators, target, key, kind) => {
663
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
664
664
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
665
665
  if (decorator = decorators[i])
666
666
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
667
667
  if (kind && result)
668
- __defProp$p(target, key, result);
668
+ __defProp$f(target, key, result);
669
669
  return result;
670
670
  };
671
671
  let BaseExtensionModule = class {
@@ -676,34 +676,34 @@ let BaseExtensionModule = class {
676
676
  async onModuleInit() {
677
677
  }
678
678
  };
679
- BaseExtensionModule = __decorateClass$p([
679
+ BaseExtensionModule = __decorateClass$f([
680
680
  Injectable()
681
681
  ], BaseExtensionModule);
682
682
 
683
- var __defProp$o = Object.defineProperty;
684
- var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
685
- var __decorateClass$o = (decorators, target, key, kind) => {
686
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
683
+ var __defProp$e = Object.defineProperty;
684
+ var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
685
+ var __decorateClass$e = (decorators, target, key, kind) => {
686
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
687
687
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
688
688
  if (decorator = decorators[i])
689
689
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
690
690
  if (kind && result)
691
- __defProp$o(target, key, result);
691
+ __defProp$e(target, key, result);
692
692
  return result;
693
693
  };
694
694
  let PaymentProvider = class extends BaseExtensionModule {
695
695
  };
696
- PaymentProvider = __decorateClass$o([
696
+ PaymentProvider = __decorateClass$e([
697
697
  Injectable()
698
698
  ], PaymentProvider);
699
699
  let PollingProvider = class extends PaymentProvider {
700
700
  };
701
- PollingProvider = __decorateClass$o([
701
+ PollingProvider = __decorateClass$e([
702
702
  Injectable()
703
703
  ], PollingProvider);
704
704
  let IPNProvider = class extends PaymentProvider {
705
705
  };
706
- IPNProvider = __decorateClass$o([
706
+ IPNProvider = __decorateClass$e([
707
707
  Injectable()
708
708
  ], IPNProvider);
709
709
 
@@ -768,295 +768,55 @@ function bucketProvidersFor(fileStoragePortToken, consumers) {
768
768
  });
769
769
  }
770
770
 
771
- var __defProp$n = Object.defineProperty;
772
- var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
773
- var __decorateClass$n = (decorators, target, key, kind) => {
774
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
775
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
776
- if (decorator = decorators[i])
777
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
778
- if (kind && result)
779
- __defProp$n(target, key, result);
780
- return result;
781
- };
782
- let SignatureInfoInputDTO = class {
783
- };
784
- __decorateClass$n([
785
- Field(() => Number, { description: "\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043D\u043E\u043C\u0435\u0440\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u0438" }),
786
- IsNumber()
787
- ], SignatureInfoInputDTO.prototype, "id", 2);
788
- __decorateClass$n([
789
- Field(() => String, { description: "\u0410\u043A\u043A\u0430\u0443\u043D\u0442 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u0432\u0448\u0435\u0433\u043E" }),
790
- IsString()
791
- ], SignatureInfoInputDTO.prototype, "signer", 2);
792
- __decorateClass$n([
793
- Field(() => String, { description: "\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u0439 \u043A\u043B\u044E\u0447" }),
794
- IsString()
795
- ], SignatureInfoInputDTO.prototype, "public_key", 2);
796
- __decorateClass$n([
797
- Field(() => String, { description: "\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0445\u044D\u0448\u0430" }),
798
- IsString()
799
- ], SignatureInfoInputDTO.prototype, "signature", 2);
800
- __decorateClass$n([
801
- Field(() => String, { description: "\u0412\u0440\u0435\u043C\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u044F" }),
802
- IsString()
803
- ], SignatureInfoInputDTO.prototype, "signed_at", 2);
804
- __decorateClass$n([
805
- Field(() => String, { description: "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0439 \u0445\u044D\u0448" }),
806
- IsString()
807
- ], SignatureInfoInputDTO.prototype, "signed_hash", 2);
808
- __decorateClass$n([
809
- Field(() => String, { description: "\u041C\u0435\u0442\u0430-\u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0438" }),
810
- IsString()
811
- ], SignatureInfoInputDTO.prototype, "meta", 2);
812
- SignatureInfoInputDTO = __decorateClass$n([
813
- InputType("SignatureInfoInput")
814
- ], SignatureInfoInputDTO);
815
- let SignedDigitalDocumentInputDTO = class {
816
- constructor(data) {
817
- Object.assign(this, data);
818
- }
819
- /**
820
- * Преобразует подписанный документ DTO в формат IChainDocument для блокчейна
821
- */
822
- toDocument() {
823
- return {
824
- version: this.version,
825
- hash: this.hash,
826
- doc_hash: this.doc_hash,
827
- meta_hash: this.meta_hash,
828
- meta: JSON.stringify(this.meta),
829
- signatures: this.signatures
830
- };
831
- }
832
- };
833
- __decorateClass$n([
834
- Field(() => String, { description: "\u0412\u0435\u0440\u0441\u0438\u044F \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0430 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
835
- IsString()
836
- ], SignedDigitalDocumentInputDTO.prototype, "version", 2);
837
- __decorateClass$n([
838
- Field(() => String, { description: "\u041E\u0431\u0449\u0438\u0439 \u0445\u044D\u0448 (doc_hash + meta_hash)" }),
839
- IsString()
840
- ], SignedDigitalDocumentInputDTO.prototype, "hash", 2);
841
- __decorateClass$n([
842
- Field(() => String, { description: "\u0425\u044D\u0448 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
843
- IsString()
844
- ], SignedDigitalDocumentInputDTO.prototype, "doc_hash", 2);
845
- __decorateClass$n([
846
- Field(() => String, { description: "\u0425\u044D\u0448 \u043C\u0435\u0442\u0430-\u0434\u0430\u043D\u043D\u044B\u0445" }),
847
- IsString()
848
- ], SignedDigitalDocumentInputDTO.prototype, "meta_hash", 2);
849
- __decorateClass$n([
850
- Field(() => GraphQLJSON, { description: "\u041C\u0435\u0442\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" })
851
- ], SignedDigitalDocumentInputDTO.prototype, "meta", 2);
852
- __decorateClass$n([
853
- Field(() => [SignatureInfoInputDTO], { description: "\u0412\u0435\u043A\u0442\u043E\u0440 \u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439" }),
854
- IsArray(),
855
- ArrayMinSize(1),
856
- ValidateNested({ each: true }),
857
- Type(() => SignatureInfoInputDTO)
858
- ], SignedDigitalDocumentInputDTO.prototype, "signatures", 2);
859
- SignedDigitalDocumentInputDTO = __decorateClass$n([
860
- InputType("SignedDigitalDocumentInput")
861
- ], SignedDigitalDocumentInputDTO);
862
-
863
- var LangType = /* @__PURE__ */ ((LangType2) => {
864
- LangType2["ru"] = "ru";
865
- return LangType2;
866
- })(LangType || {});
867
- registerEnumType(LangType, {
868
- name: "LangType",
869
- description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"
870
- });
871
-
872
- var __defProp$m = Object.defineProperty;
873
- var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
874
- var __decorateClass$m = (decorators, target, key, kind) => {
875
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
876
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
877
- if (decorator = decorators[i])
878
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
879
- if (kind && result)
880
- __defProp$m(target, key, result);
881
- return result;
882
- };
883
- let MetaDocumentInputDTO = class {
884
- };
885
- __decorateClass$m([
886
- Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
887
- IsString()
888
- ], MetaDocumentInputDTO.prototype, "title", 2);
889
- __decorateClass$m([
890
- Field(() => Int, { description: "ID \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435" }),
891
- IsNumber()
892
- ], MetaDocumentInputDTO.prototype, "registry_id", 2);
893
- __decorateClass$m([
894
- Field(() => String, { description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
895
- IsEnum(LangType)
896
- ], MetaDocumentInputDTO.prototype, "lang", 2);
897
- __decorateClass$m([
898
- Field(() => String, { description: "\u0418\u043C\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
899
- IsString()
900
- ], MetaDocumentInputDTO.prototype, "generator", 2);
901
- __decorateClass$m([
902
- Field(() => String, { description: "\u0412\u0435\u0440\u0441\u0438\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
903
- IsString()
904
- ], MetaDocumentInputDTO.prototype, "version", 2);
905
- __decorateClass$m([
906
- Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0435 \u0441 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C" }),
907
- IsString()
908
- ], MetaDocumentInputDTO.prototype, "coopname", 2);
909
- __decorateClass$m([
910
- Field(() => String, { description: "\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F, \u0441\u043E\u0437\u0434\u0430\u0432\u0448\u0435\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442" }),
911
- IsString()
912
- ], MetaDocumentInputDTO.prototype, "username", 2);
913
- __decorateClass$m([
914
- Field(() => String, { description: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
915
- IsString()
916
- ], MetaDocumentInputDTO.prototype, "created_at", 2);
917
- __decorateClass$m([
918
- Field(() => Int, { description: "\u041D\u043E\u043C\u0435\u0440 \u0431\u043B\u043E\u043A\u0430, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u0431\u044B\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442" }),
919
- IsInt()
920
- ], MetaDocumentInputDTO.prototype, "block_num", 2);
921
- __decorateClass$m([
922
- Field(() => String, { description: "\u0427\u0430\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u044F\u0441, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u0431\u044B\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442" }),
923
- IsString()
924
- ], MetaDocumentInputDTO.prototype, "timezone", 2);
925
- __decorateClass$m([
926
- Field(() => [String], { description: "\u0421\u0441\u044B\u043B\u043A\u0438, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0441 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C" }),
927
- IsArray(),
928
- IsString({ each: true })
929
- ], MetaDocumentInputDTO.prototype, "links", 2);
930
- __decorateClass$m([
931
- Field(() => String, {
932
- nullable: true,
933
- description: "\u0412\u0435\u0440\u0441\u0438\u044F \u0441\u0431\u043E\u0440\u0449\u0438\u043A\u0430 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 (major.minor); \u0443 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0441\u043E\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0434\u043E \u0435\u0451 \u043F\u043E\u044F\u0432\u043B\u0435\u043D\u0438\u044F, \u043D\u0435 \u0437\u0430\u0434\u0430\u043D\u0430"
934
- }),
935
- IsOptional(),
936
- IsString()
937
- ], MetaDocumentInputDTO.prototype, "builder", 2);
938
- MetaDocumentInputDTO = __decorateClass$m([
939
- InputType("MetaDocumentInput")
940
- ], MetaDocumentInputDTO);
941
-
942
- var __defProp$l = Object.defineProperty;
943
- var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
944
- var __decorateClass$l = (decorators, target, key, kind) => {
945
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
946
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
947
- if (decorator = decorators[i])
948
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
949
- if (kind && result)
950
- __defProp$l(target, key, result);
951
- return result;
952
- };
953
- let GenerateMetaDocumentInputDTO = class {
954
- };
955
- __decorateClass$l([
956
- Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
957
- IsOptional(),
958
- IsString()
959
- ], GenerateMetaDocumentInputDTO.prototype, "title", 2);
960
- __decorateClass$l([
961
- Field(() => Int, { description: "ID \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435" }),
962
- IsNumber()
963
- ], GenerateMetaDocumentInputDTO.prototype, "registry_id", 2);
964
- __decorateClass$l([
965
- Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0435 \u0441 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C" }),
966
- IsString()
967
- ], GenerateMetaDocumentInputDTO.prototype, "coopname", 2);
968
- __decorateClass$l([
969
- Field(() => String, { description: "\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F, \u0441\u043E\u0437\u0434\u0430\u0432\u0448\u0435\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442" }),
970
- IsString()
971
- ], GenerateMetaDocumentInputDTO.prototype, "username", 2);
972
- __decorateClass$l([
973
- Field(() => String, { description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
974
- IsOptional(),
975
- IsEnum(LangType)
976
- ], GenerateMetaDocumentInputDTO.prototype, "lang", 2);
977
- __decorateClass$l([
978
- Field(() => String, { description: "\u0418\u043C\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
979
- IsOptional(),
980
- IsString()
981
- ], GenerateMetaDocumentInputDTO.prototype, "generator", 2);
982
- __decorateClass$l([
983
- Field(() => String, { description: "\u0412\u0435\u0440\u0441\u0438\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
984
- IsOptional(),
985
- IsString()
986
- ], GenerateMetaDocumentInputDTO.prototype, "version", 2);
987
- __decorateClass$l([
988
- Field(() => String, { description: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
989
- IsOptional()
990
- ], GenerateMetaDocumentInputDTO.prototype, "created_at", 2);
991
- __decorateClass$l([
992
- Field(() => Int, { description: "\u041D\u043E\u043C\u0435\u0440 \u0431\u043B\u043E\u043A\u0430, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u0431\u044B\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442", nullable: true }),
993
- IsOptional(),
994
- IsInt()
995
- ], GenerateMetaDocumentInputDTO.prototype, "block_num", 2);
996
- __decorateClass$l([
997
- Field(() => String, { description: "\u0427\u0430\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u044F\u0441, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u043C \u0431\u044B\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442", nullable: true }),
998
- IsOptional(),
999
- IsString()
1000
- ], GenerateMetaDocumentInputDTO.prototype, "timezone", 2);
1001
- __decorateClass$l([
1002
- Field(() => [String], { description: "\u0421\u0441\u044B\u043B\u043A\u0438, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0441 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C", nullable: true }),
1003
- IsOptional(),
1004
- IsArray(),
1005
- IsString({ each: true })
1006
- ], GenerateMetaDocumentInputDTO.prototype, "links", 2);
1007
- GenerateMetaDocumentInputDTO = __decorateClass$l([
1008
- InputType("GenerateMetaDocumentInput")
1009
- ], GenerateMetaDocumentInputDTO);
1010
-
1011
- var __defProp$k = Object.defineProperty;
1012
- var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
1013
- var __decorateClass$k = (decorators, target, key, kind) => {
1014
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
771
+ var __defProp$d = Object.defineProperty;
772
+ var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
773
+ var __decorateClass$d = (decorators, target, key, kind) => {
774
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1015
775
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1016
776
  if (decorator = decorators[i])
1017
777
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1018
778
  if (kind && result)
1019
- __defProp$k(target, key, result);
779
+ __defProp$d(target, key, result);
1020
780
  return result;
1021
781
  };
1022
782
  let ExpenseProposalItemInputDTO = class {
1023
783
  };
1024
- __decorateClass$k([
784
+ __decorateClass$d([
1025
785
  Field(() => String, { description: "\u041F\u043E\u0440\u044F\u0434\u043A\u043E\u0432\u044B\u0439 \u043D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1026
786
  IsString()
1027
787
  ], ExpenseProposalItemInputDTO.prototype, "number", 2);
1028
- __decorateClass$k([
788
+ __decorateClass$d([
1029
789
  Field(() => String, { description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0440\u0430\u0441\u0445\u043E\u0434\u0430" }),
1030
790
  IsString()
1031
791
  ], ExpenseProposalItemInputDTO.prototype, "description", 2);
1032
- __decorateClass$k([
792
+ __decorateClass$d([
1033
793
  Field(() => String, { description: "\u0421\u0443\u043C\u043C\u0430 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1034
794
  IsString()
1035
795
  ], ExpenseProposalItemInputDTO.prototype, "amount", 2);
1036
- __decorateClass$k([
796
+ __decorateClass$d([
1037
797
  Field(() => String, { description: "\u0422\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F (SELF / MEMBER / ORG)" }),
1038
798
  IsString()
1039
799
  ], ExpenseProposalItemInputDTO.prototype, "recipient_type", 2);
1040
- __decorateClass$k([
800
+ __decorateClass$d([
1041
801
  Field(() => String, { description: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043E\u043F\u043B\u0430\u0442\u044B (ADVANCE / DIRECT)" }),
1042
802
  IsString()
1043
803
  ], ExpenseProposalItemInputDTO.prototype, "mechanics", 2);
1044
- __decorateClass$k([
804
+ __decorateClass$d([
1045
805
  Field(() => String, { description: "\u0418\u043C\u044F \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F", nullable: true }),
1046
806
  IsOptional(),
1047
807
  IsString()
1048
808
  ], ExpenseProposalItemInputDTO.prototype, "recipient_name", 2);
1049
- __decorateClass$k([
809
+ __decorateClass$d([
1050
810
  Field(() => String, { description: "\u0420\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u044B \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F", nullable: true }),
1051
811
  IsOptional(),
1052
812
  IsString()
1053
813
  ], ExpenseProposalItemInputDTO.prototype, "requisites", 2);
1054
- __decorateClass$k([
814
+ __decorateClass$d([
1055
815
  Field(() => String, { description: "\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043B\u0430\u0442\u0435\u0436\u0430 \u2014 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439 \u043F\u043E\u0441\u043B\u0435 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432", nullable: true }),
1056
816
  IsOptional(),
1057
817
  IsString()
1058
818
  ], ExpenseProposalItemInputDTO.prototype, "payment_purpose", 2);
1059
- __decorateClass$k([
819
+ __decorateClass$d([
1060
820
  Field(() => String, {
1061
821
  description: "\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0445 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432 \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F-\u043F\u0430\u0439\u0449\u0438\u043A\u0430 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442 \u043F\u043E\u043B\u043D\u044B\u0435 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u044B \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442.",
1062
822
  nullable: true
@@ -1064,7 +824,7 @@ __decorateClass$k([
1064
824
  IsOptional(),
1065
825
  IsString()
1066
826
  ], ExpenseProposalItemInputDTO.prototype, "payment_method_id", 2);
1067
- __decorateClass$k([
827
+ __decorateClass$d([
1068
828
  Field(() => String, {
1069
829
  description: "\u0418\u043C\u044F \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F-\u043F\u0430\u0439\u0449\u0438\u043A\u0430 (\u0432\u043B\u0430\u0434\u0435\u043B\u0435\u0446 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432).",
1070
830
  nullable: true
@@ -1072,7 +832,7 @@ __decorateClass$k([
1072
832
  IsOptional(),
1073
833
  IsString()
1074
834
  ], ExpenseProposalItemInputDTO.prototype, "recipient_username", 2);
1075
- __decorateClass$k([
835
+ __decorateClass$d([
1076
836
  Field(() => Int, {
1077
837
  description: "\u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442-\u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044C \u0438\u0437 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u043A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u043E\u0432 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440 \u043F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442 \u043D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0438 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u044B \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442.",
1078
838
  nullable: true
@@ -1080,60 +840,60 @@ __decorateClass$k([
1080
840
  IsOptional(),
1081
841
  IsInt()
1082
842
  ], ExpenseProposalItemInputDTO.prototype, "counterparty_id", 2);
1083
- ExpenseProposalItemInputDTO = __decorateClass$k([
843
+ ExpenseProposalItemInputDTO = __decorateClass$d([
1084
844
  InputType("ExpenseProposalItemInput")
1085
845
  ], ExpenseProposalItemInputDTO);
1086
846
  let ExpenseProposalSignedItemInputDTO = class {
1087
847
  };
1088
- __decorateClass$k([
848
+ __decorateClass$d([
1089
849
  Field(() => String, { description: "\u041F\u043E\u0440\u044F\u0434\u043A\u043E\u0432\u044B\u0439 \u043D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1090
850
  IsString()
1091
851
  ], ExpenseProposalSignedItemInputDTO.prototype, "number", 2);
1092
- __decorateClass$k([
852
+ __decorateClass$d([
1093
853
  Field(() => String, { description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0440\u0430\u0441\u0445\u043E\u0434\u0430" }),
1094
854
  IsString()
1095
855
  ], ExpenseProposalSignedItemInputDTO.prototype, "description", 2);
1096
- __decorateClass$k([
856
+ __decorateClass$d([
1097
857
  Field(() => String, { description: "\u0421\u0443\u043C\u043C\u0430 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1098
858
  IsString()
1099
859
  ], ExpenseProposalSignedItemInputDTO.prototype, "amount", 2);
1100
- __decorateClass$k([
860
+ __decorateClass$d([
1101
861
  Field(() => String, { description: "\u0422\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F (SELF / MEMBER / ORG)" }),
1102
862
  IsString()
1103
863
  ], ExpenseProposalSignedItemInputDTO.prototype, "recipient_type", 2);
1104
- __decorateClass$k([
864
+ __decorateClass$d([
1105
865
  Field(() => String, { description: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043E\u043F\u043B\u0430\u0442\u044B (ADVANCE / DIRECT)" }),
1106
866
  IsString()
1107
867
  ], ExpenseProposalSignedItemInputDTO.prototype, "mechanics", 2);
1108
- ExpenseProposalSignedItemInputDTO = __decorateClass$k([
868
+ ExpenseProposalSignedItemInputDTO = __decorateClass$d([
1109
869
  InputType("ExpenseProposalSignedItemInput")
1110
870
  ], ExpenseProposalSignedItemInputDTO);
1111
871
  let ExpenseProposalHeaderInputDTO = class {
1112
872
  };
1113
- __decorateClass$k([
873
+ __decorateClass$d([
1114
874
  Field(() => String, { description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0446\u0435\u043B\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432" }),
1115
875
  IsString()
1116
876
  ], ExpenseProposalHeaderInputDTO.prototype, "description", 2);
1117
- __decorateClass$k([
877
+ __decorateClass$d([
1118
878
  Field(() => String, { description: "\u0418\u0442\u043E\u0433\u043E\u0432\u0430\u044F \u0441\u0443\u043C\u043C\u0430 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432" }),
1119
879
  IsString()
1120
880
  ], ExpenseProposalHeaderInputDTO.prototype, "total_amount", 2);
1121
- __decorateClass$k([
881
+ __decorateClass$d([
1122
882
  Field(() => Int, { description: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E\u0437\u0438\u0446\u0438\u0439" }),
1123
883
  IsInt()
1124
884
  ], ExpenseProposalHeaderInputDTO.prototype, "items_count", 2);
1125
- __decorateClass$k([
885
+ __decorateClass$d([
1126
886
  Field(() => String, { description: "\u041A\u043E\u0448\u0435\u043B\u0451\u043A-\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A" }),
1127
887
  IsString()
1128
888
  ], ExpenseProposalHeaderInputDTO.prototype, "source_wallet", 2);
1129
- __decorateClass$k([
889
+ __decorateClass$d([
1130
890
  Field(() => String, { description: "\u0421\u0440\u043E\u043A \u0438\u0441\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F (\xAB\u0432 \u0441\u0440\u043E\u043A \u0434\u043E\xBB), \u0444\u043E\u0440\u043C\u0430\u0442 DD.MM.YYYY" }),
1131
891
  IsString(),
1132
892
  Matches(/^\d{2}\.\d{2}\.\d{4}$/, {
1133
893
  message: validationMessage("kit.expenseStatement.dueDateFormat")
1134
894
  })
1135
895
  ], ExpenseProposalHeaderInputDTO.prototype, "deadline", 2);
1136
- __decorateClass$k([
896
+ __decorateClass$d([
1137
897
  Field(() => String, {
1138
898
  description: "\u0424\u043E\u043D\u0434 \u0441\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u2014 \u043F\u043E\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0441\u0435\u0440\u0432\u0435\u0440\u043E\u043C \u0438\u0437 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0448\u0430\u0441\u0441\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432, \u043F\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u0435 \u043D\u0443\u0436\u043D\u043E",
1139
899
  nullable: true
@@ -1141,56 +901,56 @@ __decorateClass$k([
1141
901
  IsOptional(),
1142
902
  IsString()
1143
903
  ], ExpenseProposalHeaderInputDTO.prototype, "fund_name", 2);
1144
- ExpenseProposalHeaderInputDTO = __decorateClass$k([
904
+ ExpenseProposalHeaderInputDTO = __decorateClass$d([
1145
905
  InputType("ExpenseProposalHeaderInput")
1146
906
  ], ExpenseProposalHeaderInputDTO);
1147
907
  let BaseExpenseProposalStatementGenerateMetaDocumentInputDTO = class {
1148
908
  };
1149
- __decorateClass$k([
909
+ __decorateClass$d([
1150
910
  Field(() => String, { description: "\u0425\u0435\u0448 \u0441\u043C\u0435\u0442\u044B \u0440\u0430\u0441\u0445\u043E\u0434\u0430 (\u0434\u0435\u0442\u0435\u0440\u043C\u0438\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439)" }),
1151
911
  IsString(),
1152
912
  IsNotEmpty()
1153
913
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO.prototype, "proposal_hash", 2);
1154
- __decorateClass$k([
914
+ __decorateClass$d([
1155
915
  Field(() => ExpenseProposalHeaderInputDTO, { description: "\u0428\u0430\u043F\u043A\u0430 \u0421\u0417" }),
1156
916
  ValidateNested(),
1157
917
  Type(() => ExpenseProposalHeaderInputDTO)
1158
918
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO.prototype, "proposal", 2);
1159
- __decorateClass$k([
919
+ __decorateClass$d([
1160
920
  Field(() => [ExpenseProposalItemInputDTO], { description: "\u041F\u043E\u0437\u0438\u0446\u0438\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u0430" }),
1161
921
  IsArray(),
1162
922
  ArrayMinSize(1),
1163
923
  ValidateNested({ each: true }),
1164
924
  Type(() => ExpenseProposalItemInputDTO)
1165
925
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO.prototype, "items", 2);
1166
- BaseExpenseProposalStatementGenerateMetaDocumentInputDTO = __decorateClass$k([
926
+ BaseExpenseProposalStatementGenerateMetaDocumentInputDTO = __decorateClass$d([
1167
927
  InputType("BaseExpenseProposalStatementGenerateMetaDocumentInput")
1168
928
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO);
1169
929
  let BaseExpenseProposalStatementSignedMetaDocumentInputDTO = class {
1170
930
  };
1171
- __decorateClass$k([
931
+ __decorateClass$d([
1172
932
  Field(() => String, { description: "\u0425\u0435\u0448 \u0441\u043C\u0435\u0442\u044B \u0440\u0430\u0441\u0445\u043E\u0434\u0430 (\u0434\u0435\u0442\u0435\u0440\u043C\u0438\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439)" }),
1173
933
  IsString(),
1174
934
  IsNotEmpty()
1175
935
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "proposal_hash", 2);
1176
- __decorateClass$k([
936
+ __decorateClass$d([
1177
937
  Field(() => ExpenseProposalHeaderInputDTO, { description: "\u0428\u0430\u043F\u043A\u0430 \u0421\u0417" }),
1178
938
  ValidateNested(),
1179
939
  Type(() => ExpenseProposalHeaderInputDTO)
1180
940
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "proposal", 2);
1181
- __decorateClass$k([
941
+ __decorateClass$d([
1182
942
  Field(() => [ExpenseProposalSignedItemInputDTO], { description: "\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u0430 (\u0431\u0435\u0437 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432)" }),
1183
943
  IsArray(),
1184
944
  ArrayMinSize(1),
1185
945
  ValidateNested({ each: true }),
1186
946
  Type(() => ExpenseProposalSignedItemInputDTO)
1187
947
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "items", 2);
1188
- __decorateClass$k([
948
+ __decorateClass$d([
1189
949
  Field(() => String, { description: "\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0440\u0438\u0432\u0430\u0442\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 off-chain (\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u044B/\u0438\u043C\u044F/\u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435)" }),
1190
950
  IsString(),
1191
951
  IsNotEmpty()
1192
952
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "doc_data_hash", 2);
1193
- BaseExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$k([
953
+ BaseExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$d([
1194
954
  InputType("BaseExpenseProposalStatementSignedMetaDocumentInput")
1195
955
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO);
1196
956
  let ExpenseProposalStatementGenerateDocumentInputDTO = class extends IntersectionType(
@@ -1198,7 +958,7 @@ let ExpenseProposalStatementGenerateDocumentInputDTO = class extends Intersectio
1198
958
  OmitType(GenerateMetaDocumentInputDTO, ["registry_id"])
1199
959
  ) {
1200
960
  };
1201
- ExpenseProposalStatementGenerateDocumentInputDTO = __decorateClass$k([
961
+ ExpenseProposalStatementGenerateDocumentInputDTO = __decorateClass$d([
1202
962
  InputType("ExpenseProposalStatementGenerateDocumentInput")
1203
963
  ], ExpenseProposalStatementGenerateDocumentInputDTO);
1204
964
  let ExpenseProposalStatementSignedMetaDocumentInputDTO = class extends IntersectionType(
@@ -1206,17 +966,17 @@ let ExpenseProposalStatementSignedMetaDocumentInputDTO = class extends Intersect
1206
966
  MetaDocumentInputDTO
1207
967
  ) {
1208
968
  };
1209
- ExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$k([
969
+ ExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$d([
1210
970
  InputType("ExpenseProposalStatementSignedMetaDocumentInput")
1211
971
  ], ExpenseProposalStatementSignedMetaDocumentInputDTO);
1212
972
  let ExpenseProposalStatementSignedDocumentInputDTO = class extends SignedDigitalDocumentInputDTO {
1213
973
  };
1214
- __decorateClass$k([
974
+ __decorateClass$d([
1215
975
  Field(() => ExpenseProposalStatementSignedMetaDocumentInputDTO, {
1216
976
  description: "\u041C\u0435\u0442\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0421\u0417-\u0437\u0430\u044F\u0432\u043B\u0435\u043D\u0438\u044F"
1217
977
  })
1218
978
  ], ExpenseProposalStatementSignedDocumentInputDTO.prototype, "meta", 2);
1219
- ExpenseProposalStatementSignedDocumentInputDTO = __decorateClass$k([
979
+ ExpenseProposalStatementSignedDocumentInputDTO = __decorateClass$d([
1220
980
  InputType("ExpenseProposalStatementSignedDocumentInput")
1221
981
  ], ExpenseProposalStatementSignedDocumentInputDTO);
1222
982
 
@@ -1277,15 +1037,15 @@ function expensePlanReserveMonths(periodMonths) {
1277
1037
 
1278
1038
  const DOCUMENT_GENERATION_THROTTLE = { default: { limit: 60, ttl: 6e4 } };
1279
1039
 
1280
- var __defProp$j = Object.defineProperty;
1281
- var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
1282
- var __decorateClass$j = (decorators, target, key, kind) => {
1283
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
1040
+ var __defProp$c = Object.defineProperty;
1041
+ var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1042
+ var __decorateClass$c = (decorators, target, key, kind) => {
1043
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1284
1044
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1285
1045
  if (decorator = decorators[i])
1286
1046
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1287
1047
  if (kind && result)
1288
- __defProp$j(target, key, result);
1048
+ __defProp$c(target, key, result);
1289
1049
  return result;
1290
1050
  };
1291
1051
  var CandidateStatus = /* @__PURE__ */ ((CandidateStatus2) => {
@@ -1299,63 +1059,63 @@ registerEnumType(CandidateStatus, {
1299
1059
  });
1300
1060
  let CandidateOutputDTO = class {
1301
1061
  };
1302
- __decorateClass$j([
1062
+ __decorateClass$c([
1303
1063
  Field(() => String)
1304
1064
  ], CandidateOutputDTO.prototype, "username", 2);
1305
- __decorateClass$j([
1065
+ __decorateClass$c([
1306
1066
  Field(() => String, { nullable: true })
1307
1067
  ], CandidateOutputDTO.prototype, "username_display_name", 2);
1308
- __decorateClass$j([
1068
+ __decorateClass$c([
1309
1069
  Field(() => String)
1310
1070
  ], CandidateOutputDTO.prototype, "coopname", 2);
1311
- __decorateClass$j([
1071
+ __decorateClass$c([
1312
1072
  Field(() => String, { nullable: true })
1313
1073
  ], CandidateOutputDTO.prototype, "braname", 2);
1314
- __decorateClass$j([
1074
+ __decorateClass$c([
1315
1075
  Field(() => CandidateStatus)
1316
1076
  ], CandidateOutputDTO.prototype, "status", 2);
1317
- __decorateClass$j([
1077
+ __decorateClass$c([
1318
1078
  Field(() => String)
1319
1079
  ], CandidateOutputDTO.prototype, "type", 2);
1320
- __decorateClass$j([
1080
+ __decorateClass$c([
1321
1081
  Field(() => Date)
1322
1082
  ], CandidateOutputDTO.prototype, "created_at", 2);
1323
- __decorateClass$j([
1083
+ __decorateClass$c([
1324
1084
  Field(() => Date, { nullable: true })
1325
1085
  ], CandidateOutputDTO.prototype, "registered_at", 2);
1326
- __decorateClass$j([
1086
+ __decorateClass$c([
1327
1087
  Field(() => String, { nullable: true })
1328
1088
  ], CandidateOutputDTO.prototype, "referer", 2);
1329
- __decorateClass$j([
1089
+ __decorateClass$c([
1330
1090
  Field(() => String, { nullable: true })
1331
1091
  ], CandidateOutputDTO.prototype, "referer_display_name", 2);
1332
- __decorateClass$j([
1092
+ __decorateClass$c([
1333
1093
  Field(() => String)
1334
1094
  ], CandidateOutputDTO.prototype, "public_key", 2);
1335
- __decorateClass$j([
1095
+ __decorateClass$c([
1336
1096
  Field(() => String, { nullable: true })
1337
1097
  ], CandidateOutputDTO.prototype, "program_key", 2);
1338
- CandidateOutputDTO = __decorateClass$j([
1098
+ CandidateOutputDTO = __decorateClass$c([
1339
1099
  ObjectType("Candidate")
1340
1100
  ], CandidateOutputDTO);
1341
1101
 
1342
- var __defProp$i = Object.defineProperty;
1343
- var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
1344
- var __decorateClass$i = (decorators, target, key, kind) => {
1345
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
1102
+ var __defProp$b = Object.defineProperty;
1103
+ var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1104
+ var __decorateClass$b = (decorators, target, key, kind) => {
1105
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1346
1106
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1347
1107
  if (decorator = decorators[i])
1348
1108
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1349
1109
  if (kind && result)
1350
- __defProp$i(target, key, result);
1110
+ __defProp$b(target, key, result);
1351
1111
  return result;
1352
1112
  };
1353
1113
  let CandidateFilterInputDTO = class {
1354
1114
  };
1355
- __decorateClass$i([
1115
+ __decorateClass$b([
1356
1116
  Field(() => String, { nullable: true })
1357
1117
  ], CandidateFilterInputDTO.prototype, "referer", 2);
1358
- CandidateFilterInputDTO = __decorateClass$i([
1118
+ CandidateFilterInputDTO = __decorateClass$b([
1359
1119
  InputType("CandidateFilterInput")
1360
1120
  ], CandidateFilterInputDTO);
1361
1121
 
@@ -1434,64 +1194,6 @@ function resetExtensionDatabaseMigrations() {
1434
1194
  migrations = void 0;
1435
1195
  }
1436
1196
 
1437
- var __defProp$h = Object.defineProperty;
1438
- var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
1439
- var __decorateClass$h = (decorators, target, key, kind) => {
1440
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
1441
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
1442
- if (decorator = decorators[i])
1443
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1444
- if (kind && result)
1445
- __defProp$h(target, key, result);
1446
- return result;
1447
- };
1448
- const SORT_FIELD_PATTERN = /^([A-Za-z_][A-Za-z0-9_]*(:(asc|desc))?)?$/i;
1449
- let PaginationInputDTO = class {
1450
- };
1451
- __decorateClass$h([
1452
- Field(() => Int, { description: "\u041D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B", defaultValue: 1 })
1453
- ], PaginationInputDTO.prototype, "page", 2);
1454
- __decorateClass$h([
1455
- Field(() => Int, { description: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435", defaultValue: 10 })
1456
- ], PaginationInputDTO.prototype, "limit", 2);
1457
- __decorateClass$h([
1458
- Field(() => String, { nullable: true, description: '\u041A\u043B\u044E\u0447 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "name")' }),
1459
- IsOptional(),
1460
- Matches(SORT_FIELD_PATTERN, { message: validationMessage("kit.pagination.invalidSortField") })
1461
- ], PaginationInputDTO.prototype, "sortBy", 2);
1462
- __decorateClass$h([
1463
- Field(() => String, {
1464
- description: '\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 ("ASC" \u0438\u043B\u0438 "DESC")',
1465
- defaultValue: "ASC"
1466
- }),
1467
- IsOptional(),
1468
- IsIn(["ASC", "DESC"], { message: validationMessage("kit.pagination.invalidSortOrder") })
1469
- ], PaginationInputDTO.prototype, "sortOrder", 2);
1470
- PaginationInputDTO = __decorateClass$h([
1471
- InputType("PaginationInput")
1472
- ], PaginationInputDTO);
1473
- class PaginationResult {
1474
- }
1475
- function createPaginationResult(ItemType, name) {
1476
- let PaginationResult2 = class {
1477
- };
1478
- __decorateClass$h([
1479
- Field(() => [ItemType], { description: "\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B" })
1480
- ], PaginationResult2.prototype, "items", 2);
1481
- __decorateClass$h([
1482
- Field(() => Int, { description: "\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432" })
1483
- ], PaginationResult2.prototype, "totalCount", 2);
1484
- __decorateClass$h([
1485
- Field(() => Int, { description: "\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0440\u0430\u043D\u0438\u0446" })
1486
- ], PaginationResult2.prototype, "totalPages", 2);
1487
- __decorateClass$h([
1488
- Field(() => Int, { description: "\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430" })
1489
- ], PaginationResult2.prototype, "currentPage", 2);
1490
- PaginationResult2 = __decorateClass$h([
1491
- ObjectType(`${name}PaginationResult`, { isAbstract: true })
1492
- ], PaginationResult2);
1493
- return PaginationResult2;
1494
- }
1495
1197
  function buildPaginationResult(raw, options, mapItem) {
1496
1198
  const limit = options?.limit;
1497
1199
  const page = options?.page != null ? Math.max(1, options.page) : 1;
@@ -1538,7 +1240,7 @@ class PaginationUtils {
1538
1240
  if (limit < 1 || limit > 1e3) {
1539
1241
  throw DomainError.badRequest("KIT_PAGE_LIMIT_INVALID");
1540
1242
  }
1541
- if (sortOrder !== "ASC" && sortOrder !== "DESC") {
1243
+ if (!SORT_ORDERS.includes(sortOrder)) {
1542
1244
  throw DomainError.badRequest("KIT_SORT_ORDER_INVALID");
1543
1245
  }
1544
1246
  if (sortBy !== void 0 && sortBy !== null && !SORT_FIELD_PATTERN.test(sortBy)) {
@@ -1564,255 +1266,255 @@ function paginationInputToOffset(options) {
1564
1266
  };
1565
1267
  }
1566
1268
 
1567
- var __defProp$g = Object.defineProperty;
1568
- var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
1569
- var __decorateClass$g = (decorators, target, key, kind) => {
1570
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
1269
+ var __defProp$a = Object.defineProperty;
1270
+ var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
1271
+ var __decorateClass$a = (decorators, target, key, kind) => {
1272
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
1571
1273
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1572
1274
  if (decorator = decorators[i])
1573
1275
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1574
1276
  if (kind && result)
1575
- __defProp$g(target, key, result);
1277
+ __defProp$a(target, key, result);
1576
1278
  return result;
1577
1279
  };
1578
1280
  let Ledger2AccountDTO = class {
1579
1281
  };
1580
- __decorateClass$g([
1282
+ __decorateClass$a([
1581
1283
  Field(() => Int, { description: "ID \u0441\u0447\u0451\u0442\u0430 (\xD71000 offset): 51000/80000/86000/..." })
1582
1284
  ], Ledger2AccountDTO.prototype, "id", 2);
1583
- __decorateClass$g([
1285
+ __decorateClass$a([
1584
1286
  Field(() => String, { description: "\u0420\u0443\u0441\u0441\u043A\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0441\u0447\u0451\u0442\u0430 \u0438\u0437 \u043F\u043B\u0430\u043D\u0430" })
1585
1287
  ], Ledger2AccountDTO.prototype, "name", 2);
1586
- __decorateClass$g([
1288
+ __decorateClass$a([
1587
1289
  Field(() => String, { description: '\u0421\u0430\u043B\u044C\u0434\u043E (EOSIO asset: "7000.0000 RUB")' })
1588
1290
  ], Ledger2AccountDTO.prototype, "balance", 2);
1589
- __decorateClass$g([
1291
+ __decorateClass$a([
1590
1292
  Field(() => String, { description: "\u0414\u0435\u0431\u0435\u0442\u043E\u0432\u044B\u0439 \u043E\u0431\u043E\u0440\u043E\u0442" })
1591
1293
  ], Ledger2AccountDTO.prototype, "debitBalance", 2);
1592
- __decorateClass$g([
1294
+ __decorateClass$a([
1593
1295
  Field(() => String, { description: "\u041A\u0440\u0435\u0434\u0438\u0442\u043E\u0432\u044B\u0439 \u043E\u0431\u043E\u0440\u043E\u0442" })
1594
1296
  ], Ledger2AccountDTO.prototype, "creditBalance", 2);
1595
- __decorateClass$g([
1297
+ __decorateClass$a([
1596
1298
  Field(() => Int, { description: "0 = active (\u0434\u0435\u0431\u0435\u0442\u043E\u0432\u044B\u0439), 1 = passive (\u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432\u044B\u0439)" })
1597
1299
  ], Ledger2AccountDTO.prototype, "accountType", 2);
1598
- Ledger2AccountDTO = __decorateClass$g([
1300
+ Ledger2AccountDTO = __decorateClass$a([
1599
1301
  ObjectType("Ledger2Account")
1600
1302
  ], Ledger2AccountDTO);
1601
1303
 
1602
- var __defProp$f = Object.defineProperty;
1603
- var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
1604
- var __decorateClass$f = (decorators, target, key, kind) => {
1605
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
1304
+ var __defProp$9 = Object.defineProperty;
1305
+ var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
1306
+ var __decorateClass$9 = (decorators, target, key, kind) => {
1307
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
1606
1308
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1607
1309
  if (decorator = decorators[i])
1608
1310
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1609
1311
  if (kind && result)
1610
- __defProp$f(target, key, result);
1312
+ __defProp$9(target, key, result);
1611
1313
  return result;
1612
1314
  };
1613
1315
  let Ledger2WalletDTO = class {
1614
1316
  };
1615
- __decorateClass$f([
1317
+ __decorateClass$9([
1616
1318
  Field(() => String, { description: "eosio::name-\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430 (w.<contract>.<waltype>)" })
1617
1319
  ], Ledger2WalletDTO.prototype, "id", 2);
1618
- __decorateClass$f([
1320
+ __decorateClass$9([
1619
1321
  Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430" })
1620
1322
  ], Ledger2WalletDTO.prototype, "name", 2);
1621
- __decorateClass$f([
1323
+ __decorateClass$9([
1622
1324
  Field(() => String, { description: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0431\u0430\u043B\u0430\u043D\u0441" })
1623
1325
  ], Ledger2WalletDTO.prototype, "available", 2);
1624
- Ledger2WalletDTO = __decorateClass$f([
1326
+ Ledger2WalletDTO = __decorateClass$9([
1625
1327
  ObjectType("Ledger2Wallet")
1626
1328
  ], Ledger2WalletDTO);
1627
1329
 
1628
- var __defProp$e = Object.defineProperty;
1629
- var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
1630
- var __decorateClass$e = (decorators, target, key, kind) => {
1631
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
1330
+ var __defProp$8 = Object.defineProperty;
1331
+ var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
1332
+ var __decorateClass$8 = (decorators, target, key, kind) => {
1333
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
1632
1334
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1633
1335
  if (decorator = decorators[i])
1634
1336
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1635
1337
  if (kind && result)
1636
- __defProp$e(target, key, result);
1338
+ __defProp$8(target, key, result);
1637
1339
  return result;
1638
1340
  };
1639
1341
  let Ledger2OperationDTO = class {
1640
1342
  };
1641
- __decorateClass$e([
1343
+ __decorateClass$8([
1642
1344
  Field(() => String, {
1643
1345
  description: "global_sequence \u0431\u043B\u043E\u043A\u0447\u0435\u0439\u043D\u0430 (\u0441\u0442\u0440\u043E\u043A\u0430 \u2014 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0434\u043E 2^53 overflow)"
1644
1346
  })
1645
1347
  ], Ledger2OperationDTO.prototype, "globalSequence", 2);
1646
- __decorateClass$e([
1348
+ __decorateClass$8([
1647
1349
  Field(() => Int)
1648
1350
  ], Ledger2OperationDTO.prototype, "blockNum", 2);
1649
- __decorateClass$e([
1351
+ __decorateClass$8([
1650
1352
  Field(() => String)
1651
1353
  ], Ledger2OperationDTO.prototype, "coopname", 2);
1652
- __decorateClass$e([
1354
+ __decorateClass$8([
1653
1355
  Field(() => String, {
1654
1356
  description: "apply | walletop | debit | credit"
1655
1357
  })
1656
1358
  ], Ledger2OperationDTO.prototype, "action", 2);
1657
- __decorateClass$e([
1359
+ __decorateClass$8([
1658
1360
  Field(() => String, {
1659
1361
  nullable: true,
1660
1362
  description: "\u0414\u043B\u044F apply: OPERATION_REGISTRY code (o.cap.lend / o.wal.depcpl / ...)"
1661
1363
  })
1662
1364
  ], Ledger2OperationDTO.prototype, "operationCode", 2);
1663
- __decorateClass$e([
1365
+ __decorateClass$8([
1664
1366
  Field(() => String, { nullable: true, description: "process_hash (32-hex)" })
1665
1367
  ], Ledger2OperationDTO.prototype, "processHash", 2);
1666
- __decorateClass$e([
1368
+ __decorateClass$8([
1667
1369
  Field(() => String, { nullable: true })
1668
1370
  ], Ledger2OperationDTO.prototype, "username", 2);
1669
- __decorateClass$e([
1371
+ __decorateClass$8([
1670
1372
  Field(() => Int, { nullable: true, description: "ID \u0441\u0447\u0451\u0442\u0430/\u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430 (\xD71000)" })
1671
1373
  ], Ledger2OperationDTO.prototype, "accountId", 2);
1672
- __decorateClass$e([
1374
+ __decorateClass$8([
1673
1375
  Field(() => String, { nullable: true, description: "walletop: wallet_from (eosio::name w.<contract>.<waltype>)" })
1674
1376
  ], Ledger2OperationDTO.prototype, "walletFrom", 2);
1675
- __decorateClass$e([
1377
+ __decorateClass$8([
1676
1378
  Field(() => String, { nullable: true, description: "walletop: wallet_to (eosio::name w.<contract>.<waltype>)" })
1677
1379
  ], Ledger2OperationDTO.prototype, "walletTo", 2);
1678
- __decorateClass$e([
1380
+ __decorateClass$8([
1679
1381
  Field(() => String, { nullable: true, description: 'Asset "100.0000 RUB"' })
1680
1382
  ], Ledger2OperationDTO.prototype, "quantity", 2);
1681
- __decorateClass$e([
1383
+ __decorateClass$8([
1682
1384
  Field(() => String, { nullable: true })
1683
1385
  ], Ledger2OperationDTO.prototype, "memo", 2);
1684
- __decorateClass$e([
1386
+ __decorateClass$8([
1685
1387
  Field(() => String, {
1686
1388
  nullable: true,
1687
1389
  description: "global_sequence \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0433\u043E apply (parser2: transaction_id + action_ordinal=this.creator_action_ordinal) \u2014 \u0434\u043B\u044F \u0442\u043E\u0447\u0435\u0447\u043D\u043E\u0433\u043E cross-link \u043D\u0430 \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u0443\u044E \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E."
1688
1390
  })
1689
1391
  ], Ledger2OperationDTO.prototype, "parentApplyGlobalSequence", 2);
1690
- __decorateClass$e([
1392
+ __decorateClass$8([
1691
1393
  Field(() => Date)
1692
1394
  ], Ledger2OperationDTO.prototype, "createdAt", 2);
1693
- Ledger2OperationDTO = __decorateClass$e([
1395
+ Ledger2OperationDTO = __decorateClass$8([
1694
1396
  ObjectType("Ledger2Operation")
1695
1397
  ], Ledger2OperationDTO);
1696
1398
  let Ledger2HistoryResponseDTO = class {
1697
1399
  };
1698
- __decorateClass$e([
1400
+ __decorateClass$8([
1699
1401
  Field(() => [Ledger2OperationDTO])
1700
1402
  ], Ledger2HistoryResponseDTO.prototype, "items", 2);
1701
- __decorateClass$e([
1403
+ __decorateClass$8([
1702
1404
  Field(() => Int)
1703
1405
  ], Ledger2HistoryResponseDTO.prototype, "totalCount", 2);
1704
- __decorateClass$e([
1406
+ __decorateClass$8([
1705
1407
  Field(() => Int)
1706
1408
  ], Ledger2HistoryResponseDTO.prototype, "totalPages", 2);
1707
- __decorateClass$e([
1409
+ __decorateClass$8([
1708
1410
  Field(() => Int)
1709
1411
  ], Ledger2HistoryResponseDTO.prototype, "currentPage", 2);
1710
- Ledger2HistoryResponseDTO = __decorateClass$e([
1412
+ Ledger2HistoryResponseDTO = __decorateClass$8([
1711
1413
  ObjectType("Ledger2HistoryResponse")
1712
1414
  ], Ledger2HistoryResponseDTO);
1713
1415
 
1714
- var __defProp$d = Object.defineProperty;
1715
- var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
1716
- var __decorateClass$d = (decorators, target, key, kind) => {
1717
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1416
+ var __defProp$7 = Object.defineProperty;
1417
+ var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
1418
+ var __decorateClass$7 = (decorators, target, key, kind) => {
1419
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
1718
1420
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1719
1421
  if (decorator = decorators[i])
1720
1422
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1721
1423
  if (kind && result)
1722
- __defProp$d(target, key, result);
1424
+ __defProp$7(target, key, result);
1723
1425
  return result;
1724
1426
  };
1725
1427
  let Ledger2PostingDTO = class {
1726
1428
  };
1727
- __decorateClass$d([
1429
+ __decorateClass$7([
1728
1430
  Field(() => String, { description: "\u0421\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0434\u043B\u044F UI: debitSeq_creditSeq" })
1729
1431
  ], Ledger2PostingDTO.prototype, "key", 2);
1730
- __decorateClass$d([
1432
+ __decorateClass$7([
1731
1433
  Field(() => Int)
1732
1434
  ], Ledger2PostingDTO.prototype, "blockNum", 2);
1733
- __decorateClass$d([
1435
+ __decorateClass$7([
1734
1436
  Field(() => String, { nullable: true, description: "process_hash (32-hex)" })
1735
1437
  ], Ledger2PostingDTO.prototype, "processHash", 2);
1736
- __decorateClass$d([
1438
+ __decorateClass$7([
1737
1439
  Field(() => String, {
1738
1440
  nullable: true,
1739
1441
  description: "OPERATION_REGISTRY \u043A\u043E\u0434 \u0438\u0437 parent apply (`o.cap.lend` / `o.wal.depcpl` / ...)"
1740
1442
  })
1741
1443
  ], Ledger2PostingDTO.prototype, "operationCode", 2);
1742
- __decorateClass$d([
1444
+ __decorateClass$7([
1743
1445
  Field(() => String, {
1744
1446
  nullable: true,
1745
1447
  description: "global_sequence parent apply (\u0434\u043B\u044F cross-link \u0432 \u0440\u0435\u0435\u0441\u0442\u0440 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439)"
1746
1448
  })
1747
1449
  ], Ledger2PostingDTO.prototype, "parentApplyGlobalSequence", 2);
1748
- __decorateClass$d([
1450
+ __decorateClass$7([
1749
1451
  Field(() => String, { nullable: true, description: "global_sequence debit-action" })
1750
1452
  ], Ledger2PostingDTO.prototype, "debitGlobalSequence", 2);
1751
- __decorateClass$d([
1453
+ __decorateClass$7([
1752
1454
  Field(() => Int, { nullable: true, description: "id \u0431\u0443\u0445.\u0441\u0447\u0451\u0442\u0430 debit (\xD71000)" })
1753
1455
  ], Ledger2PostingDTO.prototype, "debitAccountId", 2);
1754
- __decorateClass$d([
1456
+ __decorateClass$7([
1755
1457
  Field(() => String, { nullable: true, description: "global_sequence credit-action" })
1756
1458
  ], Ledger2PostingDTO.prototype, "creditGlobalSequence", 2);
1757
- __decorateClass$d([
1459
+ __decorateClass$7([
1758
1460
  Field(() => Int, { nullable: true, description: "id \u0431\u0443\u0445.\u0441\u0447\u0451\u0442\u0430 credit (\xD71000)" })
1759
1461
  ], Ledger2PostingDTO.prototype, "creditAccountId", 2);
1760
- __decorateClass$d([
1462
+ __decorateClass$7([
1761
1463
  Field(() => String, { nullable: true, description: 'Asset "100.0000 RUB"' })
1762
1464
  ], Ledger2PostingDTO.prototype, "quantity", 2);
1763
- __decorateClass$d([
1465
+ __decorateClass$7([
1764
1466
  Field(() => String, { nullable: true })
1765
1467
  ], Ledger2PostingDTO.prototype, "memo", 2);
1766
- __decorateClass$d([
1468
+ __decorateClass$7([
1767
1469
  Field(() => String, { nullable: true })
1768
1470
  ], Ledger2PostingDTO.prototype, "username", 2);
1769
- __decorateClass$d([
1471
+ __decorateClass$7([
1770
1472
  Field(() => Date)
1771
1473
  ], Ledger2PostingDTO.prototype, "createdAt", 2);
1772
- Ledger2PostingDTO = __decorateClass$d([
1474
+ Ledger2PostingDTO = __decorateClass$7([
1773
1475
  ObjectType("Ledger2Posting")
1774
1476
  ], Ledger2PostingDTO);
1775
1477
  let Ledger2PostingsResponseDTO = class {
1776
1478
  };
1777
- __decorateClass$d([
1479
+ __decorateClass$7([
1778
1480
  Field(() => [Ledger2PostingDTO])
1779
1481
  ], Ledger2PostingsResponseDTO.prototype, "items", 2);
1780
- __decorateClass$d([
1482
+ __decorateClass$7([
1781
1483
  Field(() => Int)
1782
1484
  ], Ledger2PostingsResponseDTO.prototype, "totalCount", 2);
1783
- __decorateClass$d([
1485
+ __decorateClass$7([
1784
1486
  Field(() => Int)
1785
1487
  ], Ledger2PostingsResponseDTO.prototype, "totalPages", 2);
1786
- __decorateClass$d([
1488
+ __decorateClass$7([
1787
1489
  Field(() => Int)
1788
1490
  ], Ledger2PostingsResponseDTO.prototype, "currentPage", 2);
1789
- Ledger2PostingsResponseDTO = __decorateClass$d([
1491
+ Ledger2PostingsResponseDTO = __decorateClass$7([
1790
1492
  ObjectType("Ledger2PostingsResponse")
1791
1493
  ], Ledger2PostingsResponseDTO);
1792
1494
 
1793
- var __defProp$c = Object.defineProperty;
1794
- var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1795
- var __decorateClass$c = (decorators, target, key, kind) => {
1796
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1495
+ var __defProp$6 = Object.defineProperty;
1496
+ var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
1497
+ var __decorateClass$6 = (decorators, target, key, kind) => {
1498
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
1797
1499
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1798
1500
  if (decorator = decorators[i])
1799
1501
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1800
1502
  if (kind && result)
1801
- __defProp$c(target, key, result);
1503
+ __defProp$6(target, key, result);
1802
1504
  return result;
1803
1505
  };
1804
1506
  let GetLedger2HistoryInputDTO = class {
1805
1507
  };
1806
- __decorateClass$c([
1508
+ __decorateClass$6([
1807
1509
  Field(() => String),
1808
1510
  IsString()
1809
1511
  ], GetLedger2HistoryInputDTO.prototype, "coopname", 2);
1810
- __decorateClass$c([
1512
+ __decorateClass$6([
1811
1513
  Field(() => Int, { nullable: true, description: "\u0411\u0443\u0445.\u0441\u0447\u0451\u0442 (\xD71000): 51000/80000/86000 \u2014 \u0434\u043B\u044F debit/credit \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439." }),
1812
1514
  IsOptional(),
1813
1515
  IsInt()
1814
1516
  ], GetLedger2HistoryInputDTO.prototype, "accountId", 2);
1815
- __decorateClass$c([
1517
+ __decorateClass$6([
1816
1518
  Field(() => String, {
1817
1519
  nullable: true,
1818
1520
  description: "eosio::name \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430 (`w.<contract>.<waltype>`) \u2014 \u0434\u043B\u044F walletop \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439."
@@ -1821,7 +1523,7 @@ __decorateClass$c([
1821
1523
  IsString(),
1822
1524
  MaxLength(13)
1823
1525
  ], GetLedger2HistoryInputDTO.prototype, "walletName", 2);
1824
- __decorateClass$c([
1526
+ __decorateClass$6([
1825
1527
  Field(() => [String], {
1826
1528
  nullable: true,
1827
1529
  description: "\u0418\u043C\u0435\u043D\u0430 blockchain-\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439: apply | walletop | debit | credit"
@@ -1830,7 +1532,7 @@ __decorateClass$c([
1830
1532
  IsArray(),
1831
1533
  IsString({ each: true })
1832
1534
  ], GetLedger2HistoryInputDTO.prototype, "actionNames", 2);
1833
- __decorateClass$c([
1535
+ __decorateClass$6([
1834
1536
  Field(() => [String], {
1835
1537
  nullable: true,
1836
1538
  description: "OPERATION_REGISTRY \u043A\u043E\u0434\u044B: o.cap.lend, o.wal.depcpl, o.mig.minshr \u0438 \u0442.\u0434."
@@ -1839,13 +1541,13 @@ __decorateClass$c([
1839
1541
  IsArray(),
1840
1542
  IsString({ each: true })
1841
1543
  ], GetLedger2HistoryInputDTO.prototype, "operationCodes", 2);
1842
- __decorateClass$c([
1544
+ __decorateClass$6([
1843
1545
  Field(() => String, { nullable: true }),
1844
1546
  IsOptional(),
1845
1547
  IsString(),
1846
1548
  MaxLength(64)
1847
1549
  ], GetLedger2HistoryInputDTO.prototype, "username", 2);
1848
- __decorateClass$c([
1550
+ __decorateClass$6([
1849
1551
  Field(() => String, { nullable: true, description: "process_hash (hex-64) \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u043A\u0438 \u0432\u0441\u0435\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043E\u0434\u043D\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438" }),
1850
1552
  IsOptional(),
1851
1553
  IsString(),
@@ -1854,7 +1556,7 @@ __decorateClass$c([
1854
1556
  message: validationMessage("ledger2.getLedger2HistoryInput.processHashInvalidFormat")
1855
1557
  })
1856
1558
  ], GetLedger2HistoryInputDTO.prototype, "processHash", 2);
1857
- __decorateClass$c([
1559
+ __decorateClass$6([
1858
1560
  Field(() => String, {
1859
1561
  nullable: true,
1860
1562
  description: "global_sequence \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0433\u043E apply: \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E inline-\u0441\u0438\u0431\u0441\u043E\u0432 (walletop/debit/credit) \u044D\u0442\u043E\u0433\u043E apply \u0447\u0435\u0440\u0435\u0437 \u0442\u043E\u0447\u0435\u0447\u043D\u0443\u044E \u0441\u0432\u044F\u0437\u044C parser2 (transaction_id + creator_action_ordinal=apply.action_ordinal)."
@@ -1863,7 +1565,7 @@ __decorateClass$c([
1863
1565
  IsString(),
1864
1566
  MaxLength(24)
1865
1567
  ], GetLedger2HistoryInputDTO.prototype, "parentApplyGlobalSequence", 2);
1866
- __decorateClass$c([
1568
+ __decorateClass$6([
1867
1569
  Field(() => String, {
1868
1570
  nullable: true,
1869
1571
  description: "\u2116 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 = apply.global_sequence. \u0422\u043E\u0447\u0435\u0447\u043D\u0430\u044F \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u044F \u043E\u0434\u043D\u043E\u0439 apply-\u0433\u0440\u0443\u043F\u043F\u044B (apply + walletop/debit/credit)."
@@ -1872,7 +1574,7 @@ __decorateClass$c([
1872
1574
  IsString(),
1873
1575
  MaxLength(24)
1874
1576
  ], GetLedger2HistoryInputDTO.prototype, "applyGlobalSequence", 2);
1875
- __decorateClass$c([
1577
+ __decorateClass$6([
1876
1578
  Field(() => String, {
1877
1579
  nullable: true,
1878
1580
  description: "\u2116 \u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F \u043F\u043E \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0443 = walletop.global_sequence. \u0423\u043D\u0438\u043A\u0430\u043B\u0435\u043D."
@@ -1881,58 +1583,58 @@ __decorateClass$c([
1881
1583
  IsString(),
1882
1584
  MaxLength(24)
1883
1585
  ], GetLedger2HistoryInputDTO.prototype, "walletopGlobalSequence", 2);
1884
- __decorateClass$c([
1586
+ __decorateClass$6([
1885
1587
  Field(() => Date, { nullable: true }),
1886
1588
  IsOptional(),
1887
1589
  IsDate(),
1888
1590
  Type(() => Date)
1889
1591
  ], GetLedger2HistoryInputDTO.prototype, "dateFrom", 2);
1890
- __decorateClass$c([
1592
+ __decorateClass$6([
1891
1593
  Field(() => Date, { nullable: true }),
1892
1594
  IsOptional(),
1893
1595
  IsDate(),
1894
1596
  Type(() => Date)
1895
1597
  ], GetLedger2HistoryInputDTO.prototype, "dateTo", 2);
1896
- __decorateClass$c([
1598
+ __decorateClass$6([
1897
1599
  Field(() => Int, { nullable: true, defaultValue: 1 }),
1898
1600
  IsOptional(),
1899
1601
  IsInt(),
1900
1602
  Min(1)
1901
1603
  ], GetLedger2HistoryInputDTO.prototype, "page", 2);
1902
- __decorateClass$c([
1604
+ __decorateClass$6([
1903
1605
  Field(() => Int, { nullable: true, defaultValue: 50 }),
1904
1606
  IsOptional(),
1905
1607
  IsInt(),
1906
1608
  Min(1),
1907
1609
  Max(500)
1908
1610
  ], GetLedger2HistoryInputDTO.prototype, "limit", 2);
1909
- __decorateClass$c([
1611
+ __decorateClass$6([
1910
1612
  Field(() => String, { nullable: true, defaultValue: "DESC" }),
1911
1613
  IsOptional(),
1912
1614
  IsIn(["ASC", "DESC"])
1913
1615
  ], GetLedger2HistoryInputDTO.prototype, "sortOrder", 2);
1914
- GetLedger2HistoryInputDTO = __decorateClass$c([
1616
+ GetLedger2HistoryInputDTO = __decorateClass$6([
1915
1617
  InputType("GetLedger2HistoryInput")
1916
1618
  ], GetLedger2HistoryInputDTO);
1917
1619
 
1918
- var __defProp$b = Object.defineProperty;
1919
- var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1920
- var __decorateClass$b = (decorators, target, key, kind) => {
1921
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1620
+ var __defProp$5 = Object.defineProperty;
1621
+ var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
1622
+ var __decorateClass$5 = (decorators, target, key, kind) => {
1623
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
1922
1624
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1923
1625
  if (decorator = decorators[i])
1924
1626
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1925
1627
  if (kind && result)
1926
- __defProp$b(target, key, result);
1628
+ __defProp$5(target, key, result);
1927
1629
  return result;
1928
1630
  };
1929
1631
  let GetLedger2PostingsInputDTO = class {
1930
1632
  };
1931
- __decorateClass$b([
1633
+ __decorateClass$5([
1932
1634
  Field(() => String),
1933
1635
  IsString()
1934
1636
  ], GetLedger2PostingsInputDTO.prototype, "coopname", 2);
1935
- __decorateClass$b([
1637
+ __decorateClass$5([
1936
1638
  Field(() => Int, {
1937
1639
  nullable: true,
1938
1640
  description: "\u0411\u0443\u0445.\u0441\u0447\u0451\u0442 (\xD71000) \u2014 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u0435 \u0432 debit \u0418\u041B\u0418 credit \u043D\u043E\u0433\u0435 \u043F\u0440\u043E\u0432\u043E\u0434\u043A\u0438."
@@ -1940,19 +1642,19 @@ __decorateClass$b([
1940
1642
  IsOptional(),
1941
1643
  IsInt()
1942
1644
  ], GetLedger2PostingsInputDTO.prototype, "accountId", 2);
1943
- __decorateClass$b([
1645
+ __decorateClass$5([
1944
1646
  Field(() => String, { nullable: true }),
1945
1647
  IsOptional(),
1946
1648
  IsString(),
1947
1649
  MaxLength(64)
1948
1650
  ], GetLedger2PostingsInputDTO.prototype, "username", 2);
1949
- __decorateClass$b([
1651
+ __decorateClass$5([
1950
1652
  Field(() => String, { nullable: true, description: "process_hash \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u043A\u0438 \u0432\u0441\u0435\u0445 \u043F\u0440\u043E\u0432\u043E\u0434\u043E\u043A \u043E\u0434\u043D\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438" }),
1951
1653
  IsOptional(),
1952
1654
  IsString(),
1953
1655
  MaxLength(66)
1954
1656
  ], GetLedger2PostingsInputDTO.prototype, "processHash", 2);
1955
- __decorateClass$b([
1657
+ __decorateClass$5([
1956
1658
  Field(() => String, {
1957
1659
  nullable: true,
1958
1660
  description: "\u2116 \u043F\u0440\u043E\u0432\u043E\u0434\u043A\u0438 = debit.global_sequence (unique). \u041F\u0430\u0440\u043D\u044B\u0439 credit \u043F\u043E\u0434\u0442\u044F\u043D\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438."
@@ -1961,7 +1663,7 @@ __decorateClass$b([
1961
1663
  IsString(),
1962
1664
  MaxLength(24)
1963
1665
  ], GetLedger2PostingsInputDTO.prototype, "debitGlobalSequence", 2);
1964
- __decorateClass$b([
1666
+ __decorateClass$5([
1965
1667
  Field(() => String, {
1966
1668
  nullable: true,
1967
1669
  description: "\u2116 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 = apply.global_sequence. \u0412\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043F\u0440\u043E\u0432\u043E\u0434\u043A\u0438 \u0440\u043E\u0432\u043D\u043E \u044D\u0442\u043E\u0439 apply-\u0433\u0440\u0443\u043F\u043F\u044B."
@@ -1970,84 +1672,84 @@ __decorateClass$b([
1970
1672
  IsString(),
1971
1673
  MaxLength(24)
1972
1674
  ], GetLedger2PostingsInputDTO.prototype, "applyGlobalSequence", 2);
1973
- __decorateClass$b([
1675
+ __decorateClass$5([
1974
1676
  Field(() => Date, { nullable: true }),
1975
1677
  IsOptional(),
1976
1678
  IsDate(),
1977
1679
  Type(() => Date)
1978
1680
  ], GetLedger2PostingsInputDTO.prototype, "dateFrom", 2);
1979
- __decorateClass$b([
1681
+ __decorateClass$5([
1980
1682
  Field(() => Date, { nullable: true }),
1981
1683
  IsOptional(),
1982
1684
  IsDate(),
1983
1685
  Type(() => Date)
1984
1686
  ], GetLedger2PostingsInputDTO.prototype, "dateTo", 2);
1985
- __decorateClass$b([
1687
+ __decorateClass$5([
1986
1688
  Field(() => Int, { nullable: true, defaultValue: 1 }),
1987
1689
  IsOptional(),
1988
1690
  IsInt(),
1989
1691
  Min(1)
1990
1692
  ], GetLedger2PostingsInputDTO.prototype, "page", 2);
1991
- __decorateClass$b([
1693
+ __decorateClass$5([
1992
1694
  Field(() => Int, { nullable: true, defaultValue: 50 }),
1993
1695
  IsOptional(),
1994
1696
  IsInt(),
1995
1697
  Min(1),
1996
1698
  Max(500)
1997
1699
  ], GetLedger2PostingsInputDTO.prototype, "limit", 2);
1998
- __decorateClass$b([
1700
+ __decorateClass$5([
1999
1701
  Field(() => String, { nullable: true, defaultValue: "DESC" }),
2000
1702
  IsOptional(),
2001
1703
  IsIn(["ASC", "DESC"])
2002
1704
  ], GetLedger2PostingsInputDTO.prototype, "sortOrder", 2);
2003
- GetLedger2PostingsInputDTO = __decorateClass$b([
1705
+ GetLedger2PostingsInputDTO = __decorateClass$5([
2004
1706
  InputType("GetLedger2PostingsInput")
2005
1707
  ], GetLedger2PostingsInputDTO);
2006
1708
 
2007
- var __defProp$a = Object.defineProperty;
2008
- var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
2009
- var __decorateClass$a = (decorators, target, key, kind) => {
2010
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
1709
+ var __defProp$4 = Object.defineProperty;
1710
+ var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
1711
+ var __decorateClass$4 = (decorators, target, key, kind) => {
1712
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
2011
1713
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2012
1714
  if (decorator = decorators[i])
2013
1715
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2014
1716
  if (kind && result)
2015
- __defProp$a(target, key, result);
1717
+ __defProp$4(target, key, result);
2016
1718
  return result;
2017
1719
  };
2018
1720
  let ProcessesFilterInput = class {
2019
1721
  };
2020
- __decorateClass$a([
1722
+ __decorateClass$4([
2021
1723
  Field(() => String)
2022
1724
  ], ProcessesFilterInput.prototype, "coopname", 2);
2023
- __decorateClass$a([
1725
+ __decorateClass$4([
2024
1726
  Field(() => String, { nullable: true })
2025
1727
  ], ProcessesFilterInput.prototype, "processType", 2);
2026
- __decorateClass$a([
1728
+ __decorateClass$4([
2027
1729
  Field(() => String, { nullable: true })
2028
1730
  ], ProcessesFilterInput.prototype, "username", 2);
2029
- __decorateClass$a([
1731
+ __decorateClass$4([
2030
1732
  Field(() => String, { nullable: true, description: "\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u2014 \u0442\u043E\u0447\u0435\u0447\u043D\u0430\u044F \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u044F \u043E\u0434\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u043F\u043E \u0435\u0433\u043E \u0445\u044D\u0448\u0443" })
2031
1733
  ], ProcessesFilterInput.prototype, "processHash", 2);
2032
- __decorateClass$a([
1734
+ __decorateClass$4([
2033
1735
  Field(() => Int, { nullable: true })
2034
1736
  ], ProcessesFilterInput.prototype, "fromBlock", 2);
2035
- __decorateClass$a([
1737
+ __decorateClass$4([
2036
1738
  Field(() => Int, { nullable: true })
2037
1739
  ], ProcessesFilterInput.prototype, "toBlock", 2);
2038
- ProcessesFilterInput = __decorateClass$a([
1740
+ ProcessesFilterInput = __decorateClass$4([
2039
1741
  InputType("ProcessesFilter")
2040
1742
  ], ProcessesFilterInput);
2041
1743
 
2042
- var __defProp$9 = Object.defineProperty;
2043
- var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
2044
- var __decorateClass$9 = (decorators, target, key, kind) => {
2045
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
1744
+ var __defProp$3 = Object.defineProperty;
1745
+ var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
1746
+ var __decorateClass$3 = (decorators, target, key, kind) => {
1747
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
2046
1748
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2047
1749
  if (decorator = decorators[i])
2048
1750
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2049
1751
  if (kind && result)
2050
- __defProp$9(target, key, result);
1752
+ __defProp$3(target, key, result);
2051
1753
  return result;
2052
1754
  };
2053
1755
  let ProcessSummaryDTO = class {
@@ -2055,253 +1757,253 @@ let ProcessSummaryDTO = class {
2055
1757
  // странице listProcesses были запросы 300+ на request. UI читает
2056
1758
  // getProcess(hash) при раскрытии — там счётчики выводимы из массивов.
2057
1759
  };
2058
- __decorateClass$9([
1760
+ __decorateClass$3([
2059
1761
  Field(() => String)
2060
1762
  ], ProcessSummaryDTO.prototype, "processType", 2);
2061
- __decorateClass$9([
1763
+ __decorateClass$3([
2062
1764
  Field(() => String)
2063
1765
  ], ProcessSummaryDTO.prototype, "processHash", 2);
2064
- __decorateClass$9([
1766
+ __decorateClass$3([
2065
1767
  Field(() => String)
2066
1768
  ], ProcessSummaryDTO.prototype, "coopname", 2);
2067
- __decorateClass$9([
1769
+ __decorateClass$3([
2068
1770
  Field(() => String, { nullable: true })
2069
1771
  ], ProcessSummaryDTO.prototype, "username", 2);
2070
- __decorateClass$9([
1772
+ __decorateClass$3([
2071
1773
  Field(() => Date)
2072
1774
  ], ProcessSummaryDTO.prototype, "firstSeenAt", 2);
2073
- __decorateClass$9([
1775
+ __decorateClass$3([
2074
1776
  Field(() => Date)
2075
1777
  ], ProcessSummaryDTO.prototype, "lastSeenAt", 2);
2076
- __decorateClass$9([
1778
+ __decorateClass$3([
2077
1779
  Field(() => String, { nullable: true, description: "\u0421\u0443\u043C\u043C\u0430 \u0433\u043B\u0430\u0432\u043D\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u2014 \u043D\u0430\u0438\u0431\u043E\u043B\u044C\u0448\u0430\u044F \u0441\u0440\u0435\u0434\u0438 \u0435\u0433\u043E \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439" })
2078
1780
  ], ProcessSummaryDTO.prototype, "amount", 2);
2079
- __decorateClass$9([
1781
+ __decorateClass$3([
2080
1782
  Field(() => String, { nullable: true, description: "\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430" })
2081
1783
  ], ProcessSummaryDTO.prototype, "memo", 2);
2082
- ProcessSummaryDTO = __decorateClass$9([
1784
+ ProcessSummaryDTO = __decorateClass$3([
2083
1785
  ObjectType("ProcessSummary")
2084
1786
  ], ProcessSummaryDTO);
2085
1787
  const PaginatedProcessSummary = createPaginationResult(ProcessSummaryDTO, "ProcessSummary");
2086
1788
 
2087
- var __defProp$8 = Object.defineProperty;
2088
- var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
2089
- var __decorateClass$8 = (decorators, target, key, kind) => {
2090
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
1789
+ var __defProp$2 = Object.defineProperty;
1790
+ var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
1791
+ var __decorateClass$2 = (decorators, target, key, kind) => {
1792
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
2091
1793
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2092
1794
  if (decorator = decorators[i])
2093
1795
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2094
1796
  if (kind && result)
2095
- __defProp$8(target, key, result);
1797
+ __defProp$2(target, key, result);
2096
1798
  return result;
2097
1799
  };
2098
1800
  let ProcessActionDTO = class {
2099
1801
  };
2100
- __decorateClass$8([
1802
+ __decorateClass$2([
2101
1803
  Field(() => String)
2102
1804
  ], ProcessActionDTO.prototype, "id", 2);
2103
- __decorateClass$8([
1805
+ __decorateClass$2([
2104
1806
  Field(() => String)
2105
1807
  ], ProcessActionDTO.prototype, "account", 2);
2106
- __decorateClass$8([
1808
+ __decorateClass$2([
2107
1809
  Field(() => String)
2108
1810
  ], ProcessActionDTO.prototype, "name", 2);
2109
- __decorateClass$8([
2110
- Field(() => GraphQLJSON$1, { nullable: true })
1811
+ __decorateClass$2([
1812
+ Field(() => GraphQLJSON, { nullable: true })
2111
1813
  ], ProcessActionDTO.prototype, "data", 2);
2112
- __decorateClass$8([
1814
+ __decorateClass$2([
2113
1815
  Field(() => Number)
2114
1816
  ], ProcessActionDTO.prototype, "block_num", 2);
2115
- __decorateClass$8([
1817
+ __decorateClass$2([
2116
1818
  Field(() => String)
2117
1819
  ], ProcessActionDTO.prototype, "block_id", 2);
2118
- __decorateClass$8([
1820
+ __decorateClass$2([
2119
1821
  Field(() => String)
2120
1822
  ], ProcessActionDTO.prototype, "global_sequence", 2);
2121
- __decorateClass$8([
1823
+ __decorateClass$2([
2122
1824
  Field(() => String)
2123
1825
  ], ProcessActionDTO.prototype, "transaction_id", 2);
2124
- __decorateClass$8([
1826
+ __decorateClass$2([
2125
1827
  Field(() => Date)
2126
1828
  ], ProcessActionDTO.prototype, "created_at", 2);
2127
- ProcessActionDTO = __decorateClass$8([
1829
+ ProcessActionDTO = __decorateClass$2([
2128
1830
  ObjectType("ProcessAction")
2129
1831
  ], ProcessActionDTO);
2130
1832
  let ProcessDeltaDTO = class {
2131
1833
  };
2132
- __decorateClass$8([
1834
+ __decorateClass$2([
2133
1835
  Field(() => String)
2134
1836
  ], ProcessDeltaDTO.prototype, "id", 2);
2135
- __decorateClass$8([
1837
+ __decorateClass$2([
2136
1838
  Field(() => String)
2137
1839
  ], ProcessDeltaDTO.prototype, "code", 2);
2138
- __decorateClass$8([
1840
+ __decorateClass$2([
2139
1841
  Field(() => String)
2140
1842
  ], ProcessDeltaDTO.prototype, "scope", 2);
2141
- __decorateClass$8([
1843
+ __decorateClass$2([
2142
1844
  Field(() => String)
2143
1845
  ], ProcessDeltaDTO.prototype, "table", 2);
2144
- __decorateClass$8([
1846
+ __decorateClass$2([
2145
1847
  Field(() => String)
2146
1848
  ], ProcessDeltaDTO.prototype, "primary_key", 2);
2147
- __decorateClass$8([
1849
+ __decorateClass$2([
2148
1850
  Field(() => Boolean)
2149
1851
  ], ProcessDeltaDTO.prototype, "present", 2);
2150
- __decorateClass$8([
2151
- Field(() => GraphQLJSON$1, { nullable: true })
1852
+ __decorateClass$2([
1853
+ Field(() => GraphQLJSON, { nullable: true })
2152
1854
  ], ProcessDeltaDTO.prototype, "value", 2);
2153
- __decorateClass$8([
1855
+ __decorateClass$2([
2154
1856
  Field(() => Number)
2155
1857
  ], ProcessDeltaDTO.prototype, "block_num", 2);
2156
- __decorateClass$8([
1858
+ __decorateClass$2([
2157
1859
  Field(() => Date)
2158
1860
  ], ProcessDeltaDTO.prototype, "created_at", 2);
2159
- ProcessDeltaDTO = __decorateClass$8([
1861
+ ProcessDeltaDTO = __decorateClass$2([
2160
1862
  ObjectType("ProcessDelta")
2161
1863
  ], ProcessDeltaDTO);
2162
1864
  let ProcessDocumentSourceDTO = class {
2163
1865
  };
2164
- __decorateClass$8([
1866
+ __decorateClass$2([
2165
1867
  Field(() => String)
2166
1868
  ], ProcessDocumentSourceDTO.prototype, "code", 2);
2167
- __decorateClass$8([
1869
+ __decorateClass$2([
2168
1870
  Field(() => String)
2169
1871
  ], ProcessDocumentSourceDTO.prototype, "table", 2);
2170
- __decorateClass$8([
1872
+ __decorateClass$2([
2171
1873
  Field(() => String)
2172
1874
  ], ProcessDocumentSourceDTO.prototype, "field", 2);
2173
- __decorateClass$8([
1875
+ __decorateClass$2([
2174
1876
  Field(() => String)
2175
1877
  ], ProcessDocumentSourceDTO.prototype, "primary_key", 2);
2176
- ProcessDocumentSourceDTO = __decorateClass$8([
1878
+ ProcessDocumentSourceDTO = __decorateClass$2([
2177
1879
  ObjectType("ProcessDocumentSource")
2178
1880
  ], ProcessDocumentSourceDTO);
2179
1881
  let ProcessDocumentDTO = class {
2180
1882
  };
2181
- __decorateClass$8([
1883
+ __decorateClass$2([
2182
1884
  Field(() => String)
2183
1885
  ], ProcessDocumentDTO.prototype, "hash", 2);
2184
- __decorateClass$8([
1886
+ __decorateClass$2([
2185
1887
  Field(() => ProcessDocumentSourceDTO)
2186
1888
  ], ProcessDocumentDTO.prototype, "source", 2);
2187
- __decorateClass$8([
2188
- Field(() => GraphQLJSON$1)
1889
+ __decorateClass$2([
1890
+ Field(() => GraphQLJSON)
2189
1891
  ], ProcessDocumentDTO.prototype, "document", 2);
2190
- __decorateClass$8([
2191
- Field(() => GraphQLJSON$1, { nullable: true })
1892
+ __decorateClass$2([
1893
+ Field(() => GraphQLJSON, { nullable: true })
2192
1894
  ], ProcessDocumentDTO.prototype, "raw", 2);
2193
- ProcessDocumentDTO = __decorateClass$8([
1895
+ ProcessDocumentDTO = __decorateClass$2([
2194
1896
  ObjectType("ProcessDocument")
2195
1897
  ], ProcessDocumentDTO);
2196
1898
  let ProcessViewDTO = class {
2197
1899
  };
2198
- __decorateClass$8([
1900
+ __decorateClass$2([
2199
1901
  Field(() => String)
2200
1902
  ], ProcessViewDTO.prototype, "process_type", 2);
2201
- __decorateClass$8([
1903
+ __decorateClass$2([
2202
1904
  Field(() => String)
2203
1905
  ], ProcessViewDTO.prototype, "process_hash", 2);
2204
- __decorateClass$8([
1906
+ __decorateClass$2([
2205
1907
  Field(() => String)
2206
1908
  ], ProcessViewDTO.prototype, "coopname", 2);
2207
- __decorateClass$8([
1909
+ __decorateClass$2([
2208
1910
  Field(() => Date)
2209
1911
  ], ProcessViewDTO.prototype, "first_seen_at", 2);
2210
- __decorateClass$8([
1912
+ __decorateClass$2([
2211
1913
  Field(() => Date)
2212
1914
  ], ProcessViewDTO.prototype, "last_seen_at", 2);
2213
- __decorateClass$8([
1915
+ __decorateClass$2([
2214
1916
  Field(() => [ProcessActionDTO])
2215
1917
  ], ProcessViewDTO.prototype, "actions", 2);
2216
- __decorateClass$8([
1918
+ __decorateClass$2([
2217
1919
  Field(() => [ProcessDeltaDTO])
2218
1920
  ], ProcessViewDTO.prototype, "delta_history", 2);
2219
- __decorateClass$8([
1921
+ __decorateClass$2([
2220
1922
  Field(() => [ProcessDocumentDTO])
2221
1923
  ], ProcessViewDTO.prototype, "documents", 2);
2222
- ProcessViewDTO = __decorateClass$8([
1924
+ ProcessViewDTO = __decorateClass$2([
2223
1925
  ObjectType("ProcessView")
2224
1926
  ], ProcessViewDTO);
2225
1927
 
2226
- var __defProp$7 = Object.defineProperty;
2227
- var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
2228
- var __decorateClass$7 = (decorators, target, key, kind) => {
2229
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
1928
+ var __defProp$1 = Object.defineProperty;
1929
+ var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
1930
+ var __decorateClass$1 = (decorators, target, key, kind) => {
1931
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
2230
1932
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2231
1933
  if (decorator = decorators[i])
2232
1934
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2233
1935
  if (kind && result)
2234
- __defProp$7(target, key, result);
1936
+ __defProp$1(target, key, result);
2235
1937
  return result;
2236
1938
  };
2237
1939
  let ProcessContentFactDTO = class {
2238
1940
  };
2239
- __decorateClass$7([
1941
+ __decorateClass$1([
2240
1942
  Field(() => String, { description: "\u041F\u043E\u0434\u043F\u0438\u0441\u044C: \xAB\u041F\u043E\u0441\u0442\u0430\u0432\u0449\u0438\u043A\xBB, \xAB\u0423\u0447\u0430\u0441\u0442\u043E\u043A\xBB" })
2241
1943
  ], ProcessContentFactDTO.prototype, "label", 2);
2242
- __decorateClass$7([
1944
+ __decorateClass$1([
2243
1945
  Field(() => String, { description: "\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043B\u043E\u0432\u0430\u043C\u0438: \u0424\u0418\u041E, \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435, \u0434\u0430\u0442\u0430" })
2244
1946
  ], ProcessContentFactDTO.prototype, "value", 2);
2245
- ProcessContentFactDTO = __decorateClass$7([
1947
+ ProcessContentFactDTO = __decorateClass$1([
2246
1948
  ObjectType("ProcessContentFact")
2247
1949
  ], ProcessContentFactDTO);
2248
1950
  let ProcessContentLinkDTO = class {
2249
1951
  };
2250
- __decorateClass$7([
1952
+ __decorateClass$1([
2251
1953
  Field(() => String, { description: "\u041D\u0430\u0434\u043F\u0438\u0441\u044C \u043A\u043D\u043E\u043F\u043A\u0438" })
2252
1954
  ], ProcessContentLinkDTO.prototype, "label", 2);
2253
- __decorateClass$7([
1955
+ __decorateClass$1([
2254
1956
  Field(() => String, { description: "\u041F\u0443\u0442\u044C \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u0442\u043E\u043B\u0430 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u0430, \u043D\u0430\u0447\u0438\u043D\u0430\u044F \u0441 \xAB/\xBB" })
2255
1957
  ], ProcessContentLinkDTO.prototype, "path", 2);
2256
- ProcessContentLinkDTO = __decorateClass$7([
1958
+ ProcessContentLinkDTO = __decorateClass$1([
2257
1959
  ObjectType("ProcessContentLink")
2258
1960
  ], ProcessContentLinkDTO);
2259
1961
  let ProcessContentLineDTO = class {
2260
1962
  };
2261
- __decorateClass$7([
1963
+ __decorateClass$1([
2262
1964
  Field(() => String, { description: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u044F \u0441\u043B\u043E\u0432\u0430\u043C\u0438: \xAB\u041E\u0442\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0432 \u0440\u0435\u0437\u0435\u0440\u0432\u043D\u044B\u0439 \u0444\u043E\u043D\u0434\u2026\xBB" })
2263
1965
  ], ProcessContentLineDTO.prototype, "label", 2);
2264
- __decorateClass$7([
1966
+ __decorateClass$1([
2265
1967
  Field(() => String, { nullable: true, description: "\u041F\u0430\u0439\u0449\u0438\u043A, \u0443\u0447\u0430\u0441\u0442\u043E\u043A \u0438\u043B\u0438 \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438" })
2266
1968
  ], ProcessContentLineDTO.prototype, "subject", 2);
2267
- __decorateClass$7([
1969
+ __decorateClass$1([
2268
1970
  Field(() => String, { nullable: true, description: "\u0421\u0443\u043C\u043C\u0430 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438, \u0430\u043A\u0442\u0438\u0432 \xAB234.8400 RUB\xBB" })
2269
1971
  ], ProcessContentLineDTO.prototype, "amount", 2);
2270
- ProcessContentLineDTO = __decorateClass$7([
1972
+ ProcessContentLineDTO = __decorateClass$1([
2271
1973
  ObjectType("ProcessContentLine")
2272
1974
  ], ProcessContentLineDTO);
2273
1975
  let ProcessContentDTO = class {
2274
1976
  };
2275
- __decorateClass$7([
1977
+ __decorateClass$1([
2276
1978
  Field(() => String, {
2277
1979
  description: "\u0413\u043B\u0430\u0432\u043D\u043E\u0435: \u0447\u0442\u043E \u044D\u0442\u043E \u2014 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430, \u043F\u0440\u0435\u0434\u043C\u0435\u0442 \u0440\u0430\u0441\u0445\u043E\u0434\u0430. \u041F\u0443\u0441\u0442\u043E \u2014 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u043D\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u043C\u0435\u0441\u0442\u0430"
2278
1980
  })
2279
1981
  ], ProcessContentDTO.prototype, "title", 2);
2280
- __decorateClass$7([
1982
+ __decorateClass$1([
2281
1983
  Field(() => String, { nullable: true, description: "\u0421\u0442\u0440\u043E\u043A\u0430 \u043F\u043E\u0434 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043C: \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E, \u043D\u043E\u043C\u0435\u0440, \u043F\u0435\u0440\u0438\u043E\u0434" })
2282
1984
  ], ProcessContentDTO.prototype, "subtitle", 2);
2283
- __decorateClass$7([
1985
+ __decorateClass$1([
2284
1986
  Field(() => String, { nullable: true, description: "\u0421\u043D\u0438\u043C\u043E\u043A \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u0430 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 (\u043E\u0431\u043B\u043E\u0436\u043A\u0430 \u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430)" })
2285
1987
  ], ProcessContentDTO.prototype, "image_url", 2);
2286
- __decorateClass$7([
1988
+ __decorateClass$1([
2287
1989
  Field(() => String, { nullable: true, description: "\u0413\u043B\u0430\u0432\u043D\u0430\u044F \u0441\u0443\u043C\u043C\u0430 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430, \u0430\u043A\u0442\u0438\u0432 \xAB10000.0000 RUB\xBB" })
2288
1990
  ], ProcessContentDTO.prototype, "amount", 2);
2289
- __decorateClass$7([
1991
+ __decorateClass$1([
2290
1992
  Field(() => String, { nullable: true, description: "\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0433\u043B\u0430\u0432\u043D\u043E\u0439 \u0441\u0443\u043C\u043C\u044B: \xAB\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430\xBB" })
2291
1993
  ], ProcessContentDTO.prototype, "amount_label", 2);
2292
- __decorateClass$7([
1994
+ __decorateClass$1([
2293
1995
  Field(() => String, { nullable: true, description: "\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0441\u043B\u043E\u0432\u0430\u043C\u0438" })
2294
1996
  ], ProcessContentDTO.prototype, "status", 2);
2295
- __decorateClass$7([
1997
+ __decorateClass$1([
2296
1998
  Field(() => [ProcessContentFactDTO], { description: "\u0421\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443 \u0447\u0442\u0435\u043D\u0438\u044F" })
2297
1999
  ], ProcessContentDTO.prototype, "facts", 2);
2298
- __decorateClass$7([
2000
+ __decorateClass$1([
2299
2001
  Field(() => [ProcessContentLinkDTO], { description: "\u041F\u0435\u0440\u0435\u0445\u043E\u0434\u044B \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438" })
2300
2002
  ], ProcessContentDTO.prototype, "links", 2);
2301
- __decorateClass$7([
2003
+ __decorateClass$1([
2302
2004
  Field(() => [ProcessContentLineDTO], { nullable: true, description: "\u0421\u043E\u0441\u0442\u0430\u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u2014 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443" })
2303
2005
  ], ProcessContentDTO.prototype, "lines", 2);
2304
- ProcessContentDTO = __decorateClass$7([
2006
+ ProcessContentDTO = __decorateClass$1([
2305
2007
  ObjectType("ProcessContent")
2306
2008
  ], ProcessContentDTO);
2307
2009
  class ProcessContentRegistry {
@@ -2358,53 +2060,6 @@ function contentAsset(amount, symbol, decimals = 4) {
2358
2060
  return /\s/.test(text) ? text : `${Number(text).toFixed(decimals)} ${symbol}`;
2359
2061
  }
2360
2062
 
2361
- var __defProp$6 = Object.defineProperty;
2362
- var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
2363
- var __decorateClass$6 = (decorators, target, key, kind) => {
2364
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
2365
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
2366
- if (decorator = decorators[i])
2367
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2368
- if (kind && result)
2369
- __defProp$6(target, key, result);
2370
- return result;
2371
- };
2372
- let TransactionDTO = class {
2373
- };
2374
- __decorateClass$6([
2375
- Field(() => GraphQLJSON, { description: "\u0411\u043B\u043E\u043A\u0447\u0435\u0439\u043D, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043B\u0441\u044F", nullable: true })
2376
- ], TransactionDTO.prototype, "chain", 2);
2377
- __decorateClass$6([
2378
- Field(() => GraphQLJSON, { description: "\u0417\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438", nullable: true })
2379
- ], TransactionDTO.prototype, "request", 2);
2380
- __decorateClass$6([
2381
- Field(() => GraphQLJSON, { description: "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u043D\u044B\u0439 \u0437\u0430\u043F\u0440\u043E\u0441 \u043D\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438", nullable: true })
2382
- ], TransactionDTO.prototype, "resolved", 2);
2383
- __decorateClass$6([
2384
- Field(() => GraphQLJSON, {
2385
- description: "\u041E\u0442\u0432\u0435\u0442 \u043E\u0442 API \u043F\u043E\u0441\u043B\u0435 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0438 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438 (\u0435\u0441\u043B\u0438 \u0431\u044B\u043B \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D \u0431\u0440\u043E\u0434\u043A\u0430\u0441\u0442)",
2386
- nullable: true
2387
- })
2388
- ], TransactionDTO.prototype, "response", 2);
2389
- __decorateClass$6([
2390
- Field(() => GraphQLJSON, { description: "\u0412\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u0441\u043B\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438", nullable: true })
2391
- ], TransactionDTO.prototype, "returns", 2);
2392
- __decorateClass$6([
2393
- Field(() => GraphQLJSON, { description: "\u0420\u0435\u0432\u0438\u0437\u0438\u0438 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438, \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043C\u0438 \u0432 ESR \u0444\u043E\u0440\u043C\u0430\u0442\u0435", nullable: true })
2394
- ], TransactionDTO.prototype, "revisions", 2);
2395
- __decorateClass$6([
2396
- Field(() => GraphQLJSON, { description: "\u041F\u043E\u0434\u043F\u0438\u0441\u0438 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438", nullable: true })
2397
- ], TransactionDTO.prototype, "signatures", 2);
2398
- __decorateClass$6([
2399
- Field(() => GraphQLJSON, { description: "\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0442", nullable: true })
2400
- ], TransactionDTO.prototype, "signer", 2);
2401
- __decorateClass$6([
2402
- Field(() => GraphQLJSON, { description: "\u0418\u0442\u043E\u0433\u043E\u0432\u0430\u044F \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044F", nullable: true })
2403
- ], TransactionDTO.prototype, "transaction", 2);
2404
- TransactionDTO = __decorateClass$6([
2405
- ObjectType("Transaction")
2406
- ], TransactionDTO);
2407
-
2408
2063
  var ExtensionConfigSuppliedBy = /* @__PURE__ */ ((ExtensionConfigSuppliedBy2) => {
2409
2064
  ExtensionConfigSuppliedBy2["COOPERATIVE"] = "cooperative";
2410
2065
  ExtensionConfigSuppliedBy2["PROVIDER"] = "provider";
@@ -2570,217 +2225,6 @@ function describeStandTime() {
2570
2225
  return `\u0432\u0440\u0435\u043C\u044F \u0441\u0442\u0435\u043D\u0434\u0430 \u0441\u0436\u0430\u0442\u043E: \u0441\u0443\u0442\u043A\u0438 ${standDaySeconds()} \u0441, \u043C\u0435\u0441\u044F\u0446 ${month > 0 ? `${month} \u0441` : "\u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439"}, \u0448\u0430\u0433 \u043E\u0431\u0445\u043E\u0434\u043E\u0432 ${standWorkerPaceSeconds(0)} \u0441`;
2571
2226
  }
2572
2227
 
2573
- var __defProp$5 = Object.defineProperty;
2574
- var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
2575
- var __decorateClass$5 = (decorators, target, key, kind) => {
2576
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
2577
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
2578
- if (decorator = decorators[i])
2579
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2580
- if (kind && result)
2581
- __defProp$5(target, key, result);
2582
- return result;
2583
- };
2584
- let GeneratedDocumentDTO = class {
2585
- constructor(data) {
2586
- if (data) {
2587
- this.full_title = data.full_title;
2588
- this.html = data.html;
2589
- this.hash = data.hash;
2590
- this.meta = data.meta;
2591
- this.binary = data.binary;
2592
- }
2593
- }
2594
- };
2595
- __decorateClass$5([
2596
- Field(() => String, { description: "\u041F\u043E\u043B\u043D\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
2597
- IsString()
2598
- ], GeneratedDocumentDTO.prototype, "full_title", 2);
2599
- __decorateClass$5([
2600
- Field(() => String, { description: "HTML \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
2601
- IsString()
2602
- ], GeneratedDocumentDTO.prototype, "html", 2);
2603
- __decorateClass$5([
2604
- Field(() => String, { description: "\u0425\u044D\u0448 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
2605
- IsString()
2606
- ], GeneratedDocumentDTO.prototype, "hash", 2);
2607
- __decorateClass$5([
2608
- Field(() => GraphQLJSON, { description: "\u041C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" })
2609
- ], GeneratedDocumentDTO.prototype, "meta", 2);
2610
- __decorateClass$5([
2611
- Field(() => String, { description: "\u0411\u0438\u043D\u0430\u0440\u043D\u043E\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 (base64)" }),
2612
- IsObject()
2613
- ], GeneratedDocumentDTO.prototype, "binary", 2);
2614
- GeneratedDocumentDTO = __decorateClass$5([
2615
- ObjectType("GeneratedDocument")
2616
- ], GeneratedDocumentDTO);
2617
-
2618
- var __defProp$4 = Object.defineProperty;
2619
- var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
2620
- var __decorateClass$4 = (decorators, target, key, kind) => {
2621
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
2622
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
2623
- if (decorator = decorators[i])
2624
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2625
- if (kind && result)
2626
- __defProp$4(target, key, result);
2627
- return result;
2628
- };
2629
- let GenerateDocumentOptionsInputDTO = class {
2630
- };
2631
- __decorateClass$4([
2632
- Field(() => Boolean, { nullable: true, description: "\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435" })
2633
- ], GenerateDocumentOptionsInputDTO.prototype, "skip_save", 2);
2634
- __decorateClass$4([
2635
- Field(() => String, { nullable: true, description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" })
2636
- ], GenerateDocumentOptionsInputDTO.prototype, "lang", 2);
2637
- GenerateDocumentOptionsInputDTO = __decorateClass$4([
2638
- InputType("GenerateDocumentOptionsInput")
2639
- ], GenerateDocumentOptionsInputDTO);
2640
-
2641
- var __defProp$3 = Object.defineProperty;
2642
- var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
2643
- var __decorateClass$3 = (decorators, target, key, kind) => {
2644
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
2645
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
2646
- if (decorator = decorators[i])
2647
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2648
- if (kind && result)
2649
- __defProp$3(target, key, result);
2650
- return result;
2651
- };
2652
- let GenerateDocumentInputDTO = class extends OmitType(GenerateMetaDocumentInputDTO, ["registry_id"]) {
2653
- constructor() {
2654
- super();
2655
- }
2656
- };
2657
- GenerateDocumentInputDTO = __decorateClass$3([
2658
- InputType("GenerateDocumentInput")
2659
- ], GenerateDocumentInputDTO);
2660
-
2661
- var __defProp$2 = Object.defineProperty;
2662
- var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
2663
- var __decorateClass$2 = (decorators, target, key, kind) => {
2664
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
2665
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
2666
- if (decorator = decorators[i])
2667
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2668
- if (kind && result)
2669
- __defProp$2(target, key, result);
2670
- return result;
2671
- };
2672
- let SignatureInfoDTO = class {
2673
- };
2674
- __decorateClass$2([
2675
- Field(() => Number)
2676
- ], SignatureInfoDTO.prototype, "id", 2);
2677
- __decorateClass$2([
2678
- Field(() => String),
2679
- IsString()
2680
- ], SignatureInfoDTO.prototype, "signer", 2);
2681
- __decorateClass$2([
2682
- Field(() => String),
2683
- IsString()
2684
- ], SignatureInfoDTO.prototype, "public_key", 2);
2685
- __decorateClass$2([
2686
- Field(() => String),
2687
- IsString()
2688
- ], SignatureInfoDTO.prototype, "signature", 2);
2689
- __decorateClass$2([
2690
- Field(() => String),
2691
- IsString()
2692
- ], SignatureInfoDTO.prototype, "signed_at", 2);
2693
- __decorateClass$2([
2694
- Field(() => String),
2695
- IsString()
2696
- ], SignatureInfoDTO.prototype, "signed_hash", 2);
2697
- __decorateClass$2([
2698
- Field(() => GraphQLJSON)
2699
- ], SignatureInfoDTO.prototype, "meta", 2);
2700
- __decorateClass$2([
2701
- Field(() => Boolean, { nullable: true })
2702
- ], SignatureInfoDTO.prototype, "is_valid", 2);
2703
- SignatureInfoDTO = __decorateClass$2([
2704
- ObjectType("SignatureInfo")
2705
- ], SignatureInfoDTO);
2706
- let SignedDigitalDocumentDTO = class {
2707
- constructor(data) {
2708
- this.version = data.version;
2709
- this.hash = data.hash;
2710
- this.doc_hash = data.doc_hash;
2711
- this.meta_hash = data.meta_hash;
2712
- this.meta = data.meta;
2713
- this.signatures = data.signatures;
2714
- }
2715
- };
2716
- __decorateClass$2([
2717
- Field(() => String),
2718
- IsString()
2719
- ], SignedDigitalDocumentDTO.prototype, "version", 2);
2720
- __decorateClass$2([
2721
- Field(() => String),
2722
- IsString()
2723
- ], SignedDigitalDocumentDTO.prototype, "hash", 2);
2724
- __decorateClass$2([
2725
- Field(() => String),
2726
- IsString()
2727
- ], SignedDigitalDocumentDTO.prototype, "doc_hash", 2);
2728
- __decorateClass$2([
2729
- Field(() => String),
2730
- IsString()
2731
- ], SignedDigitalDocumentDTO.prototype, "meta_hash", 2);
2732
- __decorateClass$2([
2733
- Field(() => GraphQLJSON)
2734
- ], SignedDigitalDocumentDTO.prototype, "meta", 2);
2735
- __decorateClass$2([
2736
- Field(() => [SignatureInfoDTO]),
2737
- ValidateNested({ each: true })
2738
- ], SignedDigitalDocumentDTO.prototype, "signatures", 2);
2739
- SignedDigitalDocumentDTO = __decorateClass$2([
2740
- ObjectType("SignedDigitalDocument")
2741
- ], SignedDigitalDocumentDTO);
2742
-
2743
- var __defProp$1 = Object.defineProperty;
2744
- var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
2745
- var __decorateClass$1 = (decorators, target, key, kind) => {
2746
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
2747
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
2748
- if (decorator = decorators[i])
2749
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2750
- if (kind && result)
2751
- __defProp$1(target, key, result);
2752
- return result;
2753
- };
2754
- let DocumentAggregateDTO = class {
2755
- /**
2756
- * Принимает любой агрегат нужной формы: и доменный из ядра, и результат
2757
- * `IDocumentPort.buildAggregate`. Номинальной связи с ними нет — каркас не
2758
- * зависит ни от контроллера, ни от `@coopenomics/innercoop` (INV-007).
2759
- */
2760
- constructor(data) {
2761
- if (data) {
2762
- this.hash = data.hash;
2763
- this.document = new SignedDigitalDocumentDTO(data.document);
2764
- if (data.rawDocument) {
2765
- this.rawDocument = new GeneratedDocumentDTO(data.rawDocument);
2766
- }
2767
- }
2768
- }
2769
- };
2770
- __decorateClass$1([
2771
- Field(() => String)
2772
- ], DocumentAggregateDTO.prototype, "hash", 2);
2773
- __decorateClass$1([
2774
- Field(() => SignedDigitalDocumentDTO),
2775
- ValidateNested()
2776
- ], DocumentAggregateDTO.prototype, "document", 2);
2777
- __decorateClass$1([
2778
- Field(() => GeneratedDocumentDTO, { nullable: true })
2779
- ], DocumentAggregateDTO.prototype, "rawDocument", 2);
2780
- DocumentAggregateDTO = __decorateClass$1([
2781
- ObjectType("DocumentAggregate")
2782
- ], DocumentAggregateDTO);
2783
-
2784
2228
  class CurrencyValidationUtil {
2785
2229
  /**
2786
2230
  * Проверяет, что сумма содержит правильный символ валюты
@@ -3444,4 +2888,4 @@ function rethrowChainError(error) {
3444
2888
  throw DomainError.badRequest(code ?? "CHAIN_ASSERT", { message: text });
3445
2889
  }
3446
2890
 
3447
- export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessContentDTO, ProcessContentFactDTO, ProcessContentLineDTO, ProcessContentLinkDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TransactionDTO, UseBucket, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, catalogAppTitle, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configurePlatformSettings, contentAsset, contentDay, contentFact, contentMoney, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pickDefined, platformSettings, processContentRegistry, providerSuppliedPaths, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2891
+ export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, LOG_EXTENSION_REPOSITORY, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessContentDTO, ProcessContentFactDTO, ProcessContentLineDTO, ProcessContentLinkDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SafeMarkup, UseBucket, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, catalogAppTitle, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configurePlatformSettings, contentAsset, contentDay, contentFact, contentMoney, councilRolesOf, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pickDefined, platformSettings, processContentRegistry, providerSuppliedPaths, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, verifySignedDocumentAgainstStoredDraft, waitForEvent };