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