@coopenomics/sdk 2.2.5 → 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.cjs +17 -23
- package/dist/index.d.cts +145 -188
- package/dist/index.d.mts +145 -188
- package/dist/index.d.ts +145 -188
- package/dist/index.mjs +17 -23
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -428,7 +428,6 @@ const AllTypesProps = {
|
|
|
428
428
|
},
|
|
429
429
|
CreateProjectFreeDecisionInput: {},
|
|
430
430
|
DateTime: `scalar.DateTime`,
|
|
431
|
-
DeleteAccountInput: {},
|
|
432
431
|
DeleteBranchInput: {},
|
|
433
432
|
DeletePaymentMethodInput: {},
|
|
434
433
|
DeleteTrustedAccountInput: {},
|
|
@@ -489,9 +488,6 @@ const AllTypesProps = {
|
|
|
489
488
|
createProjectOfFreeDecision: {
|
|
490
489
|
data: "CreateProjectFreeDecisionInput"
|
|
491
490
|
},
|
|
492
|
-
deleteAccount: {
|
|
493
|
-
data: "DeleteAccountInput"
|
|
494
|
-
},
|
|
495
491
|
deleteBranch: {
|
|
496
492
|
data: "DeleteBranchInput"
|
|
497
493
|
},
|
|
@@ -647,7 +643,6 @@ const AllTypesProps = {
|
|
|
647
643
|
entrepreneur_data: "CreateEntrepreneurDataInput",
|
|
648
644
|
individual_data: "CreateIndividualDataInput",
|
|
649
645
|
organization_data: "CreateOrganizationDataInput",
|
|
650
|
-
role: "RegisterRole",
|
|
651
646
|
type: "AccountType"
|
|
652
647
|
},
|
|
653
648
|
RegisterParticipantInput: {
|
|
@@ -1088,7 +1083,6 @@ const ReturnTypes = {
|
|
|
1088
1083
|
createDepositPayment: "Payment",
|
|
1089
1084
|
createInitialPayment: "Payment",
|
|
1090
1085
|
createProjectOfFreeDecision: "CreatedProjectFreeDecision",
|
|
1091
|
-
deleteAccount: "Boolean",
|
|
1092
1086
|
deleteBranch: "Boolean",
|
|
1093
1087
|
deletePaymentMethod: "Boolean",
|
|
1094
1088
|
deleteTrustedAccount: "Branch",
|
|
@@ -2826,17 +2820,6 @@ const index$k = {
|
|
|
2826
2820
|
PublishProjectOfFreeDecision: publishProjectOfFreeDecision
|
|
2827
2821
|
};
|
|
2828
2822
|
|
|
2829
|
-
const name$v = "updateAccount";
|
|
2830
|
-
const mutation$l = Selector("Mutation")({
|
|
2831
|
-
[name$v]: [{ data: $("data", "UpdateAccountInput!") }, accountSelector]
|
|
2832
|
-
});
|
|
2833
|
-
|
|
2834
|
-
const updateAccount = {
|
|
2835
|
-
__proto__: null,
|
|
2836
|
-
mutation: mutation$l,
|
|
2837
|
-
name: name$v
|
|
2838
|
-
};
|
|
2839
|
-
|
|
2840
2823
|
const rawTokenSelector = {
|
|
2841
2824
|
expires: true,
|
|
2842
2825
|
token: true
|
|
@@ -2853,12 +2836,23 @@ const registeredAccountSelector = Selector("RegisteredAccount")(
|
|
|
2853
2836
|
rawRegisteredAccountSelector
|
|
2854
2837
|
);
|
|
2855
2838
|
|
|
2856
|
-
const name$
|
|
2857
|
-
const mutation$
|
|
2858
|
-
[name$
|
|
2839
|
+
const name$v = "registerAccount";
|
|
2840
|
+
const mutation$l = Selector("Mutation")({
|
|
2841
|
+
[name$v]: [{ data: $("data", "RegisterAccountInput!") }, registeredAccountSelector]
|
|
2859
2842
|
});
|
|
2860
2843
|
|
|
2861
2844
|
const registerAccount = {
|
|
2845
|
+
__proto__: null,
|
|
2846
|
+
mutation: mutation$l,
|
|
2847
|
+
name: name$v
|
|
2848
|
+
};
|
|
2849
|
+
|
|
2850
|
+
const name$u = "resetKey";
|
|
2851
|
+
const mutation$k = Selector("Mutation")({
|
|
2852
|
+
[name$u]: [{ data: $("data", "ResetKeyInput!") }, true]
|
|
2853
|
+
});
|
|
2854
|
+
|
|
2855
|
+
const resetKey = {
|
|
2862
2856
|
__proto__: null,
|
|
2863
2857
|
mutation: mutation$k,
|
|
2864
2858
|
name: name$u
|
|
@@ -2875,12 +2869,12 @@ const startResetKey = {
|
|
|
2875
2869
|
name: name$t
|
|
2876
2870
|
};
|
|
2877
2871
|
|
|
2878
|
-
const name$s = "
|
|
2872
|
+
const name$s = "updateAccount";
|
|
2879
2873
|
const mutation$i = Selector("Mutation")({
|
|
2880
|
-
[name$s]: [{ data: $("data", "
|
|
2874
|
+
[name$s]: [{ data: $("data", "UpdateAccountInput!") }, accountSelector]
|
|
2881
2875
|
});
|
|
2882
2876
|
|
|
2883
|
-
const
|
|
2877
|
+
const updateAccount = {
|
|
2884
2878
|
__proto__: null,
|
|
2885
2879
|
mutation: mutation$i,
|
|
2886
2880
|
name: name$s
|
package/dist/index.d.cts
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
|
/** Фильтр по имени аккаунта кооперативного участка */
|
|
@@ -1277,9 +1272,6 @@ type ValueTypes = {
|
|
|
1277
1272
|
createProjectOfFreeDecision?: [{
|
|
1278
1273
|
data: ValueTypes["CreateProjectFreeDecisionInput"] | Variable<any, string>;
|
|
1279
1274
|
}, ValueTypes["CreatedProjectFreeDecision"]];
|
|
1280
|
-
deleteAccount?: [{
|
|
1281
|
-
data: ValueTypes["DeleteAccountInput"] | Variable<any, string>;
|
|
1282
|
-
}, boolean | `@${string}`];
|
|
1283
1275
|
deleteBranch?: [{
|
|
1284
1276
|
data: ValueTypes["DeleteBranchInput"] | Variable<any, string>;
|
|
1285
1277
|
}, boolean | `@${string}`];
|
|
@@ -1942,8 +1934,6 @@ type ValueTypes = {
|
|
|
1942
1934
|
public_key?: string | undefined | null | Variable<any, string>;
|
|
1943
1935
|
/** Имя аккаунта реферера */
|
|
1944
1936
|
referer?: string | undefined | null | Variable<any, string>;
|
|
1945
|
-
/** Роль пользователя */
|
|
1946
|
-
role: ValueTypes["RegisterRole"] | Variable<any, string>;
|
|
1947
1937
|
/** Тип аккаунта */
|
|
1948
1938
|
type: ValueTypes["AccountType"] | Variable<any, string>;
|
|
1949
1939
|
/** Имя пользователя */
|
|
@@ -2949,10 +2939,6 @@ type ResolverInputTypes = {
|
|
|
2949
2939
|
ParticipantApplicationDecisionDocument?: ResolverInputTypes["ParticipantApplicationDecisionDocument"];
|
|
2950
2940
|
__typename?: boolean | `@${string}`;
|
|
2951
2941
|
}>;
|
|
2952
|
-
["DeleteAccountInput"]: {
|
|
2953
|
-
/** Имя аккаунта пользователя */
|
|
2954
|
-
username_for_delete: string;
|
|
2955
|
-
};
|
|
2956
2942
|
["DeleteBranchInput"]: {
|
|
2957
2943
|
/** Имя аккаунта кооперативного участка */
|
|
2958
2944
|
braname: string;
|
|
@@ -3234,7 +3220,6 @@ type ResolverInputTypes = {
|
|
|
3234
3220
|
};
|
|
3235
3221
|
["GetAccountsInput"]: {
|
|
3236
3222
|
role?: string | undefined | null;
|
|
3237
|
-
username?: string | undefined | null;
|
|
3238
3223
|
};
|
|
3239
3224
|
["GetBranchesInput"]: {
|
|
3240
3225
|
/** Фильтр по имени аккаунта кооперативного участка */
|
|
@@ -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}`];
|
|
@@ -4099,8 +4081,6 @@ type ResolverInputTypes = {
|
|
|
4099
4081
|
public_key?: string | undefined | null;
|
|
4100
4082
|
/** Имя аккаунта реферера */
|
|
4101
4083
|
referer?: string | undefined | null;
|
|
4102
|
-
/** Роль пользователя */
|
|
4103
|
-
role: ResolverInputTypes["RegisterRole"];
|
|
4104
4084
|
/** Тип аккаунта */
|
|
4105
4085
|
type: ResolverInputTypes["AccountType"];
|
|
4106
4086
|
/** Имя пользователя */
|
|
@@ -5082,10 +5062,6 @@ type ModelTypes = {
|
|
|
5082
5062
|
};
|
|
5083
5063
|
/** Объединение типов документов протоколов решения совета */
|
|
5084
5064
|
["DecisionDocumentUnion"]: ModelTypes["FreeDecisionDocument"] | ModelTypes["ParticipantApplicationDecisionDocument"];
|
|
5085
|
-
["DeleteAccountInput"]: {
|
|
5086
|
-
/** Имя аккаунта пользователя */
|
|
5087
|
-
username_for_delete: string;
|
|
5088
|
-
};
|
|
5089
5065
|
["DeleteBranchInput"]: {
|
|
5090
5066
|
/** Имя аккаунта кооперативного участка */
|
|
5091
5067
|
braname: string;
|
|
@@ -5358,7 +5334,6 @@ type ModelTypes = {
|
|
|
5358
5334
|
};
|
|
5359
5335
|
["GetAccountsInput"]: {
|
|
5360
5336
|
role?: string | undefined | null;
|
|
5361
|
-
username?: string | undefined | null;
|
|
5362
5337
|
};
|
|
5363
5338
|
["GetBranchesInput"]: {
|
|
5364
5339
|
/** Фильтр по имени аккаунта кооперативного участка */
|
|
@@ -5547,8 +5522,6 @@ type ModelTypes = {
|
|
|
5547
5522
|
createInitialPayment: ModelTypes["Payment"];
|
|
5548
5523
|
/** Создать повестку дня и проект решения, и сохранить в хранилище для дальнейшей генерации документа и его публикации */
|
|
5549
5524
|
createProjectOfFreeDecision: ModelTypes["CreatedProjectFreeDecision"];
|
|
5550
|
-
/** Удалить аккаунт из системы учёта провайдера */
|
|
5551
|
-
deleteAccount: boolean;
|
|
5552
5525
|
/** Удалить кооперативный участок */
|
|
5553
5526
|
deleteBranch: boolean;
|
|
5554
5527
|
/** Удалить метод оплаты */
|
|
@@ -6132,8 +6105,6 @@ type ModelTypes = {
|
|
|
6132
6105
|
public_key?: string | undefined | null;
|
|
6133
6106
|
/** Имя аккаунта реферера */
|
|
6134
6107
|
referer?: string | undefined | null;
|
|
6135
|
-
/** Роль пользователя */
|
|
6136
|
-
role: ModelTypes["RegisterRole"];
|
|
6137
6108
|
/** Тип аккаунта */
|
|
6138
6109
|
type: ModelTypes["AccountType"];
|
|
6139
6110
|
/** Имя пользователя */
|
|
@@ -7117,10 +7088,6 @@ type GraphQLTypes = {
|
|
|
7117
7088
|
['...on FreeDecisionDocument']: '__union' & GraphQLTypes["FreeDecisionDocument"];
|
|
7118
7089
|
['...on ParticipantApplicationDecisionDocument']: '__union' & GraphQLTypes["ParticipantApplicationDecisionDocument"];
|
|
7119
7090
|
};
|
|
7120
|
-
["DeleteAccountInput"]: {
|
|
7121
|
-
/** Имя аккаунта пользователя */
|
|
7122
|
-
username_for_delete: string;
|
|
7123
|
-
};
|
|
7124
7091
|
["DeleteBranchInput"]: {
|
|
7125
7092
|
/** Имя аккаунта кооперативного участка */
|
|
7126
7093
|
braname: string;
|
|
@@ -7402,7 +7369,6 @@ type GraphQLTypes = {
|
|
|
7402
7369
|
};
|
|
7403
7370
|
["GetAccountsInput"]: {
|
|
7404
7371
|
role?: string | undefined | null;
|
|
7405
|
-
username?: string | undefined | null;
|
|
7406
7372
|
};
|
|
7407
7373
|
["GetBranchesInput"]: {
|
|
7408
7374
|
/** Фильтр по имени аккаунта кооперативного участка */
|
|
@@ -7598,8 +7564,6 @@ type GraphQLTypes = {
|
|
|
7598
7564
|
createInitialPayment: GraphQLTypes["Payment"];
|
|
7599
7565
|
/** Создать повестку дня и проект решения, и сохранить в хранилище для дальнейшей генерации документа и его публикации */
|
|
7600
7566
|
createProjectOfFreeDecision: GraphQLTypes["CreatedProjectFreeDecision"];
|
|
7601
|
-
/** Удалить аккаунт из системы учёта провайдера */
|
|
7602
|
-
deleteAccount: boolean;
|
|
7603
7567
|
/** Удалить кооперативный участок */
|
|
7604
7568
|
deleteBranch: boolean;
|
|
7605
7569
|
/** Удалить метод оплаты */
|
|
@@ -8210,8 +8174,6 @@ type GraphQLTypes = {
|
|
|
8210
8174
|
public_key?: string | undefined | null;
|
|
8211
8175
|
/** Имя аккаунта реферера */
|
|
8212
8176
|
referer?: string | undefined | null;
|
|
8213
|
-
/** Роль пользователя */
|
|
8214
|
-
role: GraphQLTypes["RegisterRole"];
|
|
8215
8177
|
/** Тип аккаунта */
|
|
8216
8178
|
type: GraphQLTypes["AccountType"];
|
|
8217
8179
|
/** Имя пользователя */
|
|
@@ -8747,7 +8709,6 @@ type ZEUS_VARIABLES = {
|
|
|
8747
8709
|
["CreateOrganizationDataInput"]: ValueTypes["CreateOrganizationDataInput"];
|
|
8748
8710
|
["CreateProjectFreeDecisionInput"]: ValueTypes["CreateProjectFreeDecisionInput"];
|
|
8749
8711
|
["DateTime"]: ValueTypes["DateTime"];
|
|
8750
|
-
["DeleteAccountInput"]: ValueTypes["DeleteAccountInput"];
|
|
8751
8712
|
["DeleteBranchInput"]: ValueTypes["DeleteBranchInput"];
|
|
8752
8713
|
["DeletePaymentMethodInput"]: ValueTypes["DeletePaymentMethodInput"];
|
|
8753
8714
|
["DeleteTrustedAccountInput"]: ValueTypes["DeleteTrustedAccountInput"];
|
|
@@ -10022,142 +9983,8 @@ declare namespace index$i {
|
|
|
10022
9983
|
export { createProjectOfFreeDecision as CreateProjectOfFreeDecision, generateFreeDecision as GenerateFreeDecision, generateProjectOfFreeDecisionDocument as GenerateProjectOfFreeDecision, publishProjectOfFreeDecision as PublishProjectOfFreeDecision };
|
|
10023
9984
|
}
|
|
10024
9985
|
|
|
10025
|
-
declare const name$s = "
|
|
9986
|
+
declare const name$s = "registerAccount";
|
|
10026
9987
|
declare const mutation$l: {
|
|
10027
|
-
updateAccount: [{
|
|
10028
|
-
data: Variable<"UpdateAccountInput!", "data">;
|
|
10029
|
-
}, {
|
|
10030
|
-
username: boolean;
|
|
10031
|
-
blockchain_account: {
|
|
10032
|
-
account_name: boolean;
|
|
10033
|
-
core_liquid_balance: boolean;
|
|
10034
|
-
cpu_limit: {
|
|
10035
|
-
available: boolean;
|
|
10036
|
-
current_used: boolean;
|
|
10037
|
-
last_usage_update_time: boolean;
|
|
10038
|
-
max: boolean;
|
|
10039
|
-
used: boolean;
|
|
10040
|
-
};
|
|
10041
|
-
cpu_weight: boolean;
|
|
10042
|
-
created: boolean;
|
|
10043
|
-
head_block_num: boolean;
|
|
10044
|
-
head_block_time: boolean;
|
|
10045
|
-
last_code_update: boolean;
|
|
10046
|
-
net_limit: {
|
|
10047
|
-
available: boolean;
|
|
10048
|
-
current_used: boolean;
|
|
10049
|
-
last_usage_update_time: boolean;
|
|
10050
|
-
max: boolean;
|
|
10051
|
-
used: boolean;
|
|
10052
|
-
};
|
|
10053
|
-
net_weight: boolean;
|
|
10054
|
-
permissions: {
|
|
10055
|
-
parent: boolean;
|
|
10056
|
-
perm_name: boolean;
|
|
10057
|
-
required_auth: {
|
|
10058
|
-
accounts: {
|
|
10059
|
-
permission: {
|
|
10060
|
-
actor: boolean;
|
|
10061
|
-
permission: boolean;
|
|
10062
|
-
};
|
|
10063
|
-
weight: boolean;
|
|
10064
|
-
};
|
|
10065
|
-
keys: {
|
|
10066
|
-
key: boolean;
|
|
10067
|
-
weight: boolean;
|
|
10068
|
-
};
|
|
10069
|
-
threshold: boolean;
|
|
10070
|
-
waits: {
|
|
10071
|
-
wait_sec: boolean;
|
|
10072
|
-
weight: boolean;
|
|
10073
|
-
};
|
|
10074
|
-
};
|
|
10075
|
-
};
|
|
10076
|
-
privileged: boolean;
|
|
10077
|
-
ram_quota: boolean;
|
|
10078
|
-
ram_usage: boolean;
|
|
10079
|
-
refund_request: {
|
|
10080
|
-
cpu_amount: boolean;
|
|
10081
|
-
net_amount: boolean;
|
|
10082
|
-
owner: boolean;
|
|
10083
|
-
request_time: boolean;
|
|
10084
|
-
};
|
|
10085
|
-
rex_info: boolean;
|
|
10086
|
-
self_delegated_bandwidth: {
|
|
10087
|
-
cpu_weight: boolean;
|
|
10088
|
-
from: boolean;
|
|
10089
|
-
net_weight: boolean;
|
|
10090
|
-
to: boolean;
|
|
10091
|
-
};
|
|
10092
|
-
total_resources: {
|
|
10093
|
-
cpu_weight: boolean;
|
|
10094
|
-
net_weight: boolean;
|
|
10095
|
-
owner: boolean;
|
|
10096
|
-
ram_bytes: boolean;
|
|
10097
|
-
};
|
|
10098
|
-
voter_info: boolean;
|
|
10099
|
-
};
|
|
10100
|
-
provider_account: {
|
|
10101
|
-
email: boolean;
|
|
10102
|
-
has_account: boolean;
|
|
10103
|
-
initial_order: boolean;
|
|
10104
|
-
is_email_verified: boolean;
|
|
10105
|
-
is_registered: boolean;
|
|
10106
|
-
message: boolean;
|
|
10107
|
-
public_key: boolean;
|
|
10108
|
-
referer: boolean;
|
|
10109
|
-
role: boolean;
|
|
10110
|
-
status: boolean;
|
|
10111
|
-
type: boolean;
|
|
10112
|
-
username: boolean;
|
|
10113
|
-
};
|
|
10114
|
-
participant_account: {
|
|
10115
|
-
braname: boolean;
|
|
10116
|
-
created_at: boolean;
|
|
10117
|
-
has_vote: boolean;
|
|
10118
|
-
is_initial: boolean;
|
|
10119
|
-
is_minimum: boolean;
|
|
10120
|
-
last_min_pay: boolean;
|
|
10121
|
-
last_update: boolean;
|
|
10122
|
-
status: boolean;
|
|
10123
|
-
type: boolean;
|
|
10124
|
-
username: boolean;
|
|
10125
|
-
};
|
|
10126
|
-
user_account: {
|
|
10127
|
-
meta: boolean;
|
|
10128
|
-
referer: boolean;
|
|
10129
|
-
registered_at: boolean;
|
|
10130
|
-
registrator: boolean;
|
|
10131
|
-
status: boolean;
|
|
10132
|
-
storages: boolean;
|
|
10133
|
-
type: boolean;
|
|
10134
|
-
username: boolean;
|
|
10135
|
-
verifications: {
|
|
10136
|
-
created_at: boolean;
|
|
10137
|
-
is_verified: boolean;
|
|
10138
|
-
last_update: boolean;
|
|
10139
|
-
notice: boolean;
|
|
10140
|
-
procedure: boolean;
|
|
10141
|
-
verificator: boolean;
|
|
10142
|
-
};
|
|
10143
|
-
};
|
|
10144
|
-
}];
|
|
10145
|
-
};
|
|
10146
|
-
interface IInput$v {
|
|
10147
|
-
/**
|
|
10148
|
-
* @private
|
|
10149
|
-
*/
|
|
10150
|
-
[key: string]: unknown;
|
|
10151
|
-
data: ModelTypes['UpdateAccountInput'];
|
|
10152
|
-
}
|
|
10153
|
-
type IOutput$v = InputType<GraphQLTypes['Mutation'], typeof mutation$l>;
|
|
10154
|
-
|
|
10155
|
-
declare namespace updateAccount {
|
|
10156
|
-
export { type IInput$v as IInput, type IOutput$v as IOutput, mutation$l as mutation, name$s as name };
|
|
10157
|
-
}
|
|
10158
|
-
|
|
10159
|
-
declare const name$r = "registerAccount";
|
|
10160
|
-
declare const mutation$k: {
|
|
10161
9988
|
registerAccount: [{
|
|
10162
9989
|
data: Variable<"RegisterAccountInput!", "data">;
|
|
10163
9990
|
}, {
|
|
@@ -10289,16 +10116,35 @@ declare const mutation$k: {
|
|
|
10289
10116
|
};
|
|
10290
10117
|
}];
|
|
10291
10118
|
};
|
|
10292
|
-
interface IInput$
|
|
10119
|
+
interface IInput$v {
|
|
10293
10120
|
/**
|
|
10294
10121
|
* @private
|
|
10295
10122
|
*/
|
|
10296
10123
|
[key: string]: unknown;
|
|
10297
10124
|
data: ModelTypes['RegisterAccountInput'];
|
|
10298
10125
|
}
|
|
10299
|
-
type IOutput$
|
|
10126
|
+
type IOutput$v = InputType<GraphQLTypes['Mutation'], typeof mutation$l>;
|
|
10300
10127
|
|
|
10301
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 {
|
|
10302
10148
|
export { type IInput$u as IInput, type IOutput$u as IOutput, mutation$k as mutation, name$r as name };
|
|
10303
10149
|
}
|
|
10304
10150
|
|
|
@@ -10321,26 +10167,141 @@ declare namespace startResetKey {
|
|
|
10321
10167
|
export { type IInput$t as IInput, type IOutput$t as IOutput, mutation$j as mutation, name$q as name };
|
|
10322
10168
|
}
|
|
10323
10169
|
|
|
10324
|
-
declare const name$p = "
|
|
10170
|
+
declare const name$p = "updateAccount";
|
|
10325
10171
|
declare const mutation$i: {
|
|
10326
|
-
|
|
10327
|
-
data: Variable<"
|
|
10328
|
-
},
|
|
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
|
+
}];
|
|
10329
10290
|
};
|
|
10330
10291
|
interface IInput$s {
|
|
10331
10292
|
/**
|
|
10332
10293
|
* @private
|
|
10333
10294
|
*/
|
|
10334
10295
|
[key: string]: unknown;
|
|
10335
|
-
data: ModelTypes['
|
|
10296
|
+
data: ModelTypes['UpdateAccountInput'];
|
|
10336
10297
|
}
|
|
10337
10298
|
type IOutput$s = InputType<GraphQLTypes['Mutation'], typeof mutation$i>;
|
|
10338
10299
|
|
|
10339
|
-
declare namespace
|
|
10300
|
+
declare namespace updateAccount {
|
|
10340
10301
|
export { type IInput$s as IInput, type IOutput$s as IOutput, mutation$i as mutation, name$p as name };
|
|
10341
10302
|
}
|
|
10342
10303
|
|
|
10343
|
-
/**
|
|
10304
|
+
/** Зарегистрировать аккаунт пользователя в системе */
|
|
10344
10305
|
|
|
10345
10306
|
declare namespace index$h {
|
|
10346
10307
|
export { registerAccount as RegisterAccount, resetKey as ResetKey, startResetKey as StartResetKey, updateAccount as UpdateAccount };
|
|
@@ -14376,9 +14337,6 @@ declare class Client {
|
|
|
14376
14337
|
createProjectOfFreeDecision?: [{
|
|
14377
14338
|
data: ValueTypes["CreateProjectFreeDecisionInput"] | Variable<any, string>;
|
|
14378
14339
|
}, ValueTypes["CreatedProjectFreeDecision"]];
|
|
14379
|
-
deleteAccount?: [{
|
|
14380
|
-
data: ValueTypes["DeleteAccountInput"] | Variable<any, string>;
|
|
14381
|
-
}, boolean | `@${string}`];
|
|
14382
14340
|
deleteBranch?: [{
|
|
14383
14341
|
data: ValueTypes["DeleteBranchInput"] | Variable<any, string>;
|
|
14384
14342
|
}, boolean | `@${string}`];
|
|
@@ -14485,7 +14443,7 @@ declare class Client {
|
|
|
14485
14443
|
data: ValueTypes["Update"] | Variable<any, string>;
|
|
14486
14444
|
}, ValueTypes["SystemInfo"]];
|
|
14487
14445
|
__typename?: boolean | `@${string}`;
|
|
14488
|
-
}>>(o: Z & { [P in keyof Z]: P extends "__alias" | "__typename" | "login" | "addParticipant" | "addTrustedAccount" | "createBankAccount" | "createBranch" | "createDepositPayment" | "createInitialPayment" | "createProjectOfFreeDecision" | "
|
|
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 & {
|
|
14489
14447
|
variables?: Record<string, unknown>;
|
|
14490
14448
|
}) => Promise<InputType<{
|
|
14491
14449
|
__typename: "Mutation";
|
|
@@ -14496,7 +14454,6 @@ declare class Client {
|
|
|
14496
14454
|
createDepositPayment: GraphQLTypes["Payment"];
|
|
14497
14455
|
createInitialPayment: GraphQLTypes["Payment"];
|
|
14498
14456
|
createProjectOfFreeDecision: GraphQLTypes["CreatedProjectFreeDecision"];
|
|
14499
|
-
deleteAccount: boolean;
|
|
14500
14457
|
deleteBranch: boolean;
|
|
14501
14458
|
deletePaymentMethod: boolean;
|
|
14502
14459
|
deleteTrustedAccount: GraphQLTypes["Branch"];
|