@coopenomics/sdk 2.2.0 → 2.2.2
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 +407 -381
- package/dist/index.d.cts +127 -124
- package/dist/index.d.mts +127 -124
- package/dist/index.d.ts +127 -124
- package/dist/index.mjs +406 -380
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TransactResult } from '@wharfkit/session';
|
|
2
|
+
import { API } from '@wharfkit/antelope';
|
|
2
3
|
|
|
3
4
|
declare const Ops: {
|
|
4
5
|
query: "Query";
|
|
@@ -8801,94 +8802,94 @@ type ZEUS_VARIABLES = {
|
|
|
8801
8802
|
["VarsInput"]: ValueTypes["VarsInput"];
|
|
8802
8803
|
};
|
|
8803
8804
|
|
|
8804
|
-
declare const index$
|
|
8805
|
-
type index$
|
|
8806
|
-
declare const index$
|
|
8807
|
-
type index$
|
|
8808
|
-
type index$
|
|
8809
|
-
declare const index$
|
|
8810
|
-
type index$
|
|
8811
|
-
declare const index$
|
|
8812
|
-
type index$
|
|
8813
|
-
type index$
|
|
8814
|
-
type index$
|
|
8815
|
-
type index$
|
|
8816
|
-
declare const index$
|
|
8817
|
-
type index$
|
|
8818
|
-
type index$
|
|
8819
|
-
declare const index$
|
|
8820
|
-
type index$
|
|
8821
|
-
declare const index$
|
|
8822
|
-
type index$
|
|
8823
|
-
type index$
|
|
8824
|
-
type index$
|
|
8825
|
-
declare const index$
|
|
8826
|
-
declare const index$
|
|
8827
|
-
type index$
|
|
8828
|
-
type index$
|
|
8829
|
-
declare const index$
|
|
8830
|
-
declare const index$
|
|
8831
|
-
type index$
|
|
8832
|
-
declare const index$
|
|
8833
|
-
type index$
|
|
8834
|
-
type index$
|
|
8835
|
-
type index$
|
|
8836
|
-
type index$
|
|
8837
|
-
type index$
|
|
8838
|
-
declare const index$
|
|
8839
|
-
type index$
|
|
8840
|
-
declare const index$
|
|
8841
|
-
type index$
|
|
8842
|
-
declare const index$
|
|
8843
|
-
type index$
|
|
8844
|
-
declare const index$
|
|
8845
|
-
declare const index$
|
|
8846
|
-
type index$
|
|
8847
|
-
type index$
|
|
8848
|
-
type index$
|
|
8849
|
-
declare const index$
|
|
8850
|
-
declare const index$
|
|
8851
|
-
type index$
|
|
8852
|
-
type index$
|
|
8853
|
-
type index$
|
|
8854
|
-
type index$
|
|
8855
|
-
type index$
|
|
8856
|
-
declare const index$
|
|
8857
|
-
declare const index$
|
|
8858
|
-
type index$
|
|
8859
|
-
declare const index$
|
|
8860
|
-
type index$
|
|
8861
|
-
type index$
|
|
8862
|
-
declare const index$
|
|
8863
|
-
declare const index$
|
|
8864
|
-
type index$
|
|
8865
|
-
declare const index$
|
|
8866
|
-
type index$
|
|
8867
|
-
type index$
|
|
8868
|
-
declare const index$
|
|
8869
|
-
type index$
|
|
8870
|
-
type index$
|
|
8871
|
-
type index$
|
|
8872
|
-
type index$
|
|
8873
|
-
type index$
|
|
8874
|
-
type index$
|
|
8875
|
-
declare const index$
|
|
8876
|
-
type index$
|
|
8877
|
-
type index$
|
|
8878
|
-
declare const index$
|
|
8879
|
-
declare const index$
|
|
8880
|
-
type index$
|
|
8881
|
-
declare const index$
|
|
8882
|
-
declare const index$
|
|
8883
|
-
type index$
|
|
8884
|
-
declare const index$
|
|
8885
|
-
type index$
|
|
8886
|
-
declare const index$
|
|
8887
|
-
declare const index$
|
|
8888
|
-
declare const index$
|
|
8889
|
-
declare const index$
|
|
8890
|
-
declare namespace index$
|
|
8891
|
-
export { index$
|
|
8805
|
+
declare const index$k_$: typeof $;
|
|
8806
|
+
type index$k_AccountType = AccountType;
|
|
8807
|
+
declare const index$k_AccountType: typeof AccountType;
|
|
8808
|
+
type index$k_AliasType<T> = AliasType<T>;
|
|
8809
|
+
type index$k_AllTypesPropsType = AllTypesPropsType;
|
|
8810
|
+
declare const index$k_Chain: typeof Chain;
|
|
8811
|
+
type index$k_Country = Country;
|
|
8812
|
+
declare const index$k_Country: typeof Country;
|
|
8813
|
+
type index$k_ExtractVariables<Query> = ExtractVariables<Query>;
|
|
8814
|
+
type index$k_ExtractVariablesDeep<Query> = ExtractVariablesDeep<Query>;
|
|
8815
|
+
type index$k_FetchFunction = FetchFunction;
|
|
8816
|
+
type index$k_FromSelector<SELECTOR, NAME extends keyof GraphQLTypes, SCLR extends ScalarDefinition = {}> = FromSelector<SELECTOR, NAME, SCLR>;
|
|
8817
|
+
declare const index$k_GRAPHQL_TYPE_SEPARATOR: typeof GRAPHQL_TYPE_SEPARATOR;
|
|
8818
|
+
type index$k_GenericOperation<O> = GenericOperation<O>;
|
|
8819
|
+
type index$k_GetVariableType<T extends string> = GetVariableType<T>;
|
|
8820
|
+
declare const index$k_Gql: typeof Gql;
|
|
8821
|
+
type index$k_GraphQLError = GraphQLError;
|
|
8822
|
+
declare const index$k_GraphQLError: typeof GraphQLError;
|
|
8823
|
+
type index$k_GraphQLResponse = GraphQLResponse;
|
|
8824
|
+
type index$k_GraphQLTypes = GraphQLTypes;
|
|
8825
|
+
type index$k_GraphQLVariableType = GraphQLVariableType;
|
|
8826
|
+
declare const index$k_HEADERS: typeof HEADERS;
|
|
8827
|
+
declare const index$k_HOST: typeof HOST;
|
|
8828
|
+
type index$k_InputType<SRC, DST, SCLR extends ScalarDefinition = {}> = InputType<SRC, DST, SCLR>;
|
|
8829
|
+
type index$k_InputValueType = InputValueType;
|
|
8830
|
+
declare const index$k_InternalArgsBuilt: typeof InternalArgsBuilt;
|
|
8831
|
+
declare const index$k_InternalsBuildQuery: typeof InternalsBuildQuery;
|
|
8832
|
+
type index$k_LangType = LangType;
|
|
8833
|
+
declare const index$k_LangType: typeof LangType;
|
|
8834
|
+
type index$k_MapType<SRC, DST, SCLR extends ScalarDefinition> = MapType<SRC, DST, SCLR>;
|
|
8835
|
+
type index$k_ModelTypes = ModelTypes;
|
|
8836
|
+
type index$k_OperationOptions = OperationOptions;
|
|
8837
|
+
type index$k_Operations = Operations;
|
|
8838
|
+
type index$k_OrganizationType = OrganizationType;
|
|
8839
|
+
declare const index$k_OrganizationType: typeof OrganizationType;
|
|
8840
|
+
type index$k_PaymentStatus = PaymentStatus;
|
|
8841
|
+
declare const index$k_PaymentStatus: typeof PaymentStatus;
|
|
8842
|
+
type index$k_PlainType = PlainType;
|
|
8843
|
+
declare const index$k_PrepareScalarPaths: typeof PrepareScalarPaths;
|
|
8844
|
+
type index$k_RegisterRole = RegisterRole;
|
|
8845
|
+
declare const index$k_RegisterRole: typeof RegisterRole;
|
|
8846
|
+
declare const index$k_ResolveFromPath: typeof ResolveFromPath;
|
|
8847
|
+
type index$k_ResolverInputTypes = ResolverInputTypes;
|
|
8848
|
+
type index$k_ResolverType<F> = ResolverType<F>;
|
|
8849
|
+
type index$k_ReturnTypesType = ReturnTypesType;
|
|
8850
|
+
declare const index$k_SEPARATOR: typeof SEPARATOR;
|
|
8851
|
+
declare const index$k_START_VAR_NAME: typeof START_VAR_NAME;
|
|
8852
|
+
type index$k_ScalarCoder = ScalarCoder;
|
|
8853
|
+
type index$k_ScalarCoders = ScalarCoders;
|
|
8854
|
+
type index$k_ScalarDefinition = ScalarDefinition;
|
|
8855
|
+
type index$k_ScalarResolver = ScalarResolver;
|
|
8856
|
+
type index$k_SelectionFunction<V> = SelectionFunction<V>;
|
|
8857
|
+
declare const index$k_Selector: typeof Selector;
|
|
8858
|
+
declare const index$k_Subscription: typeof Subscription;
|
|
8859
|
+
type index$k_SubscriptionFunction = SubscriptionFunction;
|
|
8860
|
+
declare const index$k_SubscriptionThunder: typeof SubscriptionThunder;
|
|
8861
|
+
type index$k_SubscriptionToGraphQL<Z, T, SCLR extends ScalarDefinition> = SubscriptionToGraphQL<Z, T, SCLR>;
|
|
8862
|
+
type index$k_SystemStatus = SystemStatus;
|
|
8863
|
+
declare const index$k_SystemStatus: typeof SystemStatus;
|
|
8864
|
+
declare const index$k_Thunder: typeof Thunder;
|
|
8865
|
+
type index$k_ThunderGraphQLOptions<SCLR extends ScalarDefinition> = ThunderGraphQLOptions<SCLR>;
|
|
8866
|
+
declare const index$k_TypeFromSelector: typeof TypeFromSelector;
|
|
8867
|
+
type index$k_UnwrapPromise<T> = UnwrapPromise<T>;
|
|
8868
|
+
type index$k_UserStatus = UserStatus;
|
|
8869
|
+
declare const index$k_UserStatus: typeof UserStatus;
|
|
8870
|
+
type index$k_VType = VType;
|
|
8871
|
+
type index$k_ValueTypes = ValueTypes;
|
|
8872
|
+
type index$k_Variable<T extends GraphQLVariableType, Name extends string> = Variable<T, Name>;
|
|
8873
|
+
type index$k_VariableDefinition = VariableDefinition;
|
|
8874
|
+
type index$k_WithOptionalNullables<T> = WithOptionalNullables<T>;
|
|
8875
|
+
type index$k_WithTypeNameValue<T> = WithTypeNameValue<T>;
|
|
8876
|
+
declare const index$k_Zeus: typeof Zeus;
|
|
8877
|
+
type index$k_ZeusArgsType = ZeusArgsType;
|
|
8878
|
+
type index$k_ZeusHook<T extends (...args: any[]) => Record<string, (...args: any[]) => Promise<any>>, N extends keyof ReturnType<T>> = ZeusHook<T, N>;
|
|
8879
|
+
declare const index$k_ZeusScalars: typeof ZeusScalars;
|
|
8880
|
+
declare const index$k_ZeusSelect: typeof ZeusSelect;
|
|
8881
|
+
type index$k_ZeusState<T extends (...args: any[]) => Promise<any>> = ZeusState<T>;
|
|
8882
|
+
declare const index$k_apiFetch: typeof apiFetch;
|
|
8883
|
+
declare const index$k_apiSubscription: typeof apiSubscription;
|
|
8884
|
+
type index$k_chainOptions = chainOptions;
|
|
8885
|
+
declare const index$k_decodeScalarsInResponse: typeof decodeScalarsInResponse;
|
|
8886
|
+
type index$k_fetchOptions = fetchOptions;
|
|
8887
|
+
declare const index$k_fields: typeof fields;
|
|
8888
|
+
declare const index$k_purifyGraphQLKey: typeof purifyGraphQLKey;
|
|
8889
|
+
declare const index$k_resolverFor: typeof resolverFor;
|
|
8890
|
+
declare const index$k_traverseResponse: typeof traverseResponse;
|
|
8891
|
+
declare namespace index$k {
|
|
8892
|
+
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 };
|
|
8892
8893
|
}
|
|
8893
8894
|
|
|
8894
8895
|
interface DeserializedDescriptionOfExtension {
|
|
@@ -9060,24 +9061,24 @@ interface BlockchainConfig {
|
|
|
9060
9061
|
chain_id: string;
|
|
9061
9062
|
}
|
|
9062
9063
|
|
|
9063
|
-
type index$
|
|
9064
|
-
type index$
|
|
9065
|
-
type index$
|
|
9066
|
-
type index$
|
|
9067
|
-
type index$
|
|
9068
|
-
type index$
|
|
9069
|
-
type index$
|
|
9070
|
-
type index$
|
|
9071
|
-
type index$
|
|
9072
|
-
type index$
|
|
9073
|
-
type index$
|
|
9074
|
-
type index$
|
|
9075
|
-
type index$
|
|
9076
|
-
type index$
|
|
9077
|
-
type index$
|
|
9078
|
-
type index$
|
|
9079
|
-
declare namespace index$
|
|
9080
|
-
export type { index$
|
|
9064
|
+
type index$j_AccountResourceInfo = AccountResourceInfo;
|
|
9065
|
+
type index$j_Authority = Authority;
|
|
9066
|
+
type index$j_BlockchainAccountInterface = BlockchainAccountInterface;
|
|
9067
|
+
type index$j_BlockchainConfig = BlockchainConfig;
|
|
9068
|
+
type index$j_ClientConnectionOptions = ClientConnectionOptions;
|
|
9069
|
+
type index$j_DeserializedDescriptionOfExtension = DeserializedDescriptionOfExtension;
|
|
9070
|
+
type index$j_GetInfoResult = GetInfoResult;
|
|
9071
|
+
type index$j_IndexPosition = IndexPosition;
|
|
9072
|
+
type index$j_KeyWeight = KeyWeight;
|
|
9073
|
+
type index$j_Permission = Permission;
|
|
9074
|
+
type index$j_PermissionLevel = PermissionLevel;
|
|
9075
|
+
type index$j_PermissionLevelWeight = PermissionLevelWeight;
|
|
9076
|
+
type index$j_RefundRequest = RefundRequest;
|
|
9077
|
+
type index$j_ResourceDelegation = ResourceDelegation;
|
|
9078
|
+
type index$j_ResourceOverview = ResourceOverview;
|
|
9079
|
+
type index$j_WaitWeight = WaitWeight;
|
|
9080
|
+
declare namespace index$j {
|
|
9081
|
+
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 };
|
|
9081
9082
|
}
|
|
9082
9083
|
|
|
9083
9084
|
/**
|
|
@@ -9089,6 +9090,7 @@ declare class Wallet {
|
|
|
9089
9090
|
private readonly contractKit;
|
|
9090
9091
|
private session?;
|
|
9091
9092
|
constructor(config: BlockchainConfig);
|
|
9093
|
+
getInfo(): Promise<API.v1.GetInfoResponse>;
|
|
9092
9094
|
/**
|
|
9093
9095
|
* Метод установки приватного ключа в кошелёк
|
|
9094
9096
|
* @param username - имя пользователя
|
|
@@ -9205,7 +9207,7 @@ declare namespace updateExtension {
|
|
|
9205
9207
|
|
|
9206
9208
|
/** Установить расширение */
|
|
9207
9209
|
|
|
9208
|
-
declare namespace index$
|
|
9210
|
+
declare namespace index$i {
|
|
9209
9211
|
export { installExtension as InstallExtension, uninstallExtension as UninstallExtension, updateExtension as UpdateExtension };
|
|
9210
9212
|
}
|
|
9211
9213
|
|
|
@@ -9316,7 +9318,7 @@ declare namespace updateBankAccount {
|
|
|
9316
9318
|
|
|
9317
9319
|
/** Добавить метод оплаты */
|
|
9318
9320
|
|
|
9319
|
-
declare namespace index$
|
|
9321
|
+
declare namespace index$h {
|
|
9320
9322
|
export { createBankAccount as CreateBankAccount, deletePaymentMethod as DeletePaymentMethod, updateBankAccount as UpdateBankAccount };
|
|
9321
9323
|
}
|
|
9322
9324
|
|
|
@@ -9784,7 +9786,7 @@ declare namespace generateSelectBranchDocument {
|
|
|
9784
9786
|
|
|
9785
9787
|
/** Добавить доверенное лицо кооперативного участка */
|
|
9786
9788
|
|
|
9787
|
-
declare namespace index$
|
|
9789
|
+
declare namespace index$g {
|
|
9788
9790
|
export { addTrustedAccount as AddTrustedAccount, createBranch as CreateBranch, deleteBranch as DeleteBranch, deleteTrustedAccount as DeleteTrustedAccount, editBranch as EditBranch, generateSelectBranchDocument as GenerateSelectBranchDocument, selectBranch as SelectBranch };
|
|
9789
9791
|
}
|
|
9790
9792
|
|
|
@@ -9913,7 +9915,7 @@ declare namespace createProjectOfFreeDecision {
|
|
|
9913
9915
|
|
|
9914
9916
|
/** Сгенерировать документ проекта свободного решения */
|
|
9915
9917
|
|
|
9916
|
-
declare namespace index$
|
|
9918
|
+
declare namespace index$f {
|
|
9917
9919
|
export { createProjectOfFreeDecision as CreateProjectOfFreeDecision, generateFreeDecision as GenerateFreeDecision, generateProjectOfFreeDecisionDocument as GenerateProjectOfFreeDecision, publishProjectOfFreeDecision as PublishProjectOfFreeDecision };
|
|
9918
9920
|
}
|
|
9919
9921
|
|
|
@@ -10237,7 +10239,7 @@ declare namespace resetKey {
|
|
|
10237
10239
|
|
|
10238
10240
|
/** Обновить аккаунт в системе провайдера. Обновление аккаунта пользователя производится по username. Мутация позволяет изменить приватные данные пользователя, а также, адрес электронной почты в MONO. Использовать мутацию может только председатель совета. */
|
|
10239
10241
|
|
|
10240
|
-
declare namespace index$
|
|
10242
|
+
declare namespace index$e {
|
|
10241
10243
|
export { registerAccount as RegisterAccount, resetKey as ResetKey, startResetKey as StartResetKey, updateAccount as UpdateAccount };
|
|
10242
10244
|
}
|
|
10243
10245
|
|
|
@@ -10554,7 +10556,7 @@ declare namespace login {
|
|
|
10554
10556
|
|
|
10555
10557
|
/** Обновить токен доступа аккаунта */
|
|
10556
10558
|
|
|
10557
|
-
declare namespace index$
|
|
10559
|
+
declare namespace index$d {
|
|
10558
10560
|
export { login as Login, logout as Logout, refresh as Refresh };
|
|
10559
10561
|
}
|
|
10560
10562
|
|
|
@@ -11179,7 +11181,7 @@ declare namespace updateSystem {
|
|
|
11179
11181
|
|
|
11180
11182
|
/** Произвести инициализацию программного обеспечения перед установкой совета методом install */
|
|
11181
11183
|
|
|
11182
|
-
declare namespace index$
|
|
11184
|
+
declare namespace index$c {
|
|
11183
11185
|
export { initSystem as InitSystem, installSystem as InstallSystem, setWif as SetWif, updateSystem as UpdateSystem };
|
|
11184
11186
|
}
|
|
11185
11187
|
|
|
@@ -11532,7 +11534,7 @@ declare namespace addParticipant {
|
|
|
11532
11534
|
|
|
11533
11535
|
/** Сгенерировать документ заявления о вступлении в кооператив. */
|
|
11534
11536
|
|
|
11535
|
-
declare namespace index$
|
|
11537
|
+
declare namespace index$b {
|
|
11536
11538
|
export { addParticipant as AddParticipant, generateParticipantApplication as GenerateParticipantApplication, generateParticipantApplicationDecision as GenerateParticipantApplicationDecision, registerParticipant as RegisterParticipant };
|
|
11537
11539
|
}
|
|
11538
11540
|
|
|
@@ -11658,7 +11660,7 @@ declare namespace setPaymentStatus {
|
|
|
11658
11660
|
|
|
11659
11661
|
/** Создание объекта регистрационного платежа производится мутацией CreateInitial. Выполнение мутации возвращает идентификатор платежа и данные для его совершения в зависимости от выбранного платежного провайдера. */
|
|
11660
11662
|
|
|
11661
|
-
declare namespace index$
|
|
11663
|
+
declare namespace index$a {
|
|
11662
11664
|
export { createDeposit as CreateDepositPayment, createInitial as CreateInitialPayment, setPaymentStatus as SetPaymentStatus };
|
|
11663
11665
|
}
|
|
11664
11666
|
|
|
@@ -11821,12 +11823,12 @@ declare namespace generateUserAgreement {
|
|
|
11821
11823
|
|
|
11822
11824
|
/** Сгенерировать документ согласия с политикой конфиденциальности. */
|
|
11823
11825
|
|
|
11824
|
-
declare namespace index$
|
|
11826
|
+
declare namespace index$9 {
|
|
11825
11827
|
export { generatePrivacyAgreement as GeneratePrivacyAgreement, generateSignatureAgreement as GenerateSignatureAgreement, generateUserAgreement as GenerateUserAgreement, generateWalletAgreement as GenerateWalletAgreement };
|
|
11826
11828
|
}
|
|
11827
11829
|
|
|
11828
|
-
declare namespace
|
|
11829
|
-
export { index$
|
|
11830
|
+
declare namespace Mutations {
|
|
11831
|
+
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 };
|
|
11830
11832
|
}
|
|
11831
11833
|
|
|
11832
11834
|
declare const name$6 = "getExtensions";
|
|
@@ -13988,10 +13990,10 @@ declare namespace index {
|
|
|
13988
13990
|
* а также операций с блокчейном. Позволяет динамически изменять заголовок авторизации.
|
|
13989
13991
|
*
|
|
13990
13992
|
* @param options - Опции для настройки подключения клиента.
|
|
13991
|
-
* @param options.
|
|
13993
|
+
* @param options.api_url - Базовый URL API, с которым будет происходить взаимодействие.
|
|
13992
13994
|
* @param options.headers - Необязательные заголовки, которые будут добавляться ко всем запросам. По умолчанию — пустой объект.
|
|
13993
|
-
* @param options.
|
|
13994
|
-
* @param options.
|
|
13995
|
+
* @param options.chain_url - URL узла блокчейна.
|
|
13996
|
+
* @param options.chain_id - Уникальный идентификатор цепочки блокчейна.
|
|
13995
13997
|
*
|
|
13996
13998
|
* @returns Объект, содержащий методы для работы с API:
|
|
13997
13999
|
* - `setToken`: Устанавливает заголовок Authorization с переданным токеном.
|
|
@@ -14045,7 +14047,7 @@ declare function createClient(options: ClientConnectionOptions): {
|
|
|
14045
14047
|
}, ValueTypes["PaymentPaginationResult"]];
|
|
14046
14048
|
getSystemInfo?: ValueTypes["SystemInfo"];
|
|
14047
14049
|
__typename?: boolean | `@${string}`;
|
|
14048
|
-
}>>(o: Z & { [P in keyof Z]: P extends "__typename" | "
|
|
14050
|
+
}>>(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 & {
|
|
14049
14051
|
variables?: Record<string, unknown>;
|
|
14050
14052
|
}) => Promise<InputType<{
|
|
14051
14053
|
__typename: "Query";
|
|
@@ -14190,7 +14192,7 @@ declare function createClient(options: ClientConnectionOptions): {
|
|
|
14190
14192
|
data: ValueTypes["Update"] | Variable<any, string>;
|
|
14191
14193
|
}, ValueTypes["SystemInfo"]];
|
|
14192
14194
|
__typename?: boolean | `@${string}`;
|
|
14193
|
-
}>>(o: Z & { [P in keyof Z]: P extends "
|
|
14195
|
+
}>>(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 & {
|
|
14194
14196
|
variables?: Record<string, unknown>;
|
|
14195
14197
|
}) => Promise<InputType<{
|
|
14196
14198
|
__typename: "Mutation";
|
|
@@ -14239,6 +14241,7 @@ declare function createClient(options: ClientConnectionOptions): {
|
|
|
14239
14241
|
variables?: ExtractVariables<Z> | undefined;
|
|
14240
14242
|
}) | undefined) => SubscriptionToGraphQL<Z, GraphQLTypes[R], Omit<ScalarDefinition, keyof OVERRIDESCLR> & OVERRIDESCLR>;
|
|
14241
14243
|
Wallet: Wallet;
|
|
14244
|
+
login: (email: string, wif: string) => Promise<IOutput$p["login"]>;
|
|
14242
14245
|
};
|
|
14243
14246
|
|
|
14244
|
-
export { Classes,
|
|
14247
|
+
export { Classes, Mutations, index as Queries, index$j as Types, index$k as Zeus, createClient };
|