@coopenomics/sdk 2.2.4 → 2.2.6-alpha.0

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.d.ts CHANGED
@@ -792,10 +792,6 @@ type ValueTypes = {
792
792
  ["...on ParticipantApplicationDecisionDocument"]?: ValueTypes["ParticipantApplicationDecisionDocument"];
793
793
  __typename?: boolean | `@${string}`;
794
794
  }>;
795
- ["DeleteAccountInput"]: {
796
- /** Имя аккаунта пользователя */
797
- username_for_delete: string | Variable<any, string>;
798
- };
799
795
  ["DeleteBranchInput"]: {
800
796
  /** Имя аккаунта кооперативного участка */
801
797
  braname: string | Variable<any, string>;
@@ -1077,7 +1073,6 @@ type ValueTypes = {
1077
1073
  };
1078
1074
  ["GetAccountsInput"]: {
1079
1075
  role?: string | undefined | null | Variable<any, string>;
1080
- username?: string | undefined | null | Variable<any, string>;
1081
1076
  };
1082
1077
  ["GetBranchesInput"]: {
1083
1078
  /** Фильтр по имени аккаунта кооперативного участка */
@@ -1165,8 +1160,6 @@ type ValueTypes = {
1165
1160
  weight?: boolean | `@${string}`;
1166
1161
  __typename?: boolean | `@${string}`;
1167
1162
  }>;
1168
- /** Язык документа */
1169
- ["LangType"]: LangType;
1170
1163
  ["LoginInput"]: {
1171
1164
  /** Электронная почта */
1172
1165
  email: string | Variable<any, string>;
@@ -1279,9 +1272,6 @@ type ValueTypes = {
1279
1272
  createProjectOfFreeDecision?: [{
1280
1273
  data: ValueTypes["CreateProjectFreeDecisionInput"] | Variable<any, string>;
1281
1274
  }, ValueTypes["CreatedProjectFreeDecision"]];
1282
- deleteAccount?: [{
1283
- data: ValueTypes["DeleteAccountInput"] | Variable<any, string>;
1284
- }, boolean | `@${string}`];
1285
1275
  deleteBranch?: [{
1286
1276
  data: ValueTypes["DeleteBranchInput"] | Variable<any, string>;
1287
1277
  }, boolean | `@${string}`];
@@ -1545,6 +1535,8 @@ type ValueTypes = {
1545
1535
  ["ParticipantApplicationGenerateDocumentInput"]: {
1546
1536
  /** Номер блока, на котором был создан документ */
1547
1537
  block_num?: number | undefined | null | Variable<any, string>;
1538
+ /** Имя аккаунта кооперативного участка */
1539
+ braname: string | Variable<any, string>;
1548
1540
  /** Название кооператива, связанное с документом */
1549
1541
  coopname: string | Variable<any, string>;
1550
1542
  /** Дата и время создания документа */
@@ -1606,6 +1598,8 @@ type ValueTypes = {
1606
1598
  ["ParticipantApplicationSignedMetaDocumentInput"]: {
1607
1599
  /** Номер блока, на котором был создан документ */
1608
1600
  block_num: number | Variable<any, string>;
1601
+ /** Имя аккаунта кооперативного участка */
1602
+ braname: string | Variable<any, string>;
1609
1603
  /** Название кооператива, связанное с документом */
1610
1604
  coopname: string | Variable<any, string>;
1611
1605
  /** Дата и время создания документа */
@@ -1940,8 +1934,6 @@ type ValueTypes = {
1940
1934
  public_key?: string | undefined | null | Variable<any, string>;
1941
1935
  /** Имя аккаунта реферера */
1942
1936
  referer?: string | undefined | null | Variable<any, string>;
1943
- /** Роль пользователя */
1944
- role: ValueTypes["RegisterRole"] | Variable<any, string>;
1945
1937
  /** Тип аккаунта */
1946
1938
  type: ValueTypes["AccountType"] | Variable<any, string>;
1947
1939
  /** Имя пользователя */
@@ -2947,10 +2939,6 @@ type ResolverInputTypes = {
2947
2939
  ParticipantApplicationDecisionDocument?: ResolverInputTypes["ParticipantApplicationDecisionDocument"];
2948
2940
  __typename?: boolean | `@${string}`;
2949
2941
  }>;
2950
- ["DeleteAccountInput"]: {
2951
- /** Имя аккаунта пользователя */
2952
- username_for_delete: string;
2953
- };
2954
2942
  ["DeleteBranchInput"]: {
2955
2943
  /** Имя аккаунта кооперативного участка */
2956
2944
  braname: string;
@@ -3232,7 +3220,6 @@ type ResolverInputTypes = {
3232
3220
  };
3233
3221
  ["GetAccountsInput"]: {
3234
3222
  role?: string | undefined | null;
3235
- username?: string | undefined | null;
3236
3223
  };
3237
3224
  ["GetBranchesInput"]: {
3238
3225
  /** Фильтр по имени аккаунта кооперативного участка */
@@ -3320,8 +3307,6 @@ type ResolverInputTypes = {
3320
3307
  weight?: boolean | `@${string}`;
3321
3308
  __typename?: boolean | `@${string}`;
3322
3309
  }>;
3323
- /** Язык документа */
3324
- ["LangType"]: LangType;
3325
3310
  ["LoginInput"]: {
3326
3311
  /** Электронная почта */
3327
3312
  email: string;
@@ -3434,9 +3419,6 @@ type ResolverInputTypes = {
3434
3419
  createProjectOfFreeDecision?: [{
3435
3420
  data: ResolverInputTypes["CreateProjectFreeDecisionInput"];
3436
3421
  }, ResolverInputTypes["CreatedProjectFreeDecision"]];
3437
- deleteAccount?: [{
3438
- data: ResolverInputTypes["DeleteAccountInput"];
3439
- }, boolean | `@${string}`];
3440
3422
  deleteBranch?: [{
3441
3423
  data: ResolverInputTypes["DeleteBranchInput"];
3442
3424
  }, boolean | `@${string}`];
@@ -3700,6 +3682,8 @@ type ResolverInputTypes = {
3700
3682
  ["ParticipantApplicationGenerateDocumentInput"]: {
3701
3683
  /** Номер блока, на котором был создан документ */
3702
3684
  block_num?: number | undefined | null;
3685
+ /** Имя аккаунта кооперативного участка */
3686
+ braname: string;
3703
3687
  /** Название кооператива, связанное с документом */
3704
3688
  coopname: string;
3705
3689
  /** Дата и время создания документа */
@@ -3761,6 +3745,8 @@ type ResolverInputTypes = {
3761
3745
  ["ParticipantApplicationSignedMetaDocumentInput"]: {
3762
3746
  /** Номер блока, на котором был создан документ */
3763
3747
  block_num: number;
3748
+ /** Имя аккаунта кооперативного участка */
3749
+ braname: string;
3764
3750
  /** Название кооператива, связанное с документом */
3765
3751
  coopname: string;
3766
3752
  /** Дата и время создания документа */
@@ -4095,8 +4081,6 @@ type ResolverInputTypes = {
4095
4081
  public_key?: string | undefined | null;
4096
4082
  /** Имя аккаунта реферера */
4097
4083
  referer?: string | undefined | null;
4098
- /** Роль пользователя */
4099
- role: ResolverInputTypes["RegisterRole"];
4100
4084
  /** Тип аккаунта */
4101
4085
  type: ResolverInputTypes["AccountType"];
4102
4086
  /** Имя пользователя */
@@ -5078,10 +5062,6 @@ type ModelTypes = {
5078
5062
  };
5079
5063
  /** Объединение типов документов протоколов решения совета */
5080
5064
  ["DecisionDocumentUnion"]: ModelTypes["FreeDecisionDocument"] | ModelTypes["ParticipantApplicationDecisionDocument"];
5081
- ["DeleteAccountInput"]: {
5082
- /** Имя аккаунта пользователя */
5083
- username_for_delete: string;
5084
- };
5085
5065
  ["DeleteBranchInput"]: {
5086
5066
  /** Имя аккаунта кооперативного участка */
5087
5067
  braname: string;
@@ -5294,7 +5274,7 @@ type ModelTypes = {
5294
5274
  /** Имя генератора, использованного для создания документа */
5295
5275
  generator: string;
5296
5276
  /** Язык документа */
5297
- lang: ModelTypes["LangType"];
5277
+ lang: string;
5298
5278
  /** Ссылки, связанные с документом */
5299
5279
  links: Array<string>;
5300
5280
  /** Идентификатор протокола решения собрания совета */
@@ -5354,7 +5334,6 @@ type ModelTypes = {
5354
5334
  };
5355
5335
  ["GetAccountsInput"]: {
5356
5336
  role?: string | undefined | null;
5357
- username?: string | undefined | null;
5358
5337
  };
5359
5338
  ["GetBranchesInput"]: {
5360
5339
  /** Фильтр по имени аккаунта кооперативного участка */
@@ -5440,7 +5419,6 @@ type ModelTypes = {
5440
5419
  /** Вес */
5441
5420
  weight: number;
5442
5421
  };
5443
- ["LangType"]: LangType;
5444
5422
  ["LoginInput"]: {
5445
5423
  /** Электронная почта */
5446
5424
  email: string;
@@ -5465,7 +5443,7 @@ type ModelTypes = {
5465
5443
  /** Имя генератора, использованного для создания документа */
5466
5444
  generator: string;
5467
5445
  /** Язык документа */
5468
- lang: ModelTypes["LangType"];
5446
+ lang: string;
5469
5447
  /** Ссылки, связанные с документом */
5470
5448
  links: Array<string>;
5471
5449
  /** ID документа в реестре */
@@ -5544,8 +5522,6 @@ type ModelTypes = {
5544
5522
  createInitialPayment: ModelTypes["Payment"];
5545
5523
  /** Создать повестку дня и проект решения, и сохранить в хранилище для дальнейшей генерации документа и его публикации */
5546
5524
  createProjectOfFreeDecision: ModelTypes["CreatedProjectFreeDecision"];
5547
- /** Удалить аккаунт из системы учёта провайдера */
5548
- deleteAccount: boolean;
5549
5525
  /** Удалить кооперативный участок */
5550
5526
  deleteBranch: boolean;
5551
5527
  /** Удалить метод оплаты */
@@ -5731,7 +5707,7 @@ type ModelTypes = {
5731
5707
  /** Имя генератора, использованного для создания документа */
5732
5708
  generator: string;
5733
5709
  /** Язык документа */
5734
- lang: ModelTypes["LangType"];
5710
+ lang: string;
5735
5711
  /** Ссылки, связанные с документом */
5736
5712
  links: Array<string>;
5737
5713
  /** ID документа в реестре */
@@ -5760,6 +5736,8 @@ type ModelTypes = {
5760
5736
  ["ParticipantApplicationGenerateDocumentInput"]: {
5761
5737
  /** Номер блока, на котором был создан документ */
5762
5738
  block_num?: number | undefined | null;
5739
+ /** Имя аккаунта кооперативного участка */
5740
+ braname: string;
5763
5741
  /** Название кооператива, связанное с документом */
5764
5742
  coopname: string;
5765
5743
  /** Дата и время создания документа */
@@ -5793,7 +5771,7 @@ type ModelTypes = {
5793
5771
  /** Имя генератора, использованного для создания документа */
5794
5772
  generator: string;
5795
5773
  /** Язык документа */
5796
- lang: ModelTypes["LangType"];
5774
+ lang: string;
5797
5775
  /** Ссылки, связанные с документом */
5798
5776
  links: Array<string>;
5799
5777
  /** ID документа в реестре */
@@ -5820,6 +5798,8 @@ type ModelTypes = {
5820
5798
  ["ParticipantApplicationSignedMetaDocumentInput"]: {
5821
5799
  /** Номер блока, на котором был создан документ */
5822
5800
  block_num: number;
5801
+ /** Имя аккаунта кооперативного участка */
5802
+ braname: string;
5823
5803
  /** Название кооператива, связанное с документом */
5824
5804
  coopname: string;
5825
5805
  /** Дата и время создания документа */
@@ -6010,7 +5990,7 @@ type ModelTypes = {
6010
5990
  /** Имя генератора, использованного для создания документа */
6011
5991
  generator: string;
6012
5992
  /** Язык документа */
6013
- lang: ModelTypes["LangType"];
5993
+ lang: string;
6014
5994
  /** Ссылки, связанные с документом */
6015
5995
  links: Array<string>;
6016
5996
  /** Идентификатор проекта решения */
@@ -6125,8 +6105,6 @@ type ModelTypes = {
6125
6105
  public_key?: string | undefined | null;
6126
6106
  /** Имя аккаунта реферера */
6127
6107
  referer?: string | undefined | null;
6128
- /** Роль пользователя */
6129
- role: ModelTypes["RegisterRole"];
6130
6108
  /** Тип аккаунта */
6131
6109
  type: ModelTypes["AccountType"];
6132
6110
  /** Имя пользователя */
@@ -6260,7 +6238,7 @@ type ModelTypes = {
6260
6238
  /** Имя генератора, использованного для создания документа */
6261
6239
  generator: string;
6262
6240
  /** Язык документа */
6263
- lang: ModelTypes["LangType"];
6241
+ lang: string;
6264
6242
  /** Ссылки, связанные с документом */
6265
6243
  links: Array<string>;
6266
6244
  /** ID документа в реестре */
@@ -7110,10 +7088,6 @@ type GraphQLTypes = {
7110
7088
  ['...on FreeDecisionDocument']: '__union' & GraphQLTypes["FreeDecisionDocument"];
7111
7089
  ['...on ParticipantApplicationDecisionDocument']: '__union' & GraphQLTypes["ParticipantApplicationDecisionDocument"];
7112
7090
  };
7113
- ["DeleteAccountInput"]: {
7114
- /** Имя аккаунта пользователя */
7115
- username_for_delete: string;
7116
- };
7117
7091
  ["DeleteBranchInput"]: {
7118
7092
  /** Имя аккаунта кооперативного участка */
7119
7093
  braname: string;
@@ -7334,7 +7308,7 @@ type GraphQLTypes = {
7334
7308
  /** Имя генератора, использованного для создания документа */
7335
7309
  generator: string;
7336
7310
  /** Язык документа */
7337
- lang: GraphQLTypes["LangType"];
7311
+ lang: string;
7338
7312
  /** Ссылки, связанные с документом */
7339
7313
  links: Array<string>;
7340
7314
  /** Идентификатор протокола решения собрания совета */
@@ -7395,7 +7369,6 @@ type GraphQLTypes = {
7395
7369
  };
7396
7370
  ["GetAccountsInput"]: {
7397
7371
  role?: string | undefined | null;
7398
- username?: string | undefined | null;
7399
7372
  };
7400
7373
  ["GetBranchesInput"]: {
7401
7374
  /** Фильтр по имени аккаунта кооперативного участка */
@@ -7485,8 +7458,6 @@ type GraphQLTypes = {
7485
7458
  /** Вес */
7486
7459
  weight: number;
7487
7460
  };
7488
- /** Язык документа */
7489
- ["LangType"]: LangType;
7490
7461
  ["LoginInput"]: {
7491
7462
  /** Электронная почта */
7492
7463
  email: string;
@@ -7512,7 +7483,7 @@ type GraphQLTypes = {
7512
7483
  /** Имя генератора, использованного для создания документа */
7513
7484
  generator: string;
7514
7485
  /** Язык документа */
7515
- lang: GraphQLTypes["LangType"];
7486
+ lang: string;
7516
7487
  /** Ссылки, связанные с документом */
7517
7488
  links: Array<string>;
7518
7489
  /** ID документа в реестре */
@@ -7593,8 +7564,6 @@ type GraphQLTypes = {
7593
7564
  createInitialPayment: GraphQLTypes["Payment"];
7594
7565
  /** Создать повестку дня и проект решения, и сохранить в хранилище для дальнейшей генерации документа и его публикации */
7595
7566
  createProjectOfFreeDecision: GraphQLTypes["CreatedProjectFreeDecision"];
7596
- /** Удалить аккаунт из системы учёта провайдера */
7597
- deleteAccount: boolean;
7598
7567
  /** Удалить кооперативный участок */
7599
7568
  deleteBranch: boolean;
7600
7569
  /** Удалить метод оплаты */
@@ -7786,7 +7755,7 @@ type GraphQLTypes = {
7786
7755
  /** Имя генератора, использованного для создания документа */
7787
7756
  generator: string;
7788
7757
  /** Язык документа */
7789
- lang: GraphQLTypes["LangType"];
7758
+ lang: string;
7790
7759
  /** Ссылки, связанные с документом */
7791
7760
  links: Array<string>;
7792
7761
  /** ID документа в реестре */
@@ -7816,6 +7785,8 @@ type GraphQLTypes = {
7816
7785
  ["ParticipantApplicationGenerateDocumentInput"]: {
7817
7786
  /** Номер блока, на котором был создан документ */
7818
7787
  block_num?: number | undefined | null;
7788
+ /** Имя аккаунта кооперативного участка */
7789
+ braname: string;
7819
7790
  /** Название кооператива, связанное с документом */
7820
7791
  coopname: string;
7821
7792
  /** Дата и время создания документа */
@@ -7850,7 +7821,7 @@ type GraphQLTypes = {
7850
7821
  /** Имя генератора, использованного для создания документа */
7851
7822
  generator: string;
7852
7823
  /** Язык документа */
7853
- lang: GraphQLTypes["LangType"];
7824
+ lang: string;
7854
7825
  /** Ссылки, связанные с документом */
7855
7826
  links: Array<string>;
7856
7827
  /** ID документа в реестре */
@@ -7877,6 +7848,8 @@ type GraphQLTypes = {
7877
7848
  ["ParticipantApplicationSignedMetaDocumentInput"]: {
7878
7849
  /** Номер блока, на котором был создан документ */
7879
7850
  block_num: number;
7851
+ /** Имя аккаунта кооперативного участка */
7852
+ braname: string;
7880
7853
  /** Название кооператива, связанное с документом */
7881
7854
  coopname: string;
7882
7855
  /** Дата и время создания документа */
@@ -8083,7 +8056,7 @@ type GraphQLTypes = {
8083
8056
  /** Имя генератора, использованного для создания документа */
8084
8057
  generator: string;
8085
8058
  /** Язык документа */
8086
- lang: GraphQLTypes["LangType"];
8059
+ lang: string;
8087
8060
  /** Ссылки, связанные с документом */
8088
8061
  links: Array<string>;
8089
8062
  /** Идентификатор проекта решения */
@@ -8201,8 +8174,6 @@ type GraphQLTypes = {
8201
8174
  public_key?: string | undefined | null;
8202
8175
  /** Имя аккаунта реферера */
8203
8176
  referer?: string | undefined | null;
8204
- /** Роль пользователя */
8205
- role: GraphQLTypes["RegisterRole"];
8206
8177
  /** Тип аккаунта */
8207
8178
  type: GraphQLTypes["AccountType"];
8208
8179
  /** Имя пользователя */
@@ -8344,7 +8315,7 @@ type GraphQLTypes = {
8344
8315
  /** Имя генератора, использованного для создания документа */
8345
8316
  generator: string;
8346
8317
  /** Язык документа */
8347
- lang: GraphQLTypes["LangType"];
8318
+ lang: string;
8348
8319
  /** Ссылки, связанные с документом */
8349
8320
  links: Array<string>;
8350
8321
  /** ID документа в реестре */
@@ -8682,10 +8653,6 @@ declare enum AccountType {
8682
8653
  declare enum Country {
8683
8654
  Russia = "Russia"
8684
8655
  }
8685
- /** Язык документа */
8686
- declare enum LangType {
8687
- ru = "ru"
8688
- }
8689
8656
  /** Тип юридического лица */
8690
8657
  declare enum OrganizationType {
8691
8658
  AO = "AO",
@@ -8742,7 +8709,6 @@ type ZEUS_VARIABLES = {
8742
8709
  ["CreateOrganizationDataInput"]: ValueTypes["CreateOrganizationDataInput"];
8743
8710
  ["CreateProjectFreeDecisionInput"]: ValueTypes["CreateProjectFreeDecisionInput"];
8744
8711
  ["DateTime"]: ValueTypes["DateTime"];
8745
- ["DeleteAccountInput"]: ValueTypes["DeleteAccountInput"];
8746
8712
  ["DeleteBranchInput"]: ValueTypes["DeleteBranchInput"];
8747
8713
  ["DeletePaymentMethodInput"]: ValueTypes["DeletePaymentMethodInput"];
8748
8714
  ["DeleteTrustedAccountInput"]: ValueTypes["DeleteTrustedAccountInput"];
@@ -8763,7 +8729,6 @@ type ZEUS_VARIABLES = {
8763
8729
  ["Init"]: ValueTypes["Init"];
8764
8730
  ["Install"]: ValueTypes["Install"];
8765
8731
  ["JSON"]: ValueTypes["JSON"];
8766
- ["LangType"]: ValueTypes["LangType"];
8767
8732
  ["LoginInput"]: ValueTypes["LoginInput"];
8768
8733
  ["LogoutInput"]: ValueTypes["LogoutInput"];
8769
8734
  ["MetaDocumentInput"]: ValueTypes["MetaDocumentInput"];
@@ -8807,248 +8772,92 @@ type ZEUS_VARIABLES = {
8807
8772
  ["VarsInput"]: ValueTypes["VarsInput"];
8808
8773
  };
8809
8774
 
8810
- declare const index$k_$: typeof $;
8811
- type index$k_AccountType = AccountType;
8812
- declare const index$k_AccountType: typeof AccountType;
8813
- type index$k_AliasType<T> = AliasType<T>;
8814
- type index$k_AllTypesPropsType = AllTypesPropsType;
8815
- declare const index$k_Chain: typeof Chain;
8816
- type index$k_Country = Country;
8817
- declare const index$k_Country: typeof Country;
8818
- type index$k_ExtractVariables<Query> = ExtractVariables<Query>;
8819
- type index$k_ExtractVariablesDeep<Query> = ExtractVariablesDeep<Query>;
8820
- type index$k_FetchFunction = FetchFunction;
8821
- type index$k_FromSelector<SELECTOR, NAME extends keyof GraphQLTypes, SCLR extends ScalarDefinition = {}> = FromSelector<SELECTOR, NAME, SCLR>;
8822
- declare const index$k_GRAPHQL_TYPE_SEPARATOR: typeof GRAPHQL_TYPE_SEPARATOR;
8823
- type index$k_GenericOperation<O> = GenericOperation<O>;
8824
- type index$k_GetVariableType<T extends string> = GetVariableType<T>;
8825
- declare const index$k_Gql: typeof Gql;
8826
- type index$k_GraphQLError = GraphQLError;
8827
- declare const index$k_GraphQLError: typeof GraphQLError;
8828
- type index$k_GraphQLResponse = GraphQLResponse;
8829
- type index$k_GraphQLTypes = GraphQLTypes;
8830
- type index$k_GraphQLVariableType = GraphQLVariableType;
8831
- declare const index$k_HEADERS: typeof HEADERS;
8832
- declare const index$k_HOST: typeof HOST;
8833
- type index$k_InputType<SRC, DST, SCLR extends ScalarDefinition = {}> = InputType<SRC, DST, SCLR>;
8834
- type index$k_InputValueType = InputValueType;
8835
- declare const index$k_InternalArgsBuilt: typeof InternalArgsBuilt;
8836
- declare const index$k_InternalsBuildQuery: typeof InternalsBuildQuery;
8837
- type index$k_LangType = LangType;
8838
- declare const index$k_LangType: typeof LangType;
8839
- type index$k_MapType<SRC, DST, SCLR extends ScalarDefinition> = MapType<SRC, DST, SCLR>;
8840
- type index$k_ModelTypes = ModelTypes;
8841
- type index$k_OperationOptions = OperationOptions;
8842
- type index$k_Operations = Operations;
8843
- type index$k_OrganizationType = OrganizationType;
8844
- declare const index$k_OrganizationType: typeof OrganizationType;
8845
- type index$k_PaymentStatus = PaymentStatus;
8846
- declare const index$k_PaymentStatus: typeof PaymentStatus;
8847
- type index$k_PlainType = PlainType;
8848
- declare const index$k_PrepareScalarPaths: typeof PrepareScalarPaths;
8849
- type index$k_RegisterRole = RegisterRole;
8850
- declare const index$k_RegisterRole: typeof RegisterRole;
8851
- declare const index$k_ResolveFromPath: typeof ResolveFromPath;
8852
- type index$k_ResolverInputTypes = ResolverInputTypes;
8853
- type index$k_ResolverType<F> = ResolverType<F>;
8854
- type index$k_ReturnTypesType = ReturnTypesType;
8855
- declare const index$k_SEPARATOR: typeof SEPARATOR;
8856
- declare const index$k_START_VAR_NAME: typeof START_VAR_NAME;
8857
- type index$k_ScalarCoder = ScalarCoder;
8858
- type index$k_ScalarCoders = ScalarCoders;
8859
- type index$k_ScalarDefinition = ScalarDefinition;
8860
- type index$k_ScalarResolver = ScalarResolver;
8861
- type index$k_SelectionFunction<V> = SelectionFunction<V>;
8862
- declare const index$k_Selector: typeof Selector;
8863
- declare const index$k_Subscription: typeof Subscription;
8864
- type index$k_SubscriptionFunction = SubscriptionFunction;
8865
- declare const index$k_SubscriptionThunder: typeof SubscriptionThunder;
8866
- type index$k_SubscriptionToGraphQL<Z, T, SCLR extends ScalarDefinition> = SubscriptionToGraphQL<Z, T, SCLR>;
8867
- type index$k_SystemStatus = SystemStatus;
8868
- declare const index$k_SystemStatus: typeof SystemStatus;
8869
- declare const index$k_Thunder: typeof Thunder;
8870
- type index$k_ThunderGraphQLOptions<SCLR extends ScalarDefinition> = ThunderGraphQLOptions<SCLR>;
8871
- declare const index$k_TypeFromSelector: typeof TypeFromSelector;
8872
- type index$k_UnwrapPromise<T> = UnwrapPromise<T>;
8873
- type index$k_UserStatus = UserStatus;
8874
- declare const index$k_UserStatus: typeof UserStatus;
8875
- type index$k_VType = VType;
8876
- type index$k_ValueTypes = ValueTypes;
8877
- type index$k_Variable<T extends GraphQLVariableType, Name extends string> = Variable<T, Name>;
8878
- type index$k_VariableDefinition = VariableDefinition;
8879
- type index$k_WithOptionalNullables<T> = WithOptionalNullables<T>;
8880
- type index$k_WithTypeNameValue<T> = WithTypeNameValue<T>;
8881
- declare const index$k_Zeus: typeof Zeus;
8882
- type index$k_ZeusArgsType = ZeusArgsType;
8883
- type index$k_ZeusHook<T extends (...args: any[]) => Record<string, (...args: any[]) => Promise<any>>, N extends keyof ReturnType<T>> = ZeusHook<T, N>;
8884
- declare const index$k_ZeusScalars: typeof ZeusScalars;
8885
- declare const index$k_ZeusSelect: typeof ZeusSelect;
8886
- type index$k_ZeusState<T extends (...args: any[]) => Promise<any>> = ZeusState<T>;
8887
- declare const index$k_apiFetch: typeof apiFetch;
8888
- declare const index$k_apiSubscription: typeof apiSubscription;
8889
- type index$k_chainOptions = chainOptions;
8890
- declare const index$k_decodeScalarsInResponse: typeof decodeScalarsInResponse;
8891
- type index$k_fetchOptions = fetchOptions;
8892
- declare const index$k_fields: typeof fields;
8893
- declare const index$k_purifyGraphQLKey: typeof purifyGraphQLKey;
8894
- declare const index$k_resolverFor: typeof resolverFor;
8895
- declare const index$k_traverseResponse: typeof traverseResponse;
8896
- declare namespace index$k {
8897
- export { index$k_$ as $, index$k_AccountType as AccountType, type index$k_AliasType as AliasType, type index$k_AllTypesPropsType as AllTypesPropsType, index$k_Chain as Chain, index$k_Country as Country, type index$k_ExtractVariables as ExtractVariables, type index$k_ExtractVariablesDeep as ExtractVariablesDeep, type index$k_FetchFunction as FetchFunction, type index$k_FromSelector as FromSelector, index$k_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, type index$k_GenericOperation as GenericOperation, type index$k_GetVariableType as GetVariableType, index$k_Gql as Gql, index$k_GraphQLError as GraphQLError, type index$k_GraphQLResponse as GraphQLResponse, type index$k_GraphQLTypes as GraphQLTypes, type index$k_GraphQLVariableType as GraphQLVariableType, index$k_HEADERS as HEADERS, index$k_HOST as HOST, type index$k_InputType as InputType, type index$k_InputValueType as InputValueType, index$k_InternalArgsBuilt as InternalArgsBuilt, index$k_InternalsBuildQuery as InternalsBuildQuery, index$k_LangType as LangType, type index$k_MapType as MapType, type index$k_ModelTypes as ModelTypes, type index$k_OperationOptions as OperationOptions, type index$k_Operations as Operations, index$k_OrganizationType as OrganizationType, index$k_PaymentStatus as PaymentStatus, type index$k_PlainType as PlainType, index$k_PrepareScalarPaths as PrepareScalarPaths, index$k_RegisterRole as RegisterRole, index$k_ResolveFromPath as ResolveFromPath, type index$k_ResolverInputTypes as ResolverInputTypes, type index$k_ResolverType as ResolverType, type index$k_ReturnTypesType as ReturnTypesType, index$k_SEPARATOR as SEPARATOR, index$k_START_VAR_NAME as START_VAR_NAME, type index$k_ScalarCoder as ScalarCoder, type index$k_ScalarCoders as ScalarCoders, type index$k_ScalarDefinition as ScalarDefinition, type index$k_ScalarResolver as ScalarResolver, type index$k_SelectionFunction as SelectionFunction, index$k_Selector as Selector, index$k_Subscription as Subscription, type index$k_SubscriptionFunction as SubscriptionFunction, index$k_SubscriptionThunder as SubscriptionThunder, type index$k_SubscriptionToGraphQL as SubscriptionToGraphQL, index$k_SystemStatus as SystemStatus, index$k_Thunder as Thunder, type index$k_ThunderGraphQLOptions as ThunderGraphQLOptions, index$k_TypeFromSelector as TypeFromSelector, type index$k_UnwrapPromise as UnwrapPromise, index$k_UserStatus as UserStatus, type index$k_VType as VType, type index$k_ValueTypes as ValueTypes, type index$k_Variable as Variable, type index$k_VariableDefinition as VariableDefinition, type index$k_WithOptionalNullables as WithOptionalNullables, type index$k_WithTypeNameValue as WithTypeNameValue, index$k_Zeus as Zeus, type index$k_ZeusArgsType as ZeusArgsType, type index$k_ZeusHook as ZeusHook, index$k_ZeusScalars as ZeusScalars, index$k_ZeusSelect as ZeusSelect, type index$k_ZeusState as ZeusState, index$k_apiFetch as apiFetch, index$k_apiSubscription as apiSubscription, type index$k_chainOptions as chainOptions, index$k_decodeScalarsInResponse as decodeScalarsInResponse, type index$k_fetchOptions as fetchOptions, index$k_fields as fields, index$k_purifyGraphQLKey as purifyGraphQLKey, index$k_resolverFor as resolverFor, index$k_traverseResponse as traverseResponse };
8898
- }
8899
-
8900
- interface DeserializedDescriptionOfExtension {
8901
- /**
8902
- * Название или метка, которая будет отображаться как подпись к полю ввода.
8903
- * Обязательное поле.
8904
- */
8905
- label: string;
8906
- /**
8907
- * Примечание или дополнительная информация, связанная с полем.
8908
- * Отображается как подсказка или вспомогательный текст рядом с полем.
8909
- * Необязательное поле.
8910
- */
8911
- note?: string;
8912
- /**
8913
- * Управляет видимостью поля. Если установлено в `false`, поле будет скрыто.
8914
- * По умолчанию `true` (поле видимо).
8915
- * Необязательное поле.
8916
- */
8917
- visible?: boolean;
8918
- /**
8919
- * Набор правил валидации, определенных как строковые выражения, например `['val > 0']`.
8920
- * Эти выражения интерпретируются как логические проверки, применяемые к значению поля.
8921
- * Необязательное поле.
8922
- */
8923
- rules?: string[];
8924
- /**
8925
- * Маска для ввода, которая ограничивает допустимые символы и формат поля ввода.
8926
- * Используется для ограничения ввода, например, к числам или специфическим форматам.
8927
- * Необязательное поле.
8928
- */
8929
- mask?: string;
8930
- /**
8931
- * Определяет, будет ли маска заполняться автоматически, когда значение не полностью введено.
8932
- * Обычно используется с `mask`, чтобы показать пользователю заполненный шаблон.
8933
- * Необязательное поле.
8934
- */
8935
- fillMask?: boolean;
8936
- /**
8937
- * Минимальная длина строки для текстовых полей.
8938
- * Проверяется валидацией, чтобы гарантировать, что ввод соответствует минимальной длине.
8939
- * Необязательное поле.
8940
- */
8941
- minLength?: number;
8942
- /**
8943
- * Максимальная длина строки для текстовых полей.
8944
- * Проверяется валидацией, чтобы гарантировать, что ввод не превышает максимальную длину.
8945
- * Необязательное поле.
8946
- */
8947
- maxLength?: number;
8948
- /**
8949
- * Максимальное количество строк для многострочных текстовых полей.
8950
- * Если указано, поле ввода будет отображаться как многострочное (`textarea`).
8951
- * Необязательное поле.
8952
- */
8953
- maxRows?: number;
8954
- append?: string;
8955
- prepend?: string;
8956
- }
8957
-
8958
- /** Return value of `/v1/chain/get_info` */
8959
- interface GetInfoResult {
8960
- server_version: string;
8961
- chain_id: string;
8962
- head_block_num: number;
8963
- last_irreversible_block_num: number;
8964
- last_irreversible_block_id: string;
8965
- last_irreversible_block_time?: string;
8966
- head_block_id: string;
8967
- head_block_time: string;
8968
- head_block_producer: string;
8969
- virtual_block_cpu_limit: number;
8970
- virtual_block_net_limit: number;
8971
- block_cpu_limit: number;
8972
- block_net_limit: number;
8973
- server_version_string?: string;
8974
- fork_db_head_block_num?: number;
8975
- fork_db_head_block_id?: string;
8976
- server_full_version_string?: string;
8977
- first_block_num?: number;
8978
- }
8979
-
8980
- interface BlockchainAccountInterface {
8981
- account_name: string;
8982
- head_block_num: number;
8983
- head_block_time: string;
8984
- privileged: boolean;
8985
- last_code_update: string;
8986
- created: string;
8987
- core_liquid_balance?: string;
8988
- ram_quota: number;
8989
- net_weight: string;
8990
- cpu_weight: string;
8991
- net_limit: AccountResourceInfo;
8992
- cpu_limit: AccountResourceInfo;
8993
- ram_usage: number;
8994
- permissions: Permission[];
8995
- total_resources: ResourceOverview | null;
8996
- self_delegated_bandwidth: ResourceDelegation | null;
8997
- refund_request: RefundRequest | null;
8998
- voter_info: any;
8999
- rex_info: any;
9000
- }
9001
- interface AccountResourceInfo {
9002
- used: string;
9003
- available: string;
9004
- max: string;
9005
- last_usage_update_time?: string;
9006
- current_used?: string;
9007
- }
9008
- interface Authority {
9009
- threshold: number;
9010
- keys: KeyWeight[];
9011
- accounts: PermissionLevelWeight[];
9012
- waits: WaitWeight[];
9013
- }
9014
- interface KeyWeight {
9015
- key: string;
9016
- weight: number;
9017
- }
9018
- interface Permission {
9019
- perm_name: string;
9020
- parent: string;
9021
- required_auth: Authority;
9022
- }
9023
- interface PermissionLevel {
9024
- actor: string;
9025
- permission: string;
9026
- }
9027
- interface PermissionLevelWeight {
9028
- permission: PermissionLevel;
9029
- weight: number;
9030
- }
9031
- interface WaitWeight {
9032
- wait_sec: number;
9033
- weight: number;
9034
- }
9035
- interface ResourceOverview {
9036
- owner: string;
9037
- ram_bytes: number;
9038
- net_weight: string;
9039
- cpu_weight: string;
9040
- }
9041
- interface ResourceDelegation {
9042
- from: string;
9043
- to: string;
9044
- net_weight: string;
9045
- cpu_weight: string;
9046
- }
9047
- interface RefundRequest {
9048
- owner: string;
9049
- request_time: string;
9050
- net_amount: string;
9051
- cpu_amount: string;
8775
+ declare const index$o_$: typeof $;
8776
+ type index$o_AccountType = AccountType;
8777
+ declare const index$o_AccountType: typeof AccountType;
8778
+ type index$o_AliasType<T> = AliasType<T>;
8779
+ type index$o_AllTypesPropsType = AllTypesPropsType;
8780
+ declare const index$o_Chain: typeof Chain;
8781
+ type index$o_Country = Country;
8782
+ declare const index$o_Country: typeof Country;
8783
+ type index$o_ExtractVariables<Query> = ExtractVariables<Query>;
8784
+ type index$o_ExtractVariablesDeep<Query> = ExtractVariablesDeep<Query>;
8785
+ type index$o_FetchFunction = FetchFunction;
8786
+ type index$o_FromSelector<SELECTOR, NAME extends keyof GraphQLTypes, SCLR extends ScalarDefinition = {}> = FromSelector<SELECTOR, NAME, SCLR>;
8787
+ declare const index$o_GRAPHQL_TYPE_SEPARATOR: typeof GRAPHQL_TYPE_SEPARATOR;
8788
+ type index$o_GenericOperation<O> = GenericOperation<O>;
8789
+ type index$o_GetVariableType<T extends string> = GetVariableType<T>;
8790
+ declare const index$o_Gql: typeof Gql;
8791
+ type index$o_GraphQLError = GraphQLError;
8792
+ declare const index$o_GraphQLError: typeof GraphQLError;
8793
+ type index$o_GraphQLResponse = GraphQLResponse;
8794
+ type index$o_GraphQLTypes = GraphQLTypes;
8795
+ type index$o_GraphQLVariableType = GraphQLVariableType;
8796
+ declare const index$o_HEADERS: typeof HEADERS;
8797
+ declare const index$o_HOST: typeof HOST;
8798
+ type index$o_InputType<SRC, DST, SCLR extends ScalarDefinition = {}> = InputType<SRC, DST, SCLR>;
8799
+ type index$o_InputValueType = InputValueType;
8800
+ declare const index$o_InternalArgsBuilt: typeof InternalArgsBuilt;
8801
+ declare const index$o_InternalsBuildQuery: typeof InternalsBuildQuery;
8802
+ type index$o_MapType<SRC, DST, SCLR extends ScalarDefinition> = MapType<SRC, DST, SCLR>;
8803
+ type index$o_ModelTypes = ModelTypes;
8804
+ type index$o_OperationOptions = OperationOptions;
8805
+ type index$o_Operations = Operations;
8806
+ type index$o_OrganizationType = OrganizationType;
8807
+ declare const index$o_OrganizationType: typeof OrganizationType;
8808
+ type index$o_PaymentStatus = PaymentStatus;
8809
+ declare const index$o_PaymentStatus: typeof PaymentStatus;
8810
+ type index$o_PlainType = PlainType;
8811
+ declare const index$o_PrepareScalarPaths: typeof PrepareScalarPaths;
8812
+ type index$o_RegisterRole = RegisterRole;
8813
+ declare const index$o_RegisterRole: typeof RegisterRole;
8814
+ declare const index$o_ResolveFromPath: typeof ResolveFromPath;
8815
+ type index$o_ResolverInputTypes = ResolverInputTypes;
8816
+ type index$o_ResolverType<F> = ResolverType<F>;
8817
+ type index$o_ReturnTypesType = ReturnTypesType;
8818
+ declare const index$o_SEPARATOR: typeof SEPARATOR;
8819
+ declare const index$o_START_VAR_NAME: typeof START_VAR_NAME;
8820
+ type index$o_ScalarCoder = ScalarCoder;
8821
+ type index$o_ScalarCoders = ScalarCoders;
8822
+ type index$o_ScalarDefinition = ScalarDefinition;
8823
+ type index$o_ScalarResolver = ScalarResolver;
8824
+ type index$o_SelectionFunction<V> = SelectionFunction<V>;
8825
+ declare const index$o_Selector: typeof Selector;
8826
+ declare const index$o_Subscription: typeof Subscription;
8827
+ type index$o_SubscriptionFunction = SubscriptionFunction;
8828
+ declare const index$o_SubscriptionThunder: typeof SubscriptionThunder;
8829
+ type index$o_SubscriptionToGraphQL<Z, T, SCLR extends ScalarDefinition> = SubscriptionToGraphQL<Z, T, SCLR>;
8830
+ type index$o_SystemStatus = SystemStatus;
8831
+ declare const index$o_SystemStatus: typeof SystemStatus;
8832
+ declare const index$o_Thunder: typeof Thunder;
8833
+ type index$o_ThunderGraphQLOptions<SCLR extends ScalarDefinition> = ThunderGraphQLOptions<SCLR>;
8834
+ declare const index$o_TypeFromSelector: typeof TypeFromSelector;
8835
+ type index$o_UnwrapPromise<T> = UnwrapPromise<T>;
8836
+ type index$o_UserStatus = UserStatus;
8837
+ declare const index$o_UserStatus: typeof UserStatus;
8838
+ type index$o_VType = VType;
8839
+ type index$o_ValueTypes = ValueTypes;
8840
+ type index$o_Variable<T extends GraphQLVariableType, Name extends string> = Variable<T, Name>;
8841
+ type index$o_VariableDefinition = VariableDefinition;
8842
+ type index$o_WithOptionalNullables<T> = WithOptionalNullables<T>;
8843
+ type index$o_WithTypeNameValue<T> = WithTypeNameValue<T>;
8844
+ declare const index$o_Zeus: typeof Zeus;
8845
+ type index$o_ZeusArgsType = ZeusArgsType;
8846
+ type index$o_ZeusHook<T extends (...args: any[]) => Record<string, (...args: any[]) => Promise<any>>, N extends keyof ReturnType<T>> = ZeusHook<T, N>;
8847
+ declare const index$o_ZeusScalars: typeof ZeusScalars;
8848
+ declare const index$o_ZeusSelect: typeof ZeusSelect;
8849
+ type index$o_ZeusState<T extends (...args: any[]) => Promise<any>> = ZeusState<T>;
8850
+ declare const index$o_apiFetch: typeof apiFetch;
8851
+ declare const index$o_apiSubscription: typeof apiSubscription;
8852
+ type index$o_chainOptions = chainOptions;
8853
+ declare const index$o_decodeScalarsInResponse: typeof decodeScalarsInResponse;
8854
+ type index$o_fetchOptions = fetchOptions;
8855
+ declare const index$o_fields: typeof fields;
8856
+ declare const index$o_purifyGraphQLKey: typeof purifyGraphQLKey;
8857
+ declare const index$o_resolverFor: typeof resolverFor;
8858
+ declare const index$o_traverseResponse: typeof traverseResponse;
8859
+ declare namespace index$o {
8860
+ export { index$o_$ as $, index$o_AccountType as AccountType, type index$o_AliasType as AliasType, type index$o_AllTypesPropsType as AllTypesPropsType, index$o_Chain as Chain, index$o_Country as Country, type index$o_ExtractVariables as ExtractVariables, type index$o_ExtractVariablesDeep as ExtractVariablesDeep, type index$o_FetchFunction as FetchFunction, type index$o_FromSelector as FromSelector, index$o_GRAPHQL_TYPE_SEPARATOR as GRAPHQL_TYPE_SEPARATOR, type index$o_GenericOperation as GenericOperation, type index$o_GetVariableType as GetVariableType, index$o_Gql as Gql, index$o_GraphQLError as GraphQLError, type index$o_GraphQLResponse as GraphQLResponse, type index$o_GraphQLTypes as GraphQLTypes, type index$o_GraphQLVariableType as GraphQLVariableType, index$o_HEADERS as HEADERS, index$o_HOST as HOST, type index$o_InputType as InputType, type index$o_InputValueType as InputValueType, index$o_InternalArgsBuilt as InternalArgsBuilt, index$o_InternalsBuildQuery as InternalsBuildQuery, type index$o_MapType as MapType, type index$o_ModelTypes as ModelTypes, type index$o_OperationOptions as OperationOptions, type index$o_Operations as Operations, index$o_OrganizationType as OrganizationType, index$o_PaymentStatus as PaymentStatus, type index$o_PlainType as PlainType, index$o_PrepareScalarPaths as PrepareScalarPaths, index$o_RegisterRole as RegisterRole, index$o_ResolveFromPath as ResolveFromPath, type index$o_ResolverInputTypes as ResolverInputTypes, type index$o_ResolverType as ResolverType, type index$o_ReturnTypesType as ReturnTypesType, index$o_SEPARATOR as SEPARATOR, index$o_START_VAR_NAME as START_VAR_NAME, type index$o_ScalarCoder as ScalarCoder, type index$o_ScalarCoders as ScalarCoders, type index$o_ScalarDefinition as ScalarDefinition, type index$o_ScalarResolver as ScalarResolver, type index$o_SelectionFunction as SelectionFunction, index$o_Selector as Selector, index$o_Subscription as Subscription, type index$o_SubscriptionFunction as SubscriptionFunction, index$o_SubscriptionThunder as SubscriptionThunder, type index$o_SubscriptionToGraphQL as SubscriptionToGraphQL, index$o_SystemStatus as SystemStatus, index$o_Thunder as Thunder, type index$o_ThunderGraphQLOptions as ThunderGraphQLOptions, index$o_TypeFromSelector as TypeFromSelector, type index$o_UnwrapPromise as UnwrapPromise, index$o_UserStatus as UserStatus, type index$o_VType as VType, type index$o_ValueTypes as ValueTypes, type index$o_Variable as Variable, type index$o_VariableDefinition as VariableDefinition, type index$o_WithOptionalNullables as WithOptionalNullables, type index$o_WithTypeNameValue as WithTypeNameValue, index$o_Zeus as Zeus, type index$o_ZeusArgsType as ZeusArgsType, type index$o_ZeusHook as ZeusHook, index$o_ZeusScalars as ZeusScalars, index$o_ZeusSelect as ZeusSelect, type index$o_ZeusState as ZeusState, index$o_apiFetch as apiFetch, index$o_apiSubscription as apiSubscription, type index$o_chainOptions as chainOptions, index$o_decodeScalarsInResponse as decodeScalarsInResponse, type index$o_fetchOptions as fetchOptions, index$o_fields as fields, index$o_purifyGraphQLKey as purifyGraphQLKey, index$o_resolverFor as resolverFor, index$o_traverseResponse as traverseResponse };
9052
8861
  }
9053
8862
 
9054
8863
  interface ClientConnectionOptions {
@@ -9060,30 +8869,9 @@ interface ClientConnectionOptions {
9060
8869
  username?: string;
9061
8870
  }
9062
8871
 
9063
- type IndexPosition = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quinary' | 'senary' | 'septenary' | 'octonary' | 'nonary' | 'denary';
9064
- interface BlockchainConfig {
9065
- chain_url: string;
9066
- chain_id: string;
9067
- }
9068
-
9069
- type index$j_AccountResourceInfo = AccountResourceInfo;
9070
- type index$j_Authority = Authority;
9071
- type index$j_BlockchainAccountInterface = BlockchainAccountInterface;
9072
- type index$j_BlockchainConfig = BlockchainConfig;
9073
- type index$j_ClientConnectionOptions = ClientConnectionOptions;
9074
- type index$j_DeserializedDescriptionOfExtension = DeserializedDescriptionOfExtension;
9075
- type index$j_GetInfoResult = GetInfoResult;
9076
- type index$j_IndexPosition = IndexPosition;
9077
- type index$j_KeyWeight = KeyWeight;
9078
- type index$j_Permission = Permission;
9079
- type index$j_PermissionLevel = PermissionLevel;
9080
- type index$j_PermissionLevelWeight = PermissionLevelWeight;
9081
- type index$j_RefundRequest = RefundRequest;
9082
- type index$j_ResourceDelegation = ResourceDelegation;
9083
- type index$j_ResourceOverview = ResourceOverview;
9084
- type index$j_WaitWeight = WaitWeight;
9085
- declare namespace index$j {
9086
- export type { index$j_AccountResourceInfo as AccountResourceInfo, index$j_Authority as Authority, index$j_BlockchainAccountInterface as BlockchainAccountInterface, index$j_BlockchainConfig as BlockchainConfig, index$j_ClientConnectionOptions as ClientConnectionOptions, index$j_DeserializedDescriptionOfExtension as DeserializedDescriptionOfExtension, index$j_GetInfoResult as GetInfoResult, index$j_IndexPosition as IndexPosition, index$j_KeyWeight as KeyWeight, index$j_Permission as Permission, index$j_PermissionLevel as PermissionLevel, index$j_PermissionLevelWeight as PermissionLevelWeight, index$j_RefundRequest as RefundRequest, index$j_ResourceDelegation as ResourceDelegation, index$j_ResourceOverview as ResourceOverview, index$j_WaitWeight as WaitWeight };
8872
+ type index$n_ClientConnectionOptions = ClientConnectionOptions;
8873
+ declare namespace index$n {
8874
+ export type { index$n_ClientConnectionOptions as ClientConnectionOptions };
9087
8875
  }
9088
8876
 
9089
8877
  /**
@@ -9117,79 +8905,281 @@ declare class Account {
9117
8905
  private static generateKeys;
9118
8906
  }
9119
8907
 
9120
- declare class Canvas {
9121
- private container;
9122
- private opts;
9123
- canvas: HTMLCanvasElement;
9124
- ctx: CanvasRenderingContext2D;
9125
- private drawing;
9126
- private lastX;
9127
- private lastY;
9128
- constructor(container: HTMLElement, opts?: {
9129
- lineWidth?: number;
9130
- strokeStyle?: string;
9131
- });
9132
- /**
9133
- * Очистка холста.
9134
- */
9135
- clearCanvas(): void;
9136
- /**
9137
- * Получение подписи в формате base64.
9138
- */
9139
- getSignature(): string;
9140
- /**
9141
- * Снятие всех слушателей.
9142
- */
9143
- destroy(): void;
9144
- private initEvents;
9145
- private onMouseDown;
9146
- private onMouseMove;
9147
- private onMouseUp;
9148
- private onTouchStart;
9149
- private onTouchMove;
9150
- private onTouchEnd;
9151
- private drawLine;
8908
+ type IndexPosition = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quinary' | 'senary' | 'septenary' | 'octonary' | 'nonary' | 'denary';
8909
+ interface BlockchainConfig {
8910
+ chain_url: string;
8911
+ chain_id: string;
9152
8912
  }
9153
8913
 
9154
8914
  /**
9155
- * Описание класса будет здесь
8915
+ * Класс Blockchain для взаимодействия с блокчейном COOPOS.
8916
+ *
8917
+ * Обеспечивает методы для работы с транзакциями, таблицами смарт-контрактов и подписанием через приватный ключ.
9156
8918
  */
9157
- declare class Wallet {
8919
+ declare class Blockchain {
9158
8920
  private readonly config;
9159
8921
  private readonly apiClient;
9160
8922
  private readonly contractKit;
9161
8923
  private session?;
8924
+ /**
8925
+ * Конструктор класса Blockchain.
8926
+ * @param config Конфигурация блокчейна, включающая URL цепочки и идентификатор цепочки.
8927
+ */
9162
8928
  constructor(config: BlockchainConfig);
8929
+ /**
8930
+ * Получение информации о блокчейне.
8931
+ * @returns Объект с информацией о текущем состоянии блокчейна.
8932
+ */
9163
8933
  getInfo(): Promise<API.v1.GetInfoResponse>;
9164
8934
  /**
9165
- * Метод установки приватного ключа в кошелёк
9166
- * @param username - имя пользователя
9167
- * @param wif - приватный ключ
9168
- * @returns
8935
+ * Устанавливает приватный ключ (WIF) для текущей сессии.
8936
+ * @param username Имя пользователя (аккаунт).
8937
+ * @param wif Приватный ключ в формате WIF.
8938
+ * @param permission Тип разрешения, который используется для подписания транзакции (по умолчанию = 'active')
8939
+ * @returns Текущий экземпляр Blockchain для цепочного вызова.
8940
+ */
8941
+ setWif(username: string, wif: string, permission?: string): this;
8942
+ /**
8943
+ * Выполнение транзакции с передачей одного или нескольких действий.
8944
+ * @param actionOrActions Действие или массив действий для выполнения.
8945
+ * @param broadcast Если true, транзакция будет отправлена в сеть.
8946
+ * @returns Результат выполнения транзакции.
8947
+ * @throws Ошибка, если сессия не инициализирована.
9169
8948
  */
9170
- setWif(username: string, wif: string): this;
9171
8949
  transact(actionOrActions: any | any[], broadcast?: boolean): Promise<TransactResult>;
8950
+ /**
8951
+ * Получение всех строк таблицы смарт-контракта.
8952
+ * @param code Код (аккаунт) контракта.
8953
+ * @param scope Область видимости (scope) таблицы.
8954
+ * @param tableName Имя таблицы.
8955
+ * @returns Массив строк таблицы.
8956
+ */
9172
8957
  getAllRows<T = any>(code: string, scope: string, tableName: string): Promise<T[]>;
9173
- query<T = any>(code: string, scope: string, tableName: string, options?: {
8958
+ /**
8959
+ * Запрос строк таблицы с использованием фильтров.
8960
+ * @param code Код (аккаунт) контракта.
8961
+ * @param scope Область видимости (scope) таблицы.
8962
+ * @param tableName Имя таблицы.
8963
+ * @param options Опции для фильтрации данных.
8964
+ * @returns Массив строк, соответствующих фильтрам.
8965
+ */
8966
+ query<T = any>(code: string, scope: string, tableName: string, options?: {
9174
8967
  indexPosition?: IndexPosition;
9175
8968
  from?: string | number;
9176
8969
  to?: string | number;
9177
8970
  maxRows?: number;
9178
8971
  }): Promise<T[]>;
8972
+ /**
8973
+ * Получение одной строки таблицы по первичному ключу.
8974
+ * @param code Код (аккаунт) контракта.
8975
+ * @param scope Область видимости (scope) таблицы.
8976
+ * @param tableName Имя таблицы.
8977
+ * @param primaryKey Первичный ключ строки.
8978
+ * @param indexPosition Индекс для поиска строки (по умолчанию 'primary').
8979
+ * @returns Строка таблицы или null, если не найдена.
8980
+ */
9179
8981
  getRow<T = any>(code: string, scope: string, tableName: string, primaryKey: string | number, indexPosition?: IndexPosition): Promise<T | null>;
8982
+ /**
8983
+ * Создает объект действия (Action) из ABI контракта.
8984
+ * @param action Объект действия.
8985
+ * @returns Объект Action.
8986
+ */
9180
8987
  private formActionFromAbi;
8988
+ /**
8989
+ * Получение ABI контракта.
8990
+ * @param account Код (аккаунт) контракта.
8991
+ * @returns ABI контракта.
8992
+ * @throws Ошибка, если ABI не найден.
8993
+ */
9181
8994
  private getAbi;
8995
+ /**
8996
+ * Создает объект таблицы (Table) для работы с данными.
8997
+ * @param code Код (аккаунт) контракта.
8998
+ * @param tableName Имя таблицы.
8999
+ * @param abi ABI контракта.
9000
+ * @returns Объект Table.
9001
+ */
9182
9002
  private createTable;
9183
9003
  }
9184
9004
 
9005
+ /**
9006
+ * Класс `Canvas` предоставляет инструмент для создания и управления HTML5 `<canvas>` с целью извлечения
9007
+ * собственноручной подписи пользователя. Основное предназначение класса — упрощение работы с холстом
9008
+ * для сбора подписи, её валидации и экспорта в формате base64.
9009
+ *
9010
+ * @remarks
9011
+ * - Автоматически создаёт элемент `<canvas>` внутри указанного контейнера и подстраивает его размеры.
9012
+ * - Обеспечивает корректную работу с мышью и тач-устройствами для рисования подписи.
9013
+ * - Включает утилиты для очистки холста и извлечения подписи.
9014
+ * - Сохраняет содержимое при изменении размеров контейнера.
9015
+ * - Отключает прокрутку при касаниях через `touchAction: none`.
9016
+ *
9017
+ * @example
9018
+ * Пример использования для извлечения подписи пайщика:
9019
+ * ```ts
9020
+ * import { Classes } from '@coopenomics/sdk'
9021
+ *
9022
+ * // Указываем контейнер, где будет размещён холст
9023
+ * const container = document.getElementById('signature-container') as HTMLElement
9024
+ *
9025
+ * // Создаём экземпляр Canvas для работы с подписью
9026
+ * const signatureCanvas = new Classes.Canvas(container, {
9027
+ * lineWidth: 5,
9028
+ * strokeStyle: '#000',
9029
+ * })
9030
+ *
9031
+ * // Очистка холста при необходимости
9032
+ * signatureCanvas.clearCanvas()
9033
+ *
9034
+ * // Извлечение подписи в формате base64
9035
+ * const signature = signatureCanvas.getSignature()
9036
+ * console.log('Подпись в формате base64:', signature)
9037
+ *
9038
+ * // Освобождение ресурсов, если холст больше не нужен
9039
+ * signatureCanvas.destroy()
9040
+ * ```
9041
+ *
9042
+ * @public
9043
+ */
9044
+ declare class Canvas {
9045
+ private container;
9046
+ private opts;
9047
+ canvas: HTMLCanvasElement;
9048
+ ctx: CanvasRenderingContext2D;
9049
+ private drawing;
9050
+ private lastX;
9051
+ private lastY;
9052
+ /**
9053
+ * Создаёт экземпляр класса `Canvas` и подготавливает холст для рисования подписи.
9054
+ *
9055
+ * @param container - HTML-элемент, внутри которого создаётся `<canvas>`.
9056
+ * @param opts - Настройки:
9057
+ * - `lineWidth` - Толщина линии для рисования (по умолчанию 5).
9058
+ * - `strokeStyle` - Цвет линии для рисования (по умолчанию чёрный, `#000`).
9059
+ */
9060
+ constructor(container: HTMLElement, opts?: {
9061
+ lineWidth?: number;
9062
+ strokeStyle?: string;
9063
+ });
9064
+ /**
9065
+ * Очищает холст.
9066
+ */
9067
+ clearCanvas(): void;
9068
+ /**
9069
+ * Возвращает содержимое холста (подпись) в формате base64 (PNG).
9070
+ *
9071
+ * @returns Подпись в формате base64.
9072
+ */
9073
+ getSignature(): string;
9074
+ /**
9075
+ * Снимает все обработчики событий и очищает ресурсы.
9076
+ */
9077
+ destroy(): void;
9078
+ /**
9079
+ * Навешивает обработчики событий мыши и тач-устройств.
9080
+ */
9081
+ private initEvents;
9082
+ private onMouseDown;
9083
+ private onMouseMove;
9084
+ private onMouseUp;
9085
+ private onTouchStart;
9086
+ private onTouchMove;
9087
+ private onTouchEnd;
9088
+ private drawLine;
9089
+ }
9090
+
9091
+ /**
9092
+ * Интерфейс для метаданных документа.
9093
+ */
9094
+ type IMetaDocument = ModelTypes['MetaDocument'] & {
9095
+ [key: string]: any;
9096
+ };
9097
+ /**
9098
+ * Интерфейс для сгенерированного документа, который требуется подписать.
9099
+ */
9100
+ interface IGeneratedDocument<T = any> {
9101
+ full_title: string;
9102
+ html: string;
9103
+ hash: string;
9104
+ meta: IMetaDocument & T;
9105
+ binary: string;
9106
+ }
9107
+ /**
9108
+ * Интерфейс для подписанного документа.
9109
+ */
9110
+ interface ISignedDocument<T = any> {
9111
+ hash: string;
9112
+ public_key: string;
9113
+ signature: string;
9114
+ meta: IMetaDocument & T;
9115
+ }
9116
+
9117
+ type index$m_IGeneratedDocument<T = any> = IGeneratedDocument<T>;
9118
+ type index$m_IMetaDocument = IMetaDocument;
9119
+ type index$m_ISignedDocument<T = any> = ISignedDocument<T>;
9120
+ declare namespace index$m {
9121
+ export type { index$m_IGeneratedDocument as IGeneratedDocument, index$m_IMetaDocument as IMetaDocument, index$m_ISignedDocument as ISignedDocument };
9122
+ }
9123
+
9124
+ /**
9125
+ * Класс для управления и подписания документов с использованием WIF-ключа.
9126
+ *
9127
+ * @example
9128
+ * ```typescript
9129
+ * const wifKey = "your-wif-private-key";
9130
+ * const docSigner = new Document(wifKey);
9131
+ *
9132
+ * const generatedDoc: IGeneratedDocument = {
9133
+ * full_title: "Пример документа",
9134
+ * html: "<p>Это пример документа</p>",
9135
+ * hash: "hash_of_document",
9136
+ * meta: { author: "Автор документа" },
9137
+ * binary: "binary_data"
9138
+ * };
9139
+ *
9140
+ * const signedDoc = await docSigner.signDocument(generatedDoc);
9141
+ * console.log(signedDoc);
9142
+ *
9143
+ * // Замена WIF-ключа
9144
+ * docSigner.setWif("new-wif-private-key");
9145
+ * ```
9146
+ */
9147
+ declare class Document {
9148
+ private wif?;
9149
+ /**
9150
+ * Инициализация класса Document с WIF-ключом.
9151
+ * @param wifKey WIF-ключ, используемый для подписи.
9152
+ */
9153
+ constructor(wifKey?: string);
9154
+ /**
9155
+ * Замена текущего WIF-ключа на новый.
9156
+ * @param wifKey Новый WIF-ключ.
9157
+ */
9158
+ setWif(wifKey: string): void;
9159
+ /**
9160
+ * Подписывает документ и возвращает его в формате ISignedDocument.
9161
+ * @param document Сгенерированный документ для подписи.
9162
+ * @returns Подписанный документ.
9163
+ */
9164
+ signDocument<T>(document: IGeneratedDocument<T>): Promise<ISignedDocument<T>>;
9165
+ /**
9166
+ * Подписывает хэш (digest) документа и проверяет подпись.
9167
+ * @param digest Хэш документа для подписи.
9168
+ * @returns Детали подписи.
9169
+ */
9170
+ private signDigest;
9171
+ }
9172
+
9185
9173
  type Classes_Account = Account;
9186
9174
  declare const Classes_Account: typeof Account;
9175
+ type Classes_Blockchain = Blockchain;
9176
+ declare const Classes_Blockchain: typeof Blockchain;
9187
9177
  type Classes_Canvas = Canvas;
9188
9178
  declare const Classes_Canvas: typeof Canvas;
9189
- type Classes_Wallet = Wallet;
9190
- declare const Classes_Wallet: typeof Wallet;
9179
+ type Classes_Document = Document;
9180
+ declare const Classes_Document: typeof Document;
9191
9181
  declare namespace Classes {
9192
- export { Classes_Account as Account, Classes_Canvas as Canvas, Classes_Wallet as Wallet };
9182
+ export { Classes_Account as Account, Classes_Blockchain as Blockchain, Classes_Canvas as Canvas, Classes_Document as Document };
9193
9183
  }
9194
9184
 
9195
9185
  declare const name$J = "installExtension";
@@ -9281,7 +9271,7 @@ declare namespace updateExtension {
9281
9271
 
9282
9272
  /** Установить расширение */
9283
9273
 
9284
- declare namespace index$i {
9274
+ declare namespace index$l {
9285
9275
  export { installExtension as InstallExtension, uninstallExtension as UninstallExtension, updateExtension as UpdateExtension };
9286
9276
  }
9287
9277
 
@@ -9392,7 +9382,7 @@ declare namespace updateBankAccount {
9392
9382
 
9393
9383
  /** Добавить метод оплаты */
9394
9384
 
9395
- declare namespace index$h {
9385
+ declare namespace index$k {
9396
9386
  export { createBankAccount as CreateBankAccount, deletePaymentMethod as DeletePaymentMethod, updateBankAccount as UpdateBankAccount };
9397
9387
  }
9398
9388
 
@@ -9822,7 +9812,7 @@ declare const name$x = "generateSelectBranchDocument";
9822
9812
  declare const mutation$q: {
9823
9813
  generateSelectBranchDocument: [{
9824
9814
  data: Variable<"SelectBranchGenerateDocumentInput!", "data">;
9825
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
9815
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
9826
9816
  }, {
9827
9817
  meta: {
9828
9818
  braname: boolean;
@@ -9860,7 +9850,7 @@ declare namespace generateSelectBranchDocument {
9860
9850
 
9861
9851
  /** Добавить доверенное лицо кооперативного участка */
9862
9852
 
9863
- declare namespace index$g {
9853
+ declare namespace index$j {
9864
9854
  export { addTrustedAccount as AddTrustedAccount, createBranch as CreateBranch, deleteBranch as DeleteBranch, deleteTrustedAccount as DeleteTrustedAccount, editBranch as EditBranch, generateSelectBranchDocument as GenerateSelectBranchDocument, selectBranch as SelectBranch };
9865
9855
  }
9866
9856
 
@@ -9868,7 +9858,7 @@ declare const name$w = "generateProjectOfFreeDecision";
9868
9858
  declare const mutation$p: {
9869
9859
  generateProjectOfFreeDecision: [{
9870
9860
  data: Variable<"ProjectFreeDecisionGenerateDocumentInput!", "data">;
9871
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
9861
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
9872
9862
  }, {
9873
9863
  meta: {
9874
9864
  project_id: boolean;
@@ -9908,7 +9898,7 @@ declare const name$v = "generateFreeDecision";
9908
9898
  declare const mutation$o: {
9909
9899
  generateFreeDecision: [{
9910
9900
  data: Variable<"FreeDecisionGenerateDocumentInput!", "data">;
9911
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
9901
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
9912
9902
  }, {
9913
9903
  meta: {
9914
9904
  project_id: boolean;
@@ -9989,146 +9979,12 @@ declare namespace createProjectOfFreeDecision {
9989
9979
 
9990
9980
  /** Сгенерировать документ проекта свободного решения */
9991
9981
 
9992
- declare namespace index$f {
9982
+ declare namespace index$i {
9993
9983
  export { createProjectOfFreeDecision as CreateProjectOfFreeDecision, generateFreeDecision as GenerateFreeDecision, generateProjectOfFreeDecisionDocument as GenerateProjectOfFreeDecision, publishProjectOfFreeDecision as PublishProjectOfFreeDecision };
9994
9984
  }
9995
9985
 
9996
- declare const name$s = "updateAccount";
9986
+ declare const name$s = "registerAccount";
9997
9987
  declare const mutation$l: {
9998
- updateAccount: [{
9999
- data: Variable<"UpdateAccountInput!", "data">;
10000
- }, {
10001
- username: boolean;
10002
- blockchain_account: {
10003
- account_name: boolean;
10004
- core_liquid_balance: boolean;
10005
- cpu_limit: {
10006
- available: boolean;
10007
- current_used: boolean;
10008
- last_usage_update_time: boolean;
10009
- max: boolean;
10010
- used: boolean;
10011
- };
10012
- cpu_weight: boolean;
10013
- created: boolean;
10014
- head_block_num: boolean;
10015
- head_block_time: boolean;
10016
- last_code_update: boolean;
10017
- net_limit: {
10018
- available: boolean;
10019
- current_used: boolean;
10020
- last_usage_update_time: boolean;
10021
- max: boolean;
10022
- used: boolean;
10023
- };
10024
- net_weight: boolean;
10025
- permissions: {
10026
- parent: boolean;
10027
- perm_name: boolean;
10028
- required_auth: {
10029
- accounts: {
10030
- permission: {
10031
- actor: boolean;
10032
- permission: boolean;
10033
- };
10034
- weight: boolean;
10035
- };
10036
- keys: {
10037
- key: boolean;
10038
- weight: boolean;
10039
- };
10040
- threshold: boolean;
10041
- waits: {
10042
- wait_sec: boolean;
10043
- weight: boolean;
10044
- };
10045
- };
10046
- };
10047
- privileged: boolean;
10048
- ram_quota: boolean;
10049
- ram_usage: boolean;
10050
- refund_request: {
10051
- cpu_amount: boolean;
10052
- net_amount: boolean;
10053
- owner: boolean;
10054
- request_time: boolean;
10055
- };
10056
- rex_info: boolean;
10057
- self_delegated_bandwidth: {
10058
- cpu_weight: boolean;
10059
- from: boolean;
10060
- net_weight: boolean;
10061
- to: boolean;
10062
- };
10063
- total_resources: {
10064
- cpu_weight: boolean;
10065
- net_weight: boolean;
10066
- owner: boolean;
10067
- ram_bytes: boolean;
10068
- };
10069
- voter_info: boolean;
10070
- };
10071
- provider_account: {
10072
- email: boolean;
10073
- has_account: boolean;
10074
- initial_order: boolean;
10075
- is_email_verified: boolean;
10076
- is_registered: boolean;
10077
- message: boolean;
10078
- public_key: boolean;
10079
- referer: boolean;
10080
- role: boolean;
10081
- status: boolean;
10082
- type: boolean;
10083
- username: boolean;
10084
- };
10085
- participant_account: {
10086
- braname: boolean;
10087
- created_at: boolean;
10088
- has_vote: boolean;
10089
- is_initial: boolean;
10090
- is_minimum: boolean;
10091
- last_min_pay: boolean;
10092
- last_update: boolean;
10093
- status: boolean;
10094
- type: boolean;
10095
- username: boolean;
10096
- };
10097
- user_account: {
10098
- meta: boolean;
10099
- referer: boolean;
10100
- registered_at: boolean;
10101
- registrator: boolean;
10102
- status: boolean;
10103
- storages: boolean;
10104
- type: boolean;
10105
- username: boolean;
10106
- verifications: {
10107
- created_at: boolean;
10108
- is_verified: boolean;
10109
- last_update: boolean;
10110
- notice: boolean;
10111
- procedure: boolean;
10112
- verificator: boolean;
10113
- };
10114
- };
10115
- }];
10116
- };
10117
- interface IInput$v {
10118
- /**
10119
- * @private
10120
- */
10121
- [key: string]: unknown;
10122
- data: ModelTypes['UpdateAccountInput'];
10123
- }
10124
- type IOutput$v = InputType<GraphQLTypes['Mutation'], typeof mutation$l>;
10125
-
10126
- declare namespace updateAccount {
10127
- export { type IInput$v as IInput, type IOutput$v as IOutput, mutation$l as mutation, name$s as name };
10128
- }
10129
-
10130
- declare const name$r = "registerAccount";
10131
- declare const mutation$k: {
10132
9988
  registerAccount: [{
10133
9989
  data: Variable<"RegisterAccountInput!", "data">;
10134
9990
  }, {
@@ -10260,16 +10116,35 @@ declare const mutation$k: {
10260
10116
  };
10261
10117
  }];
10262
10118
  };
10263
- interface IInput$u {
10119
+ interface IInput$v {
10264
10120
  /**
10265
10121
  * @private
10266
10122
  */
10267
10123
  [key: string]: unknown;
10268
10124
  data: ModelTypes['RegisterAccountInput'];
10269
10125
  }
10270
- type IOutput$u = InputType<GraphQLTypes['Mutation'], typeof mutation$k>;
10126
+ type IOutput$v = InputType<GraphQLTypes['Mutation'], typeof mutation$l>;
10271
10127
 
10272
10128
  declare namespace registerAccount {
10129
+ export { type IInput$v as IInput, type IOutput$v as IOutput, mutation$l as mutation, name$s as name };
10130
+ }
10131
+
10132
+ declare const name$r = "resetKey";
10133
+ declare const mutation$k: {
10134
+ resetKey: [{
10135
+ data: Variable<"ResetKeyInput!", "data">;
10136
+ }, true];
10137
+ };
10138
+ interface IInput$u {
10139
+ /**
10140
+ * @private
10141
+ */
10142
+ [key: string]: unknown;
10143
+ data: ModelTypes['ResetKeyInput'];
10144
+ }
10145
+ type IOutput$u = InputType<GraphQLTypes['Mutation'], typeof mutation$k>;
10146
+
10147
+ declare namespace resetKey {
10273
10148
  export { type IInput$u as IInput, type IOutput$u as IOutput, mutation$k as mutation, name$r as name };
10274
10149
  }
10275
10150
 
@@ -10292,28 +10167,143 @@ declare namespace startResetKey {
10292
10167
  export { type IInput$t as IInput, type IOutput$t as IOutput, mutation$j as mutation, name$q as name };
10293
10168
  }
10294
10169
 
10295
- declare const name$p = "resetKey";
10170
+ declare const name$p = "updateAccount";
10296
10171
  declare const mutation$i: {
10297
- resetKey: [{
10298
- data: Variable<"ResetKeyInput!", "data">;
10299
- }, true];
10172
+ updateAccount: [{
10173
+ data: Variable<"UpdateAccountInput!", "data">;
10174
+ }, {
10175
+ username: boolean;
10176
+ blockchain_account: {
10177
+ account_name: boolean;
10178
+ core_liquid_balance: boolean;
10179
+ cpu_limit: {
10180
+ available: boolean;
10181
+ current_used: boolean;
10182
+ last_usage_update_time: boolean;
10183
+ max: boolean;
10184
+ used: boolean;
10185
+ };
10186
+ cpu_weight: boolean;
10187
+ created: boolean;
10188
+ head_block_num: boolean;
10189
+ head_block_time: boolean;
10190
+ last_code_update: boolean;
10191
+ net_limit: {
10192
+ available: boolean;
10193
+ current_used: boolean;
10194
+ last_usage_update_time: boolean;
10195
+ max: boolean;
10196
+ used: boolean;
10197
+ };
10198
+ net_weight: boolean;
10199
+ permissions: {
10200
+ parent: boolean;
10201
+ perm_name: boolean;
10202
+ required_auth: {
10203
+ accounts: {
10204
+ permission: {
10205
+ actor: boolean;
10206
+ permission: boolean;
10207
+ };
10208
+ weight: boolean;
10209
+ };
10210
+ keys: {
10211
+ key: boolean;
10212
+ weight: boolean;
10213
+ };
10214
+ threshold: boolean;
10215
+ waits: {
10216
+ wait_sec: boolean;
10217
+ weight: boolean;
10218
+ };
10219
+ };
10220
+ };
10221
+ privileged: boolean;
10222
+ ram_quota: boolean;
10223
+ ram_usage: boolean;
10224
+ refund_request: {
10225
+ cpu_amount: boolean;
10226
+ net_amount: boolean;
10227
+ owner: boolean;
10228
+ request_time: boolean;
10229
+ };
10230
+ rex_info: boolean;
10231
+ self_delegated_bandwidth: {
10232
+ cpu_weight: boolean;
10233
+ from: boolean;
10234
+ net_weight: boolean;
10235
+ to: boolean;
10236
+ };
10237
+ total_resources: {
10238
+ cpu_weight: boolean;
10239
+ net_weight: boolean;
10240
+ owner: boolean;
10241
+ ram_bytes: boolean;
10242
+ };
10243
+ voter_info: boolean;
10244
+ };
10245
+ provider_account: {
10246
+ email: boolean;
10247
+ has_account: boolean;
10248
+ initial_order: boolean;
10249
+ is_email_verified: boolean;
10250
+ is_registered: boolean;
10251
+ message: boolean;
10252
+ public_key: boolean;
10253
+ referer: boolean;
10254
+ role: boolean;
10255
+ status: boolean;
10256
+ type: boolean;
10257
+ username: boolean;
10258
+ };
10259
+ participant_account: {
10260
+ braname: boolean;
10261
+ created_at: boolean;
10262
+ has_vote: boolean;
10263
+ is_initial: boolean;
10264
+ is_minimum: boolean;
10265
+ last_min_pay: boolean;
10266
+ last_update: boolean;
10267
+ status: boolean;
10268
+ type: boolean;
10269
+ username: boolean;
10270
+ };
10271
+ user_account: {
10272
+ meta: boolean;
10273
+ referer: boolean;
10274
+ registered_at: boolean;
10275
+ registrator: boolean;
10276
+ status: boolean;
10277
+ storages: boolean;
10278
+ type: boolean;
10279
+ username: boolean;
10280
+ verifications: {
10281
+ created_at: boolean;
10282
+ is_verified: boolean;
10283
+ last_update: boolean;
10284
+ notice: boolean;
10285
+ procedure: boolean;
10286
+ verificator: boolean;
10287
+ };
10288
+ };
10289
+ }];
10300
10290
  };
10301
10291
  interface IInput$s {
10302
10292
  /**
10303
10293
  * @private
10304
10294
  */
10305
10295
  [key: string]: unknown;
10306
- data: ModelTypes['ResetKeyInput'];
10296
+ data: ModelTypes['UpdateAccountInput'];
10307
10297
  }
10308
10298
  type IOutput$s = InputType<GraphQLTypes['Mutation'], typeof mutation$i>;
10309
10299
 
10310
- declare namespace resetKey {
10300
+ declare namespace updateAccount {
10311
10301
  export { type IInput$s as IInput, type IOutput$s as IOutput, mutation$i as mutation, name$p as name };
10312
10302
  }
10313
10303
 
10314
- /** Обновить аккаунт в системе провайдера. Обновление аккаунта пользователя производится по username. Мутация позволяет изменить приватные данные пользователя, а также, адрес электронной почты в MONO. Использовать мутацию может только председатель совета. */
10304
+ /** Зарегистрировать аккаунт пользователя в системе */
10315
10305
 
10316
- declare namespace index$e {
10306
+ declare namespace index$h {
10317
10307
  export { registerAccount as RegisterAccount, resetKey as ResetKey, startResetKey as StartResetKey, updateAccount as UpdateAccount };
10318
10308
  }
10319
10309
 
@@ -10630,7 +10620,7 @@ declare namespace login {
10630
10620
 
10631
10621
  /** Обновить токен доступа аккаунта */
10632
10622
 
10633
- declare namespace index$d {
10623
+ declare namespace index$g {
10634
10624
  export { login as Login, logout as Logout, refresh as Refresh };
10635
10625
  }
10636
10626
 
@@ -11255,7 +11245,7 @@ declare namespace updateSystem {
11255
11245
 
11256
11246
  /** Произвести инициализацию программного обеспечения перед установкой совета методом install */
11257
11247
 
11258
- declare namespace index$c {
11248
+ declare namespace index$f {
11259
11249
  export { initSystem as InitSystem, installSystem as InstallSystem, setWif as SetWif, updateSystem as UpdateSystem };
11260
11250
  }
11261
11251
 
@@ -11263,7 +11253,7 @@ declare const name$h = "generateParticipantApplication";
11263
11253
  declare const mutation$a: {
11264
11254
  generateParticipantApplication: [{
11265
11255
  data: Variable<"ParticipantApplicationGenerateDocumentInput!", "data">;
11266
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
11256
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
11267
11257
  }, {
11268
11258
  meta: {
11269
11259
  block_num: boolean;
@@ -11302,7 +11292,7 @@ declare const name$g = "generateParticipantApplicationDecision";
11302
11292
  declare const mutation$9: {
11303
11293
  generateParticipantApplicationDecision: [{
11304
11294
  data: Variable<"ParticipantApplicationDecisionGenerateDocumentInput!", "data">;
11305
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
11295
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
11306
11296
  }, {
11307
11297
  meta: {
11308
11298
  decision_id: boolean;
@@ -11608,7 +11598,7 @@ declare namespace addParticipant {
11608
11598
 
11609
11599
  /** Сгенерировать документ заявления о вступлении в кооператив. */
11610
11600
 
11611
- declare namespace index$b {
11601
+ declare namespace index$e {
11612
11602
  export { addParticipant as AddParticipant, generateParticipantApplication as GenerateParticipantApplication, generateParticipantApplicationDecision as GenerateParticipantApplicationDecision, registerParticipant as RegisterParticipant };
11613
11603
  }
11614
11604
 
@@ -11734,7 +11724,7 @@ declare namespace setPaymentStatus {
11734
11724
 
11735
11725
  /** Создание объекта регистрационного платежа производится мутацией CreateInitial. Выполнение мутации возвращает идентификатор платежа и данные для его совершения в зависимости от выбранного платежного провайдера. */
11736
11726
 
11737
- declare namespace index$a {
11727
+ declare namespace index$d {
11738
11728
  export { createDeposit as CreateDepositPayment, createInitial as CreateInitialPayment, setPaymentStatus as SetPaymentStatus };
11739
11729
  }
11740
11730
 
@@ -11742,7 +11732,7 @@ declare const name$a = "generatePrivacyAgreement";
11742
11732
  declare const mutation$3: {
11743
11733
  generatePrivacyAgreement: [{
11744
11734
  data: Variable<"GenerateDocumentInput!", "data">;
11745
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
11735
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
11746
11736
  }, {
11747
11737
  binary: boolean;
11748
11738
  full_title: boolean;
@@ -11781,7 +11771,7 @@ declare const name$9 = "generateSignatureAgreement";
11781
11771
  declare const mutation$2: {
11782
11772
  generateSignatureAgreement: [{
11783
11773
  data: Variable<"GenerateDocumentInput!", "data">;
11784
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
11774
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
11785
11775
  }, {
11786
11776
  binary: boolean;
11787
11777
  full_title: boolean;
@@ -11820,7 +11810,7 @@ declare const name$8 = "generateWalletAgreement";
11820
11810
  declare const mutation$1: {
11821
11811
  generateWalletAgreement: [{
11822
11812
  data: Variable<"GenerateDocumentInput!", "data">;
11823
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
11813
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
11824
11814
  }, {
11825
11815
  binary: boolean;
11826
11816
  full_title: boolean;
@@ -11859,7 +11849,7 @@ declare const name$7 = "generateUserAgreement";
11859
11849
  declare const mutation: {
11860
11850
  generateUserAgreement: [{
11861
11851
  data: Variable<"GenerateDocumentInput!", "data">;
11862
- options: Variable<"GenerateDocumentOptionsInput!", "options">;
11852
+ options: Variable<"GenerateDocumentOptionsInput", "options">;
11863
11853
  }, {
11864
11854
  binary: boolean;
11865
11855
  full_title: boolean;
@@ -11897,12 +11887,12 @@ declare namespace generateUserAgreement {
11897
11887
 
11898
11888
  /** Сгенерировать документ согласия с политикой конфиденциальности. */
11899
11889
 
11900
- declare namespace index$9 {
11890
+ declare namespace index$c {
11901
11891
  export { generatePrivacyAgreement as GeneratePrivacyAgreement, generateSignatureAgreement as GenerateSignatureAgreement, generateUserAgreement as GenerateUserAgreement, generateWalletAgreement as GenerateWalletAgreement };
11902
11892
  }
11903
11893
 
11904
11894
  declare namespace Mutations {
11905
- export { index$e as Accounts, index$9 as Agreements, index$d as Auth, index$g as Branches, index$i as Extensions, index$f as FreeDecisions, index$b as Participants, index$h as PaymentMethods, index$a as Payments, index$c as System };
11895
+ export { index$h as Accounts, index$c as Agreements, index$g as Auth, index$j as Branches, index$l as Extensions, index$i as FreeDecisions, index$e as Participants, index$k as PaymentMethods, index$d as Payments, index$f as System };
11906
11896
  }
11907
11897
 
11908
11898
  declare const name$6 = "getExtensions";
@@ -11944,7 +11934,7 @@ declare namespace getExtensions {
11944
11934
 
11945
11935
  /** Получить список расширений */
11946
11936
 
11947
- declare namespace index$8 {
11937
+ declare namespace index$b {
11948
11938
  export { getExtensions as GetExtensions };
11949
11939
  }
11950
11940
 
@@ -12000,7 +11990,7 @@ declare namespace getPaymentMethods {
12000
11990
 
12001
11991
  /** Получить список методов оплаты */
12002
11992
 
12003
- declare namespace index$7 {
11993
+ declare namespace index$a {
12004
11994
  export { getPaymentMethods as GetPaymentMethods };
12005
11995
  }
12006
11996
 
@@ -12206,7 +12196,7 @@ declare namespace getSystemInfo {
12206
12196
 
12207
12197
  /** Получить сводную публичную информацию о системе */
12208
12198
 
12209
- declare namespace index$6 {
12199
+ declare namespace index$9 {
12210
12200
  export { getSystemInfo as GetSystemInfo };
12211
12201
  }
12212
12202
 
@@ -12495,7 +12485,7 @@ declare namespace getAccounts {
12495
12485
 
12496
12486
  /** Получить сводную информацию о аккаунте */
12497
12487
 
12498
- declare namespace index$5 {
12488
+ declare namespace index$8 {
12499
12489
  export { getAccount as GetAccount, getAccounts as GetAccounts };
12500
12490
  }
12501
12491
 
@@ -12665,7 +12655,7 @@ declare namespace getPublicBranches {
12665
12655
 
12666
12656
  /** Получить список кооперативных участков */
12667
12657
 
12668
- declare namespace index$4 {
12658
+ declare namespace index$7 {
12669
12659
  export { getBranches as GetBranches, getPublicBranches as GetPublicBranches };
12670
12660
  }
12671
12661
 
@@ -12718,7 +12708,7 @@ declare namespace getPayments {
12718
12708
 
12719
12709
  /** Получить список платежей */
12720
12710
 
12721
- declare namespace index$3 {
12711
+ declare namespace index$6 {
12722
12712
  export { getPayments as GetPayments };
12723
12713
  }
12724
12714
 
@@ -13352,7 +13342,7 @@ declare namespace getDocuments {
13352
13342
  export { type IInput$1 as IInput, type IOutput$1 as IOutput, query$1 as query };
13353
13343
  }
13354
13344
 
13355
- declare namespace index$2 {
13345
+ declare namespace index$5 {
13356
13346
  export { getDocuments as GetDocuments };
13357
13347
  }
13358
13348
 
@@ -14051,50 +14041,237 @@ declare namespace getAgenda {
14051
14041
 
14052
14042
  /** Получить список вопросов совета кооператива для голосования */
14053
14043
 
14054
- declare namespace index$1 {
14044
+ declare namespace index$4 {
14055
14045
  export { getAgenda as GetAgenda };
14056
14046
  }
14057
14047
 
14058
- declare namespace index {
14059
- export { index$5 as Accounts, index$1 as Agenda, index$4 as Branches, index$2 as Documents, index$8 as Extensions, index$7 as PaymentMethods, index$3 as Payments, index$6 as System };
14048
+ declare namespace index$3 {
14049
+ export { index$8 as Accounts, index$4 as Agenda, index$7 as Branches, index$5 as Documents, index$b as Extensions, index$a as PaymentMethods, index$6 as Payments, index$9 as System };
14060
14050
  }
14061
14051
 
14062
- /**
14063
- * Создаёт клиент для взаимодействия с API, поддерживающий выполнение запросов, мутаций, подписок,
14064
- * а также операций с блокчейном. Позволяет динамически изменять заголовок авторизации.
14065
- *
14066
- * @param options - Опции для настройки подключения клиента.
14067
- * @param options.api_url - Базовый URL API, с которым будет происходить взаимодействие.
14068
- * @param options.headers - Необязательные заголовки, которые будут добавляться ко всем запросам. По умолчанию — пустой объект.
14069
- * @param options.chain_url - URL узла блокчейна.
14070
- * @param options.chain_id - Уникальный идентификатор цепочки блокчейна.
14071
- *
14072
- * @returns Объект, содержащий методы для работы с API:
14073
- * - `setToken`: Устанавливает заголовок Authorization с переданным токеном.
14074
- * - `Query`: Метод для выполнения GraphQL-запросов.
14075
- * - `Mutation`: Метод для выполнения GraphQL-мутаций.
14076
- * - `Subscription`: Метод для подписки на события через WebSocket с использованием протокола GraphQL Subscriptions.
14077
- * - `Blockchain`: Экземпляр класса Blockchain для взаимодействия с функциями блокчейна.
14078
- *
14079
- * @example
14080
- * ```typescript
14081
- * const client = createClient({
14082
- * baseUrl: 'https://api.example.com',
14083
- * headers: { 'Custom-Header': 'значение' },
14084
- * blockchainUrl: 'https://blockchain.example.com',
14085
- * chainId: '12345'
14086
- * });
14087
- *
14088
- * client.setToken('ваш-токен');
14089
- *
14090
- * const data = await client.Query({
14091
- * someField: true,
14092
- * });
14093
- * ```
14094
- */
14095
- declare function createClient(options: ClientConnectionOptions): {
14096
- setToken: (token: string) => void;
14097
- Query: <Z extends AliasType<{
14052
+ type index$2_BlockchainConfig = BlockchainConfig;
14053
+ type index$2_IndexPosition = IndexPosition;
14054
+ declare namespace index$2 {
14055
+ export type { index$2_BlockchainConfig as BlockchainConfig, index$2_IndexPosition as IndexPosition };
14056
+ }
14057
+
14058
+ interface DeserializedDescriptionOfExtension {
14059
+ /**
14060
+ * Название или метка, которая будет отображаться как подпись к полю ввода.
14061
+ * Обязательное поле.
14062
+ */
14063
+ label: string;
14064
+ /**
14065
+ * Примечание или дополнительная информация, связанная с полем.
14066
+ * Отображается как подсказка или вспомогательный текст рядом с полем.
14067
+ * Необязательное поле.
14068
+ */
14069
+ note?: string;
14070
+ /**
14071
+ * Управляет видимостью поля. Если установлено в `false`, поле будет скрыто.
14072
+ * По умолчанию `true` (поле видимо).
14073
+ * Необязательное поле.
14074
+ */
14075
+ visible?: boolean;
14076
+ /**
14077
+ * Набор правил валидации, определенных как строковые выражения, например `['val > 0']`.
14078
+ * Эти выражения интерпретируются как логические проверки, применяемые к значению поля.
14079
+ * Необязательное поле.
14080
+ */
14081
+ rules?: string[];
14082
+ /**
14083
+ * Маска для ввода, которая ограничивает допустимые символы и формат поля ввода.
14084
+ * Используется для ограничения ввода, например, к числам или специфическим форматам.
14085
+ * Необязательное поле.
14086
+ */
14087
+ mask?: string;
14088
+ /**
14089
+ * Определяет, будет ли маска заполняться автоматически, когда значение не полностью введено.
14090
+ * Обычно используется с `mask`, чтобы показать пользователю заполненный шаблон.
14091
+ * Необязательное поле.
14092
+ */
14093
+ fillMask?: boolean;
14094
+ /**
14095
+ * Минимальная длина строки для текстовых полей.
14096
+ * Проверяется валидацией, чтобы гарантировать, что ввод соответствует минимальной длине.
14097
+ * Необязательное поле.
14098
+ */
14099
+ minLength?: number;
14100
+ /**
14101
+ * Максимальная длина строки для текстовых полей.
14102
+ * Проверяется валидацией, чтобы гарантировать, что ввод не превышает максимальную длину.
14103
+ * Необязательное поле.
14104
+ */
14105
+ maxLength?: number;
14106
+ /**
14107
+ * Максимальное количество строк для многострочных текстовых полей.
14108
+ * Если указано, поле ввода будет отображаться как многострочное (`textarea`).
14109
+ * Необязательное поле.
14110
+ */
14111
+ maxRows?: number;
14112
+ append?: string;
14113
+ prepend?: string;
14114
+ }
14115
+
14116
+ /** Return value of `/v1/chain/get_info` */
14117
+ interface GetInfoResult {
14118
+ server_version: string;
14119
+ chain_id: string;
14120
+ head_block_num: number;
14121
+ last_irreversible_block_num: number;
14122
+ last_irreversible_block_id: string;
14123
+ last_irreversible_block_time?: string;
14124
+ head_block_id: string;
14125
+ head_block_time: string;
14126
+ head_block_producer: string;
14127
+ virtual_block_cpu_limit: number;
14128
+ virtual_block_net_limit: number;
14129
+ block_cpu_limit: number;
14130
+ block_net_limit: number;
14131
+ server_version_string?: string;
14132
+ fork_db_head_block_num?: number;
14133
+ fork_db_head_block_id?: string;
14134
+ server_full_version_string?: string;
14135
+ first_block_num?: number;
14136
+ }
14137
+
14138
+ interface BlockchainAccountInterface {
14139
+ account_name: string;
14140
+ head_block_num: number;
14141
+ head_block_time: string;
14142
+ privileged: boolean;
14143
+ last_code_update: string;
14144
+ created: string;
14145
+ core_liquid_balance?: string;
14146
+ ram_quota: number;
14147
+ net_weight: string;
14148
+ cpu_weight: string;
14149
+ net_limit: AccountResourceInfo;
14150
+ cpu_limit: AccountResourceInfo;
14151
+ ram_usage: number;
14152
+ permissions: Permission[];
14153
+ total_resources: ResourceOverview | null;
14154
+ self_delegated_bandwidth: ResourceDelegation | null;
14155
+ refund_request: RefundRequest | null;
14156
+ voter_info: any;
14157
+ rex_info: any;
14158
+ }
14159
+ interface AccountResourceInfo {
14160
+ used: string;
14161
+ available: string;
14162
+ max: string;
14163
+ last_usage_update_time?: string;
14164
+ current_used?: string;
14165
+ }
14166
+ interface Authority {
14167
+ threshold: number;
14168
+ keys: KeyWeight[];
14169
+ accounts: PermissionLevelWeight[];
14170
+ waits: WaitWeight[];
14171
+ }
14172
+ interface KeyWeight {
14173
+ key: string;
14174
+ weight: number;
14175
+ }
14176
+ interface Permission {
14177
+ perm_name: string;
14178
+ parent: string;
14179
+ required_auth: Authority;
14180
+ }
14181
+ interface PermissionLevel {
14182
+ actor: string;
14183
+ permission: string;
14184
+ }
14185
+ interface PermissionLevelWeight {
14186
+ permission: PermissionLevel;
14187
+ weight: number;
14188
+ }
14189
+ interface WaitWeight {
14190
+ wait_sec: number;
14191
+ weight: number;
14192
+ }
14193
+ interface ResourceOverview {
14194
+ owner: string;
14195
+ ram_bytes: number;
14196
+ net_weight: string;
14197
+ cpu_weight: string;
14198
+ }
14199
+ interface ResourceDelegation {
14200
+ from: string;
14201
+ to: string;
14202
+ net_weight: string;
14203
+ cpu_weight: string;
14204
+ }
14205
+ interface RefundRequest {
14206
+ owner: string;
14207
+ request_time: string;
14208
+ net_amount: string;
14209
+ cpu_amount: string;
14210
+ }
14211
+
14212
+ type index$1_AccountResourceInfo = AccountResourceInfo;
14213
+ type index$1_Authority = Authority;
14214
+ type index$1_BlockchainAccountInterface = BlockchainAccountInterface;
14215
+ type index$1_DeserializedDescriptionOfExtension = DeserializedDescriptionOfExtension;
14216
+ type index$1_GetInfoResult = GetInfoResult;
14217
+ type index$1_KeyWeight = KeyWeight;
14218
+ type index$1_Permission = Permission;
14219
+ type index$1_PermissionLevel = PermissionLevel;
14220
+ type index$1_PermissionLevelWeight = PermissionLevelWeight;
14221
+ type index$1_RefundRequest = RefundRequest;
14222
+ type index$1_ResourceDelegation = ResourceDelegation;
14223
+ type index$1_ResourceOverview = ResourceOverview;
14224
+ type index$1_WaitWeight = WaitWeight;
14225
+ declare namespace index$1 {
14226
+ export type { index$1_AccountResourceInfo as AccountResourceInfo, index$1_Authority as Authority, index$1_BlockchainAccountInterface as BlockchainAccountInterface, index$1_DeserializedDescriptionOfExtension as DeserializedDescriptionOfExtension, index$1_GetInfoResult as GetInfoResult, index$1_KeyWeight as KeyWeight, index$1_Permission as Permission, index$1_PermissionLevel as PermissionLevel, index$1_PermissionLevelWeight as PermissionLevelWeight, index$1_RefundRequest as RefundRequest, index$1_ResourceDelegation as ResourceDelegation, index$1_ResourceOverview as ResourceOverview, index$1_WaitWeight as WaitWeight };
14227
+ }
14228
+
14229
+ declare namespace index {
14230
+ export { index$2 as Blockchain, index$n as Client, index$1 as Controller, index$m as Document };
14231
+ }
14232
+
14233
+ declare class Client {
14234
+ private readonly options;
14235
+ private static instance;
14236
+ private currentHeaders;
14237
+ private blockchain;
14238
+ private document;
14239
+ private thunder;
14240
+ private static scalars;
14241
+ private constructor();
14242
+ /**
14243
+ * Инициализация клиента с заданными опциями.
14244
+ * @param options Параметры соединения.
14245
+ */
14246
+ static create(options: ClientConnectionOptions): Client;
14247
+ /**
14248
+ * Возвращает текущий экземпляр клиента.
14249
+ */
14250
+ static getInstance(): Client;
14251
+ /**
14252
+ * Логин пользователя с использованием email и WIF.
14253
+ * @param email Email пользователя.
14254
+ * @param wif Приватный ключ в формате WIF.
14255
+ * @returns Результат логина.
14256
+ */
14257
+ login(email: string, wif: string): Promise<IOutput$p['login']>;
14258
+ /**
14259
+ * Установка токена авторизации.
14260
+ * @param token Токен для заголовков Authorization.
14261
+ */
14262
+ setToken(token: string): void;
14263
+ /**
14264
+ * Доступ к Blockchain.
14265
+ */
14266
+ get Blockchain(): Blockchain;
14267
+ /**
14268
+ * Доступ к Document.
14269
+ */
14270
+ get Document(): Document;
14271
+ /**
14272
+ * Доступ к GraphQL-запросам.
14273
+ */
14274
+ get Query(): <Z extends AliasType<{
14098
14275
  getAccount?: [{
14099
14276
  data: ValueTypes["GetAccountInput"] | Variable<any, string>;
14100
14277
  }, ValueTypes["Account"]];
@@ -14121,7 +14298,7 @@ declare function createClient(options: ClientConnectionOptions): {
14121
14298
  }, ValueTypes["PaymentPaginationResult"]];
14122
14299
  getSystemInfo?: ValueTypes["SystemInfo"];
14123
14300
  __typename?: boolean | `@${string}`;
14124
- }>>(o: Z & { [P in keyof Z]: P extends "__typename" | "__directives" | "__alias" | "getAccount" | "getAccounts" | "getAgenda" | "getBranches" | "getDocuments" | "getExtensions" | "getPaymentMethods" | "getPayments" | "getSystemInfo" ? Z[P] : never; }, ops?: OperationOptions & {
14301
+ }>>(o: Z & { [P in keyof Z]: P extends "__alias" | "__typename" | "__directives" | "getAccount" | "getAccounts" | "getAgenda" | "getBranches" | "getDocuments" | "getExtensions" | "getPaymentMethods" | "getPayments" | "getSystemInfo" ? Z[P] : never; }, ops?: OperationOptions & {
14125
14302
  variables?: Record<string, unknown>;
14126
14303
  }) => Promise<InputType<{
14127
14304
  __typename: "Query";
@@ -14134,18 +14311,11 @@ declare function createClient(options: ClientConnectionOptions): {
14134
14311
  getPaymentMethods: GraphQLTypes["PaymentMethodPaginationResult"];
14135
14312
  getPayments: GraphQLTypes["PaymentPaginationResult"];
14136
14313
  getSystemInfo: GraphQLTypes["SystemInfo"];
14137
- }, Z, Omit<{
14138
- DateTime: {
14139
- decode: (e: unknown) => Date;
14140
- encode: (e: unknown) => string;
14141
- };
14142
- }, "DateTime"> & {
14143
- DateTime: {
14144
- decode: (e: unknown) => Date;
14145
- encode: (e: unknown) => string;
14146
- };
14147
- }>>;
14148
- Mutation: <Z extends AliasType<{
14314
+ }, Z, Omit<ScalarDefinition, string> & ScalarDefinition>>;
14315
+ /**
14316
+ * Доступ к GraphQL-мутациям.
14317
+ */
14318
+ get Mutation(): <Z extends AliasType<{
14149
14319
  addParticipant?: [{
14150
14320
  data: ValueTypes["AddParticipantInput"] | Variable<any, string>;
14151
14321
  }, ValueTypes["Account"]];
@@ -14167,9 +14337,6 @@ declare function createClient(options: ClientConnectionOptions): {
14167
14337
  createProjectOfFreeDecision?: [{
14168
14338
  data: ValueTypes["CreateProjectFreeDecisionInput"] | Variable<any, string>;
14169
14339
  }, ValueTypes["CreatedProjectFreeDecision"]];
14170
- deleteAccount?: [{
14171
- data: ValueTypes["DeleteAccountInput"] | Variable<any, string>;
14172
- }, boolean | `@${string}`];
14173
14340
  deleteBranch?: [{
14174
14341
  data: ValueTypes["DeleteBranchInput"] | Variable<any, string>;
14175
14342
  }, boolean | `@${string}`];
@@ -14276,7 +14443,7 @@ declare function createClient(options: ClientConnectionOptions): {
14276
14443
  data: ValueTypes["Update"] | Variable<any, string>;
14277
14444
  }, ValueTypes["SystemInfo"]];
14278
14445
  __typename?: boolean | `@${string}`;
14279
- }>>(o: Z & { [P in keyof Z]: P extends "login" | "addParticipant" | "addTrustedAccount" | "createBankAccount" | "createBranch" | "createDepositPayment" | "createInitialPayment" | "createProjectOfFreeDecision" | "deleteAccount" | "deleteBranch" | "deletePaymentMethod" | "deleteTrustedAccount" | "editBranch" | "generateFreeDecision" | "generateParticipantApplication" | "generateParticipantApplicationDecision" | "generatePrivacyAgreement" | "generateProjectOfFreeDecision" | "generateSelectBranchDocument" | "generateSignatureAgreement" | "generateUserAgreement" | "generateWalletAgreement" | "initSystem" | "installExtension" | "installSystem" | "logout" | "publishProjectOfFreeDecision" | "refresh" | "registerAccount" | "registerParticipant" | "resetKey" | "selectBranch" | "setPaymentStatus" | "setWif" | "startResetKey" | "uninstallExtension" | "updateAccount" | "updateBankAccount" | "updateExtension" | "updateSystem" | "__typename" | "__directives" | "__alias" ? Z[P] : never; }, ops?: OperationOptions & {
14446
+ }>>(o: Z & { [P in keyof Z]: P extends "__alias" | "__typename" | "login" | "addParticipant" | "addTrustedAccount" | "createBankAccount" | "createBranch" | "createDepositPayment" | "createInitialPayment" | "createProjectOfFreeDecision" | "deleteBranch" | "deletePaymentMethod" | "deleteTrustedAccount" | "editBranch" | "generateFreeDecision" | "generateParticipantApplication" | "generateParticipantApplicationDecision" | "generatePrivacyAgreement" | "generateProjectOfFreeDecision" | "generateSelectBranchDocument" | "generateSignatureAgreement" | "generateUserAgreement" | "generateWalletAgreement" | "initSystem" | "installExtension" | "installSystem" | "logout" | "publishProjectOfFreeDecision" | "refresh" | "registerAccount" | "registerParticipant" | "resetKey" | "selectBranch" | "setPaymentStatus" | "setWif" | "startResetKey" | "uninstallExtension" | "updateAccount" | "updateBankAccount" | "updateExtension" | "updateSystem" | "__directives" ? Z[P] : never; }, ops?: OperationOptions & {
14280
14447
  variables?: Record<string, unknown>;
14281
14448
  }) => Promise<InputType<{
14282
14449
  __typename: "Mutation";
@@ -14287,7 +14454,6 @@ declare function createClient(options: ClientConnectionOptions): {
14287
14454
  createDepositPayment: GraphQLTypes["Payment"];
14288
14455
  createInitialPayment: GraphQLTypes["Payment"];
14289
14456
  createProjectOfFreeDecision: GraphQLTypes["CreatedProjectFreeDecision"];
14290
- deleteAccount: boolean;
14291
14457
  deleteBranch: boolean;
14292
14458
  deletePaymentMethod: boolean;
14293
14459
  deleteTrustedAccount: GraphQLTypes["Branch"];
@@ -14320,22 +14486,19 @@ declare function createClient(options: ClientConnectionOptions): {
14320
14486
  updateBankAccount: GraphQLTypes["PaymentMethod"];
14321
14487
  updateExtension: GraphQLTypes["Extension"];
14322
14488
  updateSystem: GraphQLTypes["SystemInfo"];
14323
- }, Z, Omit<{
14324
- DateTime: {
14325
- decode: (e: unknown) => Date;
14326
- encode: (e: unknown) => string;
14327
- };
14328
- }, "DateTime"> & {
14329
- DateTime: {
14330
- decode: (e: unknown) => Date;
14331
- encode: (e: unknown) => string;
14332
- };
14333
- }>>;
14334
- Subscription: <O extends keyof typeof Ops, OVERRIDESCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<OVERRIDESCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z & { [P in keyof Z]: P extends keyof ValueTypes[R] ? Z[P] : never; }, ops?: (OperationOptions & {
14489
+ }, Z, Omit<ScalarDefinition, string> & ScalarDefinition>>;
14490
+ /**
14491
+ * Подписка на GraphQL-события.
14492
+ */
14493
+ get Subscription(): <O extends keyof typeof Ops, OVERRIDESCLR extends ScalarDefinition, R extends keyof ValueTypes = GenericOperation<O>>(operation: O, graphqlOptions?: ThunderGraphQLOptions<OVERRIDESCLR> | undefined) => <Z extends ValueTypes[R]>(o: Z & { [P in keyof Z]: P extends keyof ValueTypes[R] ? Z[P] : never; }, ops?: (OperationOptions & {
14335
14494
  variables?: ExtractVariables<Z> | undefined;
14336
14495
  }) | undefined) => SubscriptionToGraphQL<Z, GraphQLTypes[R], Omit<ScalarDefinition, keyof OVERRIDESCLR> & OVERRIDESCLR>;
14337
- Wallet: Wallet;
14338
- login: (email: string, wif: string) => Promise<IOutput$p["login"]>;
14339
- };
14496
+ /**
14497
+ * Создает функцию Thunder для выполнения GraphQL-запросов.
14498
+ * @param baseUrl URL GraphQL API.
14499
+ * @returns Функция Thunder.
14500
+ */
14501
+ private static createThunder;
14502
+ }
14340
14503
 
14341
- export { Classes, Mutations, index as Queries, index$j as Types, index$k as Zeus, createClient };
14504
+ export { Classes, Client, Mutations, index$3 as Queries, index as Types, index$o as Zeus };