@coopenomics/innercoop 2026.12.2 → 2026.12.3-dev.11
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 +9 -0
- package/dist/core-ports/index.d.cts +215 -2
- package/dist/core-ports/index.d.mts +215 -2
- package/dist/core-ports/index.d.ts +215 -2
- package/dist/core-ports/index.mjs +7 -1
- package/dist/cross-plugin-ports/index.cjs +6 -9
- package/dist/cross-plugin-ports/index.d.cts +31 -110
- package/dist/cross-plugin-ports/index.d.mts +31 -110
- package/dist/cross-plugin-ports/index.d.ts +31 -110
- package/dist/cross-plugin-ports/index.mjs +4 -7
- package/dist/index.cjs +10 -3
- package/dist/index.d.cts +22 -4
- package/dist/index.d.mts +22 -4
- package/dist/index.d.ts +22 -4
- package/dist/index.mjs +5 -3
- package/package.json +2 -2
|
@@ -38,108 +38,6 @@ interface IChairmanApprovalsPort {
|
|
|
38
38
|
/** Одобрения председателя. Провайдер — расширение chairman. */
|
|
39
39
|
declare const CHAIRMAN_APPROVALS_PORT: unique symbol;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* Доверенности кооператива — системный учёт (решение владельца 18.11.2026).
|
|
43
|
-
* Цепь хранит подписи доверенностей и встречные подписи; номер, срок и
|
|
44
|
-
* состояние ведёт узел по событиям цепи. Провайдер — расширение кооперативных
|
|
45
|
-
* участков (ku): оно выдаёт доверенности председателю участка и доверенным лицам.
|
|
46
|
-
*
|
|
47
|
-
* Потребители проверяют полномочия: истёкшая доверенность закрывает пайщику
|
|
48
|
-
* работу по ней (например, работу с пунктом выдачи). Контракт по сроку не
|
|
49
|
-
* блокирует — проверка только на узле.
|
|
50
|
-
*/
|
|
51
|
-
/** Тип доверенности. Новый тип добавляется в реестр типов провайдера. */
|
|
52
|
-
type InnerPowerOfAttorneyType = 'branch_trustee' | 'branch_trusted';
|
|
53
|
-
/** Состояние доверенности на момент запроса. */
|
|
54
|
-
type InnerPowerOfAttorneyStatus = 'pending' | 'active' | 'expired' | 'declined';
|
|
55
|
-
/** Пайщик, чьи полномочия по участку закрыты истёкшей доверенностью. */
|
|
56
|
-
interface InnerLapsedAuthority {
|
|
57
|
-
braname: string;
|
|
58
|
-
username: string;
|
|
59
|
-
type: InnerPowerOfAttorneyType;
|
|
60
|
-
/** Последний день срока последней встречно подписанной доверенности, ISO 8601 (дата). */
|
|
61
|
-
valid_until: string;
|
|
62
|
-
}
|
|
63
|
-
interface IPowersOfAttorneyPort {
|
|
64
|
-
/**
|
|
65
|
-
* Пайщики кооператива с закрытыми полномочиями: у пайщика есть доверенность
|
|
66
|
-
* по участку, и срок последней встречно подписанной истёк. Пайщик без
|
|
67
|
-
* доверенности по участку в список не входит. Один запрос на кооператив —
|
|
68
|
-
* потребитель держит ответ в своём кэше.
|
|
69
|
-
*/
|
|
70
|
-
listLapsedAuthorities(coopname: string): Promise<InnerLapsedAuthority[]>;
|
|
71
|
-
}
|
|
72
|
-
/** Доверенности кооператива. Провайдер — расширение кооперативных участков. */
|
|
73
|
-
declare const POWERS_OF_ATTORNEY_PORT: unique symbol;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Read-модель события календаря ChatCoop для межмодульного контракта (Capital и др.).
|
|
77
|
-
* Без Nest/TypeORM — только plain-типы.
|
|
78
|
-
*/
|
|
79
|
-
interface InnerCalendarEventWindow {
|
|
80
|
-
/** ISO 8601 */
|
|
81
|
-
fromInclusive: string;
|
|
82
|
-
/** ISO 8601 */
|
|
83
|
-
toExclusive: string;
|
|
84
|
-
}
|
|
85
|
-
interface InnerCoopCalendarEventRead {
|
|
86
|
-
id: string;
|
|
87
|
-
matrixRoomId: string;
|
|
88
|
-
/** Из реестра управляемых комнат; null если комната не в реестре */
|
|
89
|
-
projectHash: string | null;
|
|
90
|
-
title: string;
|
|
91
|
-
description: string | null;
|
|
92
|
-
startsAtIso: string;
|
|
93
|
-
endsAtIso: string | null;
|
|
94
|
-
createdByUsername: string;
|
|
95
|
-
icsSequence: number;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Порт: чтение событий календаря по комнатам проекта Capital и опционально по окну времени.
|
|
99
|
-
* Реализация — расширение chatcoop; регистрация через InnercoopBridgeModule.
|
|
100
|
-
*/
|
|
101
|
-
interface IChatCoopCalendarPort {
|
|
102
|
-
listEventsByProjectHash(input: {
|
|
103
|
-
projectHash: string;
|
|
104
|
-
window?: InnerCalendarEventWindow;
|
|
105
|
-
}): Promise<InnerCoopCalendarEventRead[]>;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Чтение событий кооперативного календаря. Провайдер — chatcoop.
|
|
109
|
-
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
110
|
-
*/
|
|
111
|
-
declare const CHATCOOP_CALENDAR_PORT: unique symbol;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Оповещения пайщиков о событиях кооперативного календаря (Novu / стол связи).
|
|
115
|
-
* Реализация — ChatcoopCalendarEventNotificationService; токен COOP_CALENDAR_EVENT_NOTIFICATION_PORT в ChatCoopPluginModule.
|
|
116
|
-
*/
|
|
117
|
-
/** Совпадает с ChatcoopManagedMatrixRoomKind в реестре управляемых комнат. */
|
|
118
|
-
type InnerCoopCalendarNotificationRoomKind = 'members' | 'council' | 'capital_project' | 'secretary';
|
|
119
|
-
interface InnerCoopCalendarEventNotificationInput {
|
|
120
|
-
title: string;
|
|
121
|
-
description: string | null;
|
|
122
|
-
startsAt: Date;
|
|
123
|
-
endsAt: Date | null;
|
|
124
|
-
roomDisplayLabel: string;
|
|
125
|
-
eventUrl: string;
|
|
126
|
-
/** Имя пользователя, создавшего или изменившего событие */
|
|
127
|
-
actorUsername: string;
|
|
128
|
-
/** Тип комнаты из реестра; рассылка по допуску только при capital_project + projectHash. */
|
|
129
|
-
roomKind: InnerCoopCalendarNotificationRoomKind;
|
|
130
|
-
/** Для kind === capital_project; иначе null */
|
|
131
|
-
projectHash: string | null;
|
|
132
|
-
}
|
|
133
|
-
interface ICoopCalendarEventNotificationPort {
|
|
134
|
-
notifyEventCreated(input: InnerCoopCalendarEventNotificationInput): Promise<void>;
|
|
135
|
-
notifyEventUpdated(input: InnerCoopCalendarEventNotificationInput): Promise<void>;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Оповещения о создании/изменении событий календаря. Провайдер — chatcoop.
|
|
139
|
-
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
140
|
-
*/
|
|
141
|
-
declare const COOP_CALENDAR_EVENT_NOTIFICATION_PORT: unique symbol;
|
|
142
|
-
|
|
143
41
|
/**
|
|
144
42
|
* Шасси расходов (контракт `expense`): read-side для приложений-потребителей
|
|
145
43
|
* (capital, marketplace, EMP). Реализация — расширение `expense-chassis`;
|
|
@@ -489,6 +387,14 @@ interface IMatrixRoomMessagingPort {
|
|
|
489
387
|
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
490
388
|
*/
|
|
491
389
|
declare const MATRIX_ROOM_MESSAGING_PORT: unique symbol;
|
|
390
|
+
/**
|
|
391
|
+
* Сообщения в комнатах Matrix от имени кооператива: отправить, закрепить,
|
|
392
|
+
* заменить текст, снять и удалить объявление. Даёт приложение «Стол связи»
|
|
393
|
+
* (02.12.2026, 487-42) — порт объявлен в его `coopenomics.provides`; ядро
|
|
394
|
+
* зовёт его через посредника портов оркестратора. Без приложения запись в
|
|
395
|
+
* комнату отклоняется.
|
|
396
|
+
*/
|
|
397
|
+
declare const MATRIX_ROOM_MESSAGING_APP_PORT_NAME = "matrix-room-messaging";
|
|
492
398
|
|
|
493
399
|
/**
|
|
494
400
|
* Допуск к проекту Capital (подтверждённый appendix / makeClearance).
|
|
@@ -562,10 +468,17 @@ interface IProjectCommunicationArtifactsPort {
|
|
|
562
468
|
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
563
469
|
*/
|
|
564
470
|
declare const PROJECT_COMMUNICATION_ARTIFACTS_PORT: unique symbol;
|
|
471
|
+
/**
|
|
472
|
+
* Переписка и расшифровки звонков комнат проекта: комнаты, сообщения по
|
|
473
|
+
* суткам, завершённые расшифровки. Даёт приложение «Стол связи» (02.12.2026,
|
|
474
|
+
* 487-42) — порт объявлен в его `coopenomics.provides`; ядро зовёт его через
|
|
475
|
+
* посредника портов оркестратора. Без приложения чтения отвечают «пусто».
|
|
476
|
+
*/
|
|
477
|
+
declare const PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME = "project-communication-artifacts";
|
|
565
478
|
|
|
566
479
|
/**
|
|
567
|
-
* Робот решений совета (
|
|
568
|
-
* расширений, которые
|
|
480
|
+
* Робот решений совета (приложение каталога «Робот совета»): прямой рычаг
|
|
481
|
+
* для расширений, которые вносят решение в повестку и ждут его здесь и сейчас.
|
|
569
482
|
*
|
|
570
483
|
* Робот и сам слушает цепь (событие новой повестки), но потребителю нужен
|
|
571
484
|
* не факт «робот когда-нибудь дойдёт», а ответ в пределах ожидания у стойки:
|
|
@@ -576,8 +489,10 @@ declare const PROJECT_COMMUNICATION_ARTIFACTS_PORT: unique symbol;
|
|
|
576
489
|
* решение принимается вручную в повестке, а потребитель ждёт обратного вызова
|
|
577
490
|
* контракта, сколько потребуется.
|
|
578
491
|
*
|
|
579
|
-
* Реализация —
|
|
580
|
-
*
|
|
492
|
+
* Реализация — приложение каталога «Робот совета» (`@voskhod/autoboard`,
|
|
493
|
+
* 487-49): ядро зовёт его через посредника портов оркестратора. Без
|
|
494
|
+
* приложения порт отвечает «робот выключен» (`isEnabled` — `false`,
|
|
495
|
+
* `requestDecision` — `manual`).
|
|
581
496
|
*/
|
|
582
497
|
type InnerRobotDecisionOutcome =
|
|
583
498
|
/** Решение утверждено и исполнено, обратный вызов контракта-инициатора отправлен. */
|
|
@@ -620,10 +535,16 @@ interface ISovietRobotPort {
|
|
|
620
535
|
requestDecision(input: InnerRobotDecisionRequest): Promise<InnerRobotDecisionResult>;
|
|
621
536
|
}
|
|
622
537
|
/**
|
|
623
|
-
* Робот решений совета. Провайдер —
|
|
624
|
-
*
|
|
538
|
+
* Робот решений совета. Провайдер — приложение каталога через посредника
|
|
539
|
+
* портов; без приложения порт отвечает «робот выключен». Потребители: marketplace*.
|
|
625
540
|
*/
|
|
626
541
|
declare const SOVIET_ROBOT_PORT: unique symbol;
|
|
542
|
+
/**
|
|
543
|
+
* Имя порта приложения «Робот совета» (487-49): приложение объявляет его в
|
|
544
|
+
* `coopenomics.provides` с методами `isEnabled` и `requestDecision`, ядро
|
|
545
|
+
* зовёт его через посредника портов оркестратора.
|
|
546
|
+
*/
|
|
547
|
+
declare const SOVIET_ROBOT_APP_PORT_NAME = "soviet-robot";
|
|
627
548
|
|
|
628
549
|
/**
|
|
629
550
|
* События между программой проектов (Capital) и мессенджером кооператива (ChatCoop).
|
|
@@ -658,5 +579,5 @@ interface IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload {
|
|
|
658
579
|
username: string;
|
|
659
580
|
}
|
|
660
581
|
|
|
661
|
-
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT,
|
|
662
|
-
export type { ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort,
|
|
582
|
+
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, EXPENSE_CHASSIS_PORT, InnerExpenseItemState, InnerExpenseMechanics, InnerExpenseProposalState, InnerExpenseRecipientType, MATRIX_ROOM_MESSAGING_APP_PORT_NAME, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_APP_PORT_NAME, SOVIET_ROBOT_PORT };
|
|
583
|
+
export type { ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort, IChatCoopCapitalProjectRoomEnsureMemberPayload, IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload, IExpenseChassisPort, IMatrixRoomMessagingPort, IProjectCapitalClearancePort, IProjectCommunicationArtifactsPort, ISovietRobotPort, InnerChairmanApproval, InnerChairmanApprovalStatus, InnerChairmanApprovalsQuery, InnerCompletedCallTranscriptionHead, InnerExpenseCallbackHandler, InnerExpenseItem, InnerExpenseItemInput, InnerExpensePaginatedResult, InnerExpensePagination, InnerExpensePlan, InnerExpensePlannedReserve, InnerExpenseProposalRead, InnerExpenseProposalStatus, InnerExpenseRequisiteItemInput, InnerMatrixReplaceTextMessageInput, InnerMatrixSendTextAndPinInput, InnerMatrixSendTextMessageInput, InnerMatrixUnpinAndRedactAnnouncementInput, InnerNonProjectCommunicationRoomRef, InnerNonProjectRoomKind, InnerProjectCommunicationRoomRef, InnerRobotDecisionOutcome, InnerRobotDecisionRequest, InnerRobotDecisionResult, InnerRoomMessageKind, InnerRoomMessageLine };
|
|
@@ -38,108 +38,6 @@ interface IChairmanApprovalsPort {
|
|
|
38
38
|
/** Одобрения председателя. Провайдер — расширение chairman. */
|
|
39
39
|
declare const CHAIRMAN_APPROVALS_PORT: unique symbol;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* Доверенности кооператива — системный учёт (решение владельца 18.11.2026).
|
|
43
|
-
* Цепь хранит подписи доверенностей и встречные подписи; номер, срок и
|
|
44
|
-
* состояние ведёт узел по событиям цепи. Провайдер — расширение кооперативных
|
|
45
|
-
* участков (ku): оно выдаёт доверенности председателю участка и доверенным лицам.
|
|
46
|
-
*
|
|
47
|
-
* Потребители проверяют полномочия: истёкшая доверенность закрывает пайщику
|
|
48
|
-
* работу по ней (например, работу с пунктом выдачи). Контракт по сроку не
|
|
49
|
-
* блокирует — проверка только на узле.
|
|
50
|
-
*/
|
|
51
|
-
/** Тип доверенности. Новый тип добавляется в реестр типов провайдера. */
|
|
52
|
-
type InnerPowerOfAttorneyType = 'branch_trustee' | 'branch_trusted';
|
|
53
|
-
/** Состояние доверенности на момент запроса. */
|
|
54
|
-
type InnerPowerOfAttorneyStatus = 'pending' | 'active' | 'expired' | 'declined';
|
|
55
|
-
/** Пайщик, чьи полномочия по участку закрыты истёкшей доверенностью. */
|
|
56
|
-
interface InnerLapsedAuthority {
|
|
57
|
-
braname: string;
|
|
58
|
-
username: string;
|
|
59
|
-
type: InnerPowerOfAttorneyType;
|
|
60
|
-
/** Последний день срока последней встречно подписанной доверенности, ISO 8601 (дата). */
|
|
61
|
-
valid_until: string;
|
|
62
|
-
}
|
|
63
|
-
interface IPowersOfAttorneyPort {
|
|
64
|
-
/**
|
|
65
|
-
* Пайщики кооператива с закрытыми полномочиями: у пайщика есть доверенность
|
|
66
|
-
* по участку, и срок последней встречно подписанной истёк. Пайщик без
|
|
67
|
-
* доверенности по участку в список не входит. Один запрос на кооператив —
|
|
68
|
-
* потребитель держит ответ в своём кэше.
|
|
69
|
-
*/
|
|
70
|
-
listLapsedAuthorities(coopname: string): Promise<InnerLapsedAuthority[]>;
|
|
71
|
-
}
|
|
72
|
-
/** Доверенности кооператива. Провайдер — расширение кооперативных участков. */
|
|
73
|
-
declare const POWERS_OF_ATTORNEY_PORT: unique symbol;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Read-модель события календаря ChatCoop для межмодульного контракта (Capital и др.).
|
|
77
|
-
* Без Nest/TypeORM — только plain-типы.
|
|
78
|
-
*/
|
|
79
|
-
interface InnerCalendarEventWindow {
|
|
80
|
-
/** ISO 8601 */
|
|
81
|
-
fromInclusive: string;
|
|
82
|
-
/** ISO 8601 */
|
|
83
|
-
toExclusive: string;
|
|
84
|
-
}
|
|
85
|
-
interface InnerCoopCalendarEventRead {
|
|
86
|
-
id: string;
|
|
87
|
-
matrixRoomId: string;
|
|
88
|
-
/** Из реестра управляемых комнат; null если комната не в реестре */
|
|
89
|
-
projectHash: string | null;
|
|
90
|
-
title: string;
|
|
91
|
-
description: string | null;
|
|
92
|
-
startsAtIso: string;
|
|
93
|
-
endsAtIso: string | null;
|
|
94
|
-
createdByUsername: string;
|
|
95
|
-
icsSequence: number;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Порт: чтение событий календаря по комнатам проекта Capital и опционально по окну времени.
|
|
99
|
-
* Реализация — расширение chatcoop; регистрация через InnercoopBridgeModule.
|
|
100
|
-
*/
|
|
101
|
-
interface IChatCoopCalendarPort {
|
|
102
|
-
listEventsByProjectHash(input: {
|
|
103
|
-
projectHash: string;
|
|
104
|
-
window?: InnerCalendarEventWindow;
|
|
105
|
-
}): Promise<InnerCoopCalendarEventRead[]>;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Чтение событий кооперативного календаря. Провайдер — chatcoop.
|
|
109
|
-
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
110
|
-
*/
|
|
111
|
-
declare const CHATCOOP_CALENDAR_PORT: unique symbol;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Оповещения пайщиков о событиях кооперативного календаря (Novu / стол связи).
|
|
115
|
-
* Реализация — ChatcoopCalendarEventNotificationService; токен COOP_CALENDAR_EVENT_NOTIFICATION_PORT в ChatCoopPluginModule.
|
|
116
|
-
*/
|
|
117
|
-
/** Совпадает с ChatcoopManagedMatrixRoomKind в реестре управляемых комнат. */
|
|
118
|
-
type InnerCoopCalendarNotificationRoomKind = 'members' | 'council' | 'capital_project' | 'secretary';
|
|
119
|
-
interface InnerCoopCalendarEventNotificationInput {
|
|
120
|
-
title: string;
|
|
121
|
-
description: string | null;
|
|
122
|
-
startsAt: Date;
|
|
123
|
-
endsAt: Date | null;
|
|
124
|
-
roomDisplayLabel: string;
|
|
125
|
-
eventUrl: string;
|
|
126
|
-
/** Имя пользователя, создавшего или изменившего событие */
|
|
127
|
-
actorUsername: string;
|
|
128
|
-
/** Тип комнаты из реестра; рассылка по допуску только при capital_project + projectHash. */
|
|
129
|
-
roomKind: InnerCoopCalendarNotificationRoomKind;
|
|
130
|
-
/** Для kind === capital_project; иначе null */
|
|
131
|
-
projectHash: string | null;
|
|
132
|
-
}
|
|
133
|
-
interface ICoopCalendarEventNotificationPort {
|
|
134
|
-
notifyEventCreated(input: InnerCoopCalendarEventNotificationInput): Promise<void>;
|
|
135
|
-
notifyEventUpdated(input: InnerCoopCalendarEventNotificationInput): Promise<void>;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Оповещения о создании/изменении событий календаря. Провайдер — chatcoop.
|
|
139
|
-
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
140
|
-
*/
|
|
141
|
-
declare const COOP_CALENDAR_EVENT_NOTIFICATION_PORT: unique symbol;
|
|
142
|
-
|
|
143
41
|
/**
|
|
144
42
|
* Шасси расходов (контракт `expense`): read-side для приложений-потребителей
|
|
145
43
|
* (capital, marketplace, EMP). Реализация — расширение `expense-chassis`;
|
|
@@ -489,6 +387,14 @@ interface IMatrixRoomMessagingPort {
|
|
|
489
387
|
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
490
388
|
*/
|
|
491
389
|
declare const MATRIX_ROOM_MESSAGING_PORT: unique symbol;
|
|
390
|
+
/**
|
|
391
|
+
* Сообщения в комнатах Matrix от имени кооператива: отправить, закрепить,
|
|
392
|
+
* заменить текст, снять и удалить объявление. Даёт приложение «Стол связи»
|
|
393
|
+
* (02.12.2026, 487-42) — порт объявлен в его `coopenomics.provides`; ядро
|
|
394
|
+
* зовёт его через посредника портов оркестратора. Без приложения запись в
|
|
395
|
+
* комнату отклоняется.
|
|
396
|
+
*/
|
|
397
|
+
declare const MATRIX_ROOM_MESSAGING_APP_PORT_NAME = "matrix-room-messaging";
|
|
492
398
|
|
|
493
399
|
/**
|
|
494
400
|
* Допуск к проекту Capital (подтверждённый appendix / makeClearance).
|
|
@@ -562,10 +468,17 @@ interface IProjectCommunicationArtifactsPort {
|
|
|
562
468
|
* Реализацию подставляет composition root (`InnercoopBridgeModule`).
|
|
563
469
|
*/
|
|
564
470
|
declare const PROJECT_COMMUNICATION_ARTIFACTS_PORT: unique symbol;
|
|
471
|
+
/**
|
|
472
|
+
* Переписка и расшифровки звонков комнат проекта: комнаты, сообщения по
|
|
473
|
+
* суткам, завершённые расшифровки. Даёт приложение «Стол связи» (02.12.2026,
|
|
474
|
+
* 487-42) — порт объявлен в его `coopenomics.provides`; ядро зовёт его через
|
|
475
|
+
* посредника портов оркестратора. Без приложения чтения отвечают «пусто».
|
|
476
|
+
*/
|
|
477
|
+
declare const PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME = "project-communication-artifacts";
|
|
565
478
|
|
|
566
479
|
/**
|
|
567
|
-
* Робот решений совета (
|
|
568
|
-
* расширений, которые
|
|
480
|
+
* Робот решений совета (приложение каталога «Робот совета»): прямой рычаг
|
|
481
|
+
* для расширений, которые вносят решение в повестку и ждут его здесь и сейчас.
|
|
569
482
|
*
|
|
570
483
|
* Робот и сам слушает цепь (событие новой повестки), но потребителю нужен
|
|
571
484
|
* не факт «робот когда-нибудь дойдёт», а ответ в пределах ожидания у стойки:
|
|
@@ -576,8 +489,10 @@ declare const PROJECT_COMMUNICATION_ARTIFACTS_PORT: unique symbol;
|
|
|
576
489
|
* решение принимается вручную в повестке, а потребитель ждёт обратного вызова
|
|
577
490
|
* контракта, сколько потребуется.
|
|
578
491
|
*
|
|
579
|
-
* Реализация —
|
|
580
|
-
*
|
|
492
|
+
* Реализация — приложение каталога «Робот совета» (`@voskhod/autoboard`,
|
|
493
|
+
* 487-49): ядро зовёт его через посредника портов оркестратора. Без
|
|
494
|
+
* приложения порт отвечает «робот выключен» (`isEnabled` — `false`,
|
|
495
|
+
* `requestDecision` — `manual`).
|
|
581
496
|
*/
|
|
582
497
|
type InnerRobotDecisionOutcome =
|
|
583
498
|
/** Решение утверждено и исполнено, обратный вызов контракта-инициатора отправлен. */
|
|
@@ -620,10 +535,16 @@ interface ISovietRobotPort {
|
|
|
620
535
|
requestDecision(input: InnerRobotDecisionRequest): Promise<InnerRobotDecisionResult>;
|
|
621
536
|
}
|
|
622
537
|
/**
|
|
623
|
-
* Робот решений совета. Провайдер —
|
|
624
|
-
*
|
|
538
|
+
* Робот решений совета. Провайдер — приложение каталога через посредника
|
|
539
|
+
* портов; без приложения порт отвечает «робот выключен». Потребители: marketplace*.
|
|
625
540
|
*/
|
|
626
541
|
declare const SOVIET_ROBOT_PORT: unique symbol;
|
|
542
|
+
/**
|
|
543
|
+
* Имя порта приложения «Робот совета» (487-49): приложение объявляет его в
|
|
544
|
+
* `coopenomics.provides` с методами `isEnabled` и `requestDecision`, ядро
|
|
545
|
+
* зовёт его через посредника портов оркестратора.
|
|
546
|
+
*/
|
|
547
|
+
declare const SOVIET_ROBOT_APP_PORT_NAME = "soviet-robot";
|
|
627
548
|
|
|
628
549
|
/**
|
|
629
550
|
* События между программой проектов (Capital) и мессенджером кооператива (ChatCoop).
|
|
@@ -658,5 +579,5 @@ interface IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload {
|
|
|
658
579
|
username: string;
|
|
659
580
|
}
|
|
660
581
|
|
|
661
|
-
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT,
|
|
662
|
-
export type { ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort,
|
|
582
|
+
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, EXPENSE_CHASSIS_PORT, InnerExpenseItemState, InnerExpenseMechanics, InnerExpenseProposalState, InnerExpenseRecipientType, MATRIX_ROOM_MESSAGING_APP_PORT_NAME, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_APP_PORT_NAME, SOVIET_ROBOT_PORT };
|
|
583
|
+
export type { ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort, IChatCoopCapitalProjectRoomEnsureMemberPayload, IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload, IExpenseChassisPort, IMatrixRoomMessagingPort, IProjectCapitalClearancePort, IProjectCommunicationArtifactsPort, ISovietRobotPort, InnerChairmanApproval, InnerChairmanApprovalStatus, InnerChairmanApprovalsQuery, InnerCompletedCallTranscriptionHead, InnerExpenseCallbackHandler, InnerExpenseItem, InnerExpenseItemInput, InnerExpensePaginatedResult, InnerExpensePagination, InnerExpensePlan, InnerExpensePlannedReserve, InnerExpenseProposalRead, InnerExpenseProposalStatus, InnerExpenseRequisiteItemInput, InnerMatrixReplaceTextMessageInput, InnerMatrixSendTextAndPinInput, InnerMatrixSendTextMessageInput, InnerMatrixUnpinAndRedactAnnouncementInput, InnerNonProjectCommunicationRoomRef, InnerNonProjectRoomKind, InnerProjectCommunicationRoomRef, InnerRobotDecisionOutcome, InnerRobotDecisionRequest, InnerRobotDecisionResult, InnerRoomMessageKind, InnerRoomMessageLine };
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
const CHAIRMAN_APPROVALS_PORT = Symbol.for("Innercoop.CrossPlugin.ChairmanApprovals");
|
|
2
2
|
|
|
3
|
-
const POWERS_OF_ATTORNEY_PORT = Symbol.for("Innercoop.CrossPlugin.PowersOfAttorney");
|
|
4
|
-
|
|
5
|
-
const CHATCOOP_CALENDAR_PORT = Symbol.for("Innercoop.CrossPlugin.ChatCoopCalendar");
|
|
6
|
-
|
|
7
|
-
const COOP_CALENDAR_EVENT_NOTIFICATION_PORT = Symbol.for("Innercoop.CrossPlugin.CoopCalendarEventNotification");
|
|
8
|
-
|
|
9
3
|
var InnerExpenseProposalState = /* @__PURE__ */ ((InnerExpenseProposalState2) => {
|
|
10
4
|
InnerExpenseProposalState2["CREATED"] = "CREATED";
|
|
11
5
|
InnerExpenseProposalState2["AUTHORIZED"] = "AUTHORIZED";
|
|
@@ -39,16 +33,19 @@ var InnerExpenseItemState = /* @__PURE__ */ ((InnerExpenseItemState2) => {
|
|
|
39
33
|
const EXPENSE_CHASSIS_PORT = Symbol.for("Innercoop.CrossPlugin.ExpenseChassis");
|
|
40
34
|
|
|
41
35
|
const MATRIX_ROOM_MESSAGING_PORT = Symbol.for("Innercoop.CrossPlugin.MatrixRoomMessaging");
|
|
36
|
+
const MATRIX_ROOM_MESSAGING_APP_PORT_NAME = "matrix-room-messaging";
|
|
42
37
|
|
|
43
38
|
const PROJECT_CAPITAL_CLEARANCE_PORT = Symbol.for("Innercoop.CrossPlugin.ProjectCapitalClearance");
|
|
44
39
|
|
|
45
40
|
const PROJECT_COMMUNICATION_ARTIFACTS_PORT = Symbol.for("Innercoop.CrossPlugin.ProjectCommunicationArtifacts");
|
|
41
|
+
const PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME = "project-communication-artifacts";
|
|
46
42
|
|
|
47
43
|
const SOVIET_ROBOT_PORT = Symbol.for("Innercoop.CrossPlugin.SovietRobot");
|
|
44
|
+
const SOVIET_ROBOT_APP_PORT_NAME = "soviet-robot";
|
|
48
45
|
|
|
49
46
|
const CAPITAL_PROJECT_CREATED_EVENT = "capital.project.created";
|
|
50
47
|
const CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT = "capital.project.matrix_room_assigned";
|
|
51
48
|
const CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT = "chatcoop.capital_project_room.ensure_member";
|
|
52
49
|
const CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT = "chatcoop.matrix.user.linked_for_capital_project_rooms";
|
|
53
50
|
|
|
54
|
-
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT,
|
|
51
|
+
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, EXPENSE_CHASSIS_PORT, InnerExpenseItemState, InnerExpenseMechanics, InnerExpenseProposalState, InnerExpenseRecipientType, MATRIX_ROOM_MESSAGING_APP_PORT_NAME, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_APP_PORT_NAME, SOVIET_ROBOT_PORT };
|
package/dist/index.cjs
CHANGED
|
@@ -4,8 +4,10 @@ const corePorts_index = require('./core-ports/index.cjs');
|
|
|
4
4
|
const crossPluginPorts_index = require('./cross-plugin-ports/index.cjs');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.RegistrationDocumentParametersRegistry");
|
|
7
|
+
const MARKETPLACE_OFFER_APP_PORT_NAME = "marketplace-offer";
|
|
7
8
|
|
|
8
9
|
const DESKTOP_GRANTS_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.DesktopGrantsRegistry");
|
|
10
|
+
const MARKETPLACE_DESKTOP_GRANTS_APP_PORT_NAME = "marketplace-desktop-grants";
|
|
9
11
|
|
|
10
12
|
const DESKTOP_GRANTS_FILTER_REGISTRY_PORT = Symbol.for("Innercoop.CorePort.DesktopGrantsFilterRegistry");
|
|
11
13
|
|
|
@@ -25,6 +27,8 @@ exports.ACCESS_TOKEN_PORT = corePorts_index.ACCESS_TOKEN_PORT;
|
|
|
25
27
|
exports.ACCOUNTING_REGISTRY_PORT = corePorts_index.ACCOUNTING_REGISTRY_PORT;
|
|
26
28
|
exports.ACCOUNT_PORT = corePorts_index.ACCOUNT_PORT;
|
|
27
29
|
exports.AGREEMENT_CATALOG_PORT = corePorts_index.AGREEMENT_CATALOG_PORT;
|
|
30
|
+
exports.APP_BRANCH_CARD_PORT = corePorts_index.APP_BRANCH_CARD_PORT;
|
|
31
|
+
exports.APP_POWERS_OF_ATTORNEY_PORT = corePorts_index.APP_POWERS_OF_ATTORNEY_PORT;
|
|
28
32
|
exports.BRANCH_PORT = corePorts_index.BRANCH_PORT;
|
|
29
33
|
exports.CANDIDATE_PORT = corePorts_index.CANDIDATE_PORT;
|
|
30
34
|
exports.CHAIN_CHANGES_PORT = corePorts_index.CHAIN_CHANGES_PORT;
|
|
@@ -82,6 +86,7 @@ exports.PAYMENT_NOTICE_LOG_PORT = corePorts_index.PAYMENT_NOTICE_LOG_PORT;
|
|
|
82
86
|
exports.PAYMENT_POLLING_STATE_PORT = corePorts_index.PAYMENT_POLLING_STATE_PORT;
|
|
83
87
|
exports.PAYMENT_PORT = corePorts_index.PAYMENT_PORT;
|
|
84
88
|
exports.PAYMENT_PROVIDER_REGISTRY_PORT = corePorts_index.PAYMENT_PROVIDER_REGISTRY_PORT;
|
|
89
|
+
exports.POWERS_OF_ATTORNEY_PORT = corePorts_index.POWERS_OF_ATTORNEY_PORT;
|
|
85
90
|
exports.PROGRAM_AGREEMENT_PORT = corePorts_index.PROGRAM_AGREEMENT_PORT;
|
|
86
91
|
exports.PROGRAM_ID_BY_TYPE = corePorts_index.PROGRAM_ID_BY_TYPE;
|
|
87
92
|
exports.PROGRAM_TYPE_BY_ID = corePorts_index.PROGRAM_TYPE_BY_ID;
|
|
@@ -113,19 +118,19 @@ exports.isEligibleForParticipantMassNotification = corePorts_index.isEligibleFor
|
|
|
113
118
|
exports.CAPITAL_PROJECT_CREATED_EVENT = crossPluginPorts_index.CAPITAL_PROJECT_CREATED_EVENT;
|
|
114
119
|
exports.CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT = crossPluginPorts_index.CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT;
|
|
115
120
|
exports.CHAIRMAN_APPROVALS_PORT = crossPluginPorts_index.CHAIRMAN_APPROVALS_PORT;
|
|
116
|
-
exports.CHATCOOP_CALENDAR_PORT = crossPluginPorts_index.CHATCOOP_CALENDAR_PORT;
|
|
117
121
|
exports.CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT = crossPluginPorts_index.CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT;
|
|
118
122
|
exports.CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT = crossPluginPorts_index.CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT;
|
|
119
|
-
exports.COOP_CALENDAR_EVENT_NOTIFICATION_PORT = crossPluginPorts_index.COOP_CALENDAR_EVENT_NOTIFICATION_PORT;
|
|
120
123
|
exports.EXPENSE_CHASSIS_PORT = crossPluginPorts_index.EXPENSE_CHASSIS_PORT;
|
|
121
124
|
exports.InnerExpenseItemState = crossPluginPorts_index.InnerExpenseItemState;
|
|
122
125
|
exports.InnerExpenseMechanics = crossPluginPorts_index.InnerExpenseMechanics;
|
|
123
126
|
exports.InnerExpenseProposalState = crossPluginPorts_index.InnerExpenseProposalState;
|
|
124
127
|
exports.InnerExpenseRecipientType = crossPluginPorts_index.InnerExpenseRecipientType;
|
|
128
|
+
exports.MATRIX_ROOM_MESSAGING_APP_PORT_NAME = crossPluginPorts_index.MATRIX_ROOM_MESSAGING_APP_PORT_NAME;
|
|
125
129
|
exports.MATRIX_ROOM_MESSAGING_PORT = crossPluginPorts_index.MATRIX_ROOM_MESSAGING_PORT;
|
|
126
|
-
exports.POWERS_OF_ATTORNEY_PORT = crossPluginPorts_index.POWERS_OF_ATTORNEY_PORT;
|
|
127
130
|
exports.PROJECT_CAPITAL_CLEARANCE_PORT = crossPluginPorts_index.PROJECT_CAPITAL_CLEARANCE_PORT;
|
|
131
|
+
exports.PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME = crossPluginPorts_index.PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME;
|
|
128
132
|
exports.PROJECT_COMMUNICATION_ARTIFACTS_PORT = crossPluginPorts_index.PROJECT_COMMUNICATION_ARTIFACTS_PORT;
|
|
133
|
+
exports.SOVIET_ROBOT_APP_PORT_NAME = crossPluginPorts_index.SOVIET_ROBOT_APP_PORT_NAME;
|
|
129
134
|
exports.SOVIET_ROBOT_PORT = crossPluginPorts_index.SOVIET_ROBOT_PORT;
|
|
130
135
|
exports.APP_SETTINGS_APP_PORT_METHODS = APP_SETTINGS_APP_PORT_METHODS;
|
|
131
136
|
exports.APP_SETTINGS_APP_PORT_NAME = APP_SETTINGS_APP_PORT_NAME;
|
|
@@ -133,6 +138,8 @@ exports.APP_SETTINGS_SECRET_SET = APP_SETTINGS_SECRET_SET;
|
|
|
133
138
|
exports.DESKTOP_GRANTS_FILTER_REGISTRY_PORT = DESKTOP_GRANTS_FILTER_REGISTRY_PORT;
|
|
134
139
|
exports.DESKTOP_GRANTS_REGISTRY_PORT = DESKTOP_GRANTS_REGISTRY_PORT;
|
|
135
140
|
exports.GLOBAL_SEARCH_REGISTRY_PORT = GLOBAL_SEARCH_REGISTRY_PORT;
|
|
141
|
+
exports.MARKETPLACE_DESKTOP_GRANTS_APP_PORT_NAME = MARKETPLACE_DESKTOP_GRANTS_APP_PORT_NAME;
|
|
142
|
+
exports.MARKETPLACE_OFFER_APP_PORT_NAME = MARKETPLACE_OFFER_APP_PORT_NAME;
|
|
136
143
|
exports.ORGANIZATION_LOOKUP_APP_PORT_METHODS = ORGANIZATION_LOOKUP_APP_PORT_METHODS;
|
|
137
144
|
exports.ORGANIZATION_LOOKUP_APP_PORT_NAME = ORGANIZATION_LOOKUP_APP_PORT_NAME;
|
|
138
145
|
exports.ORGANIZATION_LOOKUP_REGISTRY_PORT = ORGANIZATION_LOOKUP_REGISTRY_PORT;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InnerAccountType, InnerProgramRegistration, InnerAgreementRegistration, InnerOrganizationType } from './core-ports/index.cjs';
|
|
2
|
-
export { ACCESS_TOKEN_PORT, ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, CHAIN_RESOURCE_SHORTAGE_EVENT, COOPERATIVE_LOGO_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, ChainResourceKind, ChainResourceShortagePayload, CreateTrackingRuleInput, DECISION_DECLINE_REASON_PORT, 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, IAccessTokenPort, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeLogoPort, ICooperativeVarsPort, ICouncilPort, IDecisionDeclineReasonPort, 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, IProviderAppsPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccessIdentity, InnerAccount, InnerAgreementCatalogItem, InnerAppCancelOutcome, InnerAppLiveChange, InnerAppOffer, InnerAppSubscribeOutcome, InnerAppSubscription, InnerAppSubscriptionStatus, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBillingSummary, 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, InnerMeetForm, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyDelivery, InnerNotifyDeliveryState, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantProfileUpdatedEvent, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPayoutRequest, InnerPayoutRequestStatus, InnerPrivateAccount, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderSubscription, 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_PROFILE_UPDATED_EVENT, 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_APPS_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
|
-
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT,
|
|
2
|
+
export { ACCESS_TOKEN_PORT, ACCOUNTING_REGISTRY_PORT, ACCOUNT_PORT, AGREEMENT_CATALOG_PORT, APP_BRANCH_CARD_PORT, APP_POWERS_OF_ATTORNEY_PORT, BRANCH_PORT, CANDIDATE_PORT, CHAIN_CHANGES_PORT, CHAIN_DELTA_WAIT_PORT, CHAIN_PORT, CHAIN_RESOURCES_PORT, CHAIN_RESOURCE_SHORTAGE_EVENT, COOPERATIVE_LOGO_PORT, COOPERATIVE_VARS_PORT, COOP_CREDENTIAL_PORT, COUNCIL_PORT, ChainResourceKind, ChainResourceShortagePayload, CreateTrackingRuleInput, DECISION_DECLINE_REASON_PORT, 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, IAccessTokenPort, IAccountPort, IAccountingRegistryPort, IAgreementCatalogPort, IAppBranchCardPort, IAppPowersOfAttorneyPort, IBranchPort, ICandidatePort, IChainChangesPort, IChainDeltaWaitPort, IChainPort, IChainResourcesPort, ICoopCredentialPort, ICooperativeLogoPort, ICooperativeVarsPort, ICouncilPort, IDecisionDeclineReasonPort, 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, IPowersOfAttorneyPort, IProgramAgreementPort, IProgramWalletPort, IProviderAppsPort, IProviderTariffPort, IRealtimeChannelPort, IRegistrationRegistryPort, IRoleAssignmentsPort, ISecretCipherPort, ISignatureInfo, ISignedDocument, IUserAvatarPort, IUserCertificatePort, IUserDataPort, IUserDirectoryPort, IUserWalletPort, IVaultPort, IVerificationPort, IWalletWithdrawPort, InnerAccessIdentity, InnerAccount, InnerAgreementCatalogItem, InnerAppBranchCard, InnerAppBranchCardInput, InnerAppBranchCertificate, InnerAppCancelOutcome, InnerAppLiveChange, InnerAppOffer, InnerAppPowerOfAttorneyFilter, InnerAppPowerOfAttorneyRegistration, InnerAppPowerOfAttorneyResolution, InnerAppPowerOfAttorneyRow, InnerAppSubscribeOutcome, InnerAppSubscription, InnerAppSubscriptionStatus, InnerAssignableRole, InnerAttachedRole, InnerBankTransferData, InnerBillingSummary, InnerBranch, InnerCandidate, InnerCandidateDocument, InnerCandidateFilter, InnerChainAccountResources, InnerChainAccountRow, InnerChainAction, InnerChainActionRecord, InnerChainChangesTable, InnerChainDelta, InnerChainDeltaWaitQuery, InnerChainSignedDocument, 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, InnerLapsedAuthority, InnerLedger2Account, InnerLedger2HistoryFilter, InnerLedger2HistoryResult, InnerLedger2Operation, InnerLedger2Wallet, InnerLogMeta, InnerMeet, InnerMeetDraft, InnerMeetForm, InnerMeetProcessing, InnerMeetRow, InnerMutationLogEntry, InnerMutationLogFilter, InnerNotifyActor, InnerNotifyDelivery, InnerNotifyDeliveryState, InnerNotifyInput, InnerNotifyRecipient, InnerNotifyResult, InnerOnboardingCompletedPayload, InnerOnboardingDecisionKind, InnerOnboardingGenerator, InnerOnboardingStep, InnerOnboardingStepProposal, InnerOrganization, InnerOrganizationDetails, InnerPage, InnerPageRequest, InnerPaginatedAccounts, InnerPaginationOptions, InnerParticipantProfileUpdatedEvent, InnerParticipantRegisteredEvent, InnerPassport, InnerPayment, InnerPaymentDetails, InnerPaymentDraft, InnerPaymentFilters, InnerPaymentMethod, InnerPaymentMethodDraft, InnerPaymentMethodQuery, InnerPaymentMethodType, InnerPaymentNotice, InnerPaymentPollingState, InnerPayoutRequest, InnerPayoutRequestStatus, InnerPowerOfAttorneyStatus, InnerPowerOfAttorneyType, InnerPrivateAccount, InnerProgramSignature, InnerProgramWallet, InnerProgramWalletFilter, InnerProposeOnboardingStepInput, InnerProviderSubscription, 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_PROFILE_UPDATED_EVENT, PARTICIPANT_REGISTERED_EVENT, PAYMENT_DESK_PORT, PAYMENT_METHOD_PORT, PAYMENT_NOTICE_LOG_PORT, PAYMENT_POLLING_STATE_PORT, PAYMENT_PORT, PAYMENT_PROVIDER_REGISTRY_PORT, POWERS_OF_ATTORNEY_PORT, PROGRAM_AGREEMENT_PORT, PROGRAM_ID_BY_TYPE, PROGRAM_TYPE_BY_ID, PROGRAM_WALLET_PORT, PROVIDER_APPS_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
|
+
export { CAPITAL_PROJECT_CREATED_EVENT, CAPITAL_PROJECT_MATRIX_ROOM_ASSIGNED_EVENT, CHAIRMAN_APPROVALS_PORT, CHATCOOP_CAPITAL_PROJECT_ROOM_ENSURE_MEMBER_EVENT, CHATCOOP_MATRIX_USER_LINKED_FOR_CAPITAL_PROJECT_ROOMS_EVENT, EXPENSE_CHASSIS_PORT, ICapitalProjectCreatedPayload, ICapitalProjectMatrixRoomAssignedPayload, IChairmanApprovalsPort, IChatCoopCapitalProjectRoomEnsureMemberPayload, IChatCoopMatrixUserLinkedForCapitalProjectRoomsPayload, IExpenseChassisPort, IMatrixRoomMessagingPort, IProjectCapitalClearancePort, IProjectCommunicationArtifactsPort, ISovietRobotPort, InnerChairmanApproval, InnerChairmanApprovalStatus, InnerChairmanApprovalsQuery, InnerCompletedCallTranscriptionHead, InnerExpenseCallbackHandler, InnerExpenseItem, InnerExpenseItemInput, InnerExpenseItemState, InnerExpenseMechanics, InnerExpensePaginatedResult, InnerExpensePagination, InnerExpensePlan, InnerExpensePlannedReserve, InnerExpenseProposalRead, InnerExpenseProposalState, InnerExpenseProposalStatus, InnerExpenseRecipientType, InnerExpenseRequisiteItemInput, InnerMatrixReplaceTextMessageInput, InnerMatrixSendTextAndPinInput, InnerMatrixSendTextMessageInput, InnerMatrixUnpinAndRedactAnnouncementInput, InnerNonProjectCommunicationRoomRef, InnerNonProjectRoomKind, InnerProjectCommunicationRoomRef, InnerRobotDecisionOutcome, InnerRobotDecisionRequest, InnerRobotDecisionResult, InnerRoomMessageKind, InnerRoomMessageLine, MATRIX_ROOM_MESSAGING_APP_PORT_NAME, MATRIX_ROOM_MESSAGING_PORT, PROJECT_CAPITAL_CLEARANCE_PORT, PROJECT_COMMUNICATION_ARTIFACTS_APP_PORT_NAME, PROJECT_COMMUNICATION_ARTIFACTS_PORT, SOVIET_ROBOT_APP_PORT_NAME, SOVIET_ROBOT_PORT } from './cross-plugin-ports/index.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Параметры оферты, которые расширение выдаёт вступающему пайщику.
|
|
@@ -70,6 +70,12 @@ interface IRegistrationDocumentParametersRegistryPort {
|
|
|
70
70
|
registerProgramOfferHook(hook: IProgramOfferParametersHook): void;
|
|
71
71
|
}
|
|
72
72
|
declare const REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT: unique symbol;
|
|
73
|
+
/**
|
|
74
|
+
* Порт приложения «Стол заказов», через который ядро зовёт хук оферты после
|
|
75
|
+
* выноса Стола заказов из монолита (03.12.2026, 487-46). Приложение объявляет
|
|
76
|
+
* его в `coopenomics.provides` с методом `generateMarketplaceOfferParameters`.
|
|
77
|
+
*/
|
|
78
|
+
declare const MARKETPLACE_OFFER_APP_PORT_NAME = "marketplace-offer";
|
|
73
79
|
|
|
74
80
|
/**
|
|
75
81
|
* Права пайщика на рабочем столе расширения.
|
|
@@ -116,6 +122,12 @@ interface IDesktopGrantsRegistryPort {
|
|
|
116
122
|
register(provider: IDesktopGrantsHook): void;
|
|
117
123
|
}
|
|
118
124
|
declare const DESKTOP_GRANTS_REGISTRY_PORT: unique symbol;
|
|
125
|
+
/**
|
|
126
|
+
* Имя порта приложения «Стол заказов» с правами страниц его стола (03.12.2026,
|
|
127
|
+
* 487-46). Права зависят от пайщика (поставщик, председатель участка, подписал
|
|
128
|
+
* ли оферту), поэтому манифест их не перечисляет: ядро спрашивает приложение.
|
|
129
|
+
*/
|
|
130
|
+
declare const MARKETPLACE_DESKTOP_GRANTS_APP_PORT_NAME = "marketplace-desktop-grants";
|
|
119
131
|
|
|
120
132
|
/**
|
|
121
133
|
* Сужение прав пайщика на столах ЧУЖОГО расширения.
|
|
@@ -380,7 +392,13 @@ declare const ORGANIZATION_LOOKUP_REGISTRY_PORT: unique symbol;
|
|
|
380
392
|
* Форма описывается той же JSON-схемой, что настройки встроенных расширений:
|
|
381
393
|
* стол рисует её общим компонентом формы.
|
|
382
394
|
*/
|
|
383
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* Настройки приложения: форма по JSON-схеме и сохранение значений (01.12.2026,
|
|
397
|
+
* 487-48). Председатель заполняет форму на странице приложения в каталоге
|
|
398
|
+
* сразу после установки. Значения хранит приложение, секреты — шифротекстом;
|
|
399
|
+
* ядру приложение отдаёт только признак «задано». Ядро зовёт порт адресно, у
|
|
400
|
+
* названного пакета.
|
|
401
|
+
*/
|
|
384
402
|
declare const APP_SETTINGS_APP_PORT_NAME = "app-settings";
|
|
385
403
|
/** Методы порта, открытые посреднику. */
|
|
386
404
|
declare const APP_SETTINGS_APP_PORT_METHODS: readonly ["form", "save"];
|
|
@@ -427,5 +445,5 @@ interface IAppSettingsAppPort {
|
|
|
427
445
|
save(values: Record<string, unknown>, username: string): Promise<AppSettingsForm>;
|
|
428
446
|
}
|
|
429
447
|
|
|
430
|
-
export { APP_SETTINGS_APP_PORT_METHODS, APP_SETTINGS_APP_PORT_NAME, APP_SETTINGS_SECRET_SET, DESKTOP_GRANTS_FILTER_REGISTRY_PORT, DESKTOP_GRANTS_REGISTRY_PORT, GLOBAL_SEARCH_REGISTRY_PORT, InnerAccountType, InnerAgreementRegistration, InnerOrganizationType, InnerProgramRegistration, ORGANIZATION_LOOKUP_APP_PORT_METHODS, ORGANIZATION_LOOKUP_APP_PORT_NAME, ORGANIZATION_LOOKUP_REGISTRY_PORT, REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT, REGISTRATION_OFFER_FILTER_REGISTRY_PORT };
|
|
448
|
+
export { APP_SETTINGS_APP_PORT_METHODS, APP_SETTINGS_APP_PORT_NAME, APP_SETTINGS_SECRET_SET, DESKTOP_GRANTS_FILTER_REGISTRY_PORT, DESKTOP_GRANTS_REGISTRY_PORT, GLOBAL_SEARCH_REGISTRY_PORT, InnerAccountType, InnerAgreementRegistration, InnerOrganizationType, InnerProgramRegistration, MARKETPLACE_DESKTOP_GRANTS_APP_PORT_NAME, MARKETPLACE_OFFER_APP_PORT_NAME, ORGANIZATION_LOOKUP_APP_PORT_METHODS, ORGANIZATION_LOOKUP_APP_PORT_NAME, ORGANIZATION_LOOKUP_REGISTRY_PORT, REGISTRATION_DOCUMENT_PARAMETERS_REGISTRY_PORT, REGISTRATION_OFFER_FILTER_REGISTRY_PORT };
|
|
431
449
|
export type { AppSettingsField, AppSettingsFieldDescription, AppSettingsForm, AppSettingsSchema, IAppSettingsAppPort, IDesktopGrantsFilterHook, IDesktopGrantsFilterRegistryPort, IDesktopGrantsHook, IDesktopGrantsRegistryPort, IGlobalSearchHook, IGlobalSearchRegistryPort, IMarketplaceDocumentParametersHook, IOrganizationLookupAppPort, IOrganizationLookupHook, IOrganizationLookupRegistryPort, IProgramDocumentParametersHook, IProgramOfferParametersHook, IRegistrationDocumentParametersRegistryPort, IRegistrationOfferFilterHook, IRegistrationOfferFilterRegistryPort, InnerDesktopGrantsContext, InnerDesktopGrantsFilterTarget, InnerEntrepreneurLookupRecord, InnerGlobalSearchContext, InnerGlobalSearchHit, InnerGlobalSearchRoute, InnerOrganizationLookupRecord, InnerOrganizationLookupRepresentative, InnerRegistrationOfferFilterContext };
|