@yuants/data-interest-rate 0.2.6 → 0.2.7
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/data-interest-rate.d.ts +35 -0
- package/dist/index.js.map +1 -1
- package/lib/index.d.ts +34 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/temp/data-interest-rate.api.json +206 -0
- package/temp/data-interest-rate.api.md +11 -0
- package/temp/package-deps.json +5 -5
|
@@ -10,6 +10,41 @@ export declare const decodeInterestRateSeriesId: (series_id: string) => {
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const encodeInterestRateSeriesId: (product_id: string) => string;
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* 资金费流水
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare interface IInterestLedger {
|
|
18
|
+
/**
|
|
19
|
+
* 资金费流水记录id
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* 产品ID
|
|
24
|
+
*/
|
|
25
|
+
product_id: string;
|
|
26
|
+
/**
|
|
27
|
+
* 金额
|
|
28
|
+
*/
|
|
29
|
+
amount: string;
|
|
30
|
+
/**
|
|
31
|
+
* 账户ID
|
|
32
|
+
*/
|
|
33
|
+
account_id: string;
|
|
34
|
+
/**
|
|
35
|
+
* 货币
|
|
36
|
+
*/
|
|
37
|
+
currency: string;
|
|
38
|
+
/**
|
|
39
|
+
* 创建时间
|
|
40
|
+
*/
|
|
41
|
+
created_at: string;
|
|
42
|
+
/**
|
|
43
|
+
* 更新时间
|
|
44
|
+
*/
|
|
45
|
+
updated_at: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
13
48
|
/**
|
|
14
49
|
* Interest Rate when holding a product
|
|
15
50
|
*
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsCA;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,UAAkB,EAAU,EAAE;IACvE,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,SAAiB,EAA0B,EAAE;IACtF,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE;QACvB,IAAI;YACF,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;SACtC;QAAC,WAAM;YACN,OAAO,SAAS,CAAC;SAClB;IACH,CAAC,CAAC,EAAE,CAAC;IACL,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC,CAAC","sourcesContent":["/**\n * Interest Rate when holding a product\n *\n * @public\n */\nexport interface IInterestRate {\n /**\n * Series ID (Encoded as `product_id`)\n */\n series_id: string;\n /**\n * Settlement TimestampTz\n */\n created_at: string;\n /**\n * Data source ID\n * 数据源 ID\n */\n datasource_id: string;\n /**\n * Product ID\n * 品种 ID\n */\n product_id: string;\n\n /**\n * 持有多头时,在结算时刻的收益率\n */\n long_rate: string;\n /**\n * 持有空头时,在结算时刻的收益率\n */\n short_rate: string;\n\n /** 结算价格 */\n settlement_price: string;\n}\n\n/**\n * @public\n */\nexport const encodeInterestRateSeriesId = (product_id: string): string => {\n return product_id;\n};\n\n/**\n * @public\n */\nexport const decodeInterestRateSeriesId = (series_id: string): { product_id: string } => {\n const product_id = (() => {\n try {\n return decodeURIComponent(series_id);\n } catch {\n return series_id;\n }\n })();\n return { product_id };\n};\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsCA;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,UAAkB,EAAU,EAAE;IACvE,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,SAAiB,EAA0B,EAAE;IACtF,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE;QACvB,IAAI;YACF,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;SACtC;QAAC,WAAM;YACN,OAAO,SAAS,CAAC;SAClB;IACH,CAAC,CAAC,EAAE,CAAC;IACL,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC,CAAC","sourcesContent":["/**\n * Interest Rate when holding a product\n *\n * @public\n */\nexport interface IInterestRate {\n /**\n * Series ID (Encoded as `product_id`)\n */\n series_id: string;\n /**\n * Settlement TimestampTz\n */\n created_at: string;\n /**\n * Data source ID\n * 数据源 ID\n */\n datasource_id: string;\n /**\n * Product ID\n * 品种 ID\n */\n product_id: string;\n\n /**\n * 持有多头时,在结算时刻的收益率\n */\n long_rate: string;\n /**\n * 持有空头时,在结算时刻的收益率\n */\n short_rate: string;\n\n /** 结算价格 */\n settlement_price: string;\n}\n\n/**\n * @public\n */\nexport const encodeInterestRateSeriesId = (product_id: string): string => {\n return product_id;\n};\n\n/**\n * @public\n */\nexport const decodeInterestRateSeriesId = (series_id: string): { product_id: string } => {\n const product_id = (() => {\n try {\n return decodeURIComponent(series_id);\n } catch {\n return series_id;\n }\n })();\n return { product_id };\n};\n\n/**\n * 资金费流水\n * @public\n */\nexport interface IInterestLedger {\n /**\n * 资金费流水记录id\n */\n id: string;\n /**\n * 产品ID\n */\n product_id: string;\n /**\n * 金额\n */\n amount: string;\n /**\n * 账户ID\n */\n account_id: string;\n /**\n * 货币\n */\n currency: string;\n /**\n * 创建时间\n */\n created_at: string;\n /**\n * 更新时间\n */\n updated_at: string;\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
@@ -43,4 +43,38 @@ export declare const encodeInterestRateSeriesId: (product_id: string) => string;
|
|
|
43
43
|
export declare const decodeInterestRateSeriesId: (series_id: string) => {
|
|
44
44
|
product_id: string;
|
|
45
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* 资金费流水
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface IInterestLedger {
|
|
51
|
+
/**
|
|
52
|
+
* 资金费流水记录id
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
/**
|
|
56
|
+
* 产品ID
|
|
57
|
+
*/
|
|
58
|
+
product_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* 金额
|
|
61
|
+
*/
|
|
62
|
+
amount: string;
|
|
63
|
+
/**
|
|
64
|
+
* 账户ID
|
|
65
|
+
*/
|
|
66
|
+
account_id: string;
|
|
67
|
+
/**
|
|
68
|
+
* 货币
|
|
69
|
+
*/
|
|
70
|
+
currency: string;
|
|
71
|
+
/**
|
|
72
|
+
* 创建时间
|
|
73
|
+
*/
|
|
74
|
+
created_at: string;
|
|
75
|
+
/**
|
|
76
|
+
* 更新时间
|
|
77
|
+
*/
|
|
78
|
+
updated_at: string;
|
|
79
|
+
}
|
|
46
80
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW;IACX,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,0BAA0B,eAAgB,MAAM,KAAG,MAE/D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,cAAe,MAAM;gBAAiB,MAAM;CASlF,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW;IACX,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,0BAA0B,eAAgB,MAAM,KAAG,MAE/D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,cAAe,MAAM;gBAAiB,MAAM;CASlF,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAsCA;;GAEG;AACI,MAAM,0BAA0B,GAAG,CAAC,UAAkB,EAAU,EAAE;IACvE,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAFW,QAAA,0BAA0B,8BAErC;AAEF;;GAEG;AACI,MAAM,0BAA0B,GAAG,CAAC,SAAiB,EAA0B,EAAE;IACtF,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE;QACvB,IAAI;YACF,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;SACtC;QAAC,WAAM;YACN,OAAO,SAAS,CAAC;SAClB;IACH,CAAC,CAAC,EAAE,CAAC;IACL,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC,CAAC;AATW,QAAA,0BAA0B,8BASrC","sourcesContent":["/**\n * Interest Rate when holding a product\n *\n * @public\n */\nexport interface IInterestRate {\n /**\n * Series ID (Encoded as `product_id`)\n */\n series_id: string;\n /**\n * Settlement TimestampTz\n */\n created_at: string;\n /**\n * Data source ID\n * 数据源 ID\n */\n datasource_id: string;\n /**\n * Product ID\n * 品种 ID\n */\n product_id: string;\n\n /**\n * 持有多头时,在结算时刻的收益率\n */\n long_rate: string;\n /**\n * 持有空头时,在结算时刻的收益率\n */\n short_rate: string;\n\n /** 结算价格 */\n settlement_price: string;\n}\n\n/**\n * @public\n */\nexport const encodeInterestRateSeriesId = (product_id: string): string => {\n return product_id;\n};\n\n/**\n * @public\n */\nexport const decodeInterestRateSeriesId = (series_id: string): { product_id: string } => {\n const product_id = (() => {\n try {\n return decodeURIComponent(series_id);\n } catch {\n return series_id;\n }\n })();\n return { product_id };\n};\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAsCA;;GAEG;AACI,MAAM,0BAA0B,GAAG,CAAC,UAAkB,EAAU,EAAE;IACvE,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAFW,QAAA,0BAA0B,8BAErC;AAEF;;GAEG;AACI,MAAM,0BAA0B,GAAG,CAAC,SAAiB,EAA0B,EAAE;IACtF,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE;QACvB,IAAI;YACF,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;SACtC;QAAC,WAAM;YACN,OAAO,SAAS,CAAC;SAClB;IACH,CAAC,CAAC,EAAE,CAAC;IACL,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC,CAAC;AATW,QAAA,0BAA0B,8BASrC","sourcesContent":["/**\n * Interest Rate when holding a product\n *\n * @public\n */\nexport interface IInterestRate {\n /**\n * Series ID (Encoded as `product_id`)\n */\n series_id: string;\n /**\n * Settlement TimestampTz\n */\n created_at: string;\n /**\n * Data source ID\n * 数据源 ID\n */\n datasource_id: string;\n /**\n * Product ID\n * 品种 ID\n */\n product_id: string;\n\n /**\n * 持有多头时,在结算时刻的收益率\n */\n long_rate: string;\n /**\n * 持有空头时,在结算时刻的收益率\n */\n short_rate: string;\n\n /** 结算价格 */\n settlement_price: string;\n}\n\n/**\n * @public\n */\nexport const encodeInterestRateSeriesId = (product_id: string): string => {\n return product_id;\n};\n\n/**\n * @public\n */\nexport const decodeInterestRateSeriesId = (series_id: string): { product_id: string } => {\n const product_id = (() => {\n try {\n return decodeURIComponent(series_id);\n } catch {\n return series_id;\n }\n })();\n return { product_id };\n};\n\n/**\n * 资金费流水\n * @public\n */\nexport interface IInterestLedger {\n /**\n * 资金费流水记录id\n */\n id: string;\n /**\n * 产品ID\n */\n product_id: string;\n /**\n * 金额\n */\n amount: string;\n /**\n * 账户ID\n */\n account_id: string;\n /**\n * 货币\n */\n currency: string;\n /**\n * 创建时间\n */\n created_at: string;\n /**\n * 更新时间\n */\n updated_at: string;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -216,6 +216,212 @@
|
|
|
216
216
|
"endIndex": 2
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
|
+
{
|
|
220
|
+
"kind": "Interface",
|
|
221
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger:interface",
|
|
222
|
+
"docComment": "/**\n * 资金费流水\n *\n * @public\n */\n",
|
|
223
|
+
"excerptTokens": [
|
|
224
|
+
{
|
|
225
|
+
"kind": "Content",
|
|
226
|
+
"text": "export interface IInterestLedger "
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"releaseTag": "Public",
|
|
230
|
+
"name": "IInterestLedger",
|
|
231
|
+
"preserveMemberOrder": false,
|
|
232
|
+
"members": [
|
|
233
|
+
{
|
|
234
|
+
"kind": "PropertySignature",
|
|
235
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#account_id:member",
|
|
236
|
+
"docComment": "/**\n * 账户ID\n */\n",
|
|
237
|
+
"excerptTokens": [
|
|
238
|
+
{
|
|
239
|
+
"kind": "Content",
|
|
240
|
+
"text": "account_id: "
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "Content",
|
|
244
|
+
"text": "string"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"kind": "Content",
|
|
248
|
+
"text": ";"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"isReadonly": false,
|
|
252
|
+
"isOptional": false,
|
|
253
|
+
"releaseTag": "Public",
|
|
254
|
+
"name": "account_id",
|
|
255
|
+
"propertyTypeTokenRange": {
|
|
256
|
+
"startIndex": 1,
|
|
257
|
+
"endIndex": 2
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "PropertySignature",
|
|
262
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#amount:member",
|
|
263
|
+
"docComment": "/**\n * 金额\n */\n",
|
|
264
|
+
"excerptTokens": [
|
|
265
|
+
{
|
|
266
|
+
"kind": "Content",
|
|
267
|
+
"text": "amount: "
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "Content",
|
|
271
|
+
"text": "string"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "Content",
|
|
275
|
+
"text": ";"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"isReadonly": false,
|
|
279
|
+
"isOptional": false,
|
|
280
|
+
"releaseTag": "Public",
|
|
281
|
+
"name": "amount",
|
|
282
|
+
"propertyTypeTokenRange": {
|
|
283
|
+
"startIndex": 1,
|
|
284
|
+
"endIndex": 2
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "PropertySignature",
|
|
289
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#created_at:member",
|
|
290
|
+
"docComment": "/**\n * 创建时间\n */\n",
|
|
291
|
+
"excerptTokens": [
|
|
292
|
+
{
|
|
293
|
+
"kind": "Content",
|
|
294
|
+
"text": "created_at: "
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"kind": "Content",
|
|
298
|
+
"text": "string"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"kind": "Content",
|
|
302
|
+
"text": ";"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"isReadonly": false,
|
|
306
|
+
"isOptional": false,
|
|
307
|
+
"releaseTag": "Public",
|
|
308
|
+
"name": "created_at",
|
|
309
|
+
"propertyTypeTokenRange": {
|
|
310
|
+
"startIndex": 1,
|
|
311
|
+
"endIndex": 2
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"kind": "PropertySignature",
|
|
316
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#currency:member",
|
|
317
|
+
"docComment": "/**\n * 货币\n */\n",
|
|
318
|
+
"excerptTokens": [
|
|
319
|
+
{
|
|
320
|
+
"kind": "Content",
|
|
321
|
+
"text": "currency: "
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"kind": "Content",
|
|
325
|
+
"text": "string"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "Content",
|
|
329
|
+
"text": ";"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"isReadonly": false,
|
|
333
|
+
"isOptional": false,
|
|
334
|
+
"releaseTag": "Public",
|
|
335
|
+
"name": "currency",
|
|
336
|
+
"propertyTypeTokenRange": {
|
|
337
|
+
"startIndex": 1,
|
|
338
|
+
"endIndex": 2
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "PropertySignature",
|
|
343
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#id:member",
|
|
344
|
+
"docComment": "/**\n * 资金费流水记录id\n */\n",
|
|
345
|
+
"excerptTokens": [
|
|
346
|
+
{
|
|
347
|
+
"kind": "Content",
|
|
348
|
+
"text": "id: "
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"kind": "Content",
|
|
352
|
+
"text": "string"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"kind": "Content",
|
|
356
|
+
"text": ";"
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"isReadonly": false,
|
|
360
|
+
"isOptional": false,
|
|
361
|
+
"releaseTag": "Public",
|
|
362
|
+
"name": "id",
|
|
363
|
+
"propertyTypeTokenRange": {
|
|
364
|
+
"startIndex": 1,
|
|
365
|
+
"endIndex": 2
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "PropertySignature",
|
|
370
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#product_id:member",
|
|
371
|
+
"docComment": "/**\n * 产品ID\n */\n",
|
|
372
|
+
"excerptTokens": [
|
|
373
|
+
{
|
|
374
|
+
"kind": "Content",
|
|
375
|
+
"text": "product_id: "
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"kind": "Content",
|
|
379
|
+
"text": "string"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "Content",
|
|
383
|
+
"text": ";"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"isReadonly": false,
|
|
387
|
+
"isOptional": false,
|
|
388
|
+
"releaseTag": "Public",
|
|
389
|
+
"name": "product_id",
|
|
390
|
+
"propertyTypeTokenRange": {
|
|
391
|
+
"startIndex": 1,
|
|
392
|
+
"endIndex": 2
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"kind": "PropertySignature",
|
|
397
|
+
"canonicalReference": "@yuants/data-interest-rate!IInterestLedger#updated_at:member",
|
|
398
|
+
"docComment": "/**\n * 更新时间\n */\n",
|
|
399
|
+
"excerptTokens": [
|
|
400
|
+
{
|
|
401
|
+
"kind": "Content",
|
|
402
|
+
"text": "updated_at: "
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "Content",
|
|
406
|
+
"text": "string"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"kind": "Content",
|
|
410
|
+
"text": ";"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"isReadonly": false,
|
|
414
|
+
"isOptional": false,
|
|
415
|
+
"releaseTag": "Public",
|
|
416
|
+
"name": "updated_at",
|
|
417
|
+
"propertyTypeTokenRange": {
|
|
418
|
+
"startIndex": 1,
|
|
419
|
+
"endIndex": 2
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"extendsTokenRanges": []
|
|
424
|
+
},
|
|
219
425
|
{
|
|
220
426
|
"kind": "Interface",
|
|
221
427
|
"canonicalReference": "@yuants/data-interest-rate!IInterestRate:interface",
|
|
@@ -12,6 +12,17 @@ export const decodeInterestRateSeriesId: (series_id: string) => {
|
|
|
12
12
|
// @public (undocumented)
|
|
13
13
|
export const encodeInterestRateSeriesId: (product_id: string) => string;
|
|
14
14
|
|
|
15
|
+
// @public
|
|
16
|
+
export interface IInterestLedger {
|
|
17
|
+
account_id: string;
|
|
18
|
+
amount: string;
|
|
19
|
+
created_at: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
id: string;
|
|
22
|
+
product_id: string;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
15
26
|
// @public
|
|
16
27
|
export interface IInterestRate {
|
|
17
28
|
created_at: string;
|
package/temp/package-deps.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"libraries/data-interest-rate/CHANGELOG.json": "
|
|
3
|
-
"libraries/data-interest-rate/CHANGELOG.md": "
|
|
2
|
+
"libraries/data-interest-rate/CHANGELOG.json": "300ac26b701720ba8761dae390d9722bb66d799a",
|
|
3
|
+
"libraries/data-interest-rate/CHANGELOG.md": "d3296cae0707d6d9d7bd61fad78fda7a7644659b",
|
|
4
4
|
"libraries/data-interest-rate/api-extractor.json": "62f4fd324425b9a235f0c117975967aab09ced0c",
|
|
5
5
|
"libraries/data-interest-rate/config/jest.config.json": "4bb17bde3ee911163a3edb36a6eb71491d80b1bd",
|
|
6
6
|
"libraries/data-interest-rate/config/rig.json": "f6c7b5537dc77a3170ba9f008bae3b6c3ee11956",
|
|
7
7
|
"libraries/data-interest-rate/config/typescript.json": "854907e8a821f2050f6533368db160c649c25348",
|
|
8
|
-
"libraries/data-interest-rate/etc/data-interest-rate.api.md": "
|
|
9
|
-
"libraries/data-interest-rate/package.json": "
|
|
10
|
-
"libraries/data-interest-rate/src/index.ts": "
|
|
8
|
+
"libraries/data-interest-rate/etc/data-interest-rate.api.md": "324afe9d45afeffcd60fcc021bb1260055f724a2",
|
|
9
|
+
"libraries/data-interest-rate/package.json": "bae048921c8e5c7e81626e09308fa30e61b688ad",
|
|
10
|
+
"libraries/data-interest-rate/src/index.ts": "be5a1fbb29d256610d310e16646b1c011d83e52a",
|
|
11
11
|
"libraries/data-interest-rate/tsconfig.json": "22f94ca28b507f8ddcc21b9053158eefd3f726a9",
|
|
12
12
|
"libraries/data-interest-rate/.rush/temp/shrinkwrap-deps.json": "14d204eb5804e8b263a53fcc1425c1dc56c952e8",
|
|
13
13
|
"libraries/protocol/temp/package-deps.json": "f9ac8a0412f63d53f93ce189a390eab4a74b772b",
|