@clossir-tech/ts-sdk 0.9.1 → 0.9.3
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/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts +2 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts.map +1 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js +3 -2
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js.map +1 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts +2 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts.map +1 -1
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.js +3 -2
- package/esm/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.d.ts +2 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.d.ts.map +1 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.js +2 -2
- package/esm/funcs/fees-get-orgs-by-org-id-fee-distributions.js.map +1 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-splits.d.ts +2 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-splits.d.ts.map +1 -1
- package/esm/funcs/fees-get-orgs-by-org-id-fee-splits.js +2 -2
- package/esm/funcs/fees-get-orgs-by-org-id-fee-splits.js.map +1 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts +2 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts.map +1 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.js +2 -2
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.js.map +1 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts +2 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts.map +1 -1
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.js +2 -2
- package/esm/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.js.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts +2 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js +2 -2
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts +2 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.js +2 -2
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.js.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.d.ts +2 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.d.ts.map +1 -1
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.js +2 -2
- package/esm/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/errors/problem-details-error.d.ts +8 -0
- package/esm/models/errors/problem-details-error.d.ts.map +1 -1
- package/esm/models/errors/problem-details-error.js +7 -0
- package/esm/models/errors/problem-details-error.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts +59 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js +84 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts +68 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.js +86 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts +54 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.js +59 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts +42 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.js +56 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts +77 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js +92 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts +34 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.js +45 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.d.ts +34 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.js +42 -0
- package/esm/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.d.ts +60 -0
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.js +66 -0
- package/esm/models/operations/get-orgs-by-org-id-fee-distributions.js.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-fee-splits.d.ts +31 -0
- package/esm/models/operations/get-orgs-by-org-id-fee-splits.d.ts.map +1 -1
- package/esm/models/operations/get-orgs-by-org-id-fee-splits.js +39 -0
- package/esm/models/operations/get-orgs-by-org-id-fee-splits.js.map +1 -1
- package/esm/sdk/distributions.d.ts +2 -2
- package/esm/sdk/distributions.d.ts.map +1 -1
- package/esm/sdk/distributions.js.map +1 -1
- package/esm/sdk/fees.d.ts +2 -2
- package/esm/sdk/fees.d.ts.map +1 -1
- package/esm/sdk/fees.js.map +1 -1
- package/esm/sdk/nav.d.ts +2 -2
- package/esm/sdk/nav.d.ts.map +1 -1
- package/esm/sdk/nav.js.map +1 -1
- package/esm/sdk/vaults.d.ts +3 -3
- package/esm/sdk/vaults.d.ts.map +1 -1
- package/esm/sdk/vaults.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts +10 -6
- package/src/funcs/distributions-get-orgs-by-org-id-assets-by-asset-id-distributions.ts +10 -6
- package/src/funcs/fees-get-orgs-by-org-id-fee-distributions.ts +9 -6
- package/src/funcs/fees-get-orgs-by-org-id-fee-splits.ts +6 -6
- package/src/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-history.ts +9 -6
- package/src/funcs/nav-get-orgs-by-org-id-assets-by-asset-id-nav-latest.ts +9 -6
- package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-epochs.ts +9 -6
- package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault-status.ts +9 -6
- package/src/funcs/vaults-get-orgs-by-org-id-assets-by-asset-id-vault.ts +9 -6
- package/src/lib/config.ts +2 -2
- package/src/models/errors/problem-details-error.ts +10 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions-by-dist-id.ts +251 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-distributions.ts +265 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-history.ts +172 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-nav-latest.ts +155 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-epochs.ts +274 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault-status.ts +149 -0
- package/src/models/operations/get-orgs-by-org-id-assets-by-asset-id-vault.ts +144 -0
- package/src/models/operations/get-orgs-by-org-id-fee-distributions.ts +202 -0
- package/src/models/operations/get-orgs-by-org-id-fee-splits.ts +91 -0
- package/src/sdk/distributions.ts +4 -2
- package/src/sdk/fees.ts +2 -2
- package/src/sdk/nav.ts +2 -2
- package/src/sdk/vaults.ts +3 -3
|
@@ -3,12 +3,64 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
6
12
|
|
|
7
13
|
export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryRequest = {
|
|
8
14
|
orgId: string;
|
|
9
15
|
assetId: string;
|
|
10
16
|
};
|
|
11
17
|
|
|
18
|
+
export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare =
|
|
19
|
+
| string
|
|
20
|
+
| number;
|
|
21
|
+
|
|
22
|
+
export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound = string | number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A row of the `nav_updates` table.
|
|
26
|
+
*/
|
|
27
|
+
export type Update = {
|
|
28
|
+
id?: string | null | undefined;
|
|
29
|
+
assetId?: string | null | undefined;
|
|
30
|
+
chainEid?: number | null | undefined;
|
|
31
|
+
navPerShare?: string | number | null | undefined;
|
|
32
|
+
asOfTimestamp?: string | null | undefined;
|
|
33
|
+
round?: string | number | null | undefined;
|
|
34
|
+
oracleType?: string | null | undefined;
|
|
35
|
+
status?: string | null | undefined;
|
|
36
|
+
rejectionReason?: string | null | undefined;
|
|
37
|
+
circuitBreakerActive?: boolean | null | undefined;
|
|
38
|
+
consecutiveRejections?: number | null | undefined;
|
|
39
|
+
sourceTxHash?: string | null | undefined;
|
|
40
|
+
receivedAt?: string | null | undefined;
|
|
41
|
+
createdAt?: string | null | undefined;
|
|
42
|
+
[additionalProperties: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Response
|
|
47
|
+
*/
|
|
48
|
+
export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryResponse = {
|
|
49
|
+
updates: Array<Update>;
|
|
50
|
+
/**
|
|
51
|
+
* Total matching rows, ignoring limit/offset
|
|
52
|
+
*/
|
|
53
|
+
total: number;
|
|
54
|
+
/**
|
|
55
|
+
* Page size that was applied
|
|
56
|
+
*/
|
|
57
|
+
limit: number;
|
|
58
|
+
/**
|
|
59
|
+
* Row offset that was applied
|
|
60
|
+
*/
|
|
61
|
+
offset: number;
|
|
62
|
+
};
|
|
63
|
+
|
|
12
64
|
/** @internal */
|
|
13
65
|
export type GetOrgsByOrgIdAssetsByAssetIdNavHistoryRequest$Outbound = {
|
|
14
66
|
orgId: string;
|
|
@@ -35,3 +87,123 @@ export function getOrgsByOrgIdAssetsByAssetIdNavHistoryRequestToJSON(
|
|
|
35
87
|
),
|
|
36
88
|
);
|
|
37
89
|
}
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare$inboundSchema:
|
|
93
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare, unknown> =
|
|
94
|
+
smartUnion([types.string(), types.number()]);
|
|
95
|
+
|
|
96
|
+
export function getOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShareFromJSON(
|
|
97
|
+
jsonString: string,
|
|
98
|
+
): SafeParseResult<
|
|
99
|
+
GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare,
|
|
100
|
+
SDKValidationError
|
|
101
|
+
> {
|
|
102
|
+
return safeParse(
|
|
103
|
+
jsonString,
|
|
104
|
+
(x) =>
|
|
105
|
+
GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare$inboundSchema.parse(
|
|
106
|
+
JSON.parse(x),
|
|
107
|
+
),
|
|
108
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavHistoryNavPerShare' from JSON`,
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
export const GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound$inboundSchema:
|
|
114
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound, unknown> =
|
|
115
|
+
smartUnion([types.string(), types.number()]);
|
|
116
|
+
|
|
117
|
+
export function getOrgsByOrgIdAssetsByAssetIdNavHistoryRoundFromJSON(
|
|
118
|
+
jsonString: string,
|
|
119
|
+
): SafeParseResult<
|
|
120
|
+
GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound,
|
|
121
|
+
SDKValidationError
|
|
122
|
+
> {
|
|
123
|
+
return safeParse(
|
|
124
|
+
jsonString,
|
|
125
|
+
(x) =>
|
|
126
|
+
GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound$inboundSchema.parse(
|
|
127
|
+
JSON.parse(x),
|
|
128
|
+
),
|
|
129
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavHistoryRound' from JSON`,
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** @internal */
|
|
134
|
+
export const Update$inboundSchema: z.ZodMiniType<Update, unknown> = z.pipe(
|
|
135
|
+
z.catchall(
|
|
136
|
+
z.object({
|
|
137
|
+
id: z.optional(z.nullable(types.string())),
|
|
138
|
+
asset_id: z.optional(z.nullable(types.string())),
|
|
139
|
+
chain_eid: z.optional(z.nullable(types.number())),
|
|
140
|
+
nav_per_share: z.optional(
|
|
141
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
142
|
+
),
|
|
143
|
+
as_of_timestamp: z.optional(z.nullable(types.string())),
|
|
144
|
+
round: z.optional(
|
|
145
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
146
|
+
),
|
|
147
|
+
oracle_type: z.optional(z.nullable(types.string())),
|
|
148
|
+
status: z.optional(z.nullable(types.string())),
|
|
149
|
+
rejection_reason: z.optional(z.nullable(types.string())),
|
|
150
|
+
circuit_breaker_active: z.optional(z.nullable(types.boolean())),
|
|
151
|
+
consecutive_rejections: z.optional(z.nullable(types.number())),
|
|
152
|
+
source_tx_hash: z.optional(z.nullable(types.string())),
|
|
153
|
+
received_at: z.optional(z.nullable(types.string())),
|
|
154
|
+
created_at: z.optional(z.nullable(types.string())),
|
|
155
|
+
}),
|
|
156
|
+
z.any(),
|
|
157
|
+
),
|
|
158
|
+
z.transform((v) => {
|
|
159
|
+
return remap$(v, {
|
|
160
|
+
"asset_id": "assetId",
|
|
161
|
+
"chain_eid": "chainEid",
|
|
162
|
+
"nav_per_share": "navPerShare",
|
|
163
|
+
"as_of_timestamp": "asOfTimestamp",
|
|
164
|
+
"oracle_type": "oracleType",
|
|
165
|
+
"rejection_reason": "rejectionReason",
|
|
166
|
+
"circuit_breaker_active": "circuitBreakerActive",
|
|
167
|
+
"consecutive_rejections": "consecutiveRejections",
|
|
168
|
+
"source_tx_hash": "sourceTxHash",
|
|
169
|
+
"received_at": "receivedAt",
|
|
170
|
+
"created_at": "createdAt",
|
|
171
|
+
});
|
|
172
|
+
}),
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
export function updateFromJSON(
|
|
176
|
+
jsonString: string,
|
|
177
|
+
): SafeParseResult<Update, SDKValidationError> {
|
|
178
|
+
return safeParse(
|
|
179
|
+
jsonString,
|
|
180
|
+
(x) => Update$inboundSchema.parse(JSON.parse(x)),
|
|
181
|
+
`Failed to parse 'Update' from JSON`,
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/** @internal */
|
|
186
|
+
export const GetOrgsByOrgIdAssetsByAssetIdNavHistoryResponse$inboundSchema:
|
|
187
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavHistoryResponse, unknown> = z
|
|
188
|
+
.object({
|
|
189
|
+
updates: z.array(z.lazy(() => Update$inboundSchema)),
|
|
190
|
+
total: types.number(),
|
|
191
|
+
limit: types.number(),
|
|
192
|
+
offset: types.number(),
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
export function getOrgsByOrgIdAssetsByAssetIdNavHistoryResponseFromJSON(
|
|
196
|
+
jsonString: string,
|
|
197
|
+
): SafeParseResult<
|
|
198
|
+
GetOrgsByOrgIdAssetsByAssetIdNavHistoryResponse,
|
|
199
|
+
SDKValidationError
|
|
200
|
+
> {
|
|
201
|
+
return safeParse(
|
|
202
|
+
jsonString,
|
|
203
|
+
(x) =>
|
|
204
|
+
GetOrgsByOrgIdAssetsByAssetIdNavHistoryResponse$inboundSchema.parse(
|
|
205
|
+
JSON.parse(x),
|
|
206
|
+
),
|
|
207
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavHistoryResponse' from JSON`,
|
|
208
|
+
);
|
|
209
|
+
}
|
|
@@ -3,12 +3,50 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
6
12
|
|
|
7
13
|
export type GetOrgsByOrgIdAssetsByAssetIdNavLatestRequest = {
|
|
8
14
|
orgId: string;
|
|
9
15
|
assetId: string;
|
|
10
16
|
};
|
|
11
17
|
|
|
18
|
+
export type GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare = string | number;
|
|
19
|
+
|
|
20
|
+
export type GetOrgsByOrgIdAssetsByAssetIdNavLatestRound = string | number;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A row of the `nav_updates` table.
|
|
24
|
+
*/
|
|
25
|
+
export type Nav = {
|
|
26
|
+
id?: string | null | undefined;
|
|
27
|
+
assetId?: string | null | undefined;
|
|
28
|
+
chainEid?: number | null | undefined;
|
|
29
|
+
navPerShare?: string | number | null | undefined;
|
|
30
|
+
asOfTimestamp?: string | null | undefined;
|
|
31
|
+
round?: string | number | null | undefined;
|
|
32
|
+
oracleType?: string | null | undefined;
|
|
33
|
+
status?: string | null | undefined;
|
|
34
|
+
rejectionReason?: string | null | undefined;
|
|
35
|
+
circuitBreakerActive?: boolean | null | undefined;
|
|
36
|
+
consecutiveRejections?: number | null | undefined;
|
|
37
|
+
sourceTxHash?: string | null | undefined;
|
|
38
|
+
receivedAt?: string | null | undefined;
|
|
39
|
+
createdAt?: string | null | undefined;
|
|
40
|
+
[additionalProperties: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Response
|
|
45
|
+
*/
|
|
46
|
+
export type GetOrgsByOrgIdAssetsByAssetIdNavLatestResponse = {
|
|
47
|
+
nav: Nav | null;
|
|
48
|
+
};
|
|
49
|
+
|
|
12
50
|
/** @internal */
|
|
13
51
|
export type GetOrgsByOrgIdAssetsByAssetIdNavLatestRequest$Outbound = {
|
|
14
52
|
orgId: string;
|
|
@@ -35,3 +73,120 @@ export function getOrgsByOrgIdAssetsByAssetIdNavLatestRequestToJSON(
|
|
|
35
73
|
),
|
|
36
74
|
);
|
|
37
75
|
}
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare$inboundSchema:
|
|
79
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare, unknown> =
|
|
80
|
+
smartUnion([types.string(), types.number()]);
|
|
81
|
+
|
|
82
|
+
export function getOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShareFromJSON(
|
|
83
|
+
jsonString: string,
|
|
84
|
+
): SafeParseResult<
|
|
85
|
+
GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare,
|
|
86
|
+
SDKValidationError
|
|
87
|
+
> {
|
|
88
|
+
return safeParse(
|
|
89
|
+
jsonString,
|
|
90
|
+
(x) =>
|
|
91
|
+
GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare$inboundSchema.parse(
|
|
92
|
+
JSON.parse(x),
|
|
93
|
+
),
|
|
94
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavLatestNavPerShare' from JSON`,
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const GetOrgsByOrgIdAssetsByAssetIdNavLatestRound$inboundSchema:
|
|
100
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavLatestRound, unknown> =
|
|
101
|
+
smartUnion([types.string(), types.number()]);
|
|
102
|
+
|
|
103
|
+
export function getOrgsByOrgIdAssetsByAssetIdNavLatestRoundFromJSON(
|
|
104
|
+
jsonString: string,
|
|
105
|
+
): SafeParseResult<
|
|
106
|
+
GetOrgsByOrgIdAssetsByAssetIdNavLatestRound,
|
|
107
|
+
SDKValidationError
|
|
108
|
+
> {
|
|
109
|
+
return safeParse(
|
|
110
|
+
jsonString,
|
|
111
|
+
(x) =>
|
|
112
|
+
GetOrgsByOrgIdAssetsByAssetIdNavLatestRound$inboundSchema.parse(
|
|
113
|
+
JSON.parse(x),
|
|
114
|
+
),
|
|
115
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavLatestRound' from JSON`,
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const Nav$inboundSchema: z.ZodMiniType<Nav, unknown> = z.pipe(
|
|
121
|
+
z.catchall(
|
|
122
|
+
z.object({
|
|
123
|
+
id: z.optional(z.nullable(types.string())),
|
|
124
|
+
asset_id: z.optional(z.nullable(types.string())),
|
|
125
|
+
chain_eid: z.optional(z.nullable(types.number())),
|
|
126
|
+
nav_per_share: z.optional(
|
|
127
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
128
|
+
),
|
|
129
|
+
as_of_timestamp: z.optional(z.nullable(types.string())),
|
|
130
|
+
round: z.optional(
|
|
131
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
132
|
+
),
|
|
133
|
+
oracle_type: z.optional(z.nullable(types.string())),
|
|
134
|
+
status: z.optional(z.nullable(types.string())),
|
|
135
|
+
rejection_reason: z.optional(z.nullable(types.string())),
|
|
136
|
+
circuit_breaker_active: z.optional(z.nullable(types.boolean())),
|
|
137
|
+
consecutive_rejections: z.optional(z.nullable(types.number())),
|
|
138
|
+
source_tx_hash: z.optional(z.nullable(types.string())),
|
|
139
|
+
received_at: z.optional(z.nullable(types.string())),
|
|
140
|
+
created_at: z.optional(z.nullable(types.string())),
|
|
141
|
+
}),
|
|
142
|
+
z.any(),
|
|
143
|
+
),
|
|
144
|
+
z.transform((v) => {
|
|
145
|
+
return remap$(v, {
|
|
146
|
+
"asset_id": "assetId",
|
|
147
|
+
"chain_eid": "chainEid",
|
|
148
|
+
"nav_per_share": "navPerShare",
|
|
149
|
+
"as_of_timestamp": "asOfTimestamp",
|
|
150
|
+
"oracle_type": "oracleType",
|
|
151
|
+
"rejection_reason": "rejectionReason",
|
|
152
|
+
"circuit_breaker_active": "circuitBreakerActive",
|
|
153
|
+
"consecutive_rejections": "consecutiveRejections",
|
|
154
|
+
"source_tx_hash": "sourceTxHash",
|
|
155
|
+
"received_at": "receivedAt",
|
|
156
|
+
"created_at": "createdAt",
|
|
157
|
+
});
|
|
158
|
+
}),
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
export function navFromJSON(
|
|
162
|
+
jsonString: string,
|
|
163
|
+
): SafeParseResult<Nav, SDKValidationError> {
|
|
164
|
+
return safeParse(
|
|
165
|
+
jsonString,
|
|
166
|
+
(x) => Nav$inboundSchema.parse(JSON.parse(x)),
|
|
167
|
+
`Failed to parse 'Nav' from JSON`,
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/** @internal */
|
|
172
|
+
export const GetOrgsByOrgIdAssetsByAssetIdNavLatestResponse$inboundSchema:
|
|
173
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdNavLatestResponse, unknown> = z
|
|
174
|
+
.object({
|
|
175
|
+
nav: types.nullable(z.lazy(() => Nav$inboundSchema)),
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
export function getOrgsByOrgIdAssetsByAssetIdNavLatestResponseFromJSON(
|
|
179
|
+
jsonString: string,
|
|
180
|
+
): SafeParseResult<
|
|
181
|
+
GetOrgsByOrgIdAssetsByAssetIdNavLatestResponse,
|
|
182
|
+
SDKValidationError
|
|
183
|
+
> {
|
|
184
|
+
return safeParse(
|
|
185
|
+
jsonString,
|
|
186
|
+
(x) =>
|
|
187
|
+
GetOrgsByOrgIdAssetsByAssetIdNavLatestResponse$inboundSchema.parse(
|
|
188
|
+
JSON.parse(x),
|
|
189
|
+
),
|
|
190
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdNavLatestResponse' from JSON`,
|
|
191
|
+
);
|
|
192
|
+
}
|
|
@@ -3,12 +3,77 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as types from "../../types/primitives.js";
|
|
10
|
+
import { smartUnion } from "../../types/smart-union.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
6
12
|
|
|
7
13
|
export type GetOrgsByOrgIdAssetsByAssetIdVaultEpochsRequest = {
|
|
8
14
|
orgId: string;
|
|
9
15
|
assetId: string;
|
|
10
16
|
};
|
|
11
17
|
|
|
18
|
+
export type EpochId = string | number;
|
|
19
|
+
|
|
20
|
+
export type GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare =
|
|
21
|
+
| string
|
|
22
|
+
| number;
|
|
23
|
+
|
|
24
|
+
export type NavRound = string | number;
|
|
25
|
+
|
|
26
|
+
export type TotalDepositRequests = string | number;
|
|
27
|
+
|
|
28
|
+
export type TotalRedeemRequests = string | number;
|
|
29
|
+
|
|
30
|
+
export type MgmtFeeSharesMinted = string | number;
|
|
31
|
+
|
|
32
|
+
export type PerfFeeSharesMinted = string | number;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* A row of the `vault_epochs` table.
|
|
36
|
+
*/
|
|
37
|
+
export type Epoch = {
|
|
38
|
+
id?: string | null | undefined;
|
|
39
|
+
vaultId?: string | null | undefined;
|
|
40
|
+
epochId?: string | number | null | undefined;
|
|
41
|
+
startAt?: string | null | undefined;
|
|
42
|
+
endAt?: string | null | undefined;
|
|
43
|
+
settledAt?: string | null | undefined;
|
|
44
|
+
navPerShare?: string | number | null | undefined;
|
|
45
|
+
navRound?: string | number | null | undefined;
|
|
46
|
+
navSource?: string | null | undefined;
|
|
47
|
+
totalDepositRequests?: string | number | null | undefined;
|
|
48
|
+
totalRedeemRequests?: string | number | null | undefined;
|
|
49
|
+
depositFulfillmentBps?: number | null | undefined;
|
|
50
|
+
redeemFulfillmentBps?: number | null | undefined;
|
|
51
|
+
mgmtFeeSharesMinted?: string | number | null | undefined;
|
|
52
|
+
perfFeeSharesMinted?: string | number | null | undefined;
|
|
53
|
+
txHash?: string | null | undefined;
|
|
54
|
+
createdAt?: string | null | undefined;
|
|
55
|
+
[additionalProperties: string]: unknown;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Response
|
|
60
|
+
*/
|
|
61
|
+
export type GetOrgsByOrgIdAssetsByAssetIdVaultEpochsResponse = {
|
|
62
|
+
epochs: Array<Epoch>;
|
|
63
|
+
/**
|
|
64
|
+
* Total matching rows, ignoring limit/offset
|
|
65
|
+
*/
|
|
66
|
+
total: number;
|
|
67
|
+
/**
|
|
68
|
+
* Page size that was applied
|
|
69
|
+
*/
|
|
70
|
+
limit: number;
|
|
71
|
+
/**
|
|
72
|
+
* Row offset that was applied
|
|
73
|
+
*/
|
|
74
|
+
offset: number;
|
|
75
|
+
};
|
|
76
|
+
|
|
12
77
|
/** @internal */
|
|
13
78
|
export type GetOrgsByOrgIdAssetsByAssetIdVaultEpochsRequest$Outbound = {
|
|
14
79
|
orgId: string;
|
|
@@ -35,3 +100,212 @@ export function getOrgsByOrgIdAssetsByAssetIdVaultEpochsRequestToJSON(
|
|
|
35
100
|
),
|
|
36
101
|
);
|
|
37
102
|
}
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const EpochId$inboundSchema: z.ZodMiniType<EpochId, unknown> =
|
|
106
|
+
smartUnion([types.string(), types.number()]);
|
|
107
|
+
|
|
108
|
+
export function epochIdFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<EpochId, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => EpochId$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'EpochId' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare$inboundSchema:
|
|
120
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare, unknown> =
|
|
121
|
+
smartUnion([types.string(), types.number()]);
|
|
122
|
+
|
|
123
|
+
export function getOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShareFromJSON(
|
|
124
|
+
jsonString: string,
|
|
125
|
+
): SafeParseResult<
|
|
126
|
+
GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare,
|
|
127
|
+
SDKValidationError
|
|
128
|
+
> {
|
|
129
|
+
return safeParse(
|
|
130
|
+
jsonString,
|
|
131
|
+
(x) =>
|
|
132
|
+
GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare$inboundSchema.parse(
|
|
133
|
+
JSON.parse(x),
|
|
134
|
+
),
|
|
135
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdVaultEpochsNavPerShare' from JSON`,
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** @internal */
|
|
140
|
+
export const NavRound$inboundSchema: z.ZodMiniType<NavRound, unknown> =
|
|
141
|
+
smartUnion([types.string(), types.number()]);
|
|
142
|
+
|
|
143
|
+
export function navRoundFromJSON(
|
|
144
|
+
jsonString: string,
|
|
145
|
+
): SafeParseResult<NavRound, SDKValidationError> {
|
|
146
|
+
return safeParse(
|
|
147
|
+
jsonString,
|
|
148
|
+
(x) => NavRound$inboundSchema.parse(JSON.parse(x)),
|
|
149
|
+
`Failed to parse 'NavRound' from JSON`,
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/** @internal */
|
|
154
|
+
export const TotalDepositRequests$inboundSchema: z.ZodMiniType<
|
|
155
|
+
TotalDepositRequests,
|
|
156
|
+
unknown
|
|
157
|
+
> = smartUnion([types.string(), types.number()]);
|
|
158
|
+
|
|
159
|
+
export function totalDepositRequestsFromJSON(
|
|
160
|
+
jsonString: string,
|
|
161
|
+
): SafeParseResult<TotalDepositRequests, SDKValidationError> {
|
|
162
|
+
return safeParse(
|
|
163
|
+
jsonString,
|
|
164
|
+
(x) => TotalDepositRequests$inboundSchema.parse(JSON.parse(x)),
|
|
165
|
+
`Failed to parse 'TotalDepositRequests' from JSON`,
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** @internal */
|
|
170
|
+
export const TotalRedeemRequests$inboundSchema: z.ZodMiniType<
|
|
171
|
+
TotalRedeemRequests,
|
|
172
|
+
unknown
|
|
173
|
+
> = smartUnion([types.string(), types.number()]);
|
|
174
|
+
|
|
175
|
+
export function totalRedeemRequestsFromJSON(
|
|
176
|
+
jsonString: string,
|
|
177
|
+
): SafeParseResult<TotalRedeemRequests, SDKValidationError> {
|
|
178
|
+
return safeParse(
|
|
179
|
+
jsonString,
|
|
180
|
+
(x) => TotalRedeemRequests$inboundSchema.parse(JSON.parse(x)),
|
|
181
|
+
`Failed to parse 'TotalRedeemRequests' from JSON`,
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/** @internal */
|
|
186
|
+
export const MgmtFeeSharesMinted$inboundSchema: z.ZodMiniType<
|
|
187
|
+
MgmtFeeSharesMinted,
|
|
188
|
+
unknown
|
|
189
|
+
> = smartUnion([types.string(), types.number()]);
|
|
190
|
+
|
|
191
|
+
export function mgmtFeeSharesMintedFromJSON(
|
|
192
|
+
jsonString: string,
|
|
193
|
+
): SafeParseResult<MgmtFeeSharesMinted, SDKValidationError> {
|
|
194
|
+
return safeParse(
|
|
195
|
+
jsonString,
|
|
196
|
+
(x) => MgmtFeeSharesMinted$inboundSchema.parse(JSON.parse(x)),
|
|
197
|
+
`Failed to parse 'MgmtFeeSharesMinted' from JSON`,
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/** @internal */
|
|
202
|
+
export const PerfFeeSharesMinted$inboundSchema: z.ZodMiniType<
|
|
203
|
+
PerfFeeSharesMinted,
|
|
204
|
+
unknown
|
|
205
|
+
> = smartUnion([types.string(), types.number()]);
|
|
206
|
+
|
|
207
|
+
export function perfFeeSharesMintedFromJSON(
|
|
208
|
+
jsonString: string,
|
|
209
|
+
): SafeParseResult<PerfFeeSharesMinted, SDKValidationError> {
|
|
210
|
+
return safeParse(
|
|
211
|
+
jsonString,
|
|
212
|
+
(x) => PerfFeeSharesMinted$inboundSchema.parse(JSON.parse(x)),
|
|
213
|
+
`Failed to parse 'PerfFeeSharesMinted' from JSON`,
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/** @internal */
|
|
218
|
+
export const Epoch$inboundSchema: z.ZodMiniType<Epoch, unknown> = z.pipe(
|
|
219
|
+
z.catchall(
|
|
220
|
+
z.object({
|
|
221
|
+
id: z.optional(z.nullable(types.string())),
|
|
222
|
+
vault_id: z.optional(z.nullable(types.string())),
|
|
223
|
+
epoch_id: z.optional(
|
|
224
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
225
|
+
),
|
|
226
|
+
start_at: z.optional(z.nullable(types.string())),
|
|
227
|
+
end_at: z.optional(z.nullable(types.string())),
|
|
228
|
+
settled_at: z.optional(z.nullable(types.string())),
|
|
229
|
+
nav_per_share: z.optional(
|
|
230
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
231
|
+
),
|
|
232
|
+
nav_round: z.optional(
|
|
233
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
234
|
+
),
|
|
235
|
+
nav_source: z.optional(z.nullable(types.string())),
|
|
236
|
+
total_deposit_requests: z.optional(
|
|
237
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
238
|
+
),
|
|
239
|
+
total_redeem_requests: z.optional(
|
|
240
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
241
|
+
),
|
|
242
|
+
deposit_fulfillment_bps: z.optional(z.nullable(types.number())),
|
|
243
|
+
redeem_fulfillment_bps: z.optional(z.nullable(types.number())),
|
|
244
|
+
mgmt_fee_shares_minted: z.optional(
|
|
245
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
246
|
+
),
|
|
247
|
+
perf_fee_shares_minted: z.optional(
|
|
248
|
+
z.nullable(smartUnion([types.string(), types.number()])),
|
|
249
|
+
),
|
|
250
|
+
tx_hash: z.optional(z.nullable(types.string())),
|
|
251
|
+
created_at: z.optional(z.nullable(types.string())),
|
|
252
|
+
}),
|
|
253
|
+
z.any(),
|
|
254
|
+
),
|
|
255
|
+
z.transform((v) => {
|
|
256
|
+
return remap$(v, {
|
|
257
|
+
"vault_id": "vaultId",
|
|
258
|
+
"epoch_id": "epochId",
|
|
259
|
+
"start_at": "startAt",
|
|
260
|
+
"end_at": "endAt",
|
|
261
|
+
"settled_at": "settledAt",
|
|
262
|
+
"nav_per_share": "navPerShare",
|
|
263
|
+
"nav_round": "navRound",
|
|
264
|
+
"nav_source": "navSource",
|
|
265
|
+
"total_deposit_requests": "totalDepositRequests",
|
|
266
|
+
"total_redeem_requests": "totalRedeemRequests",
|
|
267
|
+
"deposit_fulfillment_bps": "depositFulfillmentBps",
|
|
268
|
+
"redeem_fulfillment_bps": "redeemFulfillmentBps",
|
|
269
|
+
"mgmt_fee_shares_minted": "mgmtFeeSharesMinted",
|
|
270
|
+
"perf_fee_shares_minted": "perfFeeSharesMinted",
|
|
271
|
+
"tx_hash": "txHash",
|
|
272
|
+
"created_at": "createdAt",
|
|
273
|
+
});
|
|
274
|
+
}),
|
|
275
|
+
);
|
|
276
|
+
|
|
277
|
+
export function epochFromJSON(
|
|
278
|
+
jsonString: string,
|
|
279
|
+
): SafeParseResult<Epoch, SDKValidationError> {
|
|
280
|
+
return safeParse(
|
|
281
|
+
jsonString,
|
|
282
|
+
(x) => Epoch$inboundSchema.parse(JSON.parse(x)),
|
|
283
|
+
`Failed to parse 'Epoch' from JSON`,
|
|
284
|
+
);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/** @internal */
|
|
288
|
+
export const GetOrgsByOrgIdAssetsByAssetIdVaultEpochsResponse$inboundSchema:
|
|
289
|
+
z.ZodMiniType<GetOrgsByOrgIdAssetsByAssetIdVaultEpochsResponse, unknown> = z
|
|
290
|
+
.object({
|
|
291
|
+
epochs: z.array(z.lazy(() => Epoch$inboundSchema)),
|
|
292
|
+
total: types.number(),
|
|
293
|
+
limit: types.number(),
|
|
294
|
+
offset: types.number(),
|
|
295
|
+
});
|
|
296
|
+
|
|
297
|
+
export function getOrgsByOrgIdAssetsByAssetIdVaultEpochsResponseFromJSON(
|
|
298
|
+
jsonString: string,
|
|
299
|
+
): SafeParseResult<
|
|
300
|
+
GetOrgsByOrgIdAssetsByAssetIdVaultEpochsResponse,
|
|
301
|
+
SDKValidationError
|
|
302
|
+
> {
|
|
303
|
+
return safeParse(
|
|
304
|
+
jsonString,
|
|
305
|
+
(x) =>
|
|
306
|
+
GetOrgsByOrgIdAssetsByAssetIdVaultEpochsResponse$inboundSchema.parse(
|
|
307
|
+
JSON.parse(x),
|
|
308
|
+
),
|
|
309
|
+
`Failed to parse 'GetOrgsByOrgIdAssetsByAssetIdVaultEpochsResponse' from JSON`,
|
|
310
|
+
);
|
|
311
|
+
}
|