@coopenomics/sdk 2026.3.19-2 → 2026.3.24-7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5,25 +5,11 @@ const WebSocket = require('isomorphic-ws');
5
5
  const antelope = require('@wharfkit/antelope');
6
6
  const contract = require('@wharfkit/contract');
7
7
  const walletPluginPrivatekey = require('@wharfkit/wallet-plugin-privatekey');
8
- const nodeCrypto = require('node:crypto');
9
8
  const graphqlWs = require('graphql-ws');
10
9
 
11
10
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
12
11
 
13
- function _interopNamespaceCompat(e) {
14
- if (e && typeof e === 'object' && 'default' in e) return e;
15
- const n = Object.create(null);
16
- if (e) {
17
- for (const k in e) {
18
- n[k] = e[k];
19
- }
20
- }
21
- n.default = e;
22
- return n;
23
- }
24
-
25
12
  const WebSocket__default = /*#__PURE__*/_interopDefaultCompat(WebSocket);
26
- const nodeCrypto__namespace = /*#__PURE__*/_interopNamespaceCompat(nodeCrypto);
27
13
 
28
14
  var __defProp$5 = Object.defineProperty;
29
15
  var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -355,7 +341,8 @@ class Crypto {
355
341
  return Array.from(new Uint8Array(hashBuffer)).map((b) => b.toString(16).padStart(2, "0")).join("");
356
342
  } else {
357
343
  try {
358
- return nodeCrypto__namespace.createHash("sha256").update(str).digest("hex");
344
+ const { createHash } = await import('node:crypto');
345
+ return createHash("sha256").update(str).digest("hex");
359
346
  } catch (error) {
360
347
  console.warn("Node.js crypto \u043C\u043E\u0434\u0443\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D", error);
361
348
  throw new Error("\u041A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u0432 \u044D\u0442\u043E\u043C \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0438");
@@ -1095,6 +1082,7 @@ const AllTypesProps = {
1095
1082
  passport: "PassportInput"
1096
1083
  },
1097
1084
  CreateStoryInput: {
1085
+ content_format: "CapitalStoryContentFormat",
1098
1086
  status: "StoryStatus"
1099
1087
  },
1100
1088
  CreateSubscriptionInput: {
@@ -2180,6 +2168,7 @@ const AllTypesProps = {
2180
2168
  StartVotingInput: {},
2181
2169
  StopProjectInput: {},
2182
2170
  StoryStatus: "enum",
2171
+ CapitalStoryContentFormat: "enum",
2183
2172
  SubmitVoteInput: {
2184
2173
  votes: "VoteDistributionInput"
2185
2174
  },
@@ -2654,6 +2643,7 @@ const ReturnTypes = {
2654
2643
  hours_per_day: "Float",
2655
2644
  id: "Int",
2656
2645
  is_external_contract: "Boolean",
2646
+ is_external_blagorost_agreement: "Boolean",
2657
2647
  last_energy_update: "String",
2658
2648
  level: "Int",
2659
2649
  main_wallet: "ProgramWallet",
@@ -3078,6 +3068,7 @@ const ReturnTypes = {
3078
3068
  _updated_at: "DateTime",
3079
3069
  block_num: "Float",
3080
3070
  coopname: "String",
3071
+ content_format: "CapitalStoryContentFormat",
3081
3072
  created_by: "String",
3082
3073
  description: "String",
3083
3074
  issue_hash: "String",
@@ -5293,6 +5284,13 @@ var StoryStatus = /* @__PURE__ */ ((StoryStatus2) => {
5293
5284
  StoryStatus2["PENDING"] = "PENDING";
5294
5285
  return StoryStatus2;
5295
5286
  })(StoryStatus || {});
5287
+ var CapitalStoryContentFormat = /* @__PURE__ */ ((CapitalStoryContentFormat2) => {
5288
+ CapitalStoryContentFormat2["BPMN"] = "BPMN";
5289
+ CapitalStoryContentFormat2["DRAWIO"] = "DRAWIO";
5290
+ CapitalStoryContentFormat2["MARKDOWN"] = "MARKDOWN";
5291
+ CapitalStoryContentFormat2["MERMAID"] = "MERMAID";
5292
+ return CapitalStoryContentFormat2;
5293
+ })(CapitalStoryContentFormat || {});
5296
5294
  var SystemStatus = /* @__PURE__ */ ((SystemStatus2) => {
5297
5295
  SystemStatus2["active"] = "active";
5298
5296
  SystemStatus2["initialized"] = "initialized";
@@ -5326,6 +5324,7 @@ const index$M = {
5326
5324
  ApprovalStatus: ApprovalStatus,
5327
5325
  CandidateStatus: CandidateStatus,
5328
5326
  CapitalOnboardingStep: CapitalOnboardingStep,
5327
+ CapitalStoryContentFormat: CapitalStoryContentFormat,
5329
5328
  Chain: Chain,
5330
5329
  ChairmanOnboardingAgendaStep: ChairmanOnboardingAgendaStep,
5331
5330
  CommitStatus: CommitStatus,
@@ -6285,7 +6284,8 @@ const rawContributorSelector = {
6285
6284
  },
6286
6285
  blagorost_wallet: rawProgramWalletSelector,
6287
6286
  generation_wallet: rawProgramWalletSelector,
6288
- main_wallet: rawProgramWalletSelector
6287
+ main_wallet: rawProgramWalletSelector,
6288
+ is_external_blagorost_agreement: true
6289
6289
  };
6290
6290
  const contributorSelector = Selector("CapitalContributor")(rawContributorSelector);
6291
6291
 
@@ -6534,6 +6534,7 @@ const rawStorySelector = {
6534
6534
  story_hash: true,
6535
6535
  title: true,
6536
6536
  description: true,
6537
+ content_format: true,
6537
6538
  status: true,
6538
6539
  project_hash: true,
6539
6540
  issue_hash: true,
@@ -9442,6 +9443,7 @@ const index$s = {
9442
9443
  InitSystem: initSystem,
9443
9444
  InstallSystem: installSystem,
9444
9445
  SaveWif: saveWif,
9446
+ SetWif: saveWif,
9445
9447
  StartInstall: startInstall,
9446
9448
  UpdateSettings: updateSettings,
9447
9449
  UpdateSystem: updateSystem
package/dist/index.d.cts CHANGED
@@ -1602,6 +1602,8 @@ type ValueTypes = {
1602
1602
  id?: boolean | `@${string}`;
1603
1603
  /** Является ли внешним контрактом */
1604
1604
  is_external_contract?: boolean | `@${string}`;
1605
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
1606
+ is_external_blagorost_agreement?: boolean | `@${string}`;
1605
1607
  /** Последнее обновление энергии */
1606
1608
  last_energy_update?: boolean | `@${string}`;
1607
1609
  /** Уровень участника */
@@ -2589,6 +2591,8 @@ type ValueTypes = {
2589
2591
  block_num?: boolean | `@${string}`;
2590
2592
  /** Имя аккаунта кооператива */
2591
2593
  coopname?: boolean | `@${string}`;
2594
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
2595
+ content_format?: boolean | `@${string}`;
2592
2596
  /** Имя пользователя, создавшего историю */
2593
2597
  created_by?: boolean | `@${string}`;
2594
2598
  /** Описание истории */
@@ -3491,6 +3495,8 @@ type ValueTypes = {
3491
3495
  ["CreateStoryInput"]: {
3492
3496
  /** Имя аккаунта кооператива */
3493
3497
  coopname: string | Variable<any, string>;
3498
+ /** Формат содержимого; по умолчанию MARKDOWN */
3499
+ content_format?: ValueTypes["CapitalStoryContentFormat"] | undefined | null | Variable<any, string>;
3494
3500
  /** Описание истории */
3495
3501
  description?: string | undefined | null | Variable<any, string>;
3496
3502
  /** Хеш задачи (если история привязана к задаче) */
@@ -7665,6 +7671,8 @@ type ValueTypes = {
7665
7671
  };
7666
7672
  /** Статус истории в системе CAPITAL */
7667
7673
  ["StoryStatus"]: StoryStatus;
7674
+ /** Формат содержимого требования (истории) в CAPITAL */
7675
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
7668
7676
  ["SubmitVoteInput"]: {
7669
7677
  /** Имя аккаунта кооператива */
7670
7678
  coopname: string | Variable<any, string>;
@@ -9499,6 +9507,8 @@ type ResolverInputTypes = {
9499
9507
  id?: boolean | `@${string}`;
9500
9508
  /** Является ли внешним контрактом */
9501
9509
  is_external_contract?: boolean | `@${string}`;
9510
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
9511
+ is_external_blagorost_agreement?: boolean | `@${string}`;
9502
9512
  /** Последнее обновление энергии */
9503
9513
  last_energy_update?: boolean | `@${string}`;
9504
9514
  /** Уровень участника */
@@ -10486,6 +10496,8 @@ type ResolverInputTypes = {
10486
10496
  block_num?: boolean | `@${string}`;
10487
10497
  /** Имя аккаунта кооператива */
10488
10498
  coopname?: boolean | `@${string}`;
10499
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
10500
+ content_format?: boolean | `@${string}`;
10489
10501
  /** Имя пользователя, создавшего историю */
10490
10502
  created_by?: boolean | `@${string}`;
10491
10503
  /** Описание истории */
@@ -11388,6 +11400,8 @@ type ResolverInputTypes = {
11388
11400
  ["CreateStoryInput"]: {
11389
11401
  /** Имя аккаунта кооператива */
11390
11402
  coopname: string;
11403
+ /** Формат содержимого; по умолчанию MARKDOWN */
11404
+ content_format?: ResolverInputTypes["CapitalStoryContentFormat"] | undefined | null;
11391
11405
  /** Описание истории */
11392
11406
  description?: string | undefined | null;
11393
11407
  /** Хеш задачи (если история привязана к задаче) */
@@ -15562,6 +15576,8 @@ type ResolverInputTypes = {
15562
15576
  };
15563
15577
  /** Статус истории в системе CAPITAL */
15564
15578
  ["StoryStatus"]: StoryStatus;
15579
+ /** Формат содержимого требования (истории) в CAPITAL */
15580
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
15565
15581
  ["SubmitVoteInput"]: {
15566
15582
  /** Имя аккаунта кооператива */
15567
15583
  coopname: string;
@@ -17366,6 +17382,8 @@ type ModelTypes = {
17366
17382
  id?: number | undefined | null;
17367
17383
  /** Является ли внешним контрактом */
17368
17384
  is_external_contract?: boolean | undefined | null;
17385
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
17386
+ is_external_blagorost_agreement?: boolean | undefined | null;
17369
17387
  /** Последнее обновление энергии */
17370
17388
  last_energy_update?: string | undefined | null;
17371
17389
  /** Уровень участника */
@@ -18330,6 +18348,8 @@ type ModelTypes = {
18330
18348
  block_num?: number | undefined | null;
18331
18349
  /** Имя аккаунта кооператива */
18332
18350
  coopname: string;
18351
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
18352
+ content_format: ModelTypes["CapitalStoryContentFormat"];
18333
18353
  /** Имя пользователя, создавшего историю */
18334
18354
  created_by: string;
18335
18355
  /** Описание истории */
@@ -19219,6 +19239,8 @@ type ModelTypes = {
19219
19239
  ["CreateStoryInput"]: {
19220
19240
  /** Имя аккаунта кооператива */
19221
19241
  coopname: string;
19242
+ /** Формат содержимого; по умолчанию MARKDOWN */
19243
+ content_format?: ModelTypes["CapitalStoryContentFormat"] | undefined | null;
19222
19244
  /** Описание истории */
19223
19245
  description?: string | undefined | null;
19224
19246
  /** Хеш задачи (если история привязана к задаче) */
@@ -22939,6 +22961,7 @@ type ModelTypes = {
22939
22961
  project_hash: string;
22940
22962
  };
22941
22963
  ["StoryStatus"]: StoryStatus;
22964
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
22942
22965
  ["SubmitVoteInput"]: {
22943
22966
  /** Имя аккаунта кооператива */
22944
22967
  coopname: string;
@@ -24757,6 +24780,8 @@ type GraphQLTypes = {
24757
24780
  id?: number | undefined | null;
24758
24781
  /** Является ли внешним контрактом */
24759
24782
  is_external_contract?: boolean | undefined | null;
24783
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
24784
+ is_external_blagorost_agreement?: boolean | undefined | null;
24760
24785
  /** Последнее обновление энергии */
24761
24786
  last_energy_update?: string | undefined | null;
24762
24787
  /** Уровень участника */
@@ -25744,6 +25769,8 @@ type GraphQLTypes = {
25744
25769
  block_num?: number | undefined | null;
25745
25770
  /** Имя аккаунта кооператива */
25746
25771
  coopname: string;
25772
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
25773
+ content_format: GraphQLTypes["CapitalStoryContentFormat"];
25747
25774
  /** Имя пользователя, создавшего историю */
25748
25775
  created_by: string;
25749
25776
  /** Описание истории */
@@ -26645,6 +26672,8 @@ type GraphQLTypes = {
26645
26672
  ["CreateStoryInput"]: {
26646
26673
  /** Имя аккаунта кооператива */
26647
26674
  coopname: string;
26675
+ /** Формат содержимого; по умолчанию MARKDOWN */
26676
+ content_format?: GraphQLTypes["CapitalStoryContentFormat"] | undefined | null;
26648
26677
  /** Описание истории */
26649
26678
  description?: string | undefined | null;
26650
26679
  /** Хеш задачи (если история привязана к задаче) */
@@ -30512,6 +30541,8 @@ type GraphQLTypes = {
30512
30541
  };
30513
30542
  /** Статус истории в системе CAPITAL */
30514
30543
  ["StoryStatus"]: StoryStatus;
30544
+ /** Формат содержимого требования (истории) в CAPITAL */
30545
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
30515
30546
  ["SubmitVoteInput"]: {
30516
30547
  /** Имя аккаунта кооператива */
30517
30548
  coopname: string;
@@ -31313,6 +31344,13 @@ declare enum StoryStatus {
31313
31344
  COMPLETED = "COMPLETED",
31314
31345
  PENDING = "PENDING"
31315
31346
  }
31347
+ /** Формат содержимого требования (истории) в CAPITAL */
31348
+ declare enum CapitalStoryContentFormat {
31349
+ BPMN = "BPMN",
31350
+ DRAWIO = "DRAWIO",
31351
+ MARKDOWN = "MARKDOWN",
31352
+ MERMAID = "MERMAID"
31353
+ }
31316
31354
  /** Состояние контроллера кооператива */
31317
31355
  declare enum SystemStatus {
31318
31356
  active = "active",
@@ -31626,6 +31664,7 @@ type ZEUS_VARIABLES = {
31626
31664
  ["StartVotingInput"]: ValueTypes["StartVotingInput"];
31627
31665
  ["StopProjectInput"]: ValueTypes["StopProjectInput"];
31628
31666
  ["StoryStatus"]: ValueTypes["StoryStatus"];
31667
+ ["CapitalStoryContentFormat"]: ValueTypes["CapitalStoryContentFormat"];
31629
31668
  ["SubmitVoteInput"]: ValueTypes["SubmitVoteInput"];
31630
31669
  ["SupplyOnRequestInput"]: ValueTypes["SupplyOnRequestInput"];
31631
31670
  ["SystemStatus"]: ValueTypes["SystemStatus"];
@@ -31668,6 +31707,8 @@ type index$M_CandidateStatus = CandidateStatus;
31668
31707
  declare const index$M_CandidateStatus: typeof CandidateStatus;
31669
31708
  type index$M_CapitalOnboardingStep = CapitalOnboardingStep;
31670
31709
  declare const index$M_CapitalOnboardingStep: typeof CapitalOnboardingStep;
31710
+ type index$M_CapitalStoryContentFormat = CapitalStoryContentFormat;
31711
+ declare const index$M_CapitalStoryContentFormat: typeof CapitalStoryContentFormat;
31671
31712
  declare const index$M_Chain: typeof Chain;
31672
31713
  type index$M_ChairmanOnboardingAgendaStep = ChairmanOnboardingAgendaStep;
31673
31714
  declare const index$M_ChairmanOnboardingAgendaStep: typeof ChairmanOnboardingAgendaStep;
@@ -31800,7 +31841,7 @@ declare const index$M_purifyGraphQLKey: typeof purifyGraphQLKey;
31800
31841
  declare const index$M_resolverFor: typeof resolverFor;
31801
31842
  declare const index$M_traverseResponse: typeof traverseResponse;
31802
31843
  declare namespace index$M {
31803
- export { index$M_$ as $, index$M_AccountType as AccountType, index$M_AgreementStatus as AgreementStatus, index$M_ApprovalStatus as ApprovalStatus, index$M_CandidateStatus as CandidateStatus, index$M_CapitalOnboardingStep as CapitalOnboardingStep, index$M_Chain as Chain, index$M_ChairmanOnboardingAgendaStep as ChairmanOnboardingAgendaStep, index$M_CommitStatus as CommitStatus, index$M_ContributorStatus as ContributorStatus, index$M_Country as Country, index$M_CycleStatus as CycleStatus, index$M_DebtStatus as DebtStatus, index$M_DocumentAction as DocumentAction, index$M_ExpenseStatus as ExpenseStatus, index$M_ExtendedMeetStatus as ExtendedMeetStatus, index$M_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, index$M_Gql as Gql, index$M_GraphQLError as GraphQLError, index$M_HEADERS as HEADERS, index$M_HOST as HOST, index$M_InstanceStatus as InstanceStatus, index$M_InternalArgsBuilt as InternalArgsBuilt, index$M_InternalsBuildQuery as InternalsBuildQuery, index$M_InvestStatus as InvestStatus, index$M_IssuePriority as IssuePriority, index$M_IssueStatus as IssueStatus, index$M_LogEntityType as LogEntityType, index$M_LogEventType as LogEventType, index$M_OrganizationType as OrganizationType, index$M_PaymentDirection as PaymentDirection, index$M_PaymentStatus as PaymentStatus, PaymentType$1 as PaymentType, index$M_PrepareScalarPaths as PrepareScalarPaths, index$M_ProcessInstanceStatus as ProcessInstanceStatus, index$M_ProcessStepStatus as ProcessStepStatus, index$M_ProcessTemplateStatus as ProcessTemplateStatus, index$M_ProgramInvestStatus as ProgramInvestStatus, index$M_ProgramKey as ProgramKey, index$M_ProgramType as ProgramType, index$M_ProjectStatus as ProjectStatus, index$M_ReportType as ReportType, index$M_ResolveFromPath as ResolveFromPath, index$M_ResultStatus as ResultStatus, index$M_SEPARATOR as SEPARATOR, index$M_START_VAR_NAME as START_VAR_NAME, index$M_SegmentStatus as SegmentStatus, index$M_Selector as Selector, index$M_StoryStatus as StoryStatus, index$M_Subscription as Subscription, index$M_SubscriptionThunder as SubscriptionThunder, index$M_SystemStatus as SystemStatus, index$M_Thunder as Thunder, index$M_TranscriptionStatus as TranscriptionStatus, index$M_TypeFromSelector as TypeFromSelector, index$M_UserStatus as UserStatus, index$M_Zeus as Zeus, index$M_ZeusScalars as ZeusScalars, index$M_ZeusSelect as ZeusSelect, index$M_apiFetch as apiFetch, index$M_apiSubscription as apiSubscription, index$M_decodeScalarsInResponse as decodeScalarsInResponse, index$M_fields as fields, index$M_purifyGraphQLKey as purifyGraphQLKey, index$M_resolverFor as resolverFor, index$M_traverseResponse as traverseResponse };
31844
+ export { index$M_$ as $, index$M_AccountType as AccountType, index$M_AgreementStatus as AgreementStatus, index$M_ApprovalStatus as ApprovalStatus, index$M_CandidateStatus as CandidateStatus, index$M_CapitalOnboardingStep as CapitalOnboardingStep, index$M_CapitalStoryContentFormat as CapitalStoryContentFormat, index$M_Chain as Chain, index$M_ChairmanOnboardingAgendaStep as ChairmanOnboardingAgendaStep, index$M_CommitStatus as CommitStatus, index$M_ContributorStatus as ContributorStatus, index$M_Country as Country, index$M_CycleStatus as CycleStatus, index$M_DebtStatus as DebtStatus, index$M_DocumentAction as DocumentAction, index$M_ExpenseStatus as ExpenseStatus, index$M_ExtendedMeetStatus as ExtendedMeetStatus, index$M_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, index$M_Gql as Gql, index$M_GraphQLError as GraphQLError, index$M_HEADERS as HEADERS, index$M_HOST as HOST, index$M_InstanceStatus as InstanceStatus, index$M_InternalArgsBuilt as InternalArgsBuilt, index$M_InternalsBuildQuery as InternalsBuildQuery, index$M_InvestStatus as InvestStatus, index$M_IssuePriority as IssuePriority, index$M_IssueStatus as IssueStatus, index$M_LogEntityType as LogEntityType, index$M_LogEventType as LogEventType, index$M_OrganizationType as OrganizationType, index$M_PaymentDirection as PaymentDirection, index$M_PaymentStatus as PaymentStatus, PaymentType$1 as PaymentType, index$M_PrepareScalarPaths as PrepareScalarPaths, index$M_ProcessInstanceStatus as ProcessInstanceStatus, index$M_ProcessStepStatus as ProcessStepStatus, index$M_ProcessTemplateStatus as ProcessTemplateStatus, index$M_ProgramInvestStatus as ProgramInvestStatus, index$M_ProgramKey as ProgramKey, index$M_ProgramType as ProgramType, index$M_ProjectStatus as ProjectStatus, index$M_ReportType as ReportType, index$M_ResolveFromPath as ResolveFromPath, index$M_ResultStatus as ResultStatus, index$M_SEPARATOR as SEPARATOR, index$M_START_VAR_NAME as START_VAR_NAME, index$M_SegmentStatus as SegmentStatus, index$M_Selector as Selector, index$M_StoryStatus as StoryStatus, index$M_Subscription as Subscription, index$M_SubscriptionThunder as SubscriptionThunder, index$M_SystemStatus as SystemStatus, index$M_Thunder as Thunder, index$M_TranscriptionStatus as TranscriptionStatus, index$M_TypeFromSelector as TypeFromSelector, index$M_UserStatus as UserStatus, index$M_Zeus as Zeus, index$M_ZeusScalars as ZeusScalars, index$M_ZeusSelect as ZeusSelect, index$M_apiFetch as apiFetch, index$M_apiSubscription as apiSubscription, index$M_decodeScalarsInResponse as decodeScalarsInResponse, index$M_fields as fields, index$M_purifyGraphQLKey as purifyGraphQLKey, index$M_resolverFor as resolverFor, index$M_traverseResponse as traverseResponse };
31804
31845
  export type { index$M_AliasType as AliasType, index$M_AllTypesPropsType as AllTypesPropsType, index$M_ExtractVariables as ExtractVariables, index$M_ExtractVariablesDeep as ExtractVariablesDeep, index$M_FetchFunction as FetchFunction, index$M_FromSelector as FromSelector, index$M_GenericOperation as GenericOperation, index$M_GetVariableType as GetVariableType, index$M_GraphQLResponse as GraphQLResponse, index$M_GraphQLTypes as GraphQLTypes, index$M_GraphQLVariableType as GraphQLVariableType, index$M_InputType as InputType, index$M_InputValueType as InputValueType, index$M_MapType as MapType, index$M_ModelTypes as ModelTypes, index$M_OperationOptions as OperationOptions, index$M_Operations as Operations, index$M_PlainType as PlainType, index$M_ResolverInputTypes as ResolverInputTypes, index$M_ResolverType as ResolverType, index$M_ReturnTypesType as ReturnTypesType, index$M_ScalarCoder as ScalarCoder, index$M_ScalarCoders as ScalarCoders, index$M_ScalarDefinition as ScalarDefinition, index$M_ScalarResolver as ScalarResolver, index$M_SelectionFunction as SelectionFunction, index$M_SubscriptionFunction as SubscriptionFunction, index$M_SubscriptionToGraphQL as SubscriptionToGraphQL, index$M_ThunderGraphQLOptions as ThunderGraphQLOptions, index$M_UnwrapPromise as UnwrapPromise, index$M_VType as VType, index$M_ValueTypes as ValueTypes, index$M_Variable as Variable, index$M_VariableDefinition as VariableDefinition, index$M_WithOptionalNullables as WithOptionalNullables, index$M_WithTypeNameValue as WithTypeNameValue, index$M_ZeusArgsType as ZeusArgsType, index$M_ZeusHook as ZeusHook, index$M_ZeusState as ZeusState, index$M_chainOptions as chainOptions, index$M_fetchOptions as fetchOptions };
31805
31846
  }
31806
31847
 
@@ -35283,6 +35324,7 @@ declare const mutation$1Y: {
35283
35324
  story_hash: boolean;
35284
35325
  title: boolean;
35285
35326
  description: boolean;
35327
+ content_format: boolean;
35286
35328
  status: boolean;
35287
35329
  project_hash: boolean;
35288
35330
  issue_hash: boolean;
@@ -35686,6 +35728,7 @@ declare const mutation$1T: {
35686
35728
  program_type: boolean;
35687
35729
  blockNum: boolean;
35688
35730
  };
35731
+ is_external_blagorost_agreement: boolean;
35689
35732
  _id: boolean;
35690
35733
  present: boolean;
35691
35734
  _created_at: boolean;
@@ -38337,6 +38380,7 @@ declare const mutation$1a: {
38337
38380
  story_hash: boolean;
38338
38381
  title: boolean;
38339
38382
  description: boolean;
38383
+ content_format: boolean;
38340
38384
  status: boolean;
38341
38385
  project_hash: boolean;
38342
38386
  issue_hash: boolean;
@@ -46028,6 +46072,10 @@ declare namespace installSystem {
46028
46072
  export type { IInput$1g as IInput, IOutput$1g as IOutput };
46029
46073
  }
46030
46074
 
46075
+ /**
46076
+ * Сохранение приватного ключа (WIF) в зашифрованное хранилище аккаунта пользователя.
46077
+ * Соответствует полю GraphQL `Mutation.setWif`.
46078
+ */
46031
46079
  declare const name$1e = "setWif";
46032
46080
  declare const mutation$7: {
46033
46081
  setWif: [{
@@ -46380,6 +46428,7 @@ declare namespace index$r {
46380
46428
  initSystem as InitSystem,
46381
46429
  installSystem as InstallSystem,
46382
46430
  saveWif as SaveWif,
46431
+ saveWif as SetWif,
46383
46432
  startInstall as StartInstall,
46384
46433
  updateSettings as UpdateSettings,
46385
46434
  updateSystem as UpdateSystem,
@@ -48881,6 +48930,7 @@ declare const query$W: {
48881
48930
  program_type: boolean;
48882
48931
  blockNum: boolean;
48883
48932
  };
48933
+ is_external_blagorost_agreement: boolean;
48884
48934
  _id: boolean;
48885
48935
  present: boolean;
48886
48936
  _created_at: boolean;
@@ -49045,6 +49095,7 @@ declare const query$V: {
49045
49095
  program_type: boolean;
49046
49096
  blockNum: boolean;
49047
49097
  };
49098
+ is_external_blagorost_agreement: boolean;
49048
49099
  _id: boolean;
49049
49100
  present: boolean;
49050
49101
  _created_at: boolean;
@@ -51904,6 +51955,7 @@ declare const query$y: {
51904
51955
  story_hash: boolean;
51905
51956
  title: boolean;
51906
51957
  description: boolean;
51958
+ content_format: boolean;
51907
51959
  status: boolean;
51908
51960
  project_hash: boolean;
51909
51961
  issue_hash: boolean;
@@ -51947,6 +51999,7 @@ declare const query$x: {
51947
51999
  story_hash: boolean;
51948
52000
  title: boolean;
51949
52001
  description: boolean;
52002
+ content_format: boolean;
51950
52003
  status: boolean;
51951
52004
  project_hash: boolean;
51952
52005
  issue_hash: boolean;
@@ -57729,6 +57782,7 @@ declare const rawContributorSelector: {
57729
57782
  program_type: boolean;
57730
57783
  blockNum: boolean;
57731
57784
  };
57785
+ is_external_blagorost_agreement: boolean;
57732
57786
  _id: boolean;
57733
57787
  present: boolean;
57734
57788
  _created_at: boolean;
@@ -57871,6 +57925,7 @@ declare const contributorSelector: {
57871
57925
  program_type: boolean;
57872
57926
  blockNum: boolean;
57873
57927
  };
57928
+ is_external_blagorost_agreement: boolean;
57874
57929
  _id: boolean;
57875
57930
  present: boolean;
57876
57931
  _created_at: boolean;
@@ -59350,6 +59405,7 @@ declare const contributorsPaginationSelector: {
59350
59405
  program_type: boolean;
59351
59406
  blockNum: boolean;
59352
59407
  };
59408
+ is_external_blagorost_agreement: boolean;
59353
59409
  _id: boolean;
59354
59410
  present: boolean;
59355
59411
  _created_at: boolean;
@@ -59858,6 +59914,7 @@ declare const storiesPaginationSelector: {
59858
59914
  story_hash: boolean;
59859
59915
  title: boolean;
59860
59916
  description: boolean;
59917
+ content_format: boolean;
59861
59918
  status: boolean;
59862
59919
  project_hash: boolean;
59863
59920
  issue_hash: boolean;
@@ -61769,6 +61826,7 @@ declare const rawStorySelector: {
61769
61826
  story_hash: boolean;
61770
61827
  title: boolean;
61771
61828
  description: boolean;
61829
+ content_format: boolean;
61772
61830
  status: boolean;
61773
61831
  project_hash: boolean;
61774
61832
  issue_hash: boolean;
@@ -61786,6 +61844,7 @@ declare const storySelector: {
61786
61844
  story_hash: boolean;
61787
61845
  title: boolean;
61788
61846
  description: boolean;
61847
+ content_format: boolean;
61789
61848
  status: boolean;
61790
61849
  project_hash: boolean;
61791
61850
  issue_hash: boolean;
package/dist/index.d.mts CHANGED
@@ -1602,6 +1602,8 @@ type ValueTypes = {
1602
1602
  id?: boolean | `@${string}`;
1603
1603
  /** Является ли внешним контрактом */
1604
1604
  is_external_contract?: boolean | `@${string}`;
1605
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
1606
+ is_external_blagorost_agreement?: boolean | `@${string}`;
1605
1607
  /** Последнее обновление энергии */
1606
1608
  last_energy_update?: boolean | `@${string}`;
1607
1609
  /** Уровень участника */
@@ -2589,6 +2591,8 @@ type ValueTypes = {
2589
2591
  block_num?: boolean | `@${string}`;
2590
2592
  /** Имя аккаунта кооператива */
2591
2593
  coopname?: boolean | `@${string}`;
2594
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
2595
+ content_format?: boolean | `@${string}`;
2592
2596
  /** Имя пользователя, создавшего историю */
2593
2597
  created_by?: boolean | `@${string}`;
2594
2598
  /** Описание истории */
@@ -3491,6 +3495,8 @@ type ValueTypes = {
3491
3495
  ["CreateStoryInput"]: {
3492
3496
  /** Имя аккаунта кооператива */
3493
3497
  coopname: string | Variable<any, string>;
3498
+ /** Формат содержимого; по умолчанию MARKDOWN */
3499
+ content_format?: ValueTypes["CapitalStoryContentFormat"] | undefined | null | Variable<any, string>;
3494
3500
  /** Описание истории */
3495
3501
  description?: string | undefined | null | Variable<any, string>;
3496
3502
  /** Хеш задачи (если история привязана к задаче) */
@@ -7665,6 +7671,8 @@ type ValueTypes = {
7665
7671
  };
7666
7672
  /** Статус истории в системе CAPITAL */
7667
7673
  ["StoryStatus"]: StoryStatus;
7674
+ /** Формат содержимого требования (истории) в CAPITAL */
7675
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
7668
7676
  ["SubmitVoteInput"]: {
7669
7677
  /** Имя аккаунта кооператива */
7670
7678
  coopname: string | Variable<any, string>;
@@ -9499,6 +9507,8 @@ type ResolverInputTypes = {
9499
9507
  id?: boolean | `@${string}`;
9500
9508
  /** Является ли внешним контрактом */
9501
9509
  is_external_contract?: boolean | `@${string}`;
9510
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
9511
+ is_external_blagorost_agreement?: boolean | `@${string}`;
9502
9512
  /** Последнее обновление энергии */
9503
9513
  last_energy_update?: boolean | `@${string}`;
9504
9514
  /** Уровень участника */
@@ -10486,6 +10496,8 @@ type ResolverInputTypes = {
10486
10496
  block_num?: boolean | `@${string}`;
10487
10497
  /** Имя аккаунта кооператива */
10488
10498
  coopname?: boolean | `@${string}`;
10499
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
10500
+ content_format?: boolean | `@${string}`;
10489
10501
  /** Имя пользователя, создавшего историю */
10490
10502
  created_by?: boolean | `@${string}`;
10491
10503
  /** Описание истории */
@@ -11388,6 +11400,8 @@ type ResolverInputTypes = {
11388
11400
  ["CreateStoryInput"]: {
11389
11401
  /** Имя аккаунта кооператива */
11390
11402
  coopname: string;
11403
+ /** Формат содержимого; по умолчанию MARKDOWN */
11404
+ content_format?: ResolverInputTypes["CapitalStoryContentFormat"] | undefined | null;
11391
11405
  /** Описание истории */
11392
11406
  description?: string | undefined | null;
11393
11407
  /** Хеш задачи (если история привязана к задаче) */
@@ -15562,6 +15576,8 @@ type ResolverInputTypes = {
15562
15576
  };
15563
15577
  /** Статус истории в системе CAPITAL */
15564
15578
  ["StoryStatus"]: StoryStatus;
15579
+ /** Формат содержимого требования (истории) в CAPITAL */
15580
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
15565
15581
  ["SubmitVoteInput"]: {
15566
15582
  /** Имя аккаунта кооператива */
15567
15583
  coopname: string;
@@ -17366,6 +17382,8 @@ type ModelTypes = {
17366
17382
  id?: number | undefined | null;
17367
17383
  /** Является ли внешним контрактом */
17368
17384
  is_external_contract?: boolean | undefined | null;
17385
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
17386
+ is_external_blagorost_agreement?: boolean | undefined | null;
17369
17387
  /** Последнее обновление энергии */
17370
17388
  last_energy_update?: string | undefined | null;
17371
17389
  /** Уровень участника */
@@ -18330,6 +18348,8 @@ type ModelTypes = {
18330
18348
  block_num?: number | undefined | null;
18331
18349
  /** Имя аккаунта кооператива */
18332
18350
  coopname: string;
18351
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
18352
+ content_format: ModelTypes["CapitalStoryContentFormat"];
18333
18353
  /** Имя пользователя, создавшего историю */
18334
18354
  created_by: string;
18335
18355
  /** Описание истории */
@@ -19219,6 +19239,8 @@ type ModelTypes = {
19219
19239
  ["CreateStoryInput"]: {
19220
19240
  /** Имя аккаунта кооператива */
19221
19241
  coopname: string;
19242
+ /** Формат содержимого; по умолчанию MARKDOWN */
19243
+ content_format?: ModelTypes["CapitalStoryContentFormat"] | undefined | null;
19222
19244
  /** Описание истории */
19223
19245
  description?: string | undefined | null;
19224
19246
  /** Хеш задачи (если история привязана к задаче) */
@@ -22939,6 +22961,7 @@ type ModelTypes = {
22939
22961
  project_hash: string;
22940
22962
  };
22941
22963
  ["StoryStatus"]: StoryStatus;
22964
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
22942
22965
  ["SubmitVoteInput"]: {
22943
22966
  /** Имя аккаунта кооператива */
22944
22967
  coopname: string;
@@ -24757,6 +24780,8 @@ type GraphQLTypes = {
24757
24780
  id?: number | undefined | null;
24758
24781
  /** Является ли внешним контрактом */
24759
24782
  is_external_contract?: boolean | undefined | null;
24783
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
24784
+ is_external_blagorost_agreement?: boolean | undefined | null;
24760
24785
  /** Последнее обновление энергии */
24761
24786
  last_energy_update?: string | undefined | null;
24762
24787
  /** Уровень участника */
@@ -25744,6 +25769,8 @@ type GraphQLTypes = {
25744
25769
  block_num?: number | undefined | null;
25745
25770
  /** Имя аккаунта кооператива */
25746
25771
  coopname: string;
25772
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
25773
+ content_format: GraphQLTypes["CapitalStoryContentFormat"];
25747
25774
  /** Имя пользователя, создавшего историю */
25748
25775
  created_by: string;
25749
25776
  /** Описание истории */
@@ -26645,6 +26672,8 @@ type GraphQLTypes = {
26645
26672
  ["CreateStoryInput"]: {
26646
26673
  /** Имя аккаунта кооператива */
26647
26674
  coopname: string;
26675
+ /** Формат содержимого; по умолчанию MARKDOWN */
26676
+ content_format?: GraphQLTypes["CapitalStoryContentFormat"] | undefined | null;
26648
26677
  /** Описание истории */
26649
26678
  description?: string | undefined | null;
26650
26679
  /** Хеш задачи (если история привязана к задаче) */
@@ -30512,6 +30541,8 @@ type GraphQLTypes = {
30512
30541
  };
30513
30542
  /** Статус истории в системе CAPITAL */
30514
30543
  ["StoryStatus"]: StoryStatus;
30544
+ /** Формат содержимого требования (истории) в CAPITAL */
30545
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
30515
30546
  ["SubmitVoteInput"]: {
30516
30547
  /** Имя аккаунта кооператива */
30517
30548
  coopname: string;
@@ -31313,6 +31344,13 @@ declare enum StoryStatus {
31313
31344
  COMPLETED = "COMPLETED",
31314
31345
  PENDING = "PENDING"
31315
31346
  }
31347
+ /** Формат содержимого требования (истории) в CAPITAL */
31348
+ declare enum CapitalStoryContentFormat {
31349
+ BPMN = "BPMN",
31350
+ DRAWIO = "DRAWIO",
31351
+ MARKDOWN = "MARKDOWN",
31352
+ MERMAID = "MERMAID"
31353
+ }
31316
31354
  /** Состояние контроллера кооператива */
31317
31355
  declare enum SystemStatus {
31318
31356
  active = "active",
@@ -31626,6 +31664,7 @@ type ZEUS_VARIABLES = {
31626
31664
  ["StartVotingInput"]: ValueTypes["StartVotingInput"];
31627
31665
  ["StopProjectInput"]: ValueTypes["StopProjectInput"];
31628
31666
  ["StoryStatus"]: ValueTypes["StoryStatus"];
31667
+ ["CapitalStoryContentFormat"]: ValueTypes["CapitalStoryContentFormat"];
31629
31668
  ["SubmitVoteInput"]: ValueTypes["SubmitVoteInput"];
31630
31669
  ["SupplyOnRequestInput"]: ValueTypes["SupplyOnRequestInput"];
31631
31670
  ["SystemStatus"]: ValueTypes["SystemStatus"];
@@ -31668,6 +31707,8 @@ type index$M_CandidateStatus = CandidateStatus;
31668
31707
  declare const index$M_CandidateStatus: typeof CandidateStatus;
31669
31708
  type index$M_CapitalOnboardingStep = CapitalOnboardingStep;
31670
31709
  declare const index$M_CapitalOnboardingStep: typeof CapitalOnboardingStep;
31710
+ type index$M_CapitalStoryContentFormat = CapitalStoryContentFormat;
31711
+ declare const index$M_CapitalStoryContentFormat: typeof CapitalStoryContentFormat;
31671
31712
  declare const index$M_Chain: typeof Chain;
31672
31713
  type index$M_ChairmanOnboardingAgendaStep = ChairmanOnboardingAgendaStep;
31673
31714
  declare const index$M_ChairmanOnboardingAgendaStep: typeof ChairmanOnboardingAgendaStep;
@@ -31800,7 +31841,7 @@ declare const index$M_purifyGraphQLKey: typeof purifyGraphQLKey;
31800
31841
  declare const index$M_resolverFor: typeof resolverFor;
31801
31842
  declare const index$M_traverseResponse: typeof traverseResponse;
31802
31843
  declare namespace index$M {
31803
- export { index$M_$ as $, index$M_AccountType as AccountType, index$M_AgreementStatus as AgreementStatus, index$M_ApprovalStatus as ApprovalStatus, index$M_CandidateStatus as CandidateStatus, index$M_CapitalOnboardingStep as CapitalOnboardingStep, index$M_Chain as Chain, index$M_ChairmanOnboardingAgendaStep as ChairmanOnboardingAgendaStep, index$M_CommitStatus as CommitStatus, index$M_ContributorStatus as ContributorStatus, index$M_Country as Country, index$M_CycleStatus as CycleStatus, index$M_DebtStatus as DebtStatus, index$M_DocumentAction as DocumentAction, index$M_ExpenseStatus as ExpenseStatus, index$M_ExtendedMeetStatus as ExtendedMeetStatus, index$M_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, index$M_Gql as Gql, index$M_GraphQLError as GraphQLError, index$M_HEADERS as HEADERS, index$M_HOST as HOST, index$M_InstanceStatus as InstanceStatus, index$M_InternalArgsBuilt as InternalArgsBuilt, index$M_InternalsBuildQuery as InternalsBuildQuery, index$M_InvestStatus as InvestStatus, index$M_IssuePriority as IssuePriority, index$M_IssueStatus as IssueStatus, index$M_LogEntityType as LogEntityType, index$M_LogEventType as LogEventType, index$M_OrganizationType as OrganizationType, index$M_PaymentDirection as PaymentDirection, index$M_PaymentStatus as PaymentStatus, PaymentType$1 as PaymentType, index$M_PrepareScalarPaths as PrepareScalarPaths, index$M_ProcessInstanceStatus as ProcessInstanceStatus, index$M_ProcessStepStatus as ProcessStepStatus, index$M_ProcessTemplateStatus as ProcessTemplateStatus, index$M_ProgramInvestStatus as ProgramInvestStatus, index$M_ProgramKey as ProgramKey, index$M_ProgramType as ProgramType, index$M_ProjectStatus as ProjectStatus, index$M_ReportType as ReportType, index$M_ResolveFromPath as ResolveFromPath, index$M_ResultStatus as ResultStatus, index$M_SEPARATOR as SEPARATOR, index$M_START_VAR_NAME as START_VAR_NAME, index$M_SegmentStatus as SegmentStatus, index$M_Selector as Selector, index$M_StoryStatus as StoryStatus, index$M_Subscription as Subscription, index$M_SubscriptionThunder as SubscriptionThunder, index$M_SystemStatus as SystemStatus, index$M_Thunder as Thunder, index$M_TranscriptionStatus as TranscriptionStatus, index$M_TypeFromSelector as TypeFromSelector, index$M_UserStatus as UserStatus, index$M_Zeus as Zeus, index$M_ZeusScalars as ZeusScalars, index$M_ZeusSelect as ZeusSelect, index$M_apiFetch as apiFetch, index$M_apiSubscription as apiSubscription, index$M_decodeScalarsInResponse as decodeScalarsInResponse, index$M_fields as fields, index$M_purifyGraphQLKey as purifyGraphQLKey, index$M_resolverFor as resolverFor, index$M_traverseResponse as traverseResponse };
31844
+ export { index$M_$ as $, index$M_AccountType as AccountType, index$M_AgreementStatus as AgreementStatus, index$M_ApprovalStatus as ApprovalStatus, index$M_CandidateStatus as CandidateStatus, index$M_CapitalOnboardingStep as CapitalOnboardingStep, index$M_CapitalStoryContentFormat as CapitalStoryContentFormat, index$M_Chain as Chain, index$M_ChairmanOnboardingAgendaStep as ChairmanOnboardingAgendaStep, index$M_CommitStatus as CommitStatus, index$M_ContributorStatus as ContributorStatus, index$M_Country as Country, index$M_CycleStatus as CycleStatus, index$M_DebtStatus as DebtStatus, index$M_DocumentAction as DocumentAction, index$M_ExpenseStatus as ExpenseStatus, index$M_ExtendedMeetStatus as ExtendedMeetStatus, index$M_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, index$M_Gql as Gql, index$M_GraphQLError as GraphQLError, index$M_HEADERS as HEADERS, index$M_HOST as HOST, index$M_InstanceStatus as InstanceStatus, index$M_InternalArgsBuilt as InternalArgsBuilt, index$M_InternalsBuildQuery as InternalsBuildQuery, index$M_InvestStatus as InvestStatus, index$M_IssuePriority as IssuePriority, index$M_IssueStatus as IssueStatus, index$M_LogEntityType as LogEntityType, index$M_LogEventType as LogEventType, index$M_OrganizationType as OrganizationType, index$M_PaymentDirection as PaymentDirection, index$M_PaymentStatus as PaymentStatus, PaymentType$1 as PaymentType, index$M_PrepareScalarPaths as PrepareScalarPaths, index$M_ProcessInstanceStatus as ProcessInstanceStatus, index$M_ProcessStepStatus as ProcessStepStatus, index$M_ProcessTemplateStatus as ProcessTemplateStatus, index$M_ProgramInvestStatus as ProgramInvestStatus, index$M_ProgramKey as ProgramKey, index$M_ProgramType as ProgramType, index$M_ProjectStatus as ProjectStatus, index$M_ReportType as ReportType, index$M_ResolveFromPath as ResolveFromPath, index$M_ResultStatus as ResultStatus, index$M_SEPARATOR as SEPARATOR, index$M_START_VAR_NAME as START_VAR_NAME, index$M_SegmentStatus as SegmentStatus, index$M_Selector as Selector, index$M_StoryStatus as StoryStatus, index$M_Subscription as Subscription, index$M_SubscriptionThunder as SubscriptionThunder, index$M_SystemStatus as SystemStatus, index$M_Thunder as Thunder, index$M_TranscriptionStatus as TranscriptionStatus, index$M_TypeFromSelector as TypeFromSelector, index$M_UserStatus as UserStatus, index$M_Zeus as Zeus, index$M_ZeusScalars as ZeusScalars, index$M_ZeusSelect as ZeusSelect, index$M_apiFetch as apiFetch, index$M_apiSubscription as apiSubscription, index$M_decodeScalarsInResponse as decodeScalarsInResponse, index$M_fields as fields, index$M_purifyGraphQLKey as purifyGraphQLKey, index$M_resolverFor as resolverFor, index$M_traverseResponse as traverseResponse };
31804
31845
  export type { index$M_AliasType as AliasType, index$M_AllTypesPropsType as AllTypesPropsType, index$M_ExtractVariables as ExtractVariables, index$M_ExtractVariablesDeep as ExtractVariablesDeep, index$M_FetchFunction as FetchFunction, index$M_FromSelector as FromSelector, index$M_GenericOperation as GenericOperation, index$M_GetVariableType as GetVariableType, index$M_GraphQLResponse as GraphQLResponse, index$M_GraphQLTypes as GraphQLTypes, index$M_GraphQLVariableType as GraphQLVariableType, index$M_InputType as InputType, index$M_InputValueType as InputValueType, index$M_MapType as MapType, index$M_ModelTypes as ModelTypes, index$M_OperationOptions as OperationOptions, index$M_Operations as Operations, index$M_PlainType as PlainType, index$M_ResolverInputTypes as ResolverInputTypes, index$M_ResolverType as ResolverType, index$M_ReturnTypesType as ReturnTypesType, index$M_ScalarCoder as ScalarCoder, index$M_ScalarCoders as ScalarCoders, index$M_ScalarDefinition as ScalarDefinition, index$M_ScalarResolver as ScalarResolver, index$M_SelectionFunction as SelectionFunction, index$M_SubscriptionFunction as SubscriptionFunction, index$M_SubscriptionToGraphQL as SubscriptionToGraphQL, index$M_ThunderGraphQLOptions as ThunderGraphQLOptions, index$M_UnwrapPromise as UnwrapPromise, index$M_VType as VType, index$M_ValueTypes as ValueTypes, index$M_Variable as Variable, index$M_VariableDefinition as VariableDefinition, index$M_WithOptionalNullables as WithOptionalNullables, index$M_WithTypeNameValue as WithTypeNameValue, index$M_ZeusArgsType as ZeusArgsType, index$M_ZeusHook as ZeusHook, index$M_ZeusState as ZeusState, index$M_chainOptions as chainOptions, index$M_fetchOptions as fetchOptions };
31805
31846
  }
31806
31847
 
@@ -35283,6 +35324,7 @@ declare const mutation$1Y: {
35283
35324
  story_hash: boolean;
35284
35325
  title: boolean;
35285
35326
  description: boolean;
35327
+ content_format: boolean;
35286
35328
  status: boolean;
35287
35329
  project_hash: boolean;
35288
35330
  issue_hash: boolean;
@@ -35686,6 +35728,7 @@ declare const mutation$1T: {
35686
35728
  program_type: boolean;
35687
35729
  blockNum: boolean;
35688
35730
  };
35731
+ is_external_blagorost_agreement: boolean;
35689
35732
  _id: boolean;
35690
35733
  present: boolean;
35691
35734
  _created_at: boolean;
@@ -38337,6 +38380,7 @@ declare const mutation$1a: {
38337
38380
  story_hash: boolean;
38338
38381
  title: boolean;
38339
38382
  description: boolean;
38383
+ content_format: boolean;
38340
38384
  status: boolean;
38341
38385
  project_hash: boolean;
38342
38386
  issue_hash: boolean;
@@ -46028,6 +46072,10 @@ declare namespace installSystem {
46028
46072
  export type { IInput$1g as IInput, IOutput$1g as IOutput };
46029
46073
  }
46030
46074
 
46075
+ /**
46076
+ * Сохранение приватного ключа (WIF) в зашифрованное хранилище аккаунта пользователя.
46077
+ * Соответствует полю GraphQL `Mutation.setWif`.
46078
+ */
46031
46079
  declare const name$1e = "setWif";
46032
46080
  declare const mutation$7: {
46033
46081
  setWif: [{
@@ -46380,6 +46428,7 @@ declare namespace index$r {
46380
46428
  initSystem as InitSystem,
46381
46429
  installSystem as InstallSystem,
46382
46430
  saveWif as SaveWif,
46431
+ saveWif as SetWif,
46383
46432
  startInstall as StartInstall,
46384
46433
  updateSettings as UpdateSettings,
46385
46434
  updateSystem as UpdateSystem,
@@ -48881,6 +48930,7 @@ declare const query$W: {
48881
48930
  program_type: boolean;
48882
48931
  blockNum: boolean;
48883
48932
  };
48933
+ is_external_blagorost_agreement: boolean;
48884
48934
  _id: boolean;
48885
48935
  present: boolean;
48886
48936
  _created_at: boolean;
@@ -49045,6 +49095,7 @@ declare const query$V: {
49045
49095
  program_type: boolean;
49046
49096
  blockNum: boolean;
49047
49097
  };
49098
+ is_external_blagorost_agreement: boolean;
49048
49099
  _id: boolean;
49049
49100
  present: boolean;
49050
49101
  _created_at: boolean;
@@ -51904,6 +51955,7 @@ declare const query$y: {
51904
51955
  story_hash: boolean;
51905
51956
  title: boolean;
51906
51957
  description: boolean;
51958
+ content_format: boolean;
51907
51959
  status: boolean;
51908
51960
  project_hash: boolean;
51909
51961
  issue_hash: boolean;
@@ -51947,6 +51999,7 @@ declare const query$x: {
51947
51999
  story_hash: boolean;
51948
52000
  title: boolean;
51949
52001
  description: boolean;
52002
+ content_format: boolean;
51950
52003
  status: boolean;
51951
52004
  project_hash: boolean;
51952
52005
  issue_hash: boolean;
@@ -57729,6 +57782,7 @@ declare const rawContributorSelector: {
57729
57782
  program_type: boolean;
57730
57783
  blockNum: boolean;
57731
57784
  };
57785
+ is_external_blagorost_agreement: boolean;
57732
57786
  _id: boolean;
57733
57787
  present: boolean;
57734
57788
  _created_at: boolean;
@@ -57871,6 +57925,7 @@ declare const contributorSelector: {
57871
57925
  program_type: boolean;
57872
57926
  blockNum: boolean;
57873
57927
  };
57928
+ is_external_blagorost_agreement: boolean;
57874
57929
  _id: boolean;
57875
57930
  present: boolean;
57876
57931
  _created_at: boolean;
@@ -59350,6 +59405,7 @@ declare const contributorsPaginationSelector: {
59350
59405
  program_type: boolean;
59351
59406
  blockNum: boolean;
59352
59407
  };
59408
+ is_external_blagorost_agreement: boolean;
59353
59409
  _id: boolean;
59354
59410
  present: boolean;
59355
59411
  _created_at: boolean;
@@ -59858,6 +59914,7 @@ declare const storiesPaginationSelector: {
59858
59914
  story_hash: boolean;
59859
59915
  title: boolean;
59860
59916
  description: boolean;
59917
+ content_format: boolean;
59861
59918
  status: boolean;
59862
59919
  project_hash: boolean;
59863
59920
  issue_hash: boolean;
@@ -61769,6 +61826,7 @@ declare const rawStorySelector: {
61769
61826
  story_hash: boolean;
61770
61827
  title: boolean;
61771
61828
  description: boolean;
61829
+ content_format: boolean;
61772
61830
  status: boolean;
61773
61831
  project_hash: boolean;
61774
61832
  issue_hash: boolean;
@@ -61786,6 +61844,7 @@ declare const storySelector: {
61786
61844
  story_hash: boolean;
61787
61845
  title: boolean;
61788
61846
  description: boolean;
61847
+ content_format: boolean;
61789
61848
  status: boolean;
61790
61849
  project_hash: boolean;
61791
61850
  issue_hash: boolean;
package/dist/index.d.ts CHANGED
@@ -1602,6 +1602,8 @@ type ValueTypes = {
1602
1602
  id?: boolean | `@${string}`;
1603
1603
  /** Является ли внешним контрактом */
1604
1604
  is_external_contract?: boolean | `@${string}`;
1605
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
1606
+ is_external_blagorost_agreement?: boolean | `@${string}`;
1605
1607
  /** Последнее обновление энергии */
1606
1608
  last_energy_update?: boolean | `@${string}`;
1607
1609
  /** Уровень участника */
@@ -2589,6 +2591,8 @@ type ValueTypes = {
2589
2591
  block_num?: boolean | `@${string}`;
2590
2592
  /** Имя аккаунта кооператива */
2591
2593
  coopname?: boolean | `@${string}`;
2594
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
2595
+ content_format?: boolean | `@${string}`;
2592
2596
  /** Имя пользователя, создавшего историю */
2593
2597
  created_by?: boolean | `@${string}`;
2594
2598
  /** Описание истории */
@@ -3491,6 +3495,8 @@ type ValueTypes = {
3491
3495
  ["CreateStoryInput"]: {
3492
3496
  /** Имя аккаунта кооператива */
3493
3497
  coopname: string | Variable<any, string>;
3498
+ /** Формат содержимого; по умолчанию MARKDOWN */
3499
+ content_format?: ValueTypes["CapitalStoryContentFormat"] | undefined | null | Variable<any, string>;
3494
3500
  /** Описание истории */
3495
3501
  description?: string | undefined | null | Variable<any, string>;
3496
3502
  /** Хеш задачи (если история привязана к задаче) */
@@ -7665,6 +7671,8 @@ type ValueTypes = {
7665
7671
  };
7666
7672
  /** Статус истории в системе CAPITAL */
7667
7673
  ["StoryStatus"]: StoryStatus;
7674
+ /** Формат содержимого требования (истории) в CAPITAL */
7675
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
7668
7676
  ["SubmitVoteInput"]: {
7669
7677
  /** Имя аккаунта кооператива */
7670
7678
  coopname: string | Variable<any, string>;
@@ -9499,6 +9507,8 @@ type ResolverInputTypes = {
9499
9507
  id?: boolean | `@${string}`;
9500
9508
  /** Является ли внешним контрактом */
9501
9509
  is_external_contract?: boolean | `@${string}`;
9510
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
9511
+ is_external_blagorost_agreement?: boolean | `@${string}`;
9502
9512
  /** Последнее обновление энергии */
9503
9513
  last_energy_update?: boolean | `@${string}`;
9504
9514
  /** Уровень участника */
@@ -10486,6 +10496,8 @@ type ResolverInputTypes = {
10486
10496
  block_num?: boolean | `@${string}`;
10487
10497
  /** Имя аккаунта кооператива */
10488
10498
  coopname?: boolean | `@${string}`;
10499
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
10500
+ content_format?: boolean | `@${string}`;
10489
10501
  /** Имя пользователя, создавшего историю */
10490
10502
  created_by?: boolean | `@${string}`;
10491
10503
  /** Описание истории */
@@ -11388,6 +11400,8 @@ type ResolverInputTypes = {
11388
11400
  ["CreateStoryInput"]: {
11389
11401
  /** Имя аккаунта кооператива */
11390
11402
  coopname: string;
11403
+ /** Формат содержимого; по умолчанию MARKDOWN */
11404
+ content_format?: ResolverInputTypes["CapitalStoryContentFormat"] | undefined | null;
11391
11405
  /** Описание истории */
11392
11406
  description?: string | undefined | null;
11393
11407
  /** Хеш задачи (если история привязана к задаче) */
@@ -15562,6 +15576,8 @@ type ResolverInputTypes = {
15562
15576
  };
15563
15577
  /** Статус истории в системе CAPITAL */
15564
15578
  ["StoryStatus"]: StoryStatus;
15579
+ /** Формат содержимого требования (истории) в CAPITAL */
15580
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
15565
15581
  ["SubmitVoteInput"]: {
15566
15582
  /** Имя аккаунта кооператива */
15567
15583
  coopname: string;
@@ -17366,6 +17382,8 @@ type ModelTypes = {
17366
17382
  id?: number | undefined | null;
17367
17383
  /** Является ли внешним контрактом */
17368
17384
  is_external_contract?: boolean | undefined | null;
17385
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
17386
+ is_external_blagorost_agreement?: boolean | undefined | null;
17369
17387
  /** Последнее обновление энергии */
17370
17388
  last_energy_update?: string | undefined | null;
17371
17389
  /** Уровень участника */
@@ -18330,6 +18348,8 @@ type ModelTypes = {
18330
18348
  block_num?: number | undefined | null;
18331
18349
  /** Имя аккаунта кооператива */
18332
18350
  coopname: string;
18351
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
18352
+ content_format: ModelTypes["CapitalStoryContentFormat"];
18333
18353
  /** Имя пользователя, создавшего историю */
18334
18354
  created_by: string;
18335
18355
  /** Описание истории */
@@ -19219,6 +19239,8 @@ type ModelTypes = {
19219
19239
  ["CreateStoryInput"]: {
19220
19240
  /** Имя аккаунта кооператива */
19221
19241
  coopname: string;
19242
+ /** Формат содержимого; по умолчанию MARKDOWN */
19243
+ content_format?: ModelTypes["CapitalStoryContentFormat"] | undefined | null;
19222
19244
  /** Описание истории */
19223
19245
  description?: string | undefined | null;
19224
19246
  /** Хеш задачи (если история привязана к задаче) */
@@ -22939,6 +22961,7 @@ type ModelTypes = {
22939
22961
  project_hash: string;
22940
22962
  };
22941
22963
  ["StoryStatus"]: StoryStatus;
22964
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
22942
22965
  ["SubmitVoteInput"]: {
22943
22966
  /** Имя аккаунта кооператива */
22944
22967
  coopname: string;
@@ -24757,6 +24780,8 @@ type GraphQLTypes = {
24757
24780
  id?: number | undefined | null;
24758
24781
  /** Является ли внешним контрактом */
24759
24782
  is_external_contract?: boolean | undefined | null;
24783
+ /** Соглашение Благорост предоставлено при импорте (внешний документ) */
24784
+ is_external_blagorost_agreement?: boolean | undefined | null;
24760
24785
  /** Последнее обновление энергии */
24761
24786
  last_energy_update?: string | undefined | null;
24762
24787
  /** Уровень участника */
@@ -25744,6 +25769,8 @@ type GraphQLTypes = {
25744
25769
  block_num?: number | undefined | null;
25745
25770
  /** Имя аккаунта кооператива */
25746
25771
  coopname: string;
25772
+ /** Формат содержимого (markdown-текст или BPMN 2.0 XML в description) */
25773
+ content_format: GraphQLTypes["CapitalStoryContentFormat"];
25747
25774
  /** Имя пользователя, создавшего историю */
25748
25775
  created_by: string;
25749
25776
  /** Описание истории */
@@ -26645,6 +26672,8 @@ type GraphQLTypes = {
26645
26672
  ["CreateStoryInput"]: {
26646
26673
  /** Имя аккаунта кооператива */
26647
26674
  coopname: string;
26675
+ /** Формат содержимого; по умолчанию MARKDOWN */
26676
+ content_format?: GraphQLTypes["CapitalStoryContentFormat"] | undefined | null;
26648
26677
  /** Описание истории */
26649
26678
  description?: string | undefined | null;
26650
26679
  /** Хеш задачи (если история привязана к задаче) */
@@ -30512,6 +30541,8 @@ type GraphQLTypes = {
30512
30541
  };
30513
30542
  /** Статус истории в системе CAPITAL */
30514
30543
  ["StoryStatus"]: StoryStatus;
30544
+ /** Формат содержимого требования (истории) в CAPITAL */
30545
+ ["CapitalStoryContentFormat"]: CapitalStoryContentFormat;
30515
30546
  ["SubmitVoteInput"]: {
30516
30547
  /** Имя аккаунта кооператива */
30517
30548
  coopname: string;
@@ -31313,6 +31344,13 @@ declare enum StoryStatus {
31313
31344
  COMPLETED = "COMPLETED",
31314
31345
  PENDING = "PENDING"
31315
31346
  }
31347
+ /** Формат содержимого требования (истории) в CAPITAL */
31348
+ declare enum CapitalStoryContentFormat {
31349
+ BPMN = "BPMN",
31350
+ DRAWIO = "DRAWIO",
31351
+ MARKDOWN = "MARKDOWN",
31352
+ MERMAID = "MERMAID"
31353
+ }
31316
31354
  /** Состояние контроллера кооператива */
31317
31355
  declare enum SystemStatus {
31318
31356
  active = "active",
@@ -31626,6 +31664,7 @@ type ZEUS_VARIABLES = {
31626
31664
  ["StartVotingInput"]: ValueTypes["StartVotingInput"];
31627
31665
  ["StopProjectInput"]: ValueTypes["StopProjectInput"];
31628
31666
  ["StoryStatus"]: ValueTypes["StoryStatus"];
31667
+ ["CapitalStoryContentFormat"]: ValueTypes["CapitalStoryContentFormat"];
31629
31668
  ["SubmitVoteInput"]: ValueTypes["SubmitVoteInput"];
31630
31669
  ["SupplyOnRequestInput"]: ValueTypes["SupplyOnRequestInput"];
31631
31670
  ["SystemStatus"]: ValueTypes["SystemStatus"];
@@ -31668,6 +31707,8 @@ type index$M_CandidateStatus = CandidateStatus;
31668
31707
  declare const index$M_CandidateStatus: typeof CandidateStatus;
31669
31708
  type index$M_CapitalOnboardingStep = CapitalOnboardingStep;
31670
31709
  declare const index$M_CapitalOnboardingStep: typeof CapitalOnboardingStep;
31710
+ type index$M_CapitalStoryContentFormat = CapitalStoryContentFormat;
31711
+ declare const index$M_CapitalStoryContentFormat: typeof CapitalStoryContentFormat;
31671
31712
  declare const index$M_Chain: typeof Chain;
31672
31713
  type index$M_ChairmanOnboardingAgendaStep = ChairmanOnboardingAgendaStep;
31673
31714
  declare const index$M_ChairmanOnboardingAgendaStep: typeof ChairmanOnboardingAgendaStep;
@@ -31800,7 +31841,7 @@ declare const index$M_purifyGraphQLKey: typeof purifyGraphQLKey;
31800
31841
  declare const index$M_resolverFor: typeof resolverFor;
31801
31842
  declare const index$M_traverseResponse: typeof traverseResponse;
31802
31843
  declare namespace index$M {
31803
- export { index$M_$ as $, index$M_AccountType as AccountType, index$M_AgreementStatus as AgreementStatus, index$M_ApprovalStatus as ApprovalStatus, index$M_CandidateStatus as CandidateStatus, index$M_CapitalOnboardingStep as CapitalOnboardingStep, index$M_Chain as Chain, index$M_ChairmanOnboardingAgendaStep as ChairmanOnboardingAgendaStep, index$M_CommitStatus as CommitStatus, index$M_ContributorStatus as ContributorStatus, index$M_Country as Country, index$M_CycleStatus as CycleStatus, index$M_DebtStatus as DebtStatus, index$M_DocumentAction as DocumentAction, index$M_ExpenseStatus as ExpenseStatus, index$M_ExtendedMeetStatus as ExtendedMeetStatus, index$M_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, index$M_Gql as Gql, index$M_GraphQLError as GraphQLError, index$M_HEADERS as HEADERS, index$M_HOST as HOST, index$M_InstanceStatus as InstanceStatus, index$M_InternalArgsBuilt as InternalArgsBuilt, index$M_InternalsBuildQuery as InternalsBuildQuery, index$M_InvestStatus as InvestStatus, index$M_IssuePriority as IssuePriority, index$M_IssueStatus as IssueStatus, index$M_LogEntityType as LogEntityType, index$M_LogEventType as LogEventType, index$M_OrganizationType as OrganizationType, index$M_PaymentDirection as PaymentDirection, index$M_PaymentStatus as PaymentStatus, PaymentType$1 as PaymentType, index$M_PrepareScalarPaths as PrepareScalarPaths, index$M_ProcessInstanceStatus as ProcessInstanceStatus, index$M_ProcessStepStatus as ProcessStepStatus, index$M_ProcessTemplateStatus as ProcessTemplateStatus, index$M_ProgramInvestStatus as ProgramInvestStatus, index$M_ProgramKey as ProgramKey, index$M_ProgramType as ProgramType, index$M_ProjectStatus as ProjectStatus, index$M_ReportType as ReportType, index$M_ResolveFromPath as ResolveFromPath, index$M_ResultStatus as ResultStatus, index$M_SEPARATOR as SEPARATOR, index$M_START_VAR_NAME as START_VAR_NAME, index$M_SegmentStatus as SegmentStatus, index$M_Selector as Selector, index$M_StoryStatus as StoryStatus, index$M_Subscription as Subscription, index$M_SubscriptionThunder as SubscriptionThunder, index$M_SystemStatus as SystemStatus, index$M_Thunder as Thunder, index$M_TranscriptionStatus as TranscriptionStatus, index$M_TypeFromSelector as TypeFromSelector, index$M_UserStatus as UserStatus, index$M_Zeus as Zeus, index$M_ZeusScalars as ZeusScalars, index$M_ZeusSelect as ZeusSelect, index$M_apiFetch as apiFetch, index$M_apiSubscription as apiSubscription, index$M_decodeScalarsInResponse as decodeScalarsInResponse, index$M_fields as fields, index$M_purifyGraphQLKey as purifyGraphQLKey, index$M_resolverFor as resolverFor, index$M_traverseResponse as traverseResponse };
31844
+ export { index$M_$ as $, index$M_AccountType as AccountType, index$M_AgreementStatus as AgreementStatus, index$M_ApprovalStatus as ApprovalStatus, index$M_CandidateStatus as CandidateStatus, index$M_CapitalOnboardingStep as CapitalOnboardingStep, index$M_CapitalStoryContentFormat as CapitalStoryContentFormat, index$M_Chain as Chain, index$M_ChairmanOnboardingAgendaStep as ChairmanOnboardingAgendaStep, index$M_CommitStatus as CommitStatus, index$M_ContributorStatus as ContributorStatus, index$M_Country as Country, index$M_CycleStatus as CycleStatus, index$M_DebtStatus as DebtStatus, index$M_DocumentAction as DocumentAction, index$M_ExpenseStatus as ExpenseStatus, index$M_ExtendedMeetStatus as ExtendedMeetStatus, index$M_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, index$M_Gql as Gql, index$M_GraphQLError as GraphQLError, index$M_HEADERS as HEADERS, index$M_HOST as HOST, index$M_InstanceStatus as InstanceStatus, index$M_InternalArgsBuilt as InternalArgsBuilt, index$M_InternalsBuildQuery as InternalsBuildQuery, index$M_InvestStatus as InvestStatus, index$M_IssuePriority as IssuePriority, index$M_IssueStatus as IssueStatus, index$M_LogEntityType as LogEntityType, index$M_LogEventType as LogEventType, index$M_OrganizationType as OrganizationType, index$M_PaymentDirection as PaymentDirection, index$M_PaymentStatus as PaymentStatus, PaymentType$1 as PaymentType, index$M_PrepareScalarPaths as PrepareScalarPaths, index$M_ProcessInstanceStatus as ProcessInstanceStatus, index$M_ProcessStepStatus as ProcessStepStatus, index$M_ProcessTemplateStatus as ProcessTemplateStatus, index$M_ProgramInvestStatus as ProgramInvestStatus, index$M_ProgramKey as ProgramKey, index$M_ProgramType as ProgramType, index$M_ProjectStatus as ProjectStatus, index$M_ReportType as ReportType, index$M_ResolveFromPath as ResolveFromPath, index$M_ResultStatus as ResultStatus, index$M_SEPARATOR as SEPARATOR, index$M_START_VAR_NAME as START_VAR_NAME, index$M_SegmentStatus as SegmentStatus, index$M_Selector as Selector, index$M_StoryStatus as StoryStatus, index$M_Subscription as Subscription, index$M_SubscriptionThunder as SubscriptionThunder, index$M_SystemStatus as SystemStatus, index$M_Thunder as Thunder, index$M_TranscriptionStatus as TranscriptionStatus, index$M_TypeFromSelector as TypeFromSelector, index$M_UserStatus as UserStatus, index$M_Zeus as Zeus, index$M_ZeusScalars as ZeusScalars, index$M_ZeusSelect as ZeusSelect, index$M_apiFetch as apiFetch, index$M_apiSubscription as apiSubscription, index$M_decodeScalarsInResponse as decodeScalarsInResponse, index$M_fields as fields, index$M_purifyGraphQLKey as purifyGraphQLKey, index$M_resolverFor as resolverFor, index$M_traverseResponse as traverseResponse };
31804
31845
  export type { index$M_AliasType as AliasType, index$M_AllTypesPropsType as AllTypesPropsType, index$M_ExtractVariables as ExtractVariables, index$M_ExtractVariablesDeep as ExtractVariablesDeep, index$M_FetchFunction as FetchFunction, index$M_FromSelector as FromSelector, index$M_GenericOperation as GenericOperation, index$M_GetVariableType as GetVariableType, index$M_GraphQLResponse as GraphQLResponse, index$M_GraphQLTypes as GraphQLTypes, index$M_GraphQLVariableType as GraphQLVariableType, index$M_InputType as InputType, index$M_InputValueType as InputValueType, index$M_MapType as MapType, index$M_ModelTypes as ModelTypes, index$M_OperationOptions as OperationOptions, index$M_Operations as Operations, index$M_PlainType as PlainType, index$M_ResolverInputTypes as ResolverInputTypes, index$M_ResolverType as ResolverType, index$M_ReturnTypesType as ReturnTypesType, index$M_ScalarCoder as ScalarCoder, index$M_ScalarCoders as ScalarCoders, index$M_ScalarDefinition as ScalarDefinition, index$M_ScalarResolver as ScalarResolver, index$M_SelectionFunction as SelectionFunction, index$M_SubscriptionFunction as SubscriptionFunction, index$M_SubscriptionToGraphQL as SubscriptionToGraphQL, index$M_ThunderGraphQLOptions as ThunderGraphQLOptions, index$M_UnwrapPromise as UnwrapPromise, index$M_VType as VType, index$M_ValueTypes as ValueTypes, index$M_Variable as Variable, index$M_VariableDefinition as VariableDefinition, index$M_WithOptionalNullables as WithOptionalNullables, index$M_WithTypeNameValue as WithTypeNameValue, index$M_ZeusArgsType as ZeusArgsType, index$M_ZeusHook as ZeusHook, index$M_ZeusState as ZeusState, index$M_chainOptions as chainOptions, index$M_fetchOptions as fetchOptions };
31805
31846
  }
31806
31847
 
@@ -35283,6 +35324,7 @@ declare const mutation$1Y: {
35283
35324
  story_hash: boolean;
35284
35325
  title: boolean;
35285
35326
  description: boolean;
35327
+ content_format: boolean;
35286
35328
  status: boolean;
35287
35329
  project_hash: boolean;
35288
35330
  issue_hash: boolean;
@@ -35686,6 +35728,7 @@ declare const mutation$1T: {
35686
35728
  program_type: boolean;
35687
35729
  blockNum: boolean;
35688
35730
  };
35731
+ is_external_blagorost_agreement: boolean;
35689
35732
  _id: boolean;
35690
35733
  present: boolean;
35691
35734
  _created_at: boolean;
@@ -38337,6 +38380,7 @@ declare const mutation$1a: {
38337
38380
  story_hash: boolean;
38338
38381
  title: boolean;
38339
38382
  description: boolean;
38383
+ content_format: boolean;
38340
38384
  status: boolean;
38341
38385
  project_hash: boolean;
38342
38386
  issue_hash: boolean;
@@ -46028,6 +46072,10 @@ declare namespace installSystem {
46028
46072
  export type { IInput$1g as IInput, IOutput$1g as IOutput };
46029
46073
  }
46030
46074
 
46075
+ /**
46076
+ * Сохранение приватного ключа (WIF) в зашифрованное хранилище аккаунта пользователя.
46077
+ * Соответствует полю GraphQL `Mutation.setWif`.
46078
+ */
46031
46079
  declare const name$1e = "setWif";
46032
46080
  declare const mutation$7: {
46033
46081
  setWif: [{
@@ -46380,6 +46428,7 @@ declare namespace index$r {
46380
46428
  initSystem as InitSystem,
46381
46429
  installSystem as InstallSystem,
46382
46430
  saveWif as SaveWif,
46431
+ saveWif as SetWif,
46383
46432
  startInstall as StartInstall,
46384
46433
  updateSettings as UpdateSettings,
46385
46434
  updateSystem as UpdateSystem,
@@ -48881,6 +48930,7 @@ declare const query$W: {
48881
48930
  program_type: boolean;
48882
48931
  blockNum: boolean;
48883
48932
  };
48933
+ is_external_blagorost_agreement: boolean;
48884
48934
  _id: boolean;
48885
48935
  present: boolean;
48886
48936
  _created_at: boolean;
@@ -49045,6 +49095,7 @@ declare const query$V: {
49045
49095
  program_type: boolean;
49046
49096
  blockNum: boolean;
49047
49097
  };
49098
+ is_external_blagorost_agreement: boolean;
49048
49099
  _id: boolean;
49049
49100
  present: boolean;
49050
49101
  _created_at: boolean;
@@ -51904,6 +51955,7 @@ declare const query$y: {
51904
51955
  story_hash: boolean;
51905
51956
  title: boolean;
51906
51957
  description: boolean;
51958
+ content_format: boolean;
51907
51959
  status: boolean;
51908
51960
  project_hash: boolean;
51909
51961
  issue_hash: boolean;
@@ -51947,6 +51999,7 @@ declare const query$x: {
51947
51999
  story_hash: boolean;
51948
52000
  title: boolean;
51949
52001
  description: boolean;
52002
+ content_format: boolean;
51950
52003
  status: boolean;
51951
52004
  project_hash: boolean;
51952
52005
  issue_hash: boolean;
@@ -57729,6 +57782,7 @@ declare const rawContributorSelector: {
57729
57782
  program_type: boolean;
57730
57783
  blockNum: boolean;
57731
57784
  };
57785
+ is_external_blagorost_agreement: boolean;
57732
57786
  _id: boolean;
57733
57787
  present: boolean;
57734
57788
  _created_at: boolean;
@@ -57871,6 +57925,7 @@ declare const contributorSelector: {
57871
57925
  program_type: boolean;
57872
57926
  blockNum: boolean;
57873
57927
  };
57928
+ is_external_blagorost_agreement: boolean;
57874
57929
  _id: boolean;
57875
57930
  present: boolean;
57876
57931
  _created_at: boolean;
@@ -59350,6 +59405,7 @@ declare const contributorsPaginationSelector: {
59350
59405
  program_type: boolean;
59351
59406
  blockNum: boolean;
59352
59407
  };
59408
+ is_external_blagorost_agreement: boolean;
59353
59409
  _id: boolean;
59354
59410
  present: boolean;
59355
59411
  _created_at: boolean;
@@ -59858,6 +59914,7 @@ declare const storiesPaginationSelector: {
59858
59914
  story_hash: boolean;
59859
59915
  title: boolean;
59860
59916
  description: boolean;
59917
+ content_format: boolean;
59861
59918
  status: boolean;
59862
59919
  project_hash: boolean;
59863
59920
  issue_hash: boolean;
@@ -61769,6 +61826,7 @@ declare const rawStorySelector: {
61769
61826
  story_hash: boolean;
61770
61827
  title: boolean;
61771
61828
  description: boolean;
61829
+ content_format: boolean;
61772
61830
  status: boolean;
61773
61831
  project_hash: boolean;
61774
61832
  issue_hash: boolean;
@@ -61786,6 +61844,7 @@ declare const storySelector: {
61786
61844
  story_hash: boolean;
61787
61845
  title: boolean;
61788
61846
  description: boolean;
61847
+ content_format: boolean;
61789
61848
  status: boolean;
61790
61849
  project_hash: boolean;
61791
61850
  issue_hash: boolean;
package/dist/index.mjs CHANGED
@@ -3,7 +3,6 @@ import WebSocket from 'isomorphic-ws';
3
3
  import { PrivateKey, APIClient, Action, PublicKey, Signature } from '@wharfkit/antelope';
4
4
  import { ContractKit, Table } from '@wharfkit/contract';
5
5
  import { WalletPluginPrivateKey } from '@wharfkit/wallet-plugin-privatekey';
6
- import * as nodeCrypto from 'node:crypto';
7
6
  import { createClient } from 'graphql-ws';
8
7
 
9
8
  var __defProp$5 = Object.defineProperty;
@@ -336,7 +335,8 @@ class Crypto {
336
335
  return Array.from(new Uint8Array(hashBuffer)).map((b) => b.toString(16).padStart(2, "0")).join("");
337
336
  } else {
338
337
  try {
339
- return nodeCrypto.createHash("sha256").update(str).digest("hex");
338
+ const { createHash } = await import('node:crypto');
339
+ return createHash("sha256").update(str).digest("hex");
340
340
  } catch (error) {
341
341
  console.warn("Node.js crypto \u043C\u043E\u0434\u0443\u043B\u044C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D", error);
342
342
  throw new Error("\u041A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u0432 \u044D\u0442\u043E\u043C \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0438");
@@ -1076,6 +1076,7 @@ const AllTypesProps = {
1076
1076
  passport: "PassportInput"
1077
1077
  },
1078
1078
  CreateStoryInput: {
1079
+ content_format: "CapitalStoryContentFormat",
1079
1080
  status: "StoryStatus"
1080
1081
  },
1081
1082
  CreateSubscriptionInput: {
@@ -2161,6 +2162,7 @@ const AllTypesProps = {
2161
2162
  StartVotingInput: {},
2162
2163
  StopProjectInput: {},
2163
2164
  StoryStatus: "enum",
2165
+ CapitalStoryContentFormat: "enum",
2164
2166
  SubmitVoteInput: {
2165
2167
  votes: "VoteDistributionInput"
2166
2168
  },
@@ -2635,6 +2637,7 @@ const ReturnTypes = {
2635
2637
  hours_per_day: "Float",
2636
2638
  id: "Int",
2637
2639
  is_external_contract: "Boolean",
2640
+ is_external_blagorost_agreement: "Boolean",
2638
2641
  last_energy_update: "String",
2639
2642
  level: "Int",
2640
2643
  main_wallet: "ProgramWallet",
@@ -3059,6 +3062,7 @@ const ReturnTypes = {
3059
3062
  _updated_at: "DateTime",
3060
3063
  block_num: "Float",
3061
3064
  coopname: "String",
3065
+ content_format: "CapitalStoryContentFormat",
3062
3066
  created_by: "String",
3063
3067
  description: "String",
3064
3068
  issue_hash: "String",
@@ -5274,6 +5278,13 @@ var StoryStatus = /* @__PURE__ */ ((StoryStatus2) => {
5274
5278
  StoryStatus2["PENDING"] = "PENDING";
5275
5279
  return StoryStatus2;
5276
5280
  })(StoryStatus || {});
5281
+ var CapitalStoryContentFormat = /* @__PURE__ */ ((CapitalStoryContentFormat2) => {
5282
+ CapitalStoryContentFormat2["BPMN"] = "BPMN";
5283
+ CapitalStoryContentFormat2["DRAWIO"] = "DRAWIO";
5284
+ CapitalStoryContentFormat2["MARKDOWN"] = "MARKDOWN";
5285
+ CapitalStoryContentFormat2["MERMAID"] = "MERMAID";
5286
+ return CapitalStoryContentFormat2;
5287
+ })(CapitalStoryContentFormat || {});
5277
5288
  var SystemStatus = /* @__PURE__ */ ((SystemStatus2) => {
5278
5289
  SystemStatus2["active"] = "active";
5279
5290
  SystemStatus2["initialized"] = "initialized";
@@ -5307,6 +5318,7 @@ const index$M = {
5307
5318
  ApprovalStatus: ApprovalStatus,
5308
5319
  CandidateStatus: CandidateStatus,
5309
5320
  CapitalOnboardingStep: CapitalOnboardingStep,
5321
+ CapitalStoryContentFormat: CapitalStoryContentFormat,
5310
5322
  Chain: Chain,
5311
5323
  ChairmanOnboardingAgendaStep: ChairmanOnboardingAgendaStep,
5312
5324
  CommitStatus: CommitStatus,
@@ -6266,7 +6278,8 @@ const rawContributorSelector = {
6266
6278
  },
6267
6279
  blagorost_wallet: rawProgramWalletSelector,
6268
6280
  generation_wallet: rawProgramWalletSelector,
6269
- main_wallet: rawProgramWalletSelector
6281
+ main_wallet: rawProgramWalletSelector,
6282
+ is_external_blagorost_agreement: true
6270
6283
  };
6271
6284
  const contributorSelector = Selector("CapitalContributor")(rawContributorSelector);
6272
6285
 
@@ -6515,6 +6528,7 @@ const rawStorySelector = {
6515
6528
  story_hash: true,
6516
6529
  title: true,
6517
6530
  description: true,
6531
+ content_format: true,
6518
6532
  status: true,
6519
6533
  project_hash: true,
6520
6534
  issue_hash: true,
@@ -9423,6 +9437,7 @@ const index$s = {
9423
9437
  InitSystem: initSystem,
9424
9438
  InstallSystem: installSystem,
9425
9439
  SaveWif: saveWif,
9440
+ SetWif: saveWif,
9426
9441
  StartInstall: startInstall,
9427
9442
  UpdateSettings: updateSettings,
9428
9443
  UpdateSystem: updateSystem
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coopenomics/sdk",
3
3
  "type": "module",
4
- "version": "2026.3.19-2",
4
+ "version": "2026.3.24-7",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@9.9.0",
7
7
  "description": "TypeScript SDK для работы с API кооператива",
@@ -48,7 +48,7 @@
48
48
  "@wharfkit/contract": "^1.1.5",
49
49
  "@wharfkit/session": "^1.4.0",
50
50
  "@wharfkit/wallet-plugin-privatekey": "^1.1.0",
51
- "cooptypes": "2026.3.19-2",
51
+ "cooptypes": "2026.3.24-7",
52
52
  "graphql": "^16.9.0",
53
53
  "graphql-request": "^7.1.2",
54
54
  "graphql-tag": "^2.12.6",
@@ -69,12 +69,12 @@
69
69
  "lint-staged": "^15.2.10",
70
70
  "pnpm": "^9.9.0",
71
71
  "simple-git-hooks": "^2.11.1",
72
- "typedoc": "^0.28.17",
72
+ "typedoc": "^0.25.13",
73
73
  "typedoc-plugin-expand-object-like-types": "^0.1.2",
74
74
  "typescript": "^5.5.4",
75
75
  "unbuild": "^2.0.0",
76
76
  "vite": "^5.4.3",
77
77
  "vitest": "^2.0.5"
78
78
  },
79
- "gitHead": "01de5de342aebb38ed82a33e1abbf797c89ec4ec"
79
+ "gitHead": "b8030160775f33f3944644fa35b883c946f30e3d"
80
80
  }