@owneraio/finp2p-sdk-js 0.27.13 → 0.27.15

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.
Files changed (38) hide show
  1. package/lib/OwneraAPI/finp2p-node-api/profiles.js +7 -2
  2. package/lib/OwneraAPI/finp2p-node-api/profiles.js.map +1 -1
  3. package/lib/OwneraAPI/oss-api/executeDynamicQueryWithExternal.js +3 -3
  4. package/lib/OwneraAPI/oss-api/executeDynamicQueryWithExternal.js.map +1 -1
  5. package/lib/OwneraAPI/oss-api/externalQueryHandler.js +5 -7
  6. package/lib/OwneraAPI/oss-api/externalQueryHandler.js.map +1 -1
  7. package/lib/OwneraAPI/oss-api/oss.js +11 -3
  8. package/lib/OwneraAPI/oss-api/oss.js.map +1 -1
  9. package/lib/core/asset.js +7 -3
  10. package/lib/core/asset.js.map +1 -1
  11. package/lib/core/sdk.d.ts +1 -2
  12. package/lib/core/sdk.js +0 -8
  13. package/lib/core/sdk.js.map +1 -1
  14. package/lib/core/user.js +7 -2
  15. package/lib/core/user.js.map +1 -1
  16. package/lib/index.d.ts +0 -1
  17. package/lib/index.js +0 -1
  18. package/lib/index.js.map +1 -1
  19. package/lib/types/Core/Asset.d.ts +2 -2
  20. package/lib/types/Core/User.d.ts +2 -2
  21. package/lib/types/Core/sdk.d.ts +0 -37
  22. package/lib/types/Profiles/Profiles.d.ts +7 -0
  23. package/package.json +1 -1
  24. package/lib/schemas/assets.json +0 -264
  25. package/lib/schemas/index.d.ts +0 -40
  26. package/lib/schemas/index.js +0 -75
  27. package/lib/schemas/index.js.map +0 -1
  28. package/lib/schemas/tests/test-assets-schema-execution.d.ts +0 -1
  29. package/lib/schemas/tests/test-assets-schema-execution.js +0 -261
  30. package/lib/schemas/tests/test-assets-schema-execution.js.map +0 -1
  31. package/lib/schemas/tests/test-transactions-filter.d.ts +0 -1
  32. package/lib/schemas/tests/test-transactions-filter.js +0 -226
  33. package/lib/schemas/tests/test-transactions-filter.js.map +0 -1
  34. package/lib/schemas/tests/test-users-inline-fragments.d.ts +0 -1
  35. package/lib/schemas/tests/test-users-inline-fragments.js +0 -47
  36. package/lib/schemas/tests/test-users-inline-fragments.js.map +0 -1
  37. package/lib/schemas/transactions.json +0 -174
  38. package/lib/schemas/users.json +0 -78
@@ -1,174 +0,0 @@
1
- {
2
- "name": "Transactions",
3
- "graphqlType": "plans",
4
- "columns": [
5
- {
6
- "apiField": "execution_plan_id",
7
- "header": "execution_plan_id",
8
- "path": "id",
9
- "graphqlPath": "id"
10
- },
11
- {
12
- "apiField": "plan_status",
13
- "header": "plan_status",
14
- "path": "status",
15
- "graphqlPath": "status"
16
- },
17
- {
18
- "apiField": "deal_date",
19
- "header": "deal_date",
20
- "path": "creationTimestamp",
21
- "graphqlPath": "creationTimestamp"
22
- },
23
- {
24
- "apiField": "principal",
25
- "header": "principal",
26
- "path": "instructions[0].organizations[0].organizationId",
27
- "graphqlPath": "instructions { organizations { organizationId } }"
28
- },
29
- {
30
- "apiField": "counterparty",
31
- "header": "counterparty",
32
- "dataSource": "hardcoded"
33
- },
34
- {
35
- "apiField": "system",
36
- "header": "system",
37
- "dataSource": "hardcoded"
38
- },
39
- {
40
- "apiField": "asset_resource_id",
41
- "header": "asset_resource_id",
42
- "path": "intent.intent.assetTerm.asset.resourceId",
43
- "graphqlPath": "intent { intent { ...on PrimarySale { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } ...on RedemptionIntent { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } ...on BuyingIntent { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } ...on SellingIntent { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } ...on PrivateOfferIntent { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } ...on RequestForTransferIntent { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } ...on LoanIntent { assetTerm { asset { ...on FinP2PAsset { resourceId } } } } } }"
44
- },
45
- {
46
- "apiField": "org_code",
47
- "header": "org_code",
48
- "dataSource": "hardcoded"
49
- },
50
- {
51
- "apiField": "trade_details_intent_id",
52
- "header": "trade_details_intent_id",
53
- "path": "intent.id",
54
- "graphqlPath": "intent { id }"
55
- },
56
- {
57
- "apiField": "start_date",
58
- "header": "start_date",
59
- "path": "intent.start",
60
- "graphqlPath": "intent { start }"
61
- },
62
- {
63
- "apiField": "end_date",
64
- "header": "end_date",
65
- "path": "intent.end",
66
- "graphqlPath": "intent { end }"
67
- },
68
- {
69
- "apiField": "trade_action",
70
- "header": "trade_action",
71
- "path": "intent.type",
72
- "graphqlPath": "intent { type }"
73
- },
74
- {
75
- "apiField": "notional",
76
- "header": "notional",
77
- "dataSource": "hardcoded"
78
- },
79
- {
80
- "apiField": "notional_2nd",
81
- "header": "notional_2nd",
82
- "dataSource": "hardcoded"
83
- },
84
- {
85
- "apiField": "currency",
86
- "header": "currency",
87
- "dataSource": "external",
88
- "externalQuery": {
89
- "graphqlType": "assets",
90
- "relationshipKey": "asset_resource_id",
91
- "relationshipPath": "asset_resource_id",
92
- "filterFieldName": "id",
93
- "idField": "id",
94
- "path": "denomination.code",
95
- "graphqlPath": "id denomination { code }"
96
- }
97
- },
98
- {
99
- "apiField": "currency_2nd",
100
- "header": "currency_2nd",
101
- "dataSource": "hardcoded"
102
- },
103
- {
104
- "apiField": "mtm_valuation",
105
- "header": "mtm_valuation",
106
- "dataSource": "external",
107
- "externalQuery": {
108
- "graphqlType": "assets",
109
- "relationshipKey": "asset_resource_id",
110
- "relationshipPath": "asset_resource_id",
111
- "filterFieldName": "id",
112
- "idField": "id",
113
- "certificateType": "NAV",
114
- "path": "currentNAV.navValue",
115
- "graphqlPath": "id certificates { nodes { type data } }"
116
- }
117
- },
118
- {
119
- "apiField": "mtm_valuation_date",
120
- "header": "mtm_valuation_date",
121
- "dataSource": "external",
122
- "externalQuery": {
123
- "graphqlType": "assets",
124
- "relationshipKey": "asset_resource_id",
125
- "relationshipPath": "asset_resource_id",
126
- "filterFieldName": "id",
127
- "idField": "id",
128
- "certificateType": "NAV",
129
- "path": "currentNAV.date",
130
- "graphqlPath": "id certificates { nodes { type data } }"
131
- }
132
- },
133
- {
134
- "apiField": "trade_price",
135
- "header": "trade_price",
136
- "dataSource": "external",
137
- "externalQuery": {
138
- "graphqlType": "assets",
139
- "relationshipKey": "asset_resource_id",
140
- "relationshipPath": "asset_resource_id",
141
- "filterFieldName": "id",
142
- "idField": "id",
143
- "intentFilterKey": "trade_details_intent_id",
144
- "path": "intents.intent.settlementTerm.details.unitValue|amount",
145
- "graphqlPath": "id intents { nodes { id intent { ...on PrimarySale { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } ...on RedemptionIntent { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } ...on BuyingIntent { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } ...on SellingIntent { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } ...on PrivateOfferIntent { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } ...on RequestForTransferIntent { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } ...on LoanIntent { settlementTerm { details { ...on PartialSettlement { unitValue } ...on FullSettlement { amount } } } } } } }"
146
- }
147
- },
148
- {
149
- "apiField": "misc_1",
150
- "header": "misc_1",
151
- "dataSource": "hardcoded"
152
- },
153
- {
154
- "apiField": "misc_2",
155
- "header": "misc_2",
156
- "dataSource": "hardcoded"
157
- },
158
- {
159
- "apiField": "misc_8",
160
- "header": "misc_8",
161
- "dataSource": "hardcoded"
162
- },
163
- {
164
- "apiField": "mtm_valuation_local_sys_ccy",
165
- "header": "mtm_valuation_local_sys_ccy",
166
- "dataSource": "hardcoded"
167
- },
168
- {
169
- "apiField": "misc_6",
170
- "header": "misc_6",
171
- "dataSource": "hardcoded"
172
- }
173
- ]
174
- }
@@ -1,78 +0,0 @@
1
- {
2
- "name": "Balances / Positions",
3
- "graphqlType": "users",
4
- "columns": [
5
- {
6
- "apiField": "user_id",
7
- "header": "user_id",
8
- "path": "id",
9
- "graphqlPath": "id"
10
- },
11
- {
12
- "apiField": "account_fin_id",
13
- "header": "account_fin_id",
14
- "path": "holdings.nodes[i].account.finId",
15
- "graphqlPath": "holdings { nodes { account { ...on FinP2PAssetAccount { finId } } } }"
16
- },
17
- {
18
- "apiField": "account_org_id",
19
- "header": "account_org_id",
20
- "path": "holdings.nodes[i].account.orgId",
21
- "graphqlPath": "holdings { nodes { account { ...on FinP2PAssetAccount { orgId } } } }"
22
- },
23
- {
24
- "apiField": "asset_type",
25
- "header": "asset_type",
26
- "path": "holdings.nodes[i].assetType",
27
- "graphqlPath": "holdings { nodes { assetType } }"
28
- },
29
- {
30
- "apiField": "asset_resource_id",
31
- "header": "asset_resource_id",
32
- "path": "holdings.nodes[i].asset.resourceId",
33
- "graphqlPath": "holdings { nodes { asset { ...on FinP2PAsset { resourceId } } } }"
34
- },
35
- {
36
- "apiField": "balance",
37
- "header": "balance",
38
- "path": "holdings.nodes[i].balance",
39
- "graphqlPath": "holdings { nodes { balance } }"
40
- },
41
- {
42
- "apiField": "synced_balance",
43
- "header": "synced_balance",
44
- "path": "holdings.nodes[i].syncedBalance",
45
- "graphqlPath": "holdings { nodes { syncedBalance } }"
46
- },
47
- {
48
- "apiField": "withheld_balance",
49
- "header": "withheld_balance",
50
- "path": "holdings.nodes[i].withheldBalance",
51
- "graphqlPath": "holdings { nodes { withheldBalance } }"
52
- },
53
- {
54
- "apiField": "synced_held_balance",
55
- "header": "synced_held_balance",
56
- "path": "holdings.nodes[i].syncedHeldBalance",
57
- "graphqlPath": "holdings { nodes { syncedHeldBalance } }"
58
- },
59
- {
60
- "apiField": "available_balance",
61
- "header": "available_balance",
62
- "path": "holdings.nodes[i].availableBalance",
63
- "graphqlPath": "holdings { nodes { availableBalance } }"
64
- },
65
- {
66
- "apiField": "synced_available_balance",
67
- "header": "synced_available_balance",
68
- "path": "holdings.nodes[i].syncedAvailableBalance",
69
- "graphqlPath": "holdings { nodes { syncedAvailableBalance } }"
70
- },
71
- {
72
- "apiField": "balance_timestamp",
73
- "header": "balance_timestamp",
74
- "path": "holdings.nodes[i].balanceTimestamp",
75
- "graphqlPath": "holdings { nodes { balanceTimestamp } }"
76
- }
77
- ]
78
- }