@coopenomics/extension-kit 2026.11.12 → 2026.11.23-1

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.cjs CHANGED
@@ -207,15 +207,15 @@ function hasServerSecret(headers) {
207
207
  return a.length === b.length && node_crypto.timingSafeEqual(a, b);
208
208
  }
209
209
 
210
- var __defProp$q = Object.defineProperty;
211
- var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
212
- var __decorateClass$q = (decorators, target, key, kind) => {
213
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
210
+ var __defProp$r = Object.defineProperty;
211
+ var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
212
+ var __decorateClass$r = (decorators, target, key, kind) => {
213
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
214
214
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
215
215
  if (decorator = decorators[i])
216
216
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
217
217
  if (kind && result)
218
- __defProp$q(target, key, result);
218
+ __defProp$r(target, key, result);
219
219
  return result;
220
220
  };
221
221
  const ACTIVE_USER_STATUS = "active";
@@ -240,7 +240,7 @@ exports.GqlJwtAuthGuard = class GqlJwtAuthGuard extends passport.AuthGuard("jwt"
240
240
  return super.canActivate(context);
241
241
  }
242
242
  };
243
- exports.GqlJwtAuthGuard = __decorateClass$q([
243
+ exports.GqlJwtAuthGuard = __decorateClass$r([
244
244
  common.Injectable()
245
245
  ], exports.GqlJwtAuthGuard);
246
246
  function hasAuthorizationHeader(headers) {
@@ -265,7 +265,7 @@ exports.OptionalGqlJwtAuthGuard = class OptionalGqlJwtAuthGuard extends passport
265
265
  throw DomainError.unauthorized("KIT_SESSION_ENDED");
266
266
  }
267
267
  };
268
- exports.OptionalGqlJwtAuthGuard = __decorateClass$q([
268
+ exports.OptionalGqlJwtAuthGuard = __decorateClass$r([
269
269
  common.Injectable()
270
270
  ], exports.OptionalGqlJwtAuthGuard);
271
271
  exports.HttpJwtAuthGuard = class HttpJwtAuthGuard extends passport.AuthGuard("jwt") {
@@ -280,7 +280,7 @@ exports.HttpJwtAuthGuard = class HttpJwtAuthGuard extends passport.AuthGuard("jw
280
280
  return super.canActivate(context);
281
281
  }
282
282
  };
283
- exports.HttpJwtAuthGuard = __decorateClass$q([
283
+ exports.HttpJwtAuthGuard = __decorateClass$r([
284
284
  common.Injectable()
285
285
  ], exports.HttpJwtAuthGuard);
286
286
  exports.ActiveUserStatusGuard = class ActiveUserStatusGuard {
@@ -300,7 +300,7 @@ exports.ActiveUserStatusGuard = class ActiveUserStatusGuard {
300
300
  return true;
301
301
  }
302
302
  };
303
- exports.ActiveUserStatusGuard = __decorateClass$q([
303
+ exports.ActiveUserStatusGuard = __decorateClass$r([
304
304
  common.Injectable()
305
305
  ], exports.ActiveUserStatusGuard);
306
306
 
@@ -499,15 +499,15 @@ const GrantedScope = common.createParamDecorator((_data, context) => {
499
499
  return request?.[GRANTED_SCOPE_KEY] ?? { scopes: [] };
500
500
  });
501
501
 
502
- var __defProp$p = Object.defineProperty;
503
- var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
504
- var __decorateClass$p = (decorators, target, key, kind) => {
505
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
502
+ var __defProp$q = Object.defineProperty;
503
+ var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
504
+ var __decorateClass$q = (decorators, target, key, kind) => {
505
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
506
506
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
507
507
  if (decorator = decorators[i])
508
508
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
509
509
  if (kind && result)
510
- __defProp$p(target, key, result);
510
+ __defProp$q(target, key, result);
511
511
  return result;
512
512
  };
513
513
  var __decorateParam = (index, decorator) => (target, key) => decorator(target, key, index);
@@ -662,21 +662,21 @@ exports.RightsGuard = class RightsGuard {
662
662
  return true;
663
663
  }
664
664
  };
665
- exports.RightsGuard = __decorateClass$p([
665
+ exports.RightsGuard = __decorateClass$q([
666
666
  common.Injectable(),
667
667
  __decorateParam(0, common.Inject(core.Reflector)),
668
668
  __decorateParam(1, common.Inject(APP_RIGHTS))
669
669
  ], exports.RightsGuard);
670
670
 
671
- var __defProp$o = Object.defineProperty;
672
- var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
673
- var __decorateClass$o = (decorators, target, key, kind) => {
674
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
671
+ var __defProp$p = Object.defineProperty;
672
+ var __getOwnPropDesc$p = Object.getOwnPropertyDescriptor;
673
+ var __decorateClass$p = (decorators, target, key, kind) => {
674
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$p(target, key) : target;
675
675
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
676
676
  if (decorator = decorators[i])
677
677
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
678
678
  if (kind && result)
679
- __defProp$o(target, key, result);
679
+ __defProp$p(target, key, result);
680
680
  return result;
681
681
  };
682
682
  exports.BaseExtensionModule = class BaseExtensionModule {
@@ -687,34 +687,34 @@ exports.BaseExtensionModule = class BaseExtensionModule {
687
687
  async onModuleInit() {
688
688
  }
689
689
  };
690
- exports.BaseExtensionModule = __decorateClass$o([
690
+ exports.BaseExtensionModule = __decorateClass$p([
691
691
  common.Injectable()
692
692
  ], exports.BaseExtensionModule);
693
693
 
694
- var __defProp$n = Object.defineProperty;
695
- var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
696
- var __decorateClass$n = (decorators, target, key, kind) => {
697
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
694
+ var __defProp$o = Object.defineProperty;
695
+ var __getOwnPropDesc$o = Object.getOwnPropertyDescriptor;
696
+ var __decorateClass$o = (decorators, target, key, kind) => {
697
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$o(target, key) : target;
698
698
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
699
699
  if (decorator = decorators[i])
700
700
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
701
701
  if (kind && result)
702
- __defProp$n(target, key, result);
702
+ __defProp$o(target, key, result);
703
703
  return result;
704
704
  };
705
705
  exports.PaymentProvider = class PaymentProvider extends exports.BaseExtensionModule {
706
706
  };
707
- exports.PaymentProvider = __decorateClass$n([
707
+ exports.PaymentProvider = __decorateClass$o([
708
708
  common.Injectable()
709
709
  ], exports.PaymentProvider);
710
710
  exports.PollingProvider = class PollingProvider extends exports.PaymentProvider {
711
711
  };
712
- exports.PollingProvider = __decorateClass$n([
712
+ exports.PollingProvider = __decorateClass$o([
713
713
  common.Injectable()
714
714
  ], exports.PollingProvider);
715
715
  exports.IPNProvider = class IPNProvider extends exports.PaymentProvider {
716
716
  };
717
- exports.IPNProvider = __decorateClass$n([
717
+ exports.IPNProvider = __decorateClass$o([
718
718
  common.Injectable()
719
719
  ], exports.IPNProvider);
720
720
 
@@ -779,48 +779,48 @@ function bucketProvidersFor(fileStoragePortToken, consumers) {
779
779
  });
780
780
  }
781
781
 
782
- var __defProp$m = Object.defineProperty;
783
- var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
784
- var __decorateClass$m = (decorators, target, key, kind) => {
785
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
782
+ var __defProp$n = Object.defineProperty;
783
+ var __getOwnPropDesc$n = Object.getOwnPropertyDescriptor;
784
+ var __decorateClass$n = (decorators, target, key, kind) => {
785
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$n(target, key) : target;
786
786
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
787
787
  if (decorator = decorators[i])
788
788
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
789
789
  if (kind && result)
790
- __defProp$m(target, key, result);
790
+ __defProp$n(target, key, result);
791
791
  return result;
792
792
  };
793
793
  exports.SignatureInfoInputDTO = class SignatureInfoInputDTO {
794
794
  };
795
- __decorateClass$m([
795
+ __decorateClass$n([
796
796
  graphql.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" }),
797
797
  classValidator.IsNumber()
798
798
  ], exports.SignatureInfoInputDTO.prototype, "id", 2);
799
- __decorateClass$m([
799
+ __decorateClass$n([
800
800
  graphql.Field(() => String, { description: "\u0410\u043A\u043A\u0430\u0443\u043D\u0442 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u0432\u0448\u0435\u0433\u043E" }),
801
801
  classValidator.IsString()
802
802
  ], exports.SignatureInfoInputDTO.prototype, "signer", 2);
803
- __decorateClass$m([
803
+ __decorateClass$n([
804
804
  graphql.Field(() => String, { description: "\u041F\u0443\u0431\u043B\u0438\u0447\u043D\u044B\u0439 \u043A\u043B\u044E\u0447" }),
805
805
  classValidator.IsString()
806
806
  ], exports.SignatureInfoInputDTO.prototype, "public_key", 2);
807
- __decorateClass$m([
807
+ __decorateClass$n([
808
808
  graphql.Field(() => String, { description: "\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0445\u044D\u0448\u0430" }),
809
809
  classValidator.IsString()
810
810
  ], exports.SignatureInfoInputDTO.prototype, "signature", 2);
811
- __decorateClass$m([
811
+ __decorateClass$n([
812
812
  graphql.Field(() => String, { description: "\u0412\u0440\u0435\u043C\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u044F" }),
813
813
  classValidator.IsString()
814
814
  ], exports.SignatureInfoInputDTO.prototype, "signed_at", 2);
815
- __decorateClass$m([
815
+ __decorateClass$n([
816
816
  graphql.Field(() => String, { description: "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0439 \u0445\u044D\u0448" }),
817
817
  classValidator.IsString()
818
818
  ], exports.SignatureInfoInputDTO.prototype, "signed_hash", 2);
819
- __decorateClass$m([
819
+ __decorateClass$n([
820
820
  graphql.Field(() => String, { description: "\u041C\u0435\u0442\u0430-\u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0438" }),
821
821
  classValidator.IsString()
822
822
  ], exports.SignatureInfoInputDTO.prototype, "meta", 2);
823
- exports.SignatureInfoInputDTO = __decorateClass$m([
823
+ exports.SignatureInfoInputDTO = __decorateClass$n([
824
824
  graphql.InputType("SignatureInfoInput")
825
825
  ], exports.SignatureInfoInputDTO);
826
826
  exports.SignedDigitalDocumentInputDTO = class SignedDigitalDocumentInputDTO {
@@ -841,33 +841,33 @@ exports.SignedDigitalDocumentInputDTO = class SignedDigitalDocumentInputDTO {
841
841
  };
842
842
  }
843
843
  };
844
- __decorateClass$m([
844
+ __decorateClass$n([
845
845
  graphql.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" }),
846
846
  classValidator.IsString()
847
847
  ], exports.SignedDigitalDocumentInputDTO.prototype, "version", 2);
848
- __decorateClass$m([
848
+ __decorateClass$n([
849
849
  graphql.Field(() => String, { description: "\u041E\u0431\u0449\u0438\u0439 \u0445\u044D\u0448 (doc_hash + meta_hash)" }),
850
850
  classValidator.IsString()
851
851
  ], exports.SignedDigitalDocumentInputDTO.prototype, "hash", 2);
852
- __decorateClass$m([
852
+ __decorateClass$n([
853
853
  graphql.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" }),
854
854
  classValidator.IsString()
855
855
  ], exports.SignedDigitalDocumentInputDTO.prototype, "doc_hash", 2);
856
- __decorateClass$m([
856
+ __decorateClass$n([
857
857
  graphql.Field(() => String, { description: "\u0425\u044D\u0448 \u043C\u0435\u0442\u0430-\u0434\u0430\u043D\u043D\u044B\u0445" }),
858
858
  classValidator.IsString()
859
859
  ], exports.SignedDigitalDocumentInputDTO.prototype, "meta_hash", 2);
860
- __decorateClass$m([
860
+ __decorateClass$n([
861
861
  graphql.Field(() => GraphQLJSON.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" })
862
862
  ], exports.SignedDigitalDocumentInputDTO.prototype, "meta", 2);
863
- __decorateClass$m([
863
+ __decorateClass$n([
864
864
  graphql.Field(() => [exports.SignatureInfoInputDTO], { description: "\u0412\u0435\u043A\u0442\u043E\u0440 \u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439" }),
865
865
  classValidator.IsArray(),
866
866
  classValidator.ArrayMinSize(1),
867
867
  classValidator.ValidateNested({ each: true }),
868
868
  classTransformer.Type(() => exports.SignatureInfoInputDTO)
869
869
  ], exports.SignedDigitalDocumentInputDTO.prototype, "signatures", 2);
870
- exports.SignedDigitalDocumentInputDTO = __decorateClass$m([
870
+ exports.SignedDigitalDocumentInputDTO = __decorateClass$n([
871
871
  graphql.InputType("SignedDigitalDocumentInput")
872
872
  ], exports.SignedDigitalDocumentInputDTO);
873
873
 
@@ -880,65 +880,65 @@ graphql.registerEnumType(LangType, {
880
880
  description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"
881
881
  });
882
882
 
883
- var __defProp$l = Object.defineProperty;
884
- var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
885
- var __decorateClass$l = (decorators, target, key, kind) => {
886
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
883
+ var __defProp$m = Object.defineProperty;
884
+ var __getOwnPropDesc$m = Object.getOwnPropertyDescriptor;
885
+ var __decorateClass$m = (decorators, target, key, kind) => {
886
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$m(target, key) : target;
887
887
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
888
888
  if (decorator = decorators[i])
889
889
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
890
890
  if (kind && result)
891
- __defProp$l(target, key, result);
891
+ __defProp$m(target, key, result);
892
892
  return result;
893
893
  };
894
894
  exports.MetaDocumentInputDTO = class MetaDocumentInputDTO {
895
895
  };
896
- __decorateClass$l([
896
+ __decorateClass$m([
897
897
  graphql.Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
898
898
  classValidator.IsString()
899
899
  ], exports.MetaDocumentInputDTO.prototype, "title", 2);
900
- __decorateClass$l([
900
+ __decorateClass$m([
901
901
  graphql.Field(() => graphql.Int, { description: "ID \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435" }),
902
902
  classValidator.IsNumber()
903
903
  ], exports.MetaDocumentInputDTO.prototype, "registry_id", 2);
904
- __decorateClass$l([
904
+ __decorateClass$m([
905
905
  graphql.Field(() => String, { description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430" }),
906
906
  classValidator.IsEnum(LangType)
907
907
  ], exports.MetaDocumentInputDTO.prototype, "lang", 2);
908
- __decorateClass$l([
908
+ __decorateClass$m([
909
909
  graphql.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" }),
910
910
  classValidator.IsString()
911
911
  ], exports.MetaDocumentInputDTO.prototype, "generator", 2);
912
- __decorateClass$l([
912
+ __decorateClass$m([
913
913
  graphql.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" }),
914
914
  classValidator.IsString()
915
915
  ], exports.MetaDocumentInputDTO.prototype, "version", 2);
916
- __decorateClass$l([
916
+ __decorateClass$m([
917
917
  graphql.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" }),
918
918
  classValidator.IsString()
919
919
  ], exports.MetaDocumentInputDTO.prototype, "coopname", 2);
920
- __decorateClass$l([
920
+ __decorateClass$m([
921
921
  graphql.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" }),
922
922
  classValidator.IsString()
923
923
  ], exports.MetaDocumentInputDTO.prototype, "username", 2);
924
- __decorateClass$l([
924
+ __decorateClass$m([
925
925
  graphql.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" }),
926
926
  classValidator.IsString()
927
927
  ], exports.MetaDocumentInputDTO.prototype, "created_at", 2);
928
- __decorateClass$l([
928
+ __decorateClass$m([
929
929
  graphql.Field(() => graphql.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" }),
930
930
  classValidator.IsInt()
931
931
  ], exports.MetaDocumentInputDTO.prototype, "block_num", 2);
932
- __decorateClass$l([
932
+ __decorateClass$m([
933
933
  graphql.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" }),
934
934
  classValidator.IsString()
935
935
  ], exports.MetaDocumentInputDTO.prototype, "timezone", 2);
936
- __decorateClass$l([
936
+ __decorateClass$m([
937
937
  graphql.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" }),
938
938
  classValidator.IsArray(),
939
939
  classValidator.IsString({ each: true })
940
940
  ], exports.MetaDocumentInputDTO.prototype, "links", 2);
941
- __decorateClass$l([
941
+ __decorateClass$m([
942
942
  graphql.Field(() => String, {
943
943
  nullable: true,
944
944
  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"
@@ -946,128 +946,128 @@ __decorateClass$l([
946
946
  classValidator.IsOptional(),
947
947
  classValidator.IsString()
948
948
  ], exports.MetaDocumentInputDTO.prototype, "builder", 2);
949
- exports.MetaDocumentInputDTO = __decorateClass$l([
949
+ exports.MetaDocumentInputDTO = __decorateClass$m([
950
950
  graphql.InputType("MetaDocumentInput")
951
951
  ], exports.MetaDocumentInputDTO);
952
952
 
953
- var __defProp$k = Object.defineProperty;
954
- var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
955
- var __decorateClass$k = (decorators, target, key, kind) => {
956
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
953
+ var __defProp$l = Object.defineProperty;
954
+ var __getOwnPropDesc$l = Object.getOwnPropertyDescriptor;
955
+ var __decorateClass$l = (decorators, target, key, kind) => {
956
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$l(target, key) : target;
957
957
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
958
958
  if (decorator = decorators[i])
959
959
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
960
960
  if (kind && result)
961
- __defProp$k(target, key, result);
961
+ __defProp$l(target, key, result);
962
962
  return result;
963
963
  };
964
964
  exports.GenerateMetaDocumentInputDTO = class GenerateMetaDocumentInputDTO {
965
965
  };
966
- __decorateClass$k([
966
+ __decorateClass$l([
967
967
  graphql.Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
968
968
  classValidator.IsOptional(),
969
969
  classValidator.IsString()
970
970
  ], exports.GenerateMetaDocumentInputDTO.prototype, "title", 2);
971
- __decorateClass$k([
971
+ __decorateClass$l([
972
972
  graphql.Field(() => graphql.Int, { description: "ID \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435" }),
973
973
  classValidator.IsNumber()
974
974
  ], exports.GenerateMetaDocumentInputDTO.prototype, "registry_id", 2);
975
- __decorateClass$k([
975
+ __decorateClass$l([
976
976
  graphql.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" }),
977
977
  classValidator.IsString()
978
978
  ], exports.GenerateMetaDocumentInputDTO.prototype, "coopname", 2);
979
- __decorateClass$k([
979
+ __decorateClass$l([
980
980
  graphql.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" }),
981
981
  classValidator.IsString()
982
982
  ], exports.GenerateMetaDocumentInputDTO.prototype, "username", 2);
983
- __decorateClass$k([
983
+ __decorateClass$l([
984
984
  graphql.Field(() => String, { description: "\u042F\u0437\u044B\u043A \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430", nullable: true }),
985
985
  classValidator.IsOptional(),
986
986
  classValidator.IsEnum(LangType)
987
987
  ], exports.GenerateMetaDocumentInputDTO.prototype, "lang", 2);
988
- __decorateClass$k([
988
+ __decorateClass$l([
989
989
  graphql.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 }),
990
990
  classValidator.IsOptional(),
991
991
  classValidator.IsString()
992
992
  ], exports.GenerateMetaDocumentInputDTO.prototype, "generator", 2);
993
- __decorateClass$k([
993
+ __decorateClass$l([
994
994
  graphql.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 }),
995
995
  classValidator.IsOptional(),
996
996
  classValidator.IsString()
997
997
  ], exports.GenerateMetaDocumentInputDTO.prototype, "version", 2);
998
- __decorateClass$k([
998
+ __decorateClass$l([
999
999
  graphql.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 }),
1000
1000
  classValidator.IsOptional()
1001
1001
  ], exports.GenerateMetaDocumentInputDTO.prototype, "created_at", 2);
1002
- __decorateClass$k([
1002
+ __decorateClass$l([
1003
1003
  graphql.Field(() => graphql.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 }),
1004
1004
  classValidator.IsOptional(),
1005
1005
  classValidator.IsInt()
1006
1006
  ], exports.GenerateMetaDocumentInputDTO.prototype, "block_num", 2);
1007
- __decorateClass$k([
1007
+ __decorateClass$l([
1008
1008
  graphql.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 }),
1009
1009
  classValidator.IsOptional(),
1010
1010
  classValidator.IsString()
1011
1011
  ], exports.GenerateMetaDocumentInputDTO.prototype, "timezone", 2);
1012
- __decorateClass$k([
1012
+ __decorateClass$l([
1013
1013
  graphql.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 }),
1014
1014
  classValidator.IsOptional(),
1015
1015
  classValidator.IsArray(),
1016
1016
  classValidator.IsString({ each: true })
1017
1017
  ], exports.GenerateMetaDocumentInputDTO.prototype, "links", 2);
1018
- exports.GenerateMetaDocumentInputDTO = __decorateClass$k([
1018
+ exports.GenerateMetaDocumentInputDTO = __decorateClass$l([
1019
1019
  graphql.InputType("GenerateMetaDocumentInput")
1020
1020
  ], exports.GenerateMetaDocumentInputDTO);
1021
1021
 
1022
- var __defProp$j = Object.defineProperty;
1023
- var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
1024
- var __decorateClass$j = (decorators, target, key, kind) => {
1025
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
1022
+ var __defProp$k = Object.defineProperty;
1023
+ var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
1024
+ var __decorateClass$k = (decorators, target, key, kind) => {
1025
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
1026
1026
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1027
1027
  if (decorator = decorators[i])
1028
1028
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1029
1029
  if (kind && result)
1030
- __defProp$j(target, key, result);
1030
+ __defProp$k(target, key, result);
1031
1031
  return result;
1032
1032
  };
1033
1033
  let ExpenseProposalItemInputDTO = class {
1034
1034
  };
1035
- __decorateClass$j([
1035
+ __decorateClass$k([
1036
1036
  graphql.Field(() => String, { description: "\u041F\u043E\u0440\u044F\u0434\u043A\u043E\u0432\u044B\u0439 \u043D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1037
1037
  classValidator.IsString()
1038
1038
  ], ExpenseProposalItemInputDTO.prototype, "number", 2);
1039
- __decorateClass$j([
1039
+ __decorateClass$k([
1040
1040
  graphql.Field(() => String, { description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0440\u0430\u0441\u0445\u043E\u0434\u0430" }),
1041
1041
  classValidator.IsString()
1042
1042
  ], ExpenseProposalItemInputDTO.prototype, "description", 2);
1043
- __decorateClass$j([
1043
+ __decorateClass$k([
1044
1044
  graphql.Field(() => String, { description: "\u0421\u0443\u043C\u043C\u0430 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1045
1045
  classValidator.IsString()
1046
1046
  ], ExpenseProposalItemInputDTO.prototype, "amount", 2);
1047
- __decorateClass$j([
1047
+ __decorateClass$k([
1048
1048
  graphql.Field(() => String, { description: "\u0422\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F (SELF / MEMBER / ORG)" }),
1049
1049
  classValidator.IsString()
1050
1050
  ], ExpenseProposalItemInputDTO.prototype, "recipient_type", 2);
1051
- __decorateClass$j([
1051
+ __decorateClass$k([
1052
1052
  graphql.Field(() => String, { description: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043E\u043F\u043B\u0430\u0442\u044B (ADVANCE / DIRECT)" }),
1053
1053
  classValidator.IsString()
1054
1054
  ], ExpenseProposalItemInputDTO.prototype, "mechanics", 2);
1055
- __decorateClass$j([
1055
+ __decorateClass$k([
1056
1056
  graphql.Field(() => String, { description: "\u0418\u043C\u044F \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F", nullable: true }),
1057
1057
  classValidator.IsOptional(),
1058
1058
  classValidator.IsString()
1059
1059
  ], ExpenseProposalItemInputDTO.prototype, "recipient_name", 2);
1060
- __decorateClass$j([
1060
+ __decorateClass$k([
1061
1061
  graphql.Field(() => String, { description: "\u0420\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u044B \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F", nullable: true }),
1062
1062
  classValidator.IsOptional(),
1063
1063
  classValidator.IsString()
1064
1064
  ], ExpenseProposalItemInputDTO.prototype, "requisites", 2);
1065
- __decorateClass$j([
1065
+ __decorateClass$k([
1066
1066
  graphql.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 }),
1067
1067
  classValidator.IsOptional(),
1068
1068
  classValidator.IsString()
1069
1069
  ], ExpenseProposalItemInputDTO.prototype, "payment_purpose", 2);
1070
- __decorateClass$j([
1070
+ __decorateClass$k([
1071
1071
  graphql.Field(() => String, {
1072
1072
  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.",
1073
1073
  nullable: true
@@ -1075,7 +1075,7 @@ __decorateClass$j([
1075
1075
  classValidator.IsOptional(),
1076
1076
  classValidator.IsString()
1077
1077
  ], ExpenseProposalItemInputDTO.prototype, "payment_method_id", 2);
1078
- __decorateClass$j([
1078
+ __decorateClass$k([
1079
1079
  graphql.Field(() => String, {
1080
1080
  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).",
1081
1081
  nullable: true
@@ -1083,7 +1083,7 @@ __decorateClass$j([
1083
1083
  classValidator.IsOptional(),
1084
1084
  classValidator.IsString()
1085
1085
  ], ExpenseProposalItemInputDTO.prototype, "recipient_username", 2);
1086
- __decorateClass$j([
1086
+ __decorateClass$k([
1087
1087
  graphql.Field(() => graphql.Int, {
1088
1088
  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.",
1089
1089
  nullable: true
@@ -1091,60 +1091,60 @@ __decorateClass$j([
1091
1091
  classValidator.IsOptional(),
1092
1092
  classValidator.IsInt()
1093
1093
  ], ExpenseProposalItemInputDTO.prototype, "counterparty_id", 2);
1094
- ExpenseProposalItemInputDTO = __decorateClass$j([
1094
+ ExpenseProposalItemInputDTO = __decorateClass$k([
1095
1095
  graphql.InputType("ExpenseProposalItemInput")
1096
1096
  ], ExpenseProposalItemInputDTO);
1097
1097
  let ExpenseProposalSignedItemInputDTO = class {
1098
1098
  };
1099
- __decorateClass$j([
1099
+ __decorateClass$k([
1100
1100
  graphql.Field(() => String, { description: "\u041F\u043E\u0440\u044F\u0434\u043A\u043E\u0432\u044B\u0439 \u043D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1101
1101
  classValidator.IsString()
1102
1102
  ], ExpenseProposalSignedItemInputDTO.prototype, "number", 2);
1103
- __decorateClass$j([
1103
+ __decorateClass$k([
1104
1104
  graphql.Field(() => String, { description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0440\u0430\u0441\u0445\u043E\u0434\u0430" }),
1105
1105
  classValidator.IsString()
1106
1106
  ], ExpenseProposalSignedItemInputDTO.prototype, "description", 2);
1107
- __decorateClass$j([
1107
+ __decorateClass$k([
1108
1108
  graphql.Field(() => String, { description: "\u0421\u0443\u043C\u043C\u0430 \u0441\u0442\u0440\u043E\u043A\u0438" }),
1109
1109
  classValidator.IsString()
1110
1110
  ], ExpenseProposalSignedItemInputDTO.prototype, "amount", 2);
1111
- __decorateClass$j([
1111
+ __decorateClass$k([
1112
1112
  graphql.Field(() => String, { description: "\u0422\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F (SELF / MEMBER / ORG)" }),
1113
1113
  classValidator.IsString()
1114
1114
  ], ExpenseProposalSignedItemInputDTO.prototype, "recipient_type", 2);
1115
- __decorateClass$j([
1115
+ __decorateClass$k([
1116
1116
  graphql.Field(() => String, { description: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043E\u043F\u043B\u0430\u0442\u044B (ADVANCE / DIRECT)" }),
1117
1117
  classValidator.IsString()
1118
1118
  ], ExpenseProposalSignedItemInputDTO.prototype, "mechanics", 2);
1119
- ExpenseProposalSignedItemInputDTO = __decorateClass$j([
1119
+ ExpenseProposalSignedItemInputDTO = __decorateClass$k([
1120
1120
  graphql.InputType("ExpenseProposalSignedItemInput")
1121
1121
  ], ExpenseProposalSignedItemInputDTO);
1122
1122
  let ExpenseProposalHeaderInputDTO = class {
1123
1123
  };
1124
- __decorateClass$j([
1124
+ __decorateClass$k([
1125
1125
  graphql.Field(() => String, { description: "\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0446\u0435\u043B\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432" }),
1126
1126
  classValidator.IsString()
1127
1127
  ], ExpenseProposalHeaderInputDTO.prototype, "description", 2);
1128
- __decorateClass$j([
1128
+ __decorateClass$k([
1129
1129
  graphql.Field(() => String, { description: "\u0418\u0442\u043E\u0433\u043E\u0432\u0430\u044F \u0441\u0443\u043C\u043C\u0430 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432" }),
1130
1130
  classValidator.IsString()
1131
1131
  ], ExpenseProposalHeaderInputDTO.prototype, "total_amount", 2);
1132
- __decorateClass$j([
1132
+ __decorateClass$k([
1133
1133
  graphql.Field(() => graphql.Int, { description: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E\u0437\u0438\u0446\u0438\u0439" }),
1134
1134
  classValidator.IsInt()
1135
1135
  ], ExpenseProposalHeaderInputDTO.prototype, "items_count", 2);
1136
- __decorateClass$j([
1136
+ __decorateClass$k([
1137
1137
  graphql.Field(() => String, { description: "\u041A\u043E\u0448\u0435\u043B\u0451\u043A-\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A" }),
1138
1138
  classValidator.IsString()
1139
1139
  ], ExpenseProposalHeaderInputDTO.prototype, "source_wallet", 2);
1140
- __decorateClass$j([
1140
+ __decorateClass$k([
1141
1141
  graphql.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" }),
1142
1142
  classValidator.IsString(),
1143
1143
  classValidator.Matches(/^\d{2}\.\d{2}\.\d{4}$/, {
1144
1144
  message: validationMessage("kit.expenseStatement.dueDateFormat")
1145
1145
  })
1146
1146
  ], ExpenseProposalHeaderInputDTO.prototype, "deadline", 2);
1147
- __decorateClass$j([
1147
+ __decorateClass$k([
1148
1148
  graphql.Field(() => String, {
1149
1149
  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",
1150
1150
  nullable: true
@@ -1152,56 +1152,56 @@ __decorateClass$j([
1152
1152
  classValidator.IsOptional(),
1153
1153
  classValidator.IsString()
1154
1154
  ], ExpenseProposalHeaderInputDTO.prototype, "fund_name", 2);
1155
- ExpenseProposalHeaderInputDTO = __decorateClass$j([
1155
+ ExpenseProposalHeaderInputDTO = __decorateClass$k([
1156
1156
  graphql.InputType("ExpenseProposalHeaderInput")
1157
1157
  ], ExpenseProposalHeaderInputDTO);
1158
1158
  let BaseExpenseProposalStatementGenerateMetaDocumentInputDTO = class {
1159
1159
  };
1160
- __decorateClass$j([
1160
+ __decorateClass$k([
1161
1161
  graphql.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)" }),
1162
1162
  classValidator.IsString(),
1163
1163
  classValidator.IsNotEmpty()
1164
1164
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO.prototype, "proposal_hash", 2);
1165
- __decorateClass$j([
1165
+ __decorateClass$k([
1166
1166
  graphql.Field(() => ExpenseProposalHeaderInputDTO, { description: "\u0428\u0430\u043F\u043A\u0430 \u0421\u0417" }),
1167
1167
  classValidator.ValidateNested(),
1168
1168
  classTransformer.Type(() => ExpenseProposalHeaderInputDTO)
1169
1169
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO.prototype, "proposal", 2);
1170
- __decorateClass$j([
1170
+ __decorateClass$k([
1171
1171
  graphql.Field(() => [ExpenseProposalItemInputDTO], { description: "\u041F\u043E\u0437\u0438\u0446\u0438\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u0430" }),
1172
1172
  classValidator.IsArray(),
1173
1173
  classValidator.ArrayMinSize(1),
1174
1174
  classValidator.ValidateNested({ each: true }),
1175
1175
  classTransformer.Type(() => ExpenseProposalItemInputDTO)
1176
1176
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO.prototype, "items", 2);
1177
- BaseExpenseProposalStatementGenerateMetaDocumentInputDTO = __decorateClass$j([
1177
+ BaseExpenseProposalStatementGenerateMetaDocumentInputDTO = __decorateClass$k([
1178
1178
  graphql.InputType("BaseExpenseProposalStatementGenerateMetaDocumentInput")
1179
1179
  ], BaseExpenseProposalStatementGenerateMetaDocumentInputDTO);
1180
1180
  let BaseExpenseProposalStatementSignedMetaDocumentInputDTO = class {
1181
1181
  };
1182
- __decorateClass$j([
1182
+ __decorateClass$k([
1183
1183
  graphql.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)" }),
1184
1184
  classValidator.IsString(),
1185
1185
  classValidator.IsNotEmpty()
1186
1186
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "proposal_hash", 2);
1187
- __decorateClass$j([
1187
+ __decorateClass$k([
1188
1188
  graphql.Field(() => ExpenseProposalHeaderInputDTO, { description: "\u0428\u0430\u043F\u043A\u0430 \u0421\u0417" }),
1189
1189
  classValidator.ValidateNested(),
1190
1190
  classTransformer.Type(() => ExpenseProposalHeaderInputDTO)
1191
1191
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "proposal", 2);
1192
- __decorateClass$j([
1192
+ __decorateClass$k([
1193
1193
  graphql.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)" }),
1194
1194
  classValidator.IsArray(),
1195
1195
  classValidator.ArrayMinSize(1),
1196
1196
  classValidator.ValidateNested({ each: true }),
1197
1197
  classTransformer.Type(() => ExpenseProposalSignedItemInputDTO)
1198
1198
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "items", 2);
1199
- __decorateClass$j([
1199
+ __decorateClass$k([
1200
1200
  graphql.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)" }),
1201
1201
  classValidator.IsString(),
1202
1202
  classValidator.IsNotEmpty()
1203
1203
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO.prototype, "doc_data_hash", 2);
1204
- BaseExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$j([
1204
+ BaseExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$k([
1205
1205
  graphql.InputType("BaseExpenseProposalStatementSignedMetaDocumentInput")
1206
1206
  ], BaseExpenseProposalStatementSignedMetaDocumentInputDTO);
1207
1207
  exports.ExpenseProposalStatementGenerateDocumentInputDTO = class ExpenseProposalStatementGenerateDocumentInputDTO extends graphql.IntersectionType(
@@ -1209,7 +1209,7 @@ exports.ExpenseProposalStatementGenerateDocumentInputDTO = class ExpenseProposal
1209
1209
  graphql.OmitType(exports.GenerateMetaDocumentInputDTO, ["registry_id"])
1210
1210
  ) {
1211
1211
  };
1212
- exports.ExpenseProposalStatementGenerateDocumentInputDTO = __decorateClass$j([
1212
+ exports.ExpenseProposalStatementGenerateDocumentInputDTO = __decorateClass$k([
1213
1213
  graphql.InputType("ExpenseProposalStatementGenerateDocumentInput")
1214
1214
  ], exports.ExpenseProposalStatementGenerateDocumentInputDTO);
1215
1215
  exports.ExpenseProposalStatementSignedMetaDocumentInputDTO = class ExpenseProposalStatementSignedMetaDocumentInputDTO extends graphql.IntersectionType(
@@ -1217,17 +1217,17 @@ exports.ExpenseProposalStatementSignedMetaDocumentInputDTO = class ExpensePropos
1217
1217
  exports.MetaDocumentInputDTO
1218
1218
  ) {
1219
1219
  };
1220
- exports.ExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$j([
1220
+ exports.ExpenseProposalStatementSignedMetaDocumentInputDTO = __decorateClass$k([
1221
1221
  graphql.InputType("ExpenseProposalStatementSignedMetaDocumentInput")
1222
1222
  ], exports.ExpenseProposalStatementSignedMetaDocumentInputDTO);
1223
1223
  exports.ExpenseProposalStatementSignedDocumentInputDTO = class ExpenseProposalStatementSignedDocumentInputDTO extends exports.SignedDigitalDocumentInputDTO {
1224
1224
  };
1225
- __decorateClass$j([
1225
+ __decorateClass$k([
1226
1226
  graphql.Field(() => exports.ExpenseProposalStatementSignedMetaDocumentInputDTO, {
1227
1227
  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"
1228
1228
  })
1229
1229
  ], exports.ExpenseProposalStatementSignedDocumentInputDTO.prototype, "meta", 2);
1230
- exports.ExpenseProposalStatementSignedDocumentInputDTO = __decorateClass$j([
1230
+ exports.ExpenseProposalStatementSignedDocumentInputDTO = __decorateClass$k([
1231
1231
  graphql.InputType("ExpenseProposalStatementSignedDocumentInput")
1232
1232
  ], exports.ExpenseProposalStatementSignedDocumentInputDTO);
1233
1233
 
@@ -1288,15 +1288,15 @@ function expensePlanReserveMonths(periodMonths) {
1288
1288
 
1289
1289
  const DOCUMENT_GENERATION_THROTTLE = { default: { limit: 60, ttl: 6e4 } };
1290
1290
 
1291
- var __defProp$i = Object.defineProperty;
1292
- var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
1293
- var __decorateClass$i = (decorators, target, key, kind) => {
1294
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
1291
+ var __defProp$j = Object.defineProperty;
1292
+ var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
1293
+ var __decorateClass$j = (decorators, target, key, kind) => {
1294
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
1295
1295
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1296
1296
  if (decorator = decorators[i])
1297
1297
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1298
1298
  if (kind && result)
1299
- __defProp$i(target, key, result);
1299
+ __defProp$j(target, key, result);
1300
1300
  return result;
1301
1301
  };
1302
1302
  var CandidateStatus = /* @__PURE__ */ ((CandidateStatus2) => {
@@ -1310,63 +1310,63 @@ graphql.registerEnumType(CandidateStatus, {
1310
1310
  });
1311
1311
  exports.CandidateOutputDTO = class CandidateOutputDTO {
1312
1312
  };
1313
- __decorateClass$i([
1313
+ __decorateClass$j([
1314
1314
  graphql.Field(() => String)
1315
1315
  ], exports.CandidateOutputDTO.prototype, "username", 2);
1316
- __decorateClass$i([
1316
+ __decorateClass$j([
1317
1317
  graphql.Field(() => String, { nullable: true })
1318
1318
  ], exports.CandidateOutputDTO.prototype, "username_display_name", 2);
1319
- __decorateClass$i([
1319
+ __decorateClass$j([
1320
1320
  graphql.Field(() => String)
1321
1321
  ], exports.CandidateOutputDTO.prototype, "coopname", 2);
1322
- __decorateClass$i([
1322
+ __decorateClass$j([
1323
1323
  graphql.Field(() => String, { nullable: true })
1324
1324
  ], exports.CandidateOutputDTO.prototype, "braname", 2);
1325
- __decorateClass$i([
1325
+ __decorateClass$j([
1326
1326
  graphql.Field(() => CandidateStatus)
1327
1327
  ], exports.CandidateOutputDTO.prototype, "status", 2);
1328
- __decorateClass$i([
1328
+ __decorateClass$j([
1329
1329
  graphql.Field(() => String)
1330
1330
  ], exports.CandidateOutputDTO.prototype, "type", 2);
1331
- __decorateClass$i([
1331
+ __decorateClass$j([
1332
1332
  graphql.Field(() => Date)
1333
1333
  ], exports.CandidateOutputDTO.prototype, "created_at", 2);
1334
- __decorateClass$i([
1334
+ __decorateClass$j([
1335
1335
  graphql.Field(() => Date, { nullable: true })
1336
1336
  ], exports.CandidateOutputDTO.prototype, "registered_at", 2);
1337
- __decorateClass$i([
1337
+ __decorateClass$j([
1338
1338
  graphql.Field(() => String, { nullable: true })
1339
1339
  ], exports.CandidateOutputDTO.prototype, "referer", 2);
1340
- __decorateClass$i([
1340
+ __decorateClass$j([
1341
1341
  graphql.Field(() => String, { nullable: true })
1342
1342
  ], exports.CandidateOutputDTO.prototype, "referer_display_name", 2);
1343
- __decorateClass$i([
1343
+ __decorateClass$j([
1344
1344
  graphql.Field(() => String)
1345
1345
  ], exports.CandidateOutputDTO.prototype, "public_key", 2);
1346
- __decorateClass$i([
1346
+ __decorateClass$j([
1347
1347
  graphql.Field(() => String, { nullable: true })
1348
1348
  ], exports.CandidateOutputDTO.prototype, "program_key", 2);
1349
- exports.CandidateOutputDTO = __decorateClass$i([
1349
+ exports.CandidateOutputDTO = __decorateClass$j([
1350
1350
  graphql.ObjectType("Candidate")
1351
1351
  ], exports.CandidateOutputDTO);
1352
1352
 
1353
- var __defProp$h = Object.defineProperty;
1354
- var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
1355
- var __decorateClass$h = (decorators, target, key, kind) => {
1356
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
1353
+ var __defProp$i = Object.defineProperty;
1354
+ var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
1355
+ var __decorateClass$i = (decorators, target, key, kind) => {
1356
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
1357
1357
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1358
1358
  if (decorator = decorators[i])
1359
1359
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1360
1360
  if (kind && result)
1361
- __defProp$h(target, key, result);
1361
+ __defProp$i(target, key, result);
1362
1362
  return result;
1363
1363
  };
1364
1364
  exports.CandidateFilterInputDTO = class CandidateFilterInputDTO {
1365
1365
  };
1366
- __decorateClass$h([
1366
+ __decorateClass$i([
1367
1367
  graphql.Field(() => String, { nullable: true })
1368
1368
  ], exports.CandidateFilterInputDTO.prototype, "referer", 2);
1369
- exports.CandidateFilterInputDTO = __decorateClass$h([
1369
+ exports.CandidateFilterInputDTO = __decorateClass$i([
1370
1370
  graphql.InputType("CandidateFilterInput")
1371
1371
  ], exports.CandidateFilterInputDTO);
1372
1372
 
@@ -1472,32 +1472,32 @@ async function attachOne(records, related, property, keys) {
1472
1472
  }
1473
1473
  }
1474
1474
 
1475
- var __defProp$g = Object.defineProperty;
1476
- var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
1477
- var __decorateClass$g = (decorators, target, key, kind) => {
1478
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
1475
+ var __defProp$h = Object.defineProperty;
1476
+ var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
1477
+ var __decorateClass$h = (decorators, target, key, kind) => {
1478
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
1479
1479
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1480
1480
  if (decorator = decorators[i])
1481
1481
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1482
1482
  if (kind && result)
1483
- __defProp$g(target, key, result);
1483
+ __defProp$h(target, key, result);
1484
1484
  return result;
1485
1485
  };
1486
1486
  const SORT_FIELD_PATTERN = /^([A-Za-z_][A-Za-z0-9_]*(:(asc|desc))?)?$/i;
1487
1487
  exports.PaginationInputDTO = class PaginationInputDTO {
1488
1488
  };
1489
- __decorateClass$g([
1489
+ __decorateClass$h([
1490
1490
  graphql.Field(() => graphql.Int, { description: "\u041D\u043E\u043C\u0435\u0440 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B", defaultValue: 1 })
1491
1491
  ], exports.PaginationInputDTO.prototype, "page", 2);
1492
- __decorateClass$g([
1492
+ __decorateClass$h([
1493
1493
  graphql.Field(() => graphql.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 })
1494
1494
  ], exports.PaginationInputDTO.prototype, "limit", 2);
1495
- __decorateClass$g([
1495
+ __decorateClass$h([
1496
1496
  graphql.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")' }),
1497
1497
  classValidator.IsOptional(),
1498
1498
  classValidator.Matches(SORT_FIELD_PATTERN, { message: validationMessage("kit.pagination.invalidSortField") })
1499
1499
  ], exports.PaginationInputDTO.prototype, "sortBy", 2);
1500
- __decorateClass$g([
1500
+ __decorateClass$h([
1501
1501
  graphql.Field(() => String, {
1502
1502
  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")',
1503
1503
  defaultValue: "ASC"
@@ -1505,7 +1505,7 @@ __decorateClass$g([
1505
1505
  classValidator.IsOptional(),
1506
1506
  classValidator.IsIn(["ASC", "DESC"], { message: validationMessage("kit.pagination.invalidSortOrder") })
1507
1507
  ], exports.PaginationInputDTO.prototype, "sortOrder", 2);
1508
- exports.PaginationInputDTO = __decorateClass$g([
1508
+ exports.PaginationInputDTO = __decorateClass$h([
1509
1509
  graphql.InputType("PaginationInput")
1510
1510
  ], exports.PaginationInputDTO);
1511
1511
  class PaginationResult {
@@ -1513,19 +1513,19 @@ class PaginationResult {
1513
1513
  function createPaginationResult(ItemType, name) {
1514
1514
  let PaginationResult2 = class {
1515
1515
  };
1516
- __decorateClass$g([
1516
+ __decorateClass$h([
1517
1517
  graphql.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" })
1518
1518
  ], PaginationResult2.prototype, "items", 2);
1519
- __decorateClass$g([
1519
+ __decorateClass$h([
1520
1520
  graphql.Field(() => graphql.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" })
1521
1521
  ], PaginationResult2.prototype, "totalCount", 2);
1522
- __decorateClass$g([
1522
+ __decorateClass$h([
1523
1523
  graphql.Field(() => graphql.Int, { description: "\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0441\u0442\u0440\u0430\u043D\u0438\u0446" })
1524
1524
  ], PaginationResult2.prototype, "totalPages", 2);
1525
- __decorateClass$g([
1525
+ __decorateClass$h([
1526
1526
  graphql.Field(() => graphql.Int, { description: "\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430" })
1527
1527
  ], PaginationResult2.prototype, "currentPage", 2);
1528
- PaginationResult2 = __decorateClass$g([
1528
+ PaginationResult2 = __decorateClass$h([
1529
1529
  graphql.ObjectType(`${name}PaginationResult`, { isAbstract: true })
1530
1530
  ], PaginationResult2);
1531
1531
  return PaginationResult2;
@@ -1602,255 +1602,255 @@ function paginationInputToOffset(options) {
1602
1602
  };
1603
1603
  }
1604
1604
 
1605
- var __defProp$f = Object.defineProperty;
1606
- var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
1607
- var __decorateClass$f = (decorators, target, key, kind) => {
1608
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
1605
+ var __defProp$g = Object.defineProperty;
1606
+ var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
1607
+ var __decorateClass$g = (decorators, target, key, kind) => {
1608
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
1609
1609
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1610
1610
  if (decorator = decorators[i])
1611
1611
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1612
1612
  if (kind && result)
1613
- __defProp$f(target, key, result);
1613
+ __defProp$g(target, key, result);
1614
1614
  return result;
1615
1615
  };
1616
1616
  exports.Ledger2AccountDTO = class Ledger2AccountDTO {
1617
1617
  };
1618
- __decorateClass$f([
1618
+ __decorateClass$g([
1619
1619
  graphql.Field(() => graphql.Int, { description: "ID \u0441\u0447\u0451\u0442\u0430 (\xD71000 offset): 51000/80000/86000/..." })
1620
1620
  ], exports.Ledger2AccountDTO.prototype, "id", 2);
1621
- __decorateClass$f([
1621
+ __decorateClass$g([
1622
1622
  graphql.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" })
1623
1623
  ], exports.Ledger2AccountDTO.prototype, "name", 2);
1624
- __decorateClass$f([
1624
+ __decorateClass$g([
1625
1625
  graphql.Field(() => String, { description: '\u0421\u0430\u043B\u044C\u0434\u043E (EOSIO asset: "7000.0000 RUB")' })
1626
1626
  ], exports.Ledger2AccountDTO.prototype, "balance", 2);
1627
- __decorateClass$f([
1627
+ __decorateClass$g([
1628
1628
  graphql.Field(() => String, { description: "\u0414\u0435\u0431\u0435\u0442\u043E\u0432\u044B\u0439 \u043E\u0431\u043E\u0440\u043E\u0442" })
1629
1629
  ], exports.Ledger2AccountDTO.prototype, "debitBalance", 2);
1630
- __decorateClass$f([
1630
+ __decorateClass$g([
1631
1631
  graphql.Field(() => String, { description: "\u041A\u0440\u0435\u0434\u0438\u0442\u043E\u0432\u044B\u0439 \u043E\u0431\u043E\u0440\u043E\u0442" })
1632
1632
  ], exports.Ledger2AccountDTO.prototype, "creditBalance", 2);
1633
- __decorateClass$f([
1633
+ __decorateClass$g([
1634
1634
  graphql.Field(() => graphql.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)" })
1635
1635
  ], exports.Ledger2AccountDTO.prototype, "accountType", 2);
1636
- exports.Ledger2AccountDTO = __decorateClass$f([
1636
+ exports.Ledger2AccountDTO = __decorateClass$g([
1637
1637
  graphql.ObjectType("Ledger2Account")
1638
1638
  ], exports.Ledger2AccountDTO);
1639
1639
 
1640
- var __defProp$e = Object.defineProperty;
1641
- var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
1642
- var __decorateClass$e = (decorators, target, key, kind) => {
1643
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
1640
+ var __defProp$f = Object.defineProperty;
1641
+ var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
1642
+ var __decorateClass$f = (decorators, target, key, kind) => {
1643
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
1644
1644
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1645
1645
  if (decorator = decorators[i])
1646
1646
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1647
1647
  if (kind && result)
1648
- __defProp$e(target, key, result);
1648
+ __defProp$f(target, key, result);
1649
1649
  return result;
1650
1650
  };
1651
1651
  exports.Ledger2WalletDTO = class Ledger2WalletDTO {
1652
1652
  };
1653
- __decorateClass$e([
1653
+ __decorateClass$f([
1654
1654
  graphql.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>)" })
1655
1655
  ], exports.Ledger2WalletDTO.prototype, "id", 2);
1656
- __decorateClass$e([
1656
+ __decorateClass$f([
1657
1657
  graphql.Field(() => String, { description: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430" })
1658
1658
  ], exports.Ledger2WalletDTO.prototype, "name", 2);
1659
- __decorateClass$e([
1659
+ __decorateClass$f([
1660
1660
  graphql.Field(() => String, { description: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0431\u0430\u043B\u0430\u043D\u0441" })
1661
1661
  ], exports.Ledger2WalletDTO.prototype, "available", 2);
1662
- exports.Ledger2WalletDTO = __decorateClass$e([
1662
+ exports.Ledger2WalletDTO = __decorateClass$f([
1663
1663
  graphql.ObjectType("Ledger2Wallet")
1664
1664
  ], exports.Ledger2WalletDTO);
1665
1665
 
1666
- var __defProp$d = Object.defineProperty;
1667
- var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
1668
- var __decorateClass$d = (decorators, target, key, kind) => {
1669
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1666
+ var __defProp$e = Object.defineProperty;
1667
+ var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
1668
+ var __decorateClass$e = (decorators, target, key, kind) => {
1669
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
1670
1670
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1671
1671
  if (decorator = decorators[i])
1672
1672
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1673
1673
  if (kind && result)
1674
- __defProp$d(target, key, result);
1674
+ __defProp$e(target, key, result);
1675
1675
  return result;
1676
1676
  };
1677
1677
  exports.Ledger2OperationDTO = class Ledger2OperationDTO {
1678
1678
  };
1679
- __decorateClass$d([
1679
+ __decorateClass$e([
1680
1680
  graphql.Field(() => String, {
1681
1681
  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)"
1682
1682
  })
1683
1683
  ], exports.Ledger2OperationDTO.prototype, "globalSequence", 2);
1684
- __decorateClass$d([
1684
+ __decorateClass$e([
1685
1685
  graphql.Field(() => graphql.Int)
1686
1686
  ], exports.Ledger2OperationDTO.prototype, "blockNum", 2);
1687
- __decorateClass$d([
1687
+ __decorateClass$e([
1688
1688
  graphql.Field(() => String)
1689
1689
  ], exports.Ledger2OperationDTO.prototype, "coopname", 2);
1690
- __decorateClass$d([
1690
+ __decorateClass$e([
1691
1691
  graphql.Field(() => String, {
1692
1692
  description: "apply | walletop | debit | credit"
1693
1693
  })
1694
1694
  ], exports.Ledger2OperationDTO.prototype, "action", 2);
1695
- __decorateClass$d([
1695
+ __decorateClass$e([
1696
1696
  graphql.Field(() => String, {
1697
1697
  nullable: true,
1698
1698
  description: "\u0414\u043B\u044F apply: OPERATION_REGISTRY code (o.cap.lend / o.wal.depcpl / ...)"
1699
1699
  })
1700
1700
  ], exports.Ledger2OperationDTO.prototype, "operationCode", 2);
1701
- __decorateClass$d([
1701
+ __decorateClass$e([
1702
1702
  graphql.Field(() => String, { nullable: true, description: "process_hash (32-hex)" })
1703
1703
  ], exports.Ledger2OperationDTO.prototype, "processHash", 2);
1704
- __decorateClass$d([
1704
+ __decorateClass$e([
1705
1705
  graphql.Field(() => String, { nullable: true })
1706
1706
  ], exports.Ledger2OperationDTO.prototype, "username", 2);
1707
- __decorateClass$d([
1707
+ __decorateClass$e([
1708
1708
  graphql.Field(() => graphql.Int, { nullable: true, description: "ID \u0441\u0447\u0451\u0442\u0430/\u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430 (\xD71000)" })
1709
1709
  ], exports.Ledger2OperationDTO.prototype, "accountId", 2);
1710
- __decorateClass$d([
1710
+ __decorateClass$e([
1711
1711
  graphql.Field(() => String, { nullable: true, description: "walletop: wallet_from (eosio::name w.<contract>.<waltype>)" })
1712
1712
  ], exports.Ledger2OperationDTO.prototype, "walletFrom", 2);
1713
- __decorateClass$d([
1713
+ __decorateClass$e([
1714
1714
  graphql.Field(() => String, { nullable: true, description: "walletop: wallet_to (eosio::name w.<contract>.<waltype>)" })
1715
1715
  ], exports.Ledger2OperationDTO.prototype, "walletTo", 2);
1716
- __decorateClass$d([
1716
+ __decorateClass$e([
1717
1717
  graphql.Field(() => String, { nullable: true, description: 'Asset "100.0000 RUB"' })
1718
1718
  ], exports.Ledger2OperationDTO.prototype, "quantity", 2);
1719
- __decorateClass$d([
1719
+ __decorateClass$e([
1720
1720
  graphql.Field(() => String, { nullable: true })
1721
1721
  ], exports.Ledger2OperationDTO.prototype, "memo", 2);
1722
- __decorateClass$d([
1722
+ __decorateClass$e([
1723
1723
  graphql.Field(() => String, {
1724
1724
  nullable: true,
1725
1725
  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."
1726
1726
  })
1727
1727
  ], exports.Ledger2OperationDTO.prototype, "parentApplyGlobalSequence", 2);
1728
- __decorateClass$d([
1728
+ __decorateClass$e([
1729
1729
  graphql.Field(() => Date)
1730
1730
  ], exports.Ledger2OperationDTO.prototype, "createdAt", 2);
1731
- exports.Ledger2OperationDTO = __decorateClass$d([
1731
+ exports.Ledger2OperationDTO = __decorateClass$e([
1732
1732
  graphql.ObjectType("Ledger2Operation")
1733
1733
  ], exports.Ledger2OperationDTO);
1734
1734
  exports.Ledger2HistoryResponseDTO = class Ledger2HistoryResponseDTO {
1735
1735
  };
1736
- __decorateClass$d([
1736
+ __decorateClass$e([
1737
1737
  graphql.Field(() => [exports.Ledger2OperationDTO])
1738
1738
  ], exports.Ledger2HistoryResponseDTO.prototype, "items", 2);
1739
- __decorateClass$d([
1739
+ __decorateClass$e([
1740
1740
  graphql.Field(() => graphql.Int)
1741
1741
  ], exports.Ledger2HistoryResponseDTO.prototype, "totalCount", 2);
1742
- __decorateClass$d([
1742
+ __decorateClass$e([
1743
1743
  graphql.Field(() => graphql.Int)
1744
1744
  ], exports.Ledger2HistoryResponseDTO.prototype, "totalPages", 2);
1745
- __decorateClass$d([
1745
+ __decorateClass$e([
1746
1746
  graphql.Field(() => graphql.Int)
1747
1747
  ], exports.Ledger2HistoryResponseDTO.prototype, "currentPage", 2);
1748
- exports.Ledger2HistoryResponseDTO = __decorateClass$d([
1748
+ exports.Ledger2HistoryResponseDTO = __decorateClass$e([
1749
1749
  graphql.ObjectType("Ledger2HistoryResponse")
1750
1750
  ], exports.Ledger2HistoryResponseDTO);
1751
1751
 
1752
- var __defProp$c = Object.defineProperty;
1753
- var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1754
- var __decorateClass$c = (decorators, target, key, kind) => {
1755
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1752
+ var __defProp$d = Object.defineProperty;
1753
+ var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
1754
+ var __decorateClass$d = (decorators, target, key, kind) => {
1755
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1756
1756
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1757
1757
  if (decorator = decorators[i])
1758
1758
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1759
1759
  if (kind && result)
1760
- __defProp$c(target, key, result);
1760
+ __defProp$d(target, key, result);
1761
1761
  return result;
1762
1762
  };
1763
1763
  exports.Ledger2PostingDTO = class Ledger2PostingDTO {
1764
1764
  };
1765
- __decorateClass$c([
1765
+ __decorateClass$d([
1766
1766
  graphql.Field(() => String, { description: "\u0421\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0434\u043B\u044F UI: debitSeq_creditSeq" })
1767
1767
  ], exports.Ledger2PostingDTO.prototype, "key", 2);
1768
- __decorateClass$c([
1768
+ __decorateClass$d([
1769
1769
  graphql.Field(() => graphql.Int)
1770
1770
  ], exports.Ledger2PostingDTO.prototype, "blockNum", 2);
1771
- __decorateClass$c([
1771
+ __decorateClass$d([
1772
1772
  graphql.Field(() => String, { nullable: true, description: "process_hash (32-hex)" })
1773
1773
  ], exports.Ledger2PostingDTO.prototype, "processHash", 2);
1774
- __decorateClass$c([
1774
+ __decorateClass$d([
1775
1775
  graphql.Field(() => String, {
1776
1776
  nullable: true,
1777
1777
  description: "OPERATION_REGISTRY \u043A\u043E\u0434 \u0438\u0437 parent apply (`o.cap.lend` / `o.wal.depcpl` / ...)"
1778
1778
  })
1779
1779
  ], exports.Ledger2PostingDTO.prototype, "operationCode", 2);
1780
- __decorateClass$c([
1780
+ __decorateClass$d([
1781
1781
  graphql.Field(() => String, {
1782
1782
  nullable: true,
1783
1783
  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)"
1784
1784
  })
1785
1785
  ], exports.Ledger2PostingDTO.prototype, "parentApplyGlobalSequence", 2);
1786
- __decorateClass$c([
1786
+ __decorateClass$d([
1787
1787
  graphql.Field(() => String, { nullable: true, description: "global_sequence debit-action" })
1788
1788
  ], exports.Ledger2PostingDTO.prototype, "debitGlobalSequence", 2);
1789
- __decorateClass$c([
1789
+ __decorateClass$d([
1790
1790
  graphql.Field(() => graphql.Int, { nullable: true, description: "id \u0431\u0443\u0445.\u0441\u0447\u0451\u0442\u0430 debit (\xD71000)" })
1791
1791
  ], exports.Ledger2PostingDTO.prototype, "debitAccountId", 2);
1792
- __decorateClass$c([
1792
+ __decorateClass$d([
1793
1793
  graphql.Field(() => String, { nullable: true, description: "global_sequence credit-action" })
1794
1794
  ], exports.Ledger2PostingDTO.prototype, "creditGlobalSequence", 2);
1795
- __decorateClass$c([
1795
+ __decorateClass$d([
1796
1796
  graphql.Field(() => graphql.Int, { nullable: true, description: "id \u0431\u0443\u0445.\u0441\u0447\u0451\u0442\u0430 credit (\xD71000)" })
1797
1797
  ], exports.Ledger2PostingDTO.prototype, "creditAccountId", 2);
1798
- __decorateClass$c([
1798
+ __decorateClass$d([
1799
1799
  graphql.Field(() => String, { nullable: true, description: 'Asset "100.0000 RUB"' })
1800
1800
  ], exports.Ledger2PostingDTO.prototype, "quantity", 2);
1801
- __decorateClass$c([
1801
+ __decorateClass$d([
1802
1802
  graphql.Field(() => String, { nullable: true })
1803
1803
  ], exports.Ledger2PostingDTO.prototype, "memo", 2);
1804
- __decorateClass$c([
1804
+ __decorateClass$d([
1805
1805
  graphql.Field(() => String, { nullable: true })
1806
1806
  ], exports.Ledger2PostingDTO.prototype, "username", 2);
1807
- __decorateClass$c([
1807
+ __decorateClass$d([
1808
1808
  graphql.Field(() => Date)
1809
1809
  ], exports.Ledger2PostingDTO.prototype, "createdAt", 2);
1810
- exports.Ledger2PostingDTO = __decorateClass$c([
1810
+ exports.Ledger2PostingDTO = __decorateClass$d([
1811
1811
  graphql.ObjectType("Ledger2Posting")
1812
1812
  ], exports.Ledger2PostingDTO);
1813
1813
  exports.Ledger2PostingsResponseDTO = class Ledger2PostingsResponseDTO {
1814
1814
  };
1815
- __decorateClass$c([
1815
+ __decorateClass$d([
1816
1816
  graphql.Field(() => [exports.Ledger2PostingDTO])
1817
1817
  ], exports.Ledger2PostingsResponseDTO.prototype, "items", 2);
1818
- __decorateClass$c([
1818
+ __decorateClass$d([
1819
1819
  graphql.Field(() => graphql.Int)
1820
1820
  ], exports.Ledger2PostingsResponseDTO.prototype, "totalCount", 2);
1821
- __decorateClass$c([
1821
+ __decorateClass$d([
1822
1822
  graphql.Field(() => graphql.Int)
1823
1823
  ], exports.Ledger2PostingsResponseDTO.prototype, "totalPages", 2);
1824
- __decorateClass$c([
1824
+ __decorateClass$d([
1825
1825
  graphql.Field(() => graphql.Int)
1826
1826
  ], exports.Ledger2PostingsResponseDTO.prototype, "currentPage", 2);
1827
- exports.Ledger2PostingsResponseDTO = __decorateClass$c([
1827
+ exports.Ledger2PostingsResponseDTO = __decorateClass$d([
1828
1828
  graphql.ObjectType("Ledger2PostingsResponse")
1829
1829
  ], exports.Ledger2PostingsResponseDTO);
1830
1830
 
1831
- var __defProp$b = Object.defineProperty;
1832
- var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1833
- var __decorateClass$b = (decorators, target, key, kind) => {
1834
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1831
+ var __defProp$c = Object.defineProperty;
1832
+ var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1833
+ var __decorateClass$c = (decorators, target, key, kind) => {
1834
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1835
1835
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1836
1836
  if (decorator = decorators[i])
1837
1837
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1838
1838
  if (kind && result)
1839
- __defProp$b(target, key, result);
1839
+ __defProp$c(target, key, result);
1840
1840
  return result;
1841
1841
  };
1842
1842
  exports.GetLedger2HistoryInputDTO = class GetLedger2HistoryInputDTO {
1843
1843
  };
1844
- __decorateClass$b([
1844
+ __decorateClass$c([
1845
1845
  graphql.Field(() => String),
1846
1846
  classValidator.IsString()
1847
1847
  ], exports.GetLedger2HistoryInputDTO.prototype, "coopname", 2);
1848
- __decorateClass$b([
1848
+ __decorateClass$c([
1849
1849
  graphql.Field(() => graphql.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." }),
1850
1850
  classValidator.IsOptional(),
1851
1851
  classValidator.IsInt()
1852
1852
  ], exports.GetLedger2HistoryInputDTO.prototype, "accountId", 2);
1853
- __decorateClass$b([
1853
+ __decorateClass$c([
1854
1854
  graphql.Field(() => String, {
1855
1855
  nullable: true,
1856
1856
  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."
@@ -1859,7 +1859,7 @@ __decorateClass$b([
1859
1859
  classValidator.IsString(),
1860
1860
  classValidator.MaxLength(13)
1861
1861
  ], exports.GetLedger2HistoryInputDTO.prototype, "walletName", 2);
1862
- __decorateClass$b([
1862
+ __decorateClass$c([
1863
1863
  graphql.Field(() => [String], {
1864
1864
  nullable: true,
1865
1865
  description: "\u0418\u043C\u0435\u043D\u0430 blockchain-\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439: apply | walletop | debit | credit"
@@ -1868,7 +1868,7 @@ __decorateClass$b([
1868
1868
  classValidator.IsArray(),
1869
1869
  classValidator.IsString({ each: true })
1870
1870
  ], exports.GetLedger2HistoryInputDTO.prototype, "actionNames", 2);
1871
- __decorateClass$b([
1871
+ __decorateClass$c([
1872
1872
  graphql.Field(() => [String], {
1873
1873
  nullable: true,
1874
1874
  description: "OPERATION_REGISTRY \u043A\u043E\u0434\u044B: o.cap.lend, o.wal.depcpl, o.mig.minshr \u0438 \u0442.\u0434."
@@ -1877,13 +1877,13 @@ __decorateClass$b([
1877
1877
  classValidator.IsArray(),
1878
1878
  classValidator.IsString({ each: true })
1879
1879
  ], exports.GetLedger2HistoryInputDTO.prototype, "operationCodes", 2);
1880
- __decorateClass$b([
1880
+ __decorateClass$c([
1881
1881
  graphql.Field(() => String, { nullable: true }),
1882
1882
  classValidator.IsOptional(),
1883
1883
  classValidator.IsString(),
1884
1884
  classValidator.MaxLength(64)
1885
1885
  ], exports.GetLedger2HistoryInputDTO.prototype, "username", 2);
1886
- __decorateClass$b([
1886
+ __decorateClass$c([
1887
1887
  graphql.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" }),
1888
1888
  classValidator.IsOptional(),
1889
1889
  classValidator.IsString(),
@@ -1892,7 +1892,7 @@ __decorateClass$b([
1892
1892
  message: validationMessage("ledger2.getLedger2HistoryInput.processHashInvalidFormat")
1893
1893
  })
1894
1894
  ], exports.GetLedger2HistoryInputDTO.prototype, "processHash", 2);
1895
- __decorateClass$b([
1895
+ __decorateClass$c([
1896
1896
  graphql.Field(() => String, {
1897
1897
  nullable: true,
1898
1898
  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)."
@@ -1901,7 +1901,7 @@ __decorateClass$b([
1901
1901
  classValidator.IsString(),
1902
1902
  classValidator.MaxLength(24)
1903
1903
  ], exports.GetLedger2HistoryInputDTO.prototype, "parentApplyGlobalSequence", 2);
1904
- __decorateClass$b([
1904
+ __decorateClass$c([
1905
1905
  graphql.Field(() => String, {
1906
1906
  nullable: true,
1907
1907
  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)."
@@ -1910,7 +1910,7 @@ __decorateClass$b([
1910
1910
  classValidator.IsString(),
1911
1911
  classValidator.MaxLength(24)
1912
1912
  ], exports.GetLedger2HistoryInputDTO.prototype, "applyGlobalSequence", 2);
1913
- __decorateClass$b([
1913
+ __decorateClass$c([
1914
1914
  graphql.Field(() => String, {
1915
1915
  nullable: true,
1916
1916
  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."
@@ -1919,58 +1919,58 @@ __decorateClass$b([
1919
1919
  classValidator.IsString(),
1920
1920
  classValidator.MaxLength(24)
1921
1921
  ], exports.GetLedger2HistoryInputDTO.prototype, "walletopGlobalSequence", 2);
1922
- __decorateClass$b([
1922
+ __decorateClass$c([
1923
1923
  graphql.Field(() => Date, { nullable: true }),
1924
1924
  classValidator.IsOptional(),
1925
1925
  classValidator.IsDate(),
1926
1926
  classTransformer.Type(() => Date)
1927
1927
  ], exports.GetLedger2HistoryInputDTO.prototype, "dateFrom", 2);
1928
- __decorateClass$b([
1928
+ __decorateClass$c([
1929
1929
  graphql.Field(() => Date, { nullable: true }),
1930
1930
  classValidator.IsOptional(),
1931
1931
  classValidator.IsDate(),
1932
1932
  classTransformer.Type(() => Date)
1933
1933
  ], exports.GetLedger2HistoryInputDTO.prototype, "dateTo", 2);
1934
- __decorateClass$b([
1934
+ __decorateClass$c([
1935
1935
  graphql.Field(() => graphql.Int, { nullable: true, defaultValue: 1 }),
1936
1936
  classValidator.IsOptional(),
1937
1937
  classValidator.IsInt(),
1938
1938
  classValidator.Min(1)
1939
1939
  ], exports.GetLedger2HistoryInputDTO.prototype, "page", 2);
1940
- __decorateClass$b([
1940
+ __decorateClass$c([
1941
1941
  graphql.Field(() => graphql.Int, { nullable: true, defaultValue: 50 }),
1942
1942
  classValidator.IsOptional(),
1943
1943
  classValidator.IsInt(),
1944
1944
  classValidator.Min(1),
1945
1945
  classValidator.Max(500)
1946
1946
  ], exports.GetLedger2HistoryInputDTO.prototype, "limit", 2);
1947
- __decorateClass$b([
1947
+ __decorateClass$c([
1948
1948
  graphql.Field(() => String, { nullable: true, defaultValue: "DESC" }),
1949
1949
  classValidator.IsOptional(),
1950
1950
  classValidator.IsIn(["ASC", "DESC"])
1951
1951
  ], exports.GetLedger2HistoryInputDTO.prototype, "sortOrder", 2);
1952
- exports.GetLedger2HistoryInputDTO = __decorateClass$b([
1952
+ exports.GetLedger2HistoryInputDTO = __decorateClass$c([
1953
1953
  graphql.InputType("GetLedger2HistoryInput")
1954
1954
  ], exports.GetLedger2HistoryInputDTO);
1955
1955
 
1956
- var __defProp$a = Object.defineProperty;
1957
- var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
1958
- var __decorateClass$a = (decorators, target, key, kind) => {
1959
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
1956
+ var __defProp$b = Object.defineProperty;
1957
+ var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1958
+ var __decorateClass$b = (decorators, target, key, kind) => {
1959
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1960
1960
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
1961
1961
  if (decorator = decorators[i])
1962
1962
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1963
1963
  if (kind && result)
1964
- __defProp$a(target, key, result);
1964
+ __defProp$b(target, key, result);
1965
1965
  return result;
1966
1966
  };
1967
1967
  exports.GetLedger2PostingsInputDTO = class GetLedger2PostingsInputDTO {
1968
1968
  };
1969
- __decorateClass$a([
1969
+ __decorateClass$b([
1970
1970
  graphql.Field(() => String),
1971
1971
  classValidator.IsString()
1972
1972
  ], exports.GetLedger2PostingsInputDTO.prototype, "coopname", 2);
1973
- __decorateClass$a([
1973
+ __decorateClass$b([
1974
1974
  graphql.Field(() => graphql.Int, {
1975
1975
  nullable: true,
1976
1976
  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."
@@ -1978,19 +1978,19 @@ __decorateClass$a([
1978
1978
  classValidator.IsOptional(),
1979
1979
  classValidator.IsInt()
1980
1980
  ], exports.GetLedger2PostingsInputDTO.prototype, "accountId", 2);
1981
- __decorateClass$a([
1981
+ __decorateClass$b([
1982
1982
  graphql.Field(() => String, { nullable: true }),
1983
1983
  classValidator.IsOptional(),
1984
1984
  classValidator.IsString(),
1985
1985
  classValidator.MaxLength(64)
1986
1986
  ], exports.GetLedger2PostingsInputDTO.prototype, "username", 2);
1987
- __decorateClass$a([
1987
+ __decorateClass$b([
1988
1988
  graphql.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" }),
1989
1989
  classValidator.IsOptional(),
1990
1990
  classValidator.IsString(),
1991
1991
  classValidator.MaxLength(66)
1992
1992
  ], exports.GetLedger2PostingsInputDTO.prototype, "processHash", 2);
1993
- __decorateClass$a([
1993
+ __decorateClass$b([
1994
1994
  graphql.Field(() => String, {
1995
1995
  nullable: true,
1996
1996
  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."
@@ -1999,7 +1999,7 @@ __decorateClass$a([
1999
1999
  classValidator.IsString(),
2000
2000
  classValidator.MaxLength(24)
2001
2001
  ], exports.GetLedger2PostingsInputDTO.prototype, "debitGlobalSequence", 2);
2002
- __decorateClass$a([
2002
+ __decorateClass$b([
2003
2003
  graphql.Field(() => String, {
2004
2004
  nullable: true,
2005
2005
  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."
@@ -2008,84 +2008,84 @@ __decorateClass$a([
2008
2008
  classValidator.IsString(),
2009
2009
  classValidator.MaxLength(24)
2010
2010
  ], exports.GetLedger2PostingsInputDTO.prototype, "applyGlobalSequence", 2);
2011
- __decorateClass$a([
2011
+ __decorateClass$b([
2012
2012
  graphql.Field(() => Date, { nullable: true }),
2013
2013
  classValidator.IsOptional(),
2014
2014
  classValidator.IsDate(),
2015
2015
  classTransformer.Type(() => Date)
2016
2016
  ], exports.GetLedger2PostingsInputDTO.prototype, "dateFrom", 2);
2017
- __decorateClass$a([
2017
+ __decorateClass$b([
2018
2018
  graphql.Field(() => Date, { nullable: true }),
2019
2019
  classValidator.IsOptional(),
2020
2020
  classValidator.IsDate(),
2021
2021
  classTransformer.Type(() => Date)
2022
2022
  ], exports.GetLedger2PostingsInputDTO.prototype, "dateTo", 2);
2023
- __decorateClass$a([
2023
+ __decorateClass$b([
2024
2024
  graphql.Field(() => graphql.Int, { nullable: true, defaultValue: 1 }),
2025
2025
  classValidator.IsOptional(),
2026
2026
  classValidator.IsInt(),
2027
2027
  classValidator.Min(1)
2028
2028
  ], exports.GetLedger2PostingsInputDTO.prototype, "page", 2);
2029
- __decorateClass$a([
2029
+ __decorateClass$b([
2030
2030
  graphql.Field(() => graphql.Int, { nullable: true, defaultValue: 50 }),
2031
2031
  classValidator.IsOptional(),
2032
2032
  classValidator.IsInt(),
2033
2033
  classValidator.Min(1),
2034
2034
  classValidator.Max(500)
2035
2035
  ], exports.GetLedger2PostingsInputDTO.prototype, "limit", 2);
2036
- __decorateClass$a([
2036
+ __decorateClass$b([
2037
2037
  graphql.Field(() => String, { nullable: true, defaultValue: "DESC" }),
2038
2038
  classValidator.IsOptional(),
2039
2039
  classValidator.IsIn(["ASC", "DESC"])
2040
2040
  ], exports.GetLedger2PostingsInputDTO.prototype, "sortOrder", 2);
2041
- exports.GetLedger2PostingsInputDTO = __decorateClass$a([
2041
+ exports.GetLedger2PostingsInputDTO = __decorateClass$b([
2042
2042
  graphql.InputType("GetLedger2PostingsInput")
2043
2043
  ], exports.GetLedger2PostingsInputDTO);
2044
2044
 
2045
- var __defProp$9 = Object.defineProperty;
2046
- var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
2047
- var __decorateClass$9 = (decorators, target, key, kind) => {
2048
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
2045
+ var __defProp$a = Object.defineProperty;
2046
+ var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
2047
+ var __decorateClass$a = (decorators, target, key, kind) => {
2048
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
2049
2049
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2050
2050
  if (decorator = decorators[i])
2051
2051
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2052
2052
  if (kind && result)
2053
- __defProp$9(target, key, result);
2053
+ __defProp$a(target, key, result);
2054
2054
  return result;
2055
2055
  };
2056
2056
  exports.ProcessesFilterInput = class ProcessesFilterInput {
2057
2057
  };
2058
- __decorateClass$9([
2058
+ __decorateClass$a([
2059
2059
  graphql.Field(() => String)
2060
2060
  ], exports.ProcessesFilterInput.prototype, "coopname", 2);
2061
- __decorateClass$9([
2061
+ __decorateClass$a([
2062
2062
  graphql.Field(() => String, { nullable: true })
2063
2063
  ], exports.ProcessesFilterInput.prototype, "processType", 2);
2064
- __decorateClass$9([
2064
+ __decorateClass$a([
2065
2065
  graphql.Field(() => String, { nullable: true })
2066
2066
  ], exports.ProcessesFilterInput.prototype, "username", 2);
2067
- __decorateClass$9([
2067
+ __decorateClass$a([
2068
2068
  graphql.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" })
2069
2069
  ], exports.ProcessesFilterInput.prototype, "processHash", 2);
2070
- __decorateClass$9([
2070
+ __decorateClass$a([
2071
2071
  graphql.Field(() => graphql.Int, { nullable: true })
2072
2072
  ], exports.ProcessesFilterInput.prototype, "fromBlock", 2);
2073
- __decorateClass$9([
2073
+ __decorateClass$a([
2074
2074
  graphql.Field(() => graphql.Int, { nullable: true })
2075
2075
  ], exports.ProcessesFilterInput.prototype, "toBlock", 2);
2076
- exports.ProcessesFilterInput = __decorateClass$9([
2076
+ exports.ProcessesFilterInput = __decorateClass$a([
2077
2077
  graphql.InputType("ProcessesFilter")
2078
2078
  ], exports.ProcessesFilterInput);
2079
2079
 
2080
- var __defProp$8 = Object.defineProperty;
2081
- var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
2082
- var __decorateClass$8 = (decorators, target, key, kind) => {
2083
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
2080
+ var __defProp$9 = Object.defineProperty;
2081
+ var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
2082
+ var __decorateClass$9 = (decorators, target, key, kind) => {
2083
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
2084
2084
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2085
2085
  if (decorator = decorators[i])
2086
2086
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2087
2087
  if (kind && result)
2088
- __defProp$8(target, key, result);
2088
+ __defProp$9(target, key, result);
2089
2089
  return result;
2090
2090
  };
2091
2091
  exports.ProcessSummaryDTO = class ProcessSummaryDTO {
@@ -2093,174 +2093,309 @@ exports.ProcessSummaryDTO = class ProcessSummaryDTO {
2093
2093
  // странице listProcesses были запросы 300+ на request. UI читает
2094
2094
  // getProcess(hash) при раскрытии — там счётчики выводимы из массивов.
2095
2095
  };
2096
- __decorateClass$8([
2096
+ __decorateClass$9([
2097
2097
  graphql.Field(() => String)
2098
2098
  ], exports.ProcessSummaryDTO.prototype, "processType", 2);
2099
- __decorateClass$8([
2099
+ __decorateClass$9([
2100
2100
  graphql.Field(() => String)
2101
2101
  ], exports.ProcessSummaryDTO.prototype, "processHash", 2);
2102
- __decorateClass$8([
2102
+ __decorateClass$9([
2103
2103
  graphql.Field(() => String)
2104
2104
  ], exports.ProcessSummaryDTO.prototype, "coopname", 2);
2105
- __decorateClass$8([
2105
+ __decorateClass$9([
2106
2106
  graphql.Field(() => String, { nullable: true })
2107
2107
  ], exports.ProcessSummaryDTO.prototype, "username", 2);
2108
- __decorateClass$8([
2108
+ __decorateClass$9([
2109
2109
  graphql.Field(() => Date)
2110
2110
  ], exports.ProcessSummaryDTO.prototype, "firstSeenAt", 2);
2111
- __decorateClass$8([
2111
+ __decorateClass$9([
2112
2112
  graphql.Field(() => Date)
2113
2113
  ], exports.ProcessSummaryDTO.prototype, "lastSeenAt", 2);
2114
- __decorateClass$8([
2114
+ __decorateClass$9([
2115
2115
  graphql.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" })
2116
2116
  ], exports.ProcessSummaryDTO.prototype, "amount", 2);
2117
- __decorateClass$8([
2117
+ __decorateClass$9([
2118
2118
  graphql.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" })
2119
2119
  ], exports.ProcessSummaryDTO.prototype, "memo", 2);
2120
- exports.ProcessSummaryDTO = __decorateClass$8([
2120
+ exports.ProcessSummaryDTO = __decorateClass$9([
2121
2121
  graphql.ObjectType("ProcessSummary")
2122
2122
  ], exports.ProcessSummaryDTO);
2123
2123
  const PaginatedProcessSummary = createPaginationResult(exports.ProcessSummaryDTO, "ProcessSummary");
2124
2124
 
2125
- var __defProp$7 = Object.defineProperty;
2126
- var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
2127
- var __decorateClass$7 = (decorators, target, key, kind) => {
2128
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
2125
+ var __defProp$8 = Object.defineProperty;
2126
+ var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
2127
+ var __decorateClass$8 = (decorators, target, key, kind) => {
2128
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
2129
2129
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
2130
2130
  if (decorator = decorators[i])
2131
2131
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2132
2132
  if (kind && result)
2133
- __defProp$7(target, key, result);
2133
+ __defProp$8(target, key, result);
2134
2134
  return result;
2135
2135
  };
2136
2136
  exports.ProcessActionDTO = class ProcessActionDTO {
2137
2137
  };
2138
- __decorateClass$7([
2138
+ __decorateClass$8([
2139
2139
  graphql.Field(() => String)
2140
2140
  ], exports.ProcessActionDTO.prototype, "id", 2);
2141
- __decorateClass$7([
2141
+ __decorateClass$8([
2142
2142
  graphql.Field(() => String)
2143
2143
  ], exports.ProcessActionDTO.prototype, "account", 2);
2144
- __decorateClass$7([
2144
+ __decorateClass$8([
2145
2145
  graphql.Field(() => String)
2146
2146
  ], exports.ProcessActionDTO.prototype, "name", 2);
2147
- __decorateClass$7([
2147
+ __decorateClass$8([
2148
2148
  graphql.Field(() => GraphQLJSON__default, { nullable: true })
2149
2149
  ], exports.ProcessActionDTO.prototype, "data", 2);
2150
- __decorateClass$7([
2150
+ __decorateClass$8([
2151
2151
  graphql.Field(() => Number)
2152
2152
  ], exports.ProcessActionDTO.prototype, "block_num", 2);
2153
- __decorateClass$7([
2153
+ __decorateClass$8([
2154
2154
  graphql.Field(() => String)
2155
2155
  ], exports.ProcessActionDTO.prototype, "block_id", 2);
2156
- __decorateClass$7([
2156
+ __decorateClass$8([
2157
2157
  graphql.Field(() => String)
2158
2158
  ], exports.ProcessActionDTO.prototype, "global_sequence", 2);
2159
- __decorateClass$7([
2159
+ __decorateClass$8([
2160
2160
  graphql.Field(() => String)
2161
2161
  ], exports.ProcessActionDTO.prototype, "transaction_id", 2);
2162
- __decorateClass$7([
2162
+ __decorateClass$8([
2163
2163
  graphql.Field(() => Date)
2164
2164
  ], exports.ProcessActionDTO.prototype, "created_at", 2);
2165
- exports.ProcessActionDTO = __decorateClass$7([
2165
+ exports.ProcessActionDTO = __decorateClass$8([
2166
2166
  graphql.ObjectType("ProcessAction")
2167
2167
  ], exports.ProcessActionDTO);
2168
2168
  exports.ProcessDeltaDTO = class ProcessDeltaDTO {
2169
2169
  };
2170
- __decorateClass$7([
2170
+ __decorateClass$8([
2171
2171
  graphql.Field(() => String)
2172
2172
  ], exports.ProcessDeltaDTO.prototype, "id", 2);
2173
- __decorateClass$7([
2173
+ __decorateClass$8([
2174
2174
  graphql.Field(() => String)
2175
2175
  ], exports.ProcessDeltaDTO.prototype, "code", 2);
2176
- __decorateClass$7([
2176
+ __decorateClass$8([
2177
2177
  graphql.Field(() => String)
2178
2178
  ], exports.ProcessDeltaDTO.prototype, "scope", 2);
2179
- __decorateClass$7([
2179
+ __decorateClass$8([
2180
2180
  graphql.Field(() => String)
2181
2181
  ], exports.ProcessDeltaDTO.prototype, "table", 2);
2182
- __decorateClass$7([
2182
+ __decorateClass$8([
2183
2183
  graphql.Field(() => String)
2184
2184
  ], exports.ProcessDeltaDTO.prototype, "primary_key", 2);
2185
- __decorateClass$7([
2185
+ __decorateClass$8([
2186
2186
  graphql.Field(() => Boolean)
2187
2187
  ], exports.ProcessDeltaDTO.prototype, "present", 2);
2188
- __decorateClass$7([
2188
+ __decorateClass$8([
2189
2189
  graphql.Field(() => GraphQLJSON__default, { nullable: true })
2190
2190
  ], exports.ProcessDeltaDTO.prototype, "value", 2);
2191
- __decorateClass$7([
2191
+ __decorateClass$8([
2192
2192
  graphql.Field(() => Number)
2193
2193
  ], exports.ProcessDeltaDTO.prototype, "block_num", 2);
2194
- __decorateClass$7([
2194
+ __decorateClass$8([
2195
2195
  graphql.Field(() => Date)
2196
2196
  ], exports.ProcessDeltaDTO.prototype, "created_at", 2);
2197
- exports.ProcessDeltaDTO = __decorateClass$7([
2197
+ exports.ProcessDeltaDTO = __decorateClass$8([
2198
2198
  graphql.ObjectType("ProcessDelta")
2199
2199
  ], exports.ProcessDeltaDTO);
2200
2200
  exports.ProcessDocumentSourceDTO = class ProcessDocumentSourceDTO {
2201
2201
  };
2202
- __decorateClass$7([
2202
+ __decorateClass$8([
2203
2203
  graphql.Field(() => String)
2204
2204
  ], exports.ProcessDocumentSourceDTO.prototype, "code", 2);
2205
- __decorateClass$7([
2205
+ __decorateClass$8([
2206
2206
  graphql.Field(() => String)
2207
2207
  ], exports.ProcessDocumentSourceDTO.prototype, "table", 2);
2208
- __decorateClass$7([
2208
+ __decorateClass$8([
2209
2209
  graphql.Field(() => String)
2210
2210
  ], exports.ProcessDocumentSourceDTO.prototype, "field", 2);
2211
- __decorateClass$7([
2211
+ __decorateClass$8([
2212
2212
  graphql.Field(() => String)
2213
2213
  ], exports.ProcessDocumentSourceDTO.prototype, "primary_key", 2);
2214
- exports.ProcessDocumentSourceDTO = __decorateClass$7([
2214
+ exports.ProcessDocumentSourceDTO = __decorateClass$8([
2215
2215
  graphql.ObjectType("ProcessDocumentSource")
2216
2216
  ], exports.ProcessDocumentSourceDTO);
2217
2217
  exports.ProcessDocumentDTO = class ProcessDocumentDTO {
2218
2218
  };
2219
- __decorateClass$7([
2219
+ __decorateClass$8([
2220
2220
  graphql.Field(() => String)
2221
2221
  ], exports.ProcessDocumentDTO.prototype, "hash", 2);
2222
- __decorateClass$7([
2222
+ __decorateClass$8([
2223
2223
  graphql.Field(() => exports.ProcessDocumentSourceDTO)
2224
2224
  ], exports.ProcessDocumentDTO.prototype, "source", 2);
2225
- __decorateClass$7([
2225
+ __decorateClass$8([
2226
2226
  graphql.Field(() => GraphQLJSON__default)
2227
2227
  ], exports.ProcessDocumentDTO.prototype, "document", 2);
2228
- __decorateClass$7([
2228
+ __decorateClass$8([
2229
2229
  graphql.Field(() => GraphQLJSON__default, { nullable: true })
2230
2230
  ], exports.ProcessDocumentDTO.prototype, "raw", 2);
2231
- exports.ProcessDocumentDTO = __decorateClass$7([
2231
+ exports.ProcessDocumentDTO = __decorateClass$8([
2232
2232
  graphql.ObjectType("ProcessDocument")
2233
2233
  ], exports.ProcessDocumentDTO);
2234
2234
  exports.ProcessViewDTO = class ProcessViewDTO {
2235
2235
  };
2236
- __decorateClass$7([
2236
+ __decorateClass$8([
2237
2237
  graphql.Field(() => String)
2238
2238
  ], exports.ProcessViewDTO.prototype, "process_type", 2);
2239
- __decorateClass$7([
2239
+ __decorateClass$8([
2240
2240
  graphql.Field(() => String)
2241
2241
  ], exports.ProcessViewDTO.prototype, "process_hash", 2);
2242
- __decorateClass$7([
2242
+ __decorateClass$8([
2243
2243
  graphql.Field(() => String)
2244
2244
  ], exports.ProcessViewDTO.prototype, "coopname", 2);
2245
- __decorateClass$7([
2245
+ __decorateClass$8([
2246
2246
  graphql.Field(() => Date)
2247
2247
  ], exports.ProcessViewDTO.prototype, "first_seen_at", 2);
2248
- __decorateClass$7([
2248
+ __decorateClass$8([
2249
2249
  graphql.Field(() => Date)
2250
2250
  ], exports.ProcessViewDTO.prototype, "last_seen_at", 2);
2251
- __decorateClass$7([
2251
+ __decorateClass$8([
2252
2252
  graphql.Field(() => [exports.ProcessActionDTO])
2253
2253
  ], exports.ProcessViewDTO.prototype, "actions", 2);
2254
- __decorateClass$7([
2254
+ __decorateClass$8([
2255
2255
  graphql.Field(() => [exports.ProcessDeltaDTO])
2256
2256
  ], exports.ProcessViewDTO.prototype, "delta_history", 2);
2257
- __decorateClass$7([
2257
+ __decorateClass$8([
2258
2258
  graphql.Field(() => [exports.ProcessDocumentDTO])
2259
2259
  ], exports.ProcessViewDTO.prototype, "documents", 2);
2260
- exports.ProcessViewDTO = __decorateClass$7([
2260
+ exports.ProcessViewDTO = __decorateClass$8([
2261
2261
  graphql.ObjectType("ProcessView")
2262
2262
  ], exports.ProcessViewDTO);
2263
2263
 
2264
+ var __defProp$7 = Object.defineProperty;
2265
+ var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
2266
+ var __decorateClass$7 = (decorators, target, key, kind) => {
2267
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
2268
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
2269
+ if (decorator = decorators[i])
2270
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2271
+ if (kind && result)
2272
+ __defProp$7(target, key, result);
2273
+ return result;
2274
+ };
2275
+ exports.ProcessContentFactDTO = class ProcessContentFactDTO {
2276
+ };
2277
+ __decorateClass$7([
2278
+ graphql.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" })
2279
+ ], exports.ProcessContentFactDTO.prototype, "label", 2);
2280
+ __decorateClass$7([
2281
+ graphql.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" })
2282
+ ], exports.ProcessContentFactDTO.prototype, "value", 2);
2283
+ exports.ProcessContentFactDTO = __decorateClass$7([
2284
+ graphql.ObjectType("ProcessContentFact")
2285
+ ], exports.ProcessContentFactDTO);
2286
+ exports.ProcessContentLinkDTO = class ProcessContentLinkDTO {
2287
+ };
2288
+ __decorateClass$7([
2289
+ graphql.Field(() => String, { description: "\u041D\u0430\u0434\u043F\u0438\u0441\u044C \u043A\u043D\u043E\u043F\u043A\u0438" })
2290
+ ], exports.ProcessContentLinkDTO.prototype, "label", 2);
2291
+ __decorateClass$7([
2292
+ graphql.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" })
2293
+ ], exports.ProcessContentLinkDTO.prototype, "path", 2);
2294
+ exports.ProcessContentLinkDTO = __decorateClass$7([
2295
+ graphql.ObjectType("ProcessContentLink")
2296
+ ], exports.ProcessContentLinkDTO);
2297
+ exports.ProcessContentLineDTO = class ProcessContentLineDTO {
2298
+ };
2299
+ __decorateClass$7([
2300
+ graphql.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" })
2301
+ ], exports.ProcessContentLineDTO.prototype, "label", 2);
2302
+ __decorateClass$7([
2303
+ graphql.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" })
2304
+ ], exports.ProcessContentLineDTO.prototype, "subject", 2);
2305
+ __decorateClass$7([
2306
+ graphql.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" })
2307
+ ], exports.ProcessContentLineDTO.prototype, "amount", 2);
2308
+ exports.ProcessContentLineDTO = __decorateClass$7([
2309
+ graphql.ObjectType("ProcessContentLine")
2310
+ ], exports.ProcessContentLineDTO);
2311
+ exports.ProcessContentDTO = class ProcessContentDTO {
2312
+ };
2313
+ __decorateClass$7([
2314
+ graphql.Field(() => String, {
2315
+ 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"
2316
+ })
2317
+ ], exports.ProcessContentDTO.prototype, "title", 2);
2318
+ __decorateClass$7([
2319
+ graphql.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" })
2320
+ ], exports.ProcessContentDTO.prototype, "subtitle", 2);
2321
+ __decorateClass$7([
2322
+ graphql.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)" })
2323
+ ], exports.ProcessContentDTO.prototype, "image_url", 2);
2324
+ __decorateClass$7([
2325
+ graphql.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" })
2326
+ ], exports.ProcessContentDTO.prototype, "amount", 2);
2327
+ __decorateClass$7([
2328
+ graphql.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" })
2329
+ ], exports.ProcessContentDTO.prototype, "amount_label", 2);
2330
+ __decorateClass$7([
2331
+ graphql.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" })
2332
+ ], exports.ProcessContentDTO.prototype, "status", 2);
2333
+ __decorateClass$7([
2334
+ graphql.Field(() => [exports.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" })
2335
+ ], exports.ProcessContentDTO.prototype, "facts", 2);
2336
+ __decorateClass$7([
2337
+ graphql.Field(() => [exports.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" })
2338
+ ], exports.ProcessContentDTO.prototype, "links", 2);
2339
+ __decorateClass$7([
2340
+ graphql.Field(() => [exports.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" })
2341
+ ], exports.ProcessContentDTO.prototype, "lines", 2);
2342
+ exports.ProcessContentDTO = __decorateClass$7([
2343
+ graphql.ObjectType("ProcessContent")
2344
+ ], exports.ProcessContentDTO);
2345
+ class ProcessContentRegistry {
2346
+ constructor() {
2347
+ this.providers = /* @__PURE__ */ new Map();
2348
+ this.fallback = null;
2349
+ }
2350
+ /**
2351
+ * Общее содержание для процесса без описания приложения либо без записи
2352
+ * сущности (стёрта по завершении): ядро собирает его из сводки процесса —
2353
+ * чей процесс, сумма, назначение, даты.
2354
+ */
2355
+ registerFallback(provider) {
2356
+ this.fallback = provider;
2357
+ }
2358
+ /** Содержание процесса: описание приложения, иначе общее из сводки. */
2359
+ async describe(processHash, coopname, processType) {
2360
+ const own = await this.providers.get(processType)?.content(processHash, coopname, processType);
2361
+ return own ?? (this.fallback ? this.fallback.content(processHash, coopname, processType) : null);
2362
+ }
2363
+ register(processTypes, provider) {
2364
+ for (const type of Array.isArray(processTypes) ? processTypes : [processTypes]) {
2365
+ this.providers.set(type, provider);
2366
+ }
2367
+ }
2368
+ get(processType) {
2369
+ return this.providers.get(processType);
2370
+ }
2371
+ registeredTypes() {
2372
+ return [...this.providers.keys()];
2373
+ }
2374
+ }
2375
+ const processContentRegistry = new ProcessContentRegistry();
2376
+ function contentFact(label, value) {
2377
+ return value === null || value === void 0 || value === "" ? [] : [{ label, value: String(value) }];
2378
+ }
2379
+ function contentDay(date) {
2380
+ if (date === null || date === void 0 || date === "")
2381
+ return "";
2382
+ const value = typeof date === "number" ? new Date(date * 1e3) : new Date(date);
2383
+ return Number.isNaN(value.getTime()) ? "" : value.toLocaleDateString("ru-RU", { timeZone: "Europe/Moscow" });
2384
+ }
2385
+ function contentMoney(amount, symbol = "") {
2386
+ if (amount === null || amount === void 0 || amount === "")
2387
+ return "";
2388
+ const [value, assetSymbol] = String(amount).trim().split(/\s+/);
2389
+ const number = Number(value).toLocaleString("ru-RU", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
2390
+ return `${number} ${assetSymbol || symbol}`.trim();
2391
+ }
2392
+ function contentAsset(amount, symbol, decimals = 4) {
2393
+ if (amount === null || amount === void 0 || amount === "")
2394
+ return null;
2395
+ const text = String(amount).trim();
2396
+ return /\s/.test(text) ? text : `${Number(text).toFixed(decimals)} ${symbol}`;
2397
+ }
2398
+
2264
2399
  var __defProp$6 = Object.defineProperty;
2265
2400
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
2266
2401
  var __decorateClass$6 = (decorators, target, key, kind) => {
@@ -3424,6 +3559,10 @@ exports.checkRightScope = checkRightScope;
3424
3559
  exports.computeOnboardingExpiresAt = computeOnboardingExpiresAt;
3425
3560
  exports.configureExtensionAuth = configureExtensionAuth;
3426
3561
  exports.configurePlatformSettings = configurePlatformSettings;
3562
+ exports.contentAsset = contentAsset;
3563
+ exports.contentDay = contentDay;
3564
+ exports.contentFact = contentFact;
3565
+ exports.contentMoney = contentMoney;
3427
3566
  exports.councilRolesOf = councilRolesOf;
3428
3567
  exports.createPaginationResult = createPaginationResult;
3429
3568
  exports.describeConfigField = describeConfigField;
@@ -3457,6 +3596,7 @@ exports.paginationInputToOffset = paginationInputToOffset;
3457
3596
  exports.parseChainAssert = parseChainAssert;
3458
3597
  exports.pickDefined = pickDefined;
3459
3598
  exports.platformSettings = platformSettings;
3599
+ exports.processContentRegistry = processContentRegistry;
3460
3600
  exports.providerSuppliedPaths = providerSuppliedPaths;
3461
3601
  exports.redactSecretConfig = redactSecretConfig;
3462
3602
  exports.registerExtensionDatabaseMigrations = registerExtensionDatabaseMigrations;