@coopenomics/sdk 2026.8.11-3 → 2026.8.13-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +23 -53
- package/dist/index.d.cts +212 -243
- package/dist/index.d.mts +212 -243
- package/dist/index.d.ts +212 -243
- package/dist/index.mjs +23 -53
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1171,9 +1171,7 @@ const AllTypesProps = {
|
|
|
1171
1171
|
},
|
|
1172
1172
|
CreateMatrixAccountInputDTO: {},
|
|
1173
1173
|
CreateMeasureInput: {
|
|
1174
|
-
series_mode: "MetricSeriesMode"
|
|
1175
|
-
tag: "MeasureCatalogTag",
|
|
1176
|
-
wave_period: "MetricSeriesPeriod"
|
|
1174
|
+
series_mode: "MetricSeriesMode"
|
|
1177
1175
|
},
|
|
1178
1176
|
CreateMembershipExitInput: {
|
|
1179
1177
|
statement: "MembershipExitApplicationSignedDocumentInput"
|
|
@@ -1377,18 +1375,11 @@ const AllTypesProps = {
|
|
|
1377
1375
|
GetMetricContributionsInput: {},
|
|
1378
1376
|
GetMetricSeriesInput: {
|
|
1379
1377
|
from: "DateTime",
|
|
1380
|
-
period: "MetricSeriesPeriod",
|
|
1381
1378
|
to: "DateTime"
|
|
1382
1379
|
},
|
|
1383
|
-
GetMetricSuperpositionHistoryInput: {
|
|
1384
|
-
|
|
1385
|
-
},
|
|
1386
|
-
GetMetricSuperpositionInput: {
|
|
1387
|
-
period: "MetricSeriesPeriod"
|
|
1388
|
-
},
|
|
1389
|
-
GetMetricWaveInput: {
|
|
1390
|
-
period: "MetricSeriesPeriod"
|
|
1391
|
-
},
|
|
1380
|
+
GetMetricSuperpositionHistoryInput: {},
|
|
1381
|
+
GetMetricSuperpositionInput: {},
|
|
1382
|
+
GetMetricWaveInput: {},
|
|
1392
1383
|
GetPaymentMethodsInput: {},
|
|
1393
1384
|
GetProductTypeByIdInput: {},
|
|
1394
1385
|
GetProjectCommunicationRoomsInput: {},
|
|
@@ -1715,7 +1706,6 @@ const AllTypesProps = {
|
|
|
1715
1706
|
MarketplaceWriteoffProtocolDocumentInput: {},
|
|
1716
1707
|
MarketplaceWriteoffServiceMemoSignablePayloadInput: {},
|
|
1717
1708
|
MarketplaceWriteoffStatementSignablePayloadInput: {},
|
|
1718
|
-
MeasureCatalogTag: "enum",
|
|
1719
1709
|
MembershipExitApplicationGenerateDocumentInput: {},
|
|
1720
1710
|
MembershipExitApplicationSignedDocumentInput: {
|
|
1721
1711
|
meta: "MembershipExitApplicationSignedMetaDocumentInput",
|
|
@@ -1727,7 +1717,6 @@ const AllTypesProps = {
|
|
|
1727
1717
|
MetricContributionSource: "enum",
|
|
1728
1718
|
MetricDriveDirection: "enum",
|
|
1729
1719
|
MetricSeriesMode: "enum",
|
|
1730
|
-
MetricSeriesPeriod: "enum",
|
|
1731
1720
|
MetricStatus: "enum",
|
|
1732
1721
|
MoveCapitalIssueToComponentInput: {},
|
|
1733
1722
|
Mutation: {
|
|
@@ -3491,9 +3480,7 @@ const AllTypesProps = {
|
|
|
3491
3480
|
},
|
|
3492
3481
|
UpdateMeasureInput: {
|
|
3493
3482
|
series_mode: "MetricSeriesMode",
|
|
3494
|
-
status: "MetricStatus"
|
|
3495
|
-
tag: "MeasureCatalogTag",
|
|
3496
|
-
wave_period: "MetricSeriesPeriod"
|
|
3483
|
+
status: "MetricStatus"
|
|
3497
3484
|
},
|
|
3498
3485
|
UpdateOrganizationDataInput: {
|
|
3499
3486
|
details: "OrganizationDetailsInput",
|
|
@@ -4238,10 +4225,8 @@ const ReturnTypes = {
|
|
|
4238
4225
|
present: "Boolean",
|
|
4239
4226
|
series_mode: "MetricSeriesMode",
|
|
4240
4227
|
status: "MetricStatus",
|
|
4241
|
-
tag: "MeasureCatalogTag",
|
|
4242
4228
|
title: "String",
|
|
4243
|
-
unit: "String"
|
|
4244
|
-
wave_period: "MetricSeriesPeriod"
|
|
4229
|
+
unit: "String"
|
|
4245
4230
|
},
|
|
4246
4231
|
CapitalMetricComponentRollup: {
|
|
4247
4232
|
fact_sum: "Float",
|
|
@@ -4267,7 +4252,6 @@ const ReturnTypes = {
|
|
|
4267
4252
|
CapitalMetricSeries: {
|
|
4268
4253
|
fact: "Float",
|
|
4269
4254
|
metric_hash: "String",
|
|
4270
|
-
period: "MetricSeriesPeriod",
|
|
4271
4255
|
points: "CapitalMetricSeriesPoint",
|
|
4272
4256
|
series_mode: "MetricSeriesMode",
|
|
4273
4257
|
target_value: "Float",
|
|
@@ -4292,7 +4276,6 @@ const ReturnTypes = {
|
|
|
4292
4276
|
flat_count: "Int",
|
|
4293
4277
|
growth: "Float",
|
|
4294
4278
|
items: "CapitalMetricSuperpositionItem",
|
|
4295
|
-
period: "MetricSeriesPeriod",
|
|
4296
4279
|
project_hash: "String",
|
|
4297
4280
|
resultant_angle: "Float",
|
|
4298
4281
|
resultant_im: "Float",
|
|
@@ -4321,7 +4304,6 @@ const ReturnTypes = {
|
|
|
4321
4304
|
CapitalMetricSuperpositionHistory: {
|
|
4322
4305
|
frames: "CapitalMetricSuperpositionFrame",
|
|
4323
4306
|
from: "DateTime",
|
|
4324
|
-
period: "MetricSeriesPeriod",
|
|
4325
4307
|
project_hash: "String",
|
|
4326
4308
|
to: "DateTime"
|
|
4327
4309
|
},
|
|
@@ -4349,7 +4331,6 @@ const ReturnTypes = {
|
|
|
4349
4331
|
fact: "Float",
|
|
4350
4332
|
fib_levels: "CapitalFibLevel",
|
|
4351
4333
|
metric_hash: "String",
|
|
4352
|
-
period: "MetricSeriesPeriod",
|
|
4353
4334
|
point_labels: "WaveLabel",
|
|
4354
4335
|
series_mode: "MetricSeriesMode",
|
|
4355
4336
|
swings: "CapitalWaveSwing",
|
|
@@ -4622,6 +4603,7 @@ const ReturnTypes = {
|
|
|
4622
4603
|
display_name: "String",
|
|
4623
4604
|
equal_author_bonus: "String",
|
|
4624
4605
|
has_vote: "Boolean",
|
|
4606
|
+
has_voted: "Boolean",
|
|
4625
4607
|
id: "Int",
|
|
4626
4608
|
intellectual_cost: "String",
|
|
4627
4609
|
investor_amount: "String",
|
|
@@ -4640,8 +4622,12 @@ const ReturnTypes = {
|
|
|
4640
4622
|
last_known_coordinators_investment_pool: "String",
|
|
4641
4623
|
last_known_creators_base_pool: "String",
|
|
4642
4624
|
last_known_invest_pool: "String",
|
|
4625
|
+
parent_hash: "String",
|
|
4626
|
+
parent_title: "String",
|
|
4643
4627
|
present: "Boolean",
|
|
4644
4628
|
project_hash: "String",
|
|
4629
|
+
project_status: "ProjectStatus",
|
|
4630
|
+
project_title: "String",
|
|
4645
4631
|
property_base: "String",
|
|
4646
4632
|
provisional_amount: "String",
|
|
4647
4633
|
share_percent: "Float",
|
|
@@ -4651,7 +4637,8 @@ const ReturnTypes = {
|
|
|
4651
4637
|
total_segment_cost: "String",
|
|
4652
4638
|
username: "String",
|
|
4653
4639
|
value: "String",
|
|
4654
|
-
voting_bonus: "String"
|
|
4640
|
+
voting_bonus: "String",
|
|
4641
|
+
voting_completed: "Boolean"
|
|
4655
4642
|
},
|
|
4656
4643
|
CapitalState: {
|
|
4657
4644
|
_created_at: "DateTime",
|
|
@@ -5951,6 +5938,7 @@ const ReturnTypes = {
|
|
|
5951
5938
|
total_cost_with_fee: "String",
|
|
5952
5939
|
unit_of_measure: "MarketplaceUnitOfMeasure",
|
|
5953
5940
|
updated_at: "DateTime",
|
|
5941
|
+
warehouse_arrival_price: "String",
|
|
5954
5942
|
warehouse_locations: "String",
|
|
5955
5943
|
warehouse_quantity: "Float",
|
|
5956
5944
|
warranty_period_secs: "Int",
|
|
@@ -9149,14 +9137,6 @@ var MarketplaceWriteoffProposalTrigger = /* @__PURE__ */ ((MarketplaceWriteoffPr
|
|
|
9149
9137
|
MarketplaceWriteoffProposalTrigger2["MANUAL"] = "MANUAL";
|
|
9150
9138
|
return MarketplaceWriteoffProposalTrigger2;
|
|
9151
9139
|
})(MarketplaceWriteoffProposalTrigger || {});
|
|
9152
|
-
var MeasureCatalogTag = /* @__PURE__ */ ((MeasureCatalogTag2) => {
|
|
9153
|
-
MeasureCatalogTag2["CONTENT"] = "CONTENT";
|
|
9154
|
-
MeasureCatalogTag2["COOPERATIVE"] = "COOPERATIVE";
|
|
9155
|
-
MeasureCatalogTag2["PERSONAL"] = "PERSONAL";
|
|
9156
|
-
MeasureCatalogTag2["PRODUCT"] = "PRODUCT";
|
|
9157
|
-
MeasureCatalogTag2["QUALITY"] = "QUALITY";
|
|
9158
|
-
return MeasureCatalogTag2;
|
|
9159
|
-
})(MeasureCatalogTag || {});
|
|
9160
9140
|
var MembershipExitStatus = /* @__PURE__ */ ((MembershipExitStatus2) => {
|
|
9161
9141
|
MembershipExitStatus2["AUTHORIZED"] = "AUTHORIZED";
|
|
9162
9142
|
MembershipExitStatus2["AWAITING_CONFIRMATION"] = "AWAITING_CONFIRMATION";
|
|
@@ -9181,16 +9161,6 @@ var MetricSeriesMode = /* @__PURE__ */ ((MetricSeriesMode2) => {
|
|
|
9181
9161
|
MetricSeriesMode2["RATE"] = "RATE";
|
|
9182
9162
|
return MetricSeriesMode2;
|
|
9183
9163
|
})(MetricSeriesMode || {});
|
|
9184
|
-
var MetricSeriesPeriod = /* @__PURE__ */ ((MetricSeriesPeriod2) => {
|
|
9185
|
-
MetricSeriesPeriod2["DAY"] = "DAY";
|
|
9186
|
-
MetricSeriesPeriod2["HOUR"] = "HOUR";
|
|
9187
|
-
MetricSeriesPeriod2["MINUTE"] = "MINUTE";
|
|
9188
|
-
MetricSeriesPeriod2["MINUTE_5"] = "MINUTE_5";
|
|
9189
|
-
MetricSeriesPeriod2["MINUTE_15"] = "MINUTE_15";
|
|
9190
|
-
MetricSeriesPeriod2["MONTH"] = "MONTH";
|
|
9191
|
-
MetricSeriesPeriod2["WEEK"] = "WEEK";
|
|
9192
|
-
return MetricSeriesPeriod2;
|
|
9193
|
-
})(MetricSeriesPeriod || {});
|
|
9194
9164
|
var MetricStatus = /* @__PURE__ */ ((MetricStatus2) => {
|
|
9195
9165
|
MetricStatus2["ACTIVE"] = "ACTIVE";
|
|
9196
9166
|
MetricStatus2["ARCHIVED"] = "ARCHIVED";
|
|
@@ -9541,12 +9511,10 @@ const index$12 = {
|
|
|
9541
9511
|
MarketplaceUnitOfMeasure: MarketplaceUnitOfMeasure,
|
|
9542
9512
|
MarketplaceWriteoffProposalStatus: MarketplaceWriteoffProposalStatus,
|
|
9543
9513
|
MarketplaceWriteoffProposalTrigger: MarketplaceWriteoffProposalTrigger,
|
|
9544
|
-
MeasureCatalogTag: MeasureCatalogTag,
|
|
9545
9514
|
MembershipExitStatus: MembershipExitStatus,
|
|
9546
9515
|
MetricContributionSource: MetricContributionSource,
|
|
9547
9516
|
MetricDriveDirection: MetricDriveDirection,
|
|
9548
9517
|
MetricSeriesMode: MetricSeriesMode,
|
|
9549
|
-
MetricSeriesPeriod: MetricSeriesPeriod,
|
|
9550
9518
|
MetricStatus: MetricStatus,
|
|
9551
9519
|
NonProjectRoomKind: NonProjectRoomKind,
|
|
9552
9520
|
NotificationChannel: NotificationChannel,
|
|
@@ -10892,7 +10860,14 @@ const rawSegmentSelector = {
|
|
|
10892
10860
|
intellectual_cost: true,
|
|
10893
10861
|
share_percent: true,
|
|
10894
10862
|
available_for_program: true,
|
|
10895
|
-
available_for_wallet: true
|
|
10863
|
+
available_for_wallet: true,
|
|
10864
|
+
// Контекст проекта: доли участника читаются общим списком по всем проектам
|
|
10865
|
+
project_title: true,
|
|
10866
|
+
parent_title: true,
|
|
10867
|
+
parent_hash: true,
|
|
10868
|
+
project_status: true,
|
|
10869
|
+
has_voted: true,
|
|
10870
|
+
voting_completed: true
|
|
10896
10871
|
};
|
|
10897
10872
|
const segmentSelector = Selector("CapitalSegment")(rawSegmentSelector);
|
|
10898
10873
|
|
|
@@ -11044,8 +11019,6 @@ const rawMeasureSelector = {
|
|
|
11044
11019
|
title: true,
|
|
11045
11020
|
unit: true,
|
|
11046
11021
|
series_mode: true,
|
|
11047
|
-
wave_period: true,
|
|
11048
|
-
tag: true,
|
|
11049
11022
|
created_by: true,
|
|
11050
11023
|
status: true
|
|
11051
11024
|
};
|
|
@@ -11072,7 +11045,6 @@ const rawMetricSeriesSelector = {
|
|
|
11072
11045
|
unit: true,
|
|
11073
11046
|
target_value: true,
|
|
11074
11047
|
series_mode: true,
|
|
11075
|
-
period: true,
|
|
11076
11048
|
fact: true,
|
|
11077
11049
|
points: rawMetricSeriesPointSelector
|
|
11078
11050
|
};
|
|
@@ -11103,7 +11075,6 @@ const rawMetricWaveSelector = {
|
|
|
11103
11075
|
target_value: true,
|
|
11104
11076
|
fact: true,
|
|
11105
11077
|
series_mode: true,
|
|
11106
|
-
period: true,
|
|
11107
11078
|
values: true,
|
|
11108
11079
|
current_label: true,
|
|
11109
11080
|
current_phase: true,
|
|
@@ -11140,7 +11111,6 @@ const rawMetricComponentRollupSelector = {
|
|
|
11140
11111
|
};
|
|
11141
11112
|
const rawMetricSuperpositionSelector = {
|
|
11142
11113
|
project_hash: true,
|
|
11143
|
-
period: true,
|
|
11144
11114
|
fact_sum: true,
|
|
11145
11115
|
target_sum: true,
|
|
11146
11116
|
up_count: true,
|
|
@@ -11181,7 +11151,6 @@ const rawMetricSuperpositionFrameSelector = {
|
|
|
11181
11151
|
};
|
|
11182
11152
|
const rawMetricSuperpositionHistorySelector = {
|
|
11183
11153
|
project_hash: true,
|
|
11184
|
-
period: true,
|
|
11185
11154
|
from: true,
|
|
11186
11155
|
to: true,
|
|
11187
11156
|
frames: rawMetricSuperpositionFrameSelector
|
|
@@ -11391,6 +11360,7 @@ const rawOrderSelector = {
|
|
|
11391
11360
|
package_size: true,
|
|
11392
11361
|
warehouse_quantity: true,
|
|
11393
11362
|
warehouse_locations: true,
|
|
11363
|
+
warehouse_arrival_price: true,
|
|
11394
11364
|
group_accumulated_quantity: true,
|
|
11395
11365
|
group_min_volume: true,
|
|
11396
11366
|
price_per_unit: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2026.8.
|
|
4
|
+
"version": "2026.8.13-2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@10.33.0",
|
|
7
7
|
"description": "TypeScript SDK для работы с API кооператива",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@wharfkit/session": "^1.4.0",
|
|
50
50
|
"@wharfkit/wallet-plugin-privatekey": "^1.1.0",
|
|
51
51
|
"canonicalize": "^2.0.0",
|
|
52
|
-
"cooptypes": "2026.8.
|
|
52
|
+
"cooptypes": "2026.8.13-2",
|
|
53
53
|
"graphql": "^16.9.0",
|
|
54
54
|
"graphql-request": "^7.1.2",
|
|
55
55
|
"graphql-tag": "^2.12.6",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"vite": "^5.4.3",
|
|
78
78
|
"vitest": "^2.0.5"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "e3f17f0e4a2a9e9c035c98d8940cdc3860c1c7bd"
|
|
81
81
|
}
|