@coopenomics/innercoop 2026.10.15 → 2026.10.22
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/core-ports/index.cjs +3 -0
- package/dist/core-ports/index.d.cts +37 -2
- package/dist/core-ports/index.d.mts +37 -2
- package/dist/core-ports/index.d.ts +37 -2
- package/dist/core-ports/index.mjs +3 -1
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +79 -4
- package/dist/index.d.mts +79 -4
- package/dist/index.d.ts +79 -4
- package/dist/index.mjs +4 -2
- package/package.json +2 -2
|
@@ -199,6 +199,8 @@ const CHAIN_PORT = Symbol.for("Innercoop.CorePort.Chain");
|
|
|
199
199
|
|
|
200
200
|
const CHAIN_RESOURCES_PORT = Symbol.for("Innercoop.CorePort.ChainResources");
|
|
201
201
|
|
|
202
|
+
const PROVIDER_TARIFF_PORT = Symbol.for("Innercoop.CorePort.ProviderTariff");
|
|
203
|
+
|
|
202
204
|
const CHAIN_DELTA_WAIT_PORT = Symbol.for("Innercoop.CorePort.ChainDeltaWait");
|
|
203
205
|
|
|
204
206
|
const CHAIN_CHANGES_PORT = Symbol.for("Innercoop.CorePort.ChainChanges");
|
|
@@ -320,6 +322,7 @@ exports.PROGRAM_AGREEMENT_PORT = PROGRAM_AGREEMENT_PORT;
|
|
|
320
322
|
exports.PROGRAM_ID_BY_TYPE = PROGRAM_ID_BY_TYPE;
|
|
321
323
|
exports.PROGRAM_TYPE_BY_ID = PROGRAM_TYPE_BY_ID;
|
|
322
324
|
exports.PROGRAM_WALLET_PORT = PROGRAM_WALLET_PORT;
|
|
325
|
+
exports.PROVIDER_TARIFF_PORT = PROVIDER_TARIFF_PORT;
|
|
323
326
|
exports.PaymentDirection = PaymentDirection;
|
|
324
327
|
exports.PaymentStatus = PaymentStatus;
|
|
325
328
|
exports.PaymentType = PaymentType;
|
|
@@ -1428,6 +1428,11 @@ interface IPaymentDeskPort {
|
|
|
1428
1428
|
/** Перевести платёж в новое состояние вместе с сопутствующим процессингом. */
|
|
1429
1429
|
setPaymentStatus(input: InnerSetPaymentStatusInput): Promise<InnerPayment>;
|
|
1430
1430
|
createSystemOutgoingPayment(input: InnerSystemOutgoingPaymentInput): Promise<InnerPayment>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Учётные имена тех, кто подтверждает платежи в реестре: председатель и
|
|
1433
|
+
* пайщики с ролью «Кассир». Им расширение шлёт задачу «подтвердите платёж».
|
|
1434
|
+
*/
|
|
1435
|
+
confirmers(): Promise<string[]>;
|
|
1431
1436
|
}
|
|
1432
1437
|
declare const PAYMENT_DESK_PORT: unique symbol;
|
|
1433
1438
|
|
|
@@ -2182,6 +2187,36 @@ interface IChainResourcesPort {
|
|
|
2182
2187
|
}
|
|
2183
2188
|
declare const CHAIN_RESOURCES_PORT: unique symbol;
|
|
2184
2189
|
|
|
2190
|
+
/**
|
|
2191
|
+
* Тариф кооператива у провайдера подключения: объём документооборота и
|
|
2192
|
+
* суточный расход D (@ant 17.10.2026, «Оплата документооборота: бак AXON,
|
|
2193
|
+
* объём тарифа и кванты»).
|
|
2194
|
+
*
|
|
2195
|
+
* По дате оплаты в бак кооператива приходит объём месяца в AXON. Узел жжёт бак
|
|
2196
|
+
* сам: каждый день арендует ресурсы на D = объём / число дней месяца, чтобы
|
|
2197
|
+
* бак опустел ровно к следующей оплате. D считает провайдер — у него тариф и
|
|
2198
|
+
* календарь, узлу остаётся спросить и арендовать.
|
|
2199
|
+
*/
|
|
2200
|
+
interface InnerProviderTariff {
|
|
2201
|
+
/** Код тарифа. */
|
|
2202
|
+
code: string;
|
|
2203
|
+
/** Объём документооборота на месяц, AXON. */
|
|
2204
|
+
docflow_axon: number;
|
|
2205
|
+
/** Суточный расход на текущий календарный месяц, AXON; без округления. */
|
|
2206
|
+
daily_axon: number;
|
|
2207
|
+
/** Пробный период тарифа, дней. */
|
|
2208
|
+
trial_days: number;
|
|
2209
|
+
}
|
|
2210
|
+
interface IProviderTariffPort {
|
|
2211
|
+
/**
|
|
2212
|
+
* Тариф кооператива; `null`, если провайдер не настроен, не отвечает или
|
|
2213
|
+
* тариф не выбран. Отказ провайдера сюда не пробрасывается: узел без тарифа
|
|
2214
|
+
* продолжает арендовать по своей настройке.
|
|
2215
|
+
*/
|
|
2216
|
+
currentTariff(coopname: string): Promise<InnerProviderTariff | null>;
|
|
2217
|
+
}
|
|
2218
|
+
declare const PROVIDER_TARIFF_PORT: unique symbol;
|
|
2219
|
+
|
|
2185
2220
|
/**
|
|
2186
2221
|
* Ответ после факта из цепи. Мутация отправила транзакцию — и ждёт, пока
|
|
2187
2222
|
* изменение её блока придёт от индексатора и ляжет в базу узла, а уже потом
|
|
@@ -3085,5 +3120,5 @@ interface IAccountingRegistryPort {
|
|
|
3085
3120
|
}
|
|
3086
3121
|
declare const ACCOUNTING_REGISTRY_PORT: unique symbol;
|
|
3087
3122
|
|
|
3088
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
3089
|
-
export type { CreateTrackingRuleInput, DecisionEventTypeString, DecisionProcessedResult, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAgreementRegistration, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketSpec, InnerFileStorageGetReadUrlOptions, InnerFileStorageObjectMetadata, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramRegistration, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, RoleAssignmentChangedEvent, TrackingRule };
|
|
3123
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
3124
|
+
export type { CreateTrackingRuleInput, DecisionEventTypeString, DecisionProcessedResult, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAgreementRegistration, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketSpec, InnerFileStorageGetReadUrlOptions, InnerFileStorageObjectMetadata, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramRegistration, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderTariff, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, RoleAssignmentChangedEvent, TrackingRule };
|
|
@@ -1428,6 +1428,11 @@ interface IPaymentDeskPort {
|
|
|
1428
1428
|
/** Перевести платёж в новое состояние вместе с сопутствующим процессингом. */
|
|
1429
1429
|
setPaymentStatus(input: InnerSetPaymentStatusInput): Promise<InnerPayment>;
|
|
1430
1430
|
createSystemOutgoingPayment(input: InnerSystemOutgoingPaymentInput): Promise<InnerPayment>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Учётные имена тех, кто подтверждает платежи в реестре: председатель и
|
|
1433
|
+
* пайщики с ролью «Кассир». Им расширение шлёт задачу «подтвердите платёж».
|
|
1434
|
+
*/
|
|
1435
|
+
confirmers(): Promise<string[]>;
|
|
1431
1436
|
}
|
|
1432
1437
|
declare const PAYMENT_DESK_PORT: unique symbol;
|
|
1433
1438
|
|
|
@@ -2182,6 +2187,36 @@ interface IChainResourcesPort {
|
|
|
2182
2187
|
}
|
|
2183
2188
|
declare const CHAIN_RESOURCES_PORT: unique symbol;
|
|
2184
2189
|
|
|
2190
|
+
/**
|
|
2191
|
+
* Тариф кооператива у провайдера подключения: объём документооборота и
|
|
2192
|
+
* суточный расход D (@ant 17.10.2026, «Оплата документооборота: бак AXON,
|
|
2193
|
+
* объём тарифа и кванты»).
|
|
2194
|
+
*
|
|
2195
|
+
* По дате оплаты в бак кооператива приходит объём месяца в AXON. Узел жжёт бак
|
|
2196
|
+
* сам: каждый день арендует ресурсы на D = объём / число дней месяца, чтобы
|
|
2197
|
+
* бак опустел ровно к следующей оплате. D считает провайдер — у него тариф и
|
|
2198
|
+
* календарь, узлу остаётся спросить и арендовать.
|
|
2199
|
+
*/
|
|
2200
|
+
interface InnerProviderTariff {
|
|
2201
|
+
/** Код тарифа. */
|
|
2202
|
+
code: string;
|
|
2203
|
+
/** Объём документооборота на месяц, AXON. */
|
|
2204
|
+
docflow_axon: number;
|
|
2205
|
+
/** Суточный расход на текущий календарный месяц, AXON; без округления. */
|
|
2206
|
+
daily_axon: number;
|
|
2207
|
+
/** Пробный период тарифа, дней. */
|
|
2208
|
+
trial_days: number;
|
|
2209
|
+
}
|
|
2210
|
+
interface IProviderTariffPort {
|
|
2211
|
+
/**
|
|
2212
|
+
* Тариф кооператива; `null`, если провайдер не настроен, не отвечает или
|
|
2213
|
+
* тариф не выбран. Отказ провайдера сюда не пробрасывается: узел без тарифа
|
|
2214
|
+
* продолжает арендовать по своей настройке.
|
|
2215
|
+
*/
|
|
2216
|
+
currentTariff(coopname: string): Promise<InnerProviderTariff | null>;
|
|
2217
|
+
}
|
|
2218
|
+
declare const PROVIDER_TARIFF_PORT: unique symbol;
|
|
2219
|
+
|
|
2185
2220
|
/**
|
|
2186
2221
|
* Ответ после факта из цепи. Мутация отправила транзакцию — и ждёт, пока
|
|
2187
2222
|
* изменение её блока придёт от индексатора и ляжет в базу узла, а уже потом
|
|
@@ -3085,5 +3120,5 @@ interface IAccountingRegistryPort {
|
|
|
3085
3120
|
}
|
|
3086
3121
|
declare const ACCOUNTING_REGISTRY_PORT: unique symbol;
|
|
3087
3122
|
|
|
3088
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
3089
|
-
export type { CreateTrackingRuleInput, DecisionEventTypeString, DecisionProcessedResult, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAgreementRegistration, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketSpec, InnerFileStorageGetReadUrlOptions, InnerFileStorageObjectMetadata, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramRegistration, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, RoleAssignmentChangedEvent, TrackingRule };
|
|
3123
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
3124
|
+
export type { CreateTrackingRuleInput, DecisionEventTypeString, DecisionProcessedResult, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAgreementRegistration, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketSpec, InnerFileStorageGetReadUrlOptions, InnerFileStorageObjectMetadata, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramRegistration, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderTariff, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, RoleAssignmentChangedEvent, TrackingRule };
|
|
@@ -1428,6 +1428,11 @@ interface IPaymentDeskPort {
|
|
|
1428
1428
|
/** Перевести платёж в новое состояние вместе с сопутствующим процессингом. */
|
|
1429
1429
|
setPaymentStatus(input: InnerSetPaymentStatusInput): Promise<InnerPayment>;
|
|
1430
1430
|
createSystemOutgoingPayment(input: InnerSystemOutgoingPaymentInput): Promise<InnerPayment>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Учётные имена тех, кто подтверждает платежи в реестре: председатель и
|
|
1433
|
+
* пайщики с ролью «Кассир». Им расширение шлёт задачу «подтвердите платёж».
|
|
1434
|
+
*/
|
|
1435
|
+
confirmers(): Promise<string[]>;
|
|
1431
1436
|
}
|
|
1432
1437
|
declare const PAYMENT_DESK_PORT: unique symbol;
|
|
1433
1438
|
|
|
@@ -2182,6 +2187,36 @@ interface IChainResourcesPort {
|
|
|
2182
2187
|
}
|
|
2183
2188
|
declare const CHAIN_RESOURCES_PORT: unique symbol;
|
|
2184
2189
|
|
|
2190
|
+
/**
|
|
2191
|
+
* Тариф кооператива у провайдера подключения: объём документооборота и
|
|
2192
|
+
* суточный расход D (@ant 17.10.2026, «Оплата документооборота: бак AXON,
|
|
2193
|
+
* объём тарифа и кванты»).
|
|
2194
|
+
*
|
|
2195
|
+
* По дате оплаты в бак кооператива приходит объём месяца в AXON. Узел жжёт бак
|
|
2196
|
+
* сам: каждый день арендует ресурсы на D = объём / число дней месяца, чтобы
|
|
2197
|
+
* бак опустел ровно к следующей оплате. D считает провайдер — у него тариф и
|
|
2198
|
+
* календарь, узлу остаётся спросить и арендовать.
|
|
2199
|
+
*/
|
|
2200
|
+
interface InnerProviderTariff {
|
|
2201
|
+
/** Код тарифа. */
|
|
2202
|
+
code: string;
|
|
2203
|
+
/** Объём документооборота на месяц, AXON. */
|
|
2204
|
+
docflow_axon: number;
|
|
2205
|
+
/** Суточный расход на текущий календарный месяц, AXON; без округления. */
|
|
2206
|
+
daily_axon: number;
|
|
2207
|
+
/** Пробный период тарифа, дней. */
|
|
2208
|
+
trial_days: number;
|
|
2209
|
+
}
|
|
2210
|
+
interface IProviderTariffPort {
|
|
2211
|
+
/**
|
|
2212
|
+
* Тариф кооператива; `null`, если провайдер не настроен, не отвечает или
|
|
2213
|
+
* тариф не выбран. Отказ провайдера сюда не пробрасывается: узел без тарифа
|
|
2214
|
+
* продолжает арендовать по своей настройке.
|
|
2215
|
+
*/
|
|
2216
|
+
currentTariff(coopname: string): Promise<InnerProviderTariff | null>;
|
|
2217
|
+
}
|
|
2218
|
+
declare const PROVIDER_TARIFF_PORT: unique symbol;
|
|
2219
|
+
|
|
2185
2220
|
/**
|
|
2186
2221
|
* Ответ после факта из цепи. Мутация отправила транзакцию — и ждёт, пока
|
|
2187
2222
|
* изменение её блока придёт от индексатора и ляжет в базу узла, а уже потом
|
|
@@ -3085,5 +3120,5 @@ interface IAccountingRegistryPort {
|
|
|
3085
3120
|
}
|
|
3086
3121
|
declare const ACCOUNTING_REGISTRY_PORT: unique symbol;
|
|
3087
3122
|
|
|
3088
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
3089
|
-
export type { CreateTrackingRuleInput, DecisionEventTypeString, DecisionProcessedResult, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAgreementRegistration, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketSpec, InnerFileStorageGetReadUrlOptions, InnerFileStorageObjectMetadata, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramRegistration, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, RoleAssignmentChangedEvent, TrackingRule };
|
|
3123
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
3124
|
+
export type { CreateTrackingRuleInput, DecisionEventTypeString, DecisionProcessedResult, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAgreementRegistration, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketSpec, InnerFileStorageGetReadUrlOptions, InnerFileStorageObjectMetadata, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramRegistration, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderTariff, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, RoleAssignmentChangedEvent, TrackingRule };
|
|
@@ -197,6 +197,8 @@ const CHAIN_PORT = Symbol.for("Innercoop.CorePort.Chain");
|
|
|
197
197
|
|
|
198
198
|
const CHAIN_RESOURCES_PORT = Symbol.for("Innercoop.CorePort.ChainResources");
|
|
199
199
|
|
|
200
|
+
const PROVIDER_TARIFF_PORT = Symbol.for("Innercoop.CorePort.ProviderTariff");
|
|
201
|
+
|
|
200
202
|
const CHAIN_DELTA_WAIT_PORT = Symbol.for("Innercoop.CorePort.ChainDeltaWait");
|
|
201
203
|
|
|
202
204
|
const CHAIN_CHANGES_PORT = Symbol.for("Innercoop.CorePort.ChainChanges");
|
|
@@ -261,4 +263,4 @@ const ROLE_ASSIGNMENTS_PORT = Symbol.for("Innercoop.CorePort.RoleAssignments");
|
|
|
261
263
|
|
|
262
264
|
const ACCOUNTING_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.AccountingRegistry");
|
|
263
265
|
|
|
264
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
|
266
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification };
|
package/dist/index.cjs
CHANGED
|
@@ -13,6 +13,8 @@ const REGISTRATION_OFFER_FILTER_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.R
|
|
|
13
13
|
|
|
14
14
|
const GLOBAL_SEARCH_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.GlobalSearchRegistry");
|
|
15
15
|
|
|
16
|
+
const ORGANIZATION_LOOKUP_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.OrganizationLookupRegistry");
|
|
17
|
+
|
|
16
18
|
exports.ACCOUNTING_REGISTRY_PORT = corePorts_index.ACCOUNTING_REGISTRY_PORT;
|
|
17
19
|
exports.ACCOUNT_PORT = corePorts_index.ACCOUNT_PORT;
|
|
18
20
|
exports.AGREEMENT_CATALOG_PORT = corePorts_index.AGREEMENT_CATALOG_PORT;
|
|
@@ -70,6 +72,7 @@ exports.PROGRAM_AGREEMENT_PORT = corePorts_index.PROGRAM_AGREEMENT_PORT;
|
|
|
70
72
|
exports.PROGRAM_ID_BY_TYPE = corePorts_index.PROGRAM_ID_BY_TYPE;
|
|
71
73
|
exports.PROGRAM_TYPE_BY_ID = corePorts_index.PROGRAM_TYPE_BY_ID;
|
|
72
74
|
exports.PROGRAM_WALLET_PORT = corePorts_index.PROGRAM_WALLET_PORT;
|
|
75
|
+
exports.PROVIDER_TARIFF_PORT = corePorts_index.PROVIDER_TARIFF_PORT;
|
|
73
76
|
exports.PaymentDirection = corePorts_index.PaymentDirection;
|
|
74
77
|
exports.PaymentStatus = corePorts_index.PaymentStatus;
|
|
75
78
|
exports.PaymentType = corePorts_index.PaymentType;
|
|
@@ -111,5 +114,6 @@ exports.SOVIET_ROBOT_PORT = crossPluginPorts_index.SOVIET_ROBOT_PORT;
|
|
|
111
114
|
exports.DESKTOP_GRANTS_FILTER_REGISTRY_PORT = DESKTOP_GRANTS_FILTER_REGISTRY_PORT;
|
|
112
115
|
exports.DESKTOP_GRANTS_REGISTRY_PORT = DESKTOP_GRANTS_REGISTRY_PORT;
|
|
113
116
|
exports.GLOBAL_SEARCH_REGISTRY_PORT = GLOBAL_SEARCH_REGISTRY_PORT;
|
|
117
|
+
exports.ORGANIZATION_LOOKUP_REGISTRY_PORT = ORGANIZATION_LOOKUP_REGISTRY_PORT;
|
|
114
118
|
exports.REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT = REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT;
|
|
115
119
|
exports.REGISTRATION_OFFER_FILTER_REGISTRY_PORT = REGISTRATION_OFFER_FILTER_REGISTRY_PORT;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration } from './core-ports/index.cjs';
|
|
2
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, CreateTrackingRuleInput, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionEventTypeString, DecisionProcessedResult, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBackendUnavailableError, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketNotConfiguredError, InnerFileStorageBucketSpec, InnerFileStorageError, InnerFileStorageGetReadUrlOptions, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectMetadata, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerKeyPermission, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails,
|
|
1
|
+
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration, InnerOrganizationType } from './core-ports/index.cjs';
|
|
2
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, CreateTrackingRuleInput, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionEventTypeString, DecisionProcessedResult, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBackendUnavailableError, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketNotConfiguredError, InnerFileStorageBucketSpec, InnerFileStorageError, InnerFileStorageGetReadUrlOptions, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectMetadata, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerKeyPermission, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderTariff, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, RoleAssignmentChangedEvent, SECRET_CIPHER_PORT, TrackingRule, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification } from './core-ports/index.cjs';
|
|
3
3
|
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CALENDAR_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, COOP_CALENDAR_EVENT_NOTIFICATION_PORT, EXPENSE_CHASSIS_PORT, ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort, IChatCoopCalendarPort, IChatCoopCapitalProjectRoomEnsureMemberPayload, IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload, ICoopCalendarEventNotificationPort, IExpenseChassisPort, IMatrixRoomMessagingPort, IProjectCapitalClearancePort, IProjectCommunicationArtifactsPort, ISovietRobotPort, InnerCalendarEventWindow, InnerChairmanApproval, InnerChairmanApprovalStatus, InnerChairmanApprovalsQuery, InnerCompletedCallTranscriptionHead, InnerCoopCalendarEventNotificationInput, InnerCoopCalendarEventRead, InnerCoopCalendarNotificationRoomKind, InnerExpenseCallbackHandler, InnerExpenseItem, InnerExpenseItemInput, InnerExpenseItemState, InnerExpenseMechanics, InnerExpensePaginatedResult, InnerExpensePagination, InnerExpensePlannedReserve, InnerExpenseProposalRead, InnerExpenseProposalState, InnerExpenseProposalStatus, InnerExpenseRecipientType, InnerExpenseRequisiteItemInput, InnerMatrixReplaceTextMessageInput, InnerMatrixSendTextAndPinInput, InnerMatrixSendTextMessageInput, InnerMatrixUnpinAndRedactAnnouncementInput, InnerNonProjectCommunicationRoomRef, InnerNonProjectRoomKind, InnerProjectCommunicationRoomRef, InnerRobotDecisionOutcome, InnerRobotDecisionRequest, InnerRobotDecisionResult, InnerRoomMessageKind, InnerRoomMessageLine, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_PORT } from './cross-plugin-ports/index.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -268,5 +268,80 @@ interface IGlobalSearchRegistryPort {
|
|
|
268
268
|
}
|
|
269
269
|
declare const GLOBAL_SEARCH_REGISTRY_PORT: unique symbol;
|
|
270
270
|
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Поставщик сведений об организации из государственного реестра страны.
|
|
273
|
+
*
|
|
274
|
+
* Анкета вступления организации спрашивает ИНН первым полем. Если для страны
|
|
275
|
+
* анкеты поставщик зарегистрирован, ядро спрашивает у него сведения и
|
|
276
|
+
* заполняет ими поля анкеты, а пайщик дописывает остальное. Нет поставщика —
|
|
277
|
+
* анкета заполняется вручную.
|
|
278
|
+
*
|
|
279
|
+
* Реестр у каждой страны свой, поэтому поставщик — расширение под одну страну
|
|
280
|
+
* (для России — DaData). Ядро знает поставщиков только по стране: заменить
|
|
281
|
+
* сервис значит поставить другое расширение.
|
|
282
|
+
*/
|
|
283
|
+
/** Кто подписывает от имени организации — как записано в реестре. */
|
|
284
|
+
interface InnerOrganizationLookupRepresentative {
|
|
285
|
+
last_name?: string;
|
|
286
|
+
first_name?: string;
|
|
287
|
+
middle_name?: string;
|
|
288
|
+
position?: string;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Сведения из реестра. Пустое поле значит, что реестр его не знает: анкета
|
|
292
|
+
* оставит это поле пайщику.
|
|
293
|
+
*/
|
|
294
|
+
interface InnerOrganizationLookupRecord {
|
|
295
|
+
short_name?: string;
|
|
296
|
+
full_name?: string;
|
|
297
|
+
type?: InnerOrganizationType;
|
|
298
|
+
represented_by?: InnerOrganizationLookupRepresentative;
|
|
299
|
+
city?: string;
|
|
300
|
+
/** Юридический адрес. */
|
|
301
|
+
full_address?: string;
|
|
302
|
+
details: {
|
|
303
|
+
inn: string;
|
|
304
|
+
ogrn?: string;
|
|
305
|
+
kpp?: string;
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Сведения об индивидуальном предпринимателе из реестра. Адреса здесь нет:
|
|
310
|
+
* реестр ИП публикует только город, а анкете нужен полный адрес — его пайщик
|
|
311
|
+
* вводит сам.
|
|
312
|
+
*/
|
|
313
|
+
interface InnerEntrepreneurLookupRecord {
|
|
314
|
+
last_name?: string;
|
|
315
|
+
first_name?: string;
|
|
316
|
+
middle_name?: string;
|
|
317
|
+
city?: string;
|
|
318
|
+
details: {
|
|
319
|
+
inn: string;
|
|
320
|
+
/** ОГРНИП. */
|
|
321
|
+
ogrn?: string;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
interface IOrganizationLookupHook {
|
|
325
|
+
/** Имя расширения в реестре платформы. */
|
|
326
|
+
readonly extensionName: string;
|
|
327
|
+
/** Страна, чей реестр читает поставщик: значение перечня стран ядра, например `Russia`. */
|
|
328
|
+
readonly country: string;
|
|
329
|
+
/** Организация по ИНН; `null` — реестр такой организации не знает. */
|
|
330
|
+
findByInn(inn: string): Promise<InnerOrganizationLookupRecord | null>;
|
|
331
|
+
/**
|
|
332
|
+
* Индивидуальный предприниматель по ИНН. Не у каждой страны реестр ИП
|
|
333
|
+
* доступен: без метода анкета ИП заполняется вручную.
|
|
334
|
+
*/
|
|
335
|
+
findEntrepreneurByInn?(inn: string): Promise<InnerEntrepreneurLookupRecord | null>;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Реестр поставщиков. Расширение кладёт себя сюда при запуске, ядро
|
|
339
|
+
* спрашивает по стране. Остановленное расширение ядро снимает само.
|
|
340
|
+
*/
|
|
341
|
+
interface IOrganizationLookupRegistryPort {
|
|
342
|
+
register(provider: IOrganizationLookupHook): void;
|
|
343
|
+
}
|
|
344
|
+
declare const ORGANIZATION_LOOKUP_REGISTRY_PORT: unique symbol;
|
|
345
|
+
|
|
346
|
+
export { DESKTOP_GRANTS_FILTER_REGISTRY_PORT, DESKTOP_GRANTS_REGISTRY_PORT, GLOBAL_SEARCH_REGISTRY_PORT, InnerAccountType, InnerAgreementRegistration, InnerOrganizationType, InnerProgramRegistration, ORGANIZATION_LOOKUP_REGISTRY_PORT, REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT, REGISTRATION_OFFER_FILTER_REGISTRY_PORT };
|
|
347
|
+
export type { IDesktopGrantsFilterHook, IDesktopGrantsFilterRegistryPort, IDesktopGrantsHook, IDesktopGrantsRegistryPort, IGlobalSearchHook, IGlobalSearchRegistryPort, IMarketplaceDocumentParametersHook, IOrganizationLookupHook, IOrganizationLookupRegistryPort, IProgramDocumentParametersHook, IProgramOfferParametersHook, IRegistrationDocumentParametersRegistryPort, IRegistrationOfferFilterHook, IRegistrationOfferFilterRegistryPort, InnerDesktopGrantsContext, InnerDesktopGrantsFilterTarget, InnerEntrepreneurLookupRecord, InnerGlobalSearchContext, InnerGlobalSearchHit, InnerGlobalSearchRoute, InnerOrganizationLookupRecord, InnerOrganizationLookupRepresentative, InnerRegistrationOfferFilterContext };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration } from './core-ports/index.mjs';
|
|
2
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, CreateTrackingRuleInput, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionEventTypeString, DecisionProcessedResult, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBackendUnavailableError, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketNotConfiguredError, InnerFileStorageBucketSpec, InnerFileStorageError, InnerFileStorageGetReadUrlOptions, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectMetadata, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerKeyPermission, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails,
|
|
1
|
+
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration, InnerOrganizationType } from './core-ports/index.mjs';
|
|
2
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, CreateTrackingRuleInput, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionEventTypeString, DecisionProcessedResult, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBackendUnavailableError, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketNotConfiguredError, InnerFileStorageBucketSpec, InnerFileStorageError, InnerFileStorageGetReadUrlOptions, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectMetadata, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerKeyPermission, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderTariff, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, RoleAssignmentChangedEvent, SECRET_CIPHER_PORT, TrackingRule, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification } from './core-ports/index.mjs';
|
|
3
3
|
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CALENDAR_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, COOP_CALENDAR_EVENT_NOTIFICATION_PORT, EXPENSE_CHASSIS_PORT, ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort, IChatCoopCalendarPort, IChatCoopCapitalProjectRoomEnsureMemberPayload, IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload, ICoopCalendarEventNotificationPort, IExpenseChassisPort, IMatrixRoomMessagingPort, IProjectCapitalClearancePort, IProjectCommunicationArtifactsPort, ISovietRobotPort, InnerCalendarEventWindow, InnerChairmanApproval, InnerChairmanApprovalStatus, InnerChairmanApprovalsQuery, InnerCompletedCallTranscriptionHead, InnerCoopCalendarEventNotificationInput, InnerCoopCalendarEventRead, InnerCoopCalendarNotificationRoomKind, InnerExpenseCallbackHandler, InnerExpenseItem, InnerExpenseItemInput, InnerExpenseItemState, InnerExpenseMechanics, InnerExpensePaginatedResult, InnerExpensePagination, InnerExpensePlannedReserve, InnerExpenseProposalRead, InnerExpenseProposalState, InnerExpenseProposalStatus, InnerExpenseRecipientType, InnerExpenseRequisiteItemInput, InnerMatrixReplaceTextMessageInput, InnerMatrixSendTextAndPinInput, InnerMatrixSendTextMessageInput, InnerMatrixUnpinAndRedactAnnouncementInput, InnerNonProjectCommunicationRoomRef, InnerNonProjectRoomKind, InnerProjectCommunicationRoomRef, InnerRobotDecisionOutcome, InnerRobotDecisionRequest, InnerRobotDecisionResult, InnerRoomMessageKind, InnerRoomMessageLine, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_PORT } from './cross-plugin-ports/index.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -268,5 +268,80 @@ interface IGlobalSearchRegistryPort {
|
|
|
268
268
|
}
|
|
269
269
|
declare const GLOBAL_SEARCH_REGISTRY_PORT: unique symbol;
|
|
270
270
|
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Поставщик сведений об организации из государственного реестра страны.
|
|
273
|
+
*
|
|
274
|
+
* Анкета вступления организации спрашивает ИНН первым полем. Если для страны
|
|
275
|
+
* анкеты поставщик зарегистрирован, ядро спрашивает у него сведения и
|
|
276
|
+
* заполняет ими поля анкеты, а пайщик дописывает остальное. Нет поставщика —
|
|
277
|
+
* анкета заполняется вручную.
|
|
278
|
+
*
|
|
279
|
+
* Реестр у каждой страны свой, поэтому поставщик — расширение под одну страну
|
|
280
|
+
* (для России — DaData). Ядро знает поставщиков только по стране: заменить
|
|
281
|
+
* сервис значит поставить другое расширение.
|
|
282
|
+
*/
|
|
283
|
+
/** Кто подписывает от имени организации — как записано в реестре. */
|
|
284
|
+
interface InnerOrganizationLookupRepresentative {
|
|
285
|
+
last_name?: string;
|
|
286
|
+
first_name?: string;
|
|
287
|
+
middle_name?: string;
|
|
288
|
+
position?: string;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Сведения из реестра. Пустое поле значит, что реестр его не знает: анкета
|
|
292
|
+
* оставит это поле пайщику.
|
|
293
|
+
*/
|
|
294
|
+
interface InnerOrganizationLookupRecord {
|
|
295
|
+
short_name?: string;
|
|
296
|
+
full_name?: string;
|
|
297
|
+
type?: InnerOrganizationType;
|
|
298
|
+
represented_by?: InnerOrganizationLookupRepresentative;
|
|
299
|
+
city?: string;
|
|
300
|
+
/** Юридический адрес. */
|
|
301
|
+
full_address?: string;
|
|
302
|
+
details: {
|
|
303
|
+
inn: string;
|
|
304
|
+
ogrn?: string;
|
|
305
|
+
kpp?: string;
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Сведения об индивидуальном предпринимателе из реестра. Адреса здесь нет:
|
|
310
|
+
* реестр ИП публикует только город, а анкете нужен полный адрес — его пайщик
|
|
311
|
+
* вводит сам.
|
|
312
|
+
*/
|
|
313
|
+
interface InnerEntrepreneurLookupRecord {
|
|
314
|
+
last_name?: string;
|
|
315
|
+
first_name?: string;
|
|
316
|
+
middle_name?: string;
|
|
317
|
+
city?: string;
|
|
318
|
+
details: {
|
|
319
|
+
inn: string;
|
|
320
|
+
/** ОГРНИП. */
|
|
321
|
+
ogrn?: string;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
interface IOrganizationLookupHook {
|
|
325
|
+
/** Имя расширения в реестре платформы. */
|
|
326
|
+
readonly extensionName: string;
|
|
327
|
+
/** Страна, чей реестр читает поставщик: значение перечня стран ядра, например `Russia`. */
|
|
328
|
+
readonly country: string;
|
|
329
|
+
/** Организация по ИНН; `null` — реестр такой организации не знает. */
|
|
330
|
+
findByInn(inn: string): Promise<InnerOrganizationLookupRecord | null>;
|
|
331
|
+
/**
|
|
332
|
+
* Индивидуальный предприниматель по ИНН. Не у каждой страны реестр ИП
|
|
333
|
+
* доступен: без метода анкета ИП заполняется вручную.
|
|
334
|
+
*/
|
|
335
|
+
findEntrepreneurByInn?(inn: string): Promise<InnerEntrepreneurLookupRecord | null>;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Реестр поставщиков. Расширение кладёт себя сюда при запуске, ядро
|
|
339
|
+
* спрашивает по стране. Остановленное расширение ядро снимает само.
|
|
340
|
+
*/
|
|
341
|
+
interface IOrganizationLookupRegistryPort {
|
|
342
|
+
register(provider: IOrganizationLookupHook): void;
|
|
343
|
+
}
|
|
344
|
+
declare const ORGANIZATION_LOOKUP_REGISTRY_PORT: unique symbol;
|
|
345
|
+
|
|
346
|
+
export { DESKTOP_GRANTS_FILTER_REGISTRY_PORT, DESKTOP_GRANTS_REGISTRY_PORT, GLOBAL_SEARCH_REGISTRY_PORT, InnerAccountType, InnerAgreementRegistration, InnerOrganizationType, InnerProgramRegistration, ORGANIZATION_LOOKUP_REGISTRY_PORT, REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT, REGISTRATION_OFFER_FILTER_REGISTRY_PORT };
|
|
347
|
+
export type { IDesktopGrantsFilterHook, IDesktopGrantsFilterRegistryPort, IDesktopGrantsHook, IDesktopGrantsRegistryPort, IGlobalSearchHook, IGlobalSearchRegistryPort, IMarketplaceDocumentParametersHook, IOrganizationLookupHook, IOrganizationLookupRegistryPort, IProgramDocumentParametersHook, IProgramOfferParametersHook, IRegistrationDocumentParametersRegistryPort, IRegistrationOfferFilterHook, IRegistrationOfferFilterRegistryPort, InnerDesktopGrantsContext, InnerDesktopGrantsFilterTarget, InnerEntrepreneurLookupRecord, InnerGlobalSearchContext, InnerGlobalSearchHit, InnerGlobalSearchRoute, InnerOrganizationLookupRecord, InnerOrganizationLookupRepresentative, InnerRegistrationOfferFilterContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration } from './core-ports/index.js';
|
|
2
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, CreateTrackingRuleInput, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionEventTypeString, DecisionProcessedResult, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBackendUnavailableError, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketNotConfiguredError, InnerFileStorageBucketSpec, InnerFileStorageError, InnerFileStorageGetReadUrlOptions, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectMetadata, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerKeyPermission, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails,
|
|
1
|
+
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration, InnerOrganizationType } from './core-ports/index.js';
|
|
2
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, CreateTrackingRuleInput, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionEventTypeString, DecisionProcessedResult, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeVarsPort, ICouncilPort, IDecisionTrackingPort, IDocumentApprovalPort, IDocumentDeclarationPort, IDocumentPort, IExtensionConfigPort, IExtensionDatabasePort, IFileStoragePort, IFreeDecisionPort, IIndividualPort, IIntegrationSettingsPort, ILedger2HistoryPort, ILoggerPort, IMeetPort, IMemberExitRegistryPort, IMessageChannelPort, IMetaDocument, IMonoAccount, IMutationLogPort, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, INotificationPort, IOnboardingStepRegistryPort, IOrganizationPort, IPaymentDeskPort, IPaymentMethodPort, IPaymentNoticeLogPort, IPaymentPollingStatePort, IPaymentPort, IPaymentProvider, IPaymentProviderRegistryPort, IProgramAgreementPort, IProgramWalletPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccount, InnerAgreementCatalogItem, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainTxWait, InnerCoopAgreement, InnerCoopProgram, InnerCoopUser, InnerCooperativeVars, InnerCouncilDecision, InnerCreateWithdrawInput, InnerCreateWithdrawResult, InnerDocumentAggregate, InnerDocumentApproval, InnerDocumentDeclaration, InnerDocumentKind, InnerDocumentValidation, InnerEndorsementCredential, InnerEnsureProgramParams, InnerEnsureProgramResult, InnerExitBlockersProvider, InnerExitPendingReturn, InnerExtensionDatabaseConnection, InnerFileStorageBackendUnavailableError, InnerFileStorageBody, InnerFileStorageBucket, InnerFileStorageBucketNotConfiguredError, InnerFileStorageBucketSpec, InnerFileStorageError, InnerFileStorageGetReadUrlOptions, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectMetadata, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerFileStoragePutOptions, InnerFileStoragePutResult, InnerFreeDecisionDocument, InnerFreeDecisionProject, InnerGenerateDocumentData, InnerGenerateDocumentOptions, InnerGenerateDocumentRequest, InnerGenerateProjectFreeDecisionData, InnerGeneratedDocument, InnerGetAccountsFilter, InnerGetMeetInput, InnerGetMeetsInput, InnerIndividual, InnerIntakeFormRegistration, InnerIntakeJsonSchema, InnerIntakeJsonSchemaProperty, InnerKeyPermission, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPrivateAccount, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderTariff, InnerPublishProjectFreeDecisionInput, InnerRegistryRecord, InnerRepresentative, InnerRolePermission, InnerSbpData, InnerSetPaymentStatusInput, InnerSignProgramAgreementInput, InnerSystemOutgoingPaymentInput, InnerTransactResult, InnerUserCertificate, InnerUserDataDraft, InnerUserDataFilters, InnerUserDataRecord, InnerUserWallet, InnerVerificationCheck, InnerVerificationEntry, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, RoleAssignmentChangedEvent, SECRET_CIPHER_PORT, TrackingRule, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification } from './core-ports/index.js';
|
|
3
3
|
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CALENDAR_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, COOP_CALENDAR_EVENT_NOTIFICATION_PORT, EXPENSE_CHASSIS_PORT, ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort, IChatCoopCalendarPort, IChatCoopCapitalProjectRoomEnsureMemberPayload, IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload, ICoopCalendarEventNotificationPort, IExpenseChassisPort, IMatrixRoomMessagingPort, IProjectCapitalClearancePort, IProjectCommunicationArtifactsPort, ISovietRobotPort, InnerCalendarEventWindow, InnerChairmanApproval, InnerChairmanApprovalStatus, InnerChairmanApprovalsQuery, InnerCompletedCallTranscriptionHead, InnerCoopCalendarEventNotificationInput, InnerCoopCalendarEventRead, InnerCoopCalendarNotificationRoomKind, InnerExpenseCallbackHandler, InnerExpenseItem, InnerExpenseItemInput, InnerExpenseItemState, InnerExpenseMechanics, InnerExpensePaginatedResult, InnerExpensePagination, InnerExpensePlannedReserve, InnerExpenseProposalRead, InnerExpenseProposalState, InnerExpenseProposalStatus, InnerExpenseRecipientType, InnerExpenseRequisiteItemInput, InnerMatrixReplaceTextMessageInput, InnerMatrixSendTextAndPinInput, InnerMatrixSendTextMessageInput, InnerMatrixUnpinAndRedactAnnouncementInput, InnerNonProjectCommunicationRoomRef, InnerNonProjectRoomKind, InnerProjectCommunicationRoomRef, InnerRobotDecisionOutcome, InnerRobotDecisionRequest, InnerRobotDecisionResult, InnerRoomMessageKind, InnerRoomMessageLine, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_PORT } from './cross-plugin-ports/index.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -268,5 +268,80 @@ interface IGlobalSearchRegistryPort {
|
|
|
268
268
|
}
|
|
269
269
|
declare const GLOBAL_SEARCH_REGISTRY_PORT: unique symbol;
|
|
270
270
|
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Поставщик сведений об организации из государственного реестра страны.
|
|
273
|
+
*
|
|
274
|
+
* Анкета вступления организации спрашивает ИНН первым полем. Если для страны
|
|
275
|
+
* анкеты поставщик зарегистрирован, ядро спрашивает у него сведения и
|
|
276
|
+
* заполняет ими поля анкеты, а пайщик дописывает остальное. Нет поставщика —
|
|
277
|
+
* анкета заполняется вручную.
|
|
278
|
+
*
|
|
279
|
+
* Реестр у каждой страны свой, поэтому поставщик — расширение под одну страну
|
|
280
|
+
* (для России — DaData). Ядро знает поставщиков только по стране: заменить
|
|
281
|
+
* сервис значит поставить другое расширение.
|
|
282
|
+
*/
|
|
283
|
+
/** Кто подписывает от имени организации — как записано в реестре. */
|
|
284
|
+
interface InnerOrganizationLookupRepresentative {
|
|
285
|
+
last_name?: string;
|
|
286
|
+
first_name?: string;
|
|
287
|
+
middle_name?: string;
|
|
288
|
+
position?: string;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Сведения из реестра. Пустое поле значит, что реестр его не знает: анкета
|
|
292
|
+
* оставит это поле пайщику.
|
|
293
|
+
*/
|
|
294
|
+
interface InnerOrganizationLookupRecord {
|
|
295
|
+
short_name?: string;
|
|
296
|
+
full_name?: string;
|
|
297
|
+
type?: InnerOrganizationType;
|
|
298
|
+
represented_by?: InnerOrganizationLookupRepresentative;
|
|
299
|
+
city?: string;
|
|
300
|
+
/** Юридический адрес. */
|
|
301
|
+
full_address?: string;
|
|
302
|
+
details: {
|
|
303
|
+
inn: string;
|
|
304
|
+
ogrn?: string;
|
|
305
|
+
kpp?: string;
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Сведения об индивидуальном предпринимателе из реестра. Адреса здесь нет:
|
|
310
|
+
* реестр ИП публикует только город, а анкете нужен полный адрес — его пайщик
|
|
311
|
+
* вводит сам.
|
|
312
|
+
*/
|
|
313
|
+
interface InnerEntrepreneurLookupRecord {
|
|
314
|
+
last_name?: string;
|
|
315
|
+
first_name?: string;
|
|
316
|
+
middle_name?: string;
|
|
317
|
+
city?: string;
|
|
318
|
+
details: {
|
|
319
|
+
inn: string;
|
|
320
|
+
/** ОГРНИП. */
|
|
321
|
+
ogrn?: string;
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
interface IOrganizationLookupHook {
|
|
325
|
+
/** Имя расширения в реестре платформы. */
|
|
326
|
+
readonly extensionName: string;
|
|
327
|
+
/** Страна, чей реестр читает поставщик: значение перечня стран ядра, например `Russia`. */
|
|
328
|
+
readonly country: string;
|
|
329
|
+
/** Организация по ИНН; `null` — реестр такой организации не знает. */
|
|
330
|
+
findByInn(inn: string): Promise<InnerOrganizationLookupRecord | null>;
|
|
331
|
+
/**
|
|
332
|
+
* Индивидуальный предприниматель по ИНН. Не у каждой страны реестр ИП
|
|
333
|
+
* доступен: без метода анкета ИП заполняется вручную.
|
|
334
|
+
*/
|
|
335
|
+
findEntrepreneurByInn?(inn: string): Promise<InnerEntrepreneurLookupRecord | null>;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Реестр поставщиков. Расширение кладёт себя сюда при запуске, ядро
|
|
339
|
+
* спрашивает по стране. Остановленное расширение ядро снимает само.
|
|
340
|
+
*/
|
|
341
|
+
interface IOrganizationLookupRegistryPort {
|
|
342
|
+
register(provider: IOrganizationLookupHook): void;
|
|
343
|
+
}
|
|
344
|
+
declare const ORGANIZATION_LOOKUP_REGISTRY_PORT: unique symbol;
|
|
345
|
+
|
|
346
|
+
export { DESKTOP_GRANTS_FILTER_REGISTRY_PORT, DESKTOP_GRANTS_REGISTRY_PORT, GLOBAL_SEARCH_REGISTRY_PORT, InnerAccountType, InnerAgreementRegistration, InnerOrganizationType, InnerProgramRegistration, ORGANIZATION_LOOKUP_REGISTRY_PORT, REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT, REGISTRATION_OFFER_FILTER_REGISTRY_PORT };
|
|
347
|
+
export type { IDesktopGrantsFilterHook, IDesktopGrantsFilterRegistryPort, IDesktopGrantsHook, IDesktopGrantsRegistryPort, IGlobalSearchHook, IGlobalSearchRegistryPort, IMarketplaceDocumentParametersHook, IOrganizationLookupHook, IOrganizationLookupRegistryPort, IProgramDocumentParametersHook, IProgramOfferParametersHook, IRegistrationDocumentParametersRegistryPort, IRegistrationOfferFilterHook, IRegistrationOfferFilterRegistryPort, InnerDesktopGrantsContext, InnerDesktopGrantsFilterTarget, InnerEntrepreneurLookupRecord, InnerGlobalSearchContext, InnerGlobalSearchHit, InnerGlobalSearchRoute, InnerOrganizationLookupRecord, InnerOrganizationLookupRepresentative, InnerRegistrationOfferFilterContext };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification } from './core-ports/index.mjs';
|
|
1
|
+
export { ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, DECISION_TRACKING_PORT, DOCUMENT_APPROVAL_PORT, DOCUMENT_DECLARATION_PORT, DOCUMENT_PORT, DecisionEventType, DecisionTrackedEvent, EXTENSION_CONFIG_PORT, EXTENSION_DATABASE_PORT, ExtendedMeetStatus, FILE_STORAGE_PORT, FREE_DECISION_PORT, INDIVIDUAL_PORT, INTEGRATION_SETTINGS_PORT, InnerAccountType, InnerFileStorageBackendUnavailableError, InnerFileStorageBucketNotConfiguredError, InnerFileStorageError, InnerFileStorageMetadataValidationError, InnerFileStorageMimeRejectedError, InnerFileStorageObjectNotFoundError, InnerFileStorageObjectTooLargeError, InnerKeyPermission, InnerOrganizationType, LEDGER2_HISTORY_PORT, LOGGER_PORT, MEET_PORT, MEMBER_EXIT_REGISTRY_PORT, MESSAGE_CHANNEL_PORT, MUTATION_LOG_PORT, MonoAccountStatus, NOTIFICATION_PORT, ONBOARDING_COMPLETED_EVENT, ONBOARDING_STEP_REGISTRY_PORT, ORGANIZATION_PORT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_TARIFF_PORT, PaymentDirection, PaymentStatus, PaymentType, ProgramKey, ProgramType, REALTIME_CHANNEL_PORT, REGISTRATION_REGISTRY_PORT, ROLE_ASSIGNMENTS_PORT, ROLE_ASSIGNMENT_CHANGED_EVENT, SECRET_CIPHER_PORT, USER_AVATAR_PORT, USER_CERTIFICATE_PORT, USER_DATA_PORT, USER_DIRECTORY_PORT, USER_WALLET_PORT, VAT_EXEMPT_NOTE, VAULT_PORT, VERIFICATION_PORT, WALLET_WITHDRAW_PORT, getProgramId, getProgramType, isEligibleForParticipantMassNotification } from './core-ports/index.mjs';
|
|
2
2
|
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CALENDAR_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, COOP_CALENDAR_EVENT_NOTIFICATION_PORT, EXPENSE_CHASSIS_PORT, InnerExpenseItemState, InnerExpenseMechanics, InnerExpenseProposalState, InnerExpenseRecipientType, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_PORT } from './cross-plugin-ports/index.mjs';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.RegistrationDocumentParametersRegistry");
|
|
@@ -11,4 +11,6 @@ const REGISTRATION_OFFER_FILTER_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.R
|
|
|
11
11
|
|
|
12
12
|
const GLOBAL_SEARCH_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.GlobalSearchRegistry");
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
const ORGANIZATION_LOOKUP_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.OrganizationLookupRegistry");
|
|
15
|
+
|
|
16
|
+
export { DESKTOP_GRANTS_FILTER_REGISTRY_PORT, DESKTOP_GRANTS_REGISTRY_PORT, GLOBAL_SEARCH_REGISTRY_PORT, ORGANIZATION_LOOKUP_REGISTRY_PORT, REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT, REGISTRATION_OFFER_FILTER_REGISTRY_PORT };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/innercoop",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2026.10.
|
|
4
|
+
"version": "2026.10.22",
|
|
5
5
|
"description": "Порты и DI-токены внутренней связи в контуре одного кооператива: ядро ↔ расширение и расширение ↔ расширение, без прямых зависимостей",
|
|
6
6
|
"author": "Alex Ant <dacom.dark.sun@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"typescript": "^5.4.5",
|
|
40
40
|
"unbuild": "^2.0.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "3f31f133383617e6e1fa50db51f2bb5fe07ac764"
|
|
43
43
|
}
|