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