@ganaka/sdk 1.3.0 → 1.4.0
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.d.ts +5 -1
- package/dist/index.js +12 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4172,7 +4172,7 @@ object({
|
|
|
4172
4172
|
statusCode: number$1(),
|
|
4173
4173
|
message: string()
|
|
4174
4174
|
});
|
|
4175
|
-
const
|
|
4175
|
+
const c = [
|
|
4176
4176
|
"1minute",
|
|
4177
4177
|
"2minute",
|
|
4178
4178
|
"3minute",
|
|
@@ -4225,7 +4225,7 @@ const m = [
|
|
|
4225
4225
|
name: string(),
|
|
4226
4226
|
price: number$1(),
|
|
4227
4227
|
quoteData: a.nullable().optional()
|
|
4228
|
-
}),
|
|
4228
|
+
}), m = _enum(["TOP_GAINERS", "VOLUME_SHOCKERS"]), b = object({
|
|
4229
4229
|
nseSymbol: string(),
|
|
4230
4230
|
quoteData: a
|
|
4231
4231
|
});
|
|
@@ -4234,7 +4234,7 @@ const m = [
|
|
|
4234
4234
|
data: object({
|
|
4235
4235
|
timestamp: n,
|
|
4236
4236
|
timezone: o.optional(),
|
|
4237
|
-
shortlistType:
|
|
4237
|
+
shortlistType: m,
|
|
4238
4238
|
entries: array(d)
|
|
4239
4239
|
})
|
|
4240
4240
|
}),
|
|
@@ -4243,7 +4243,7 @@ const m = [
|
|
|
4243
4243
|
id: string(),
|
|
4244
4244
|
timestamp: string(),
|
|
4245
4245
|
// Format: YYYY-MM-DDTHH:mm:ss (UTC)
|
|
4246
|
-
shortlistType:
|
|
4246
|
+
shortlistType: m,
|
|
4247
4247
|
entriesCount: number$1()
|
|
4248
4248
|
})
|
|
4249
4249
|
})
|
|
@@ -4297,7 +4297,7 @@ const p = object({
|
|
|
4297
4297
|
}), v = {
|
|
4298
4298
|
query: object({
|
|
4299
4299
|
symbol: string(),
|
|
4300
|
-
interval: _enum(
|
|
4300
|
+
interval: _enum(c),
|
|
4301
4301
|
start_datetime: n,
|
|
4302
4302
|
end_datetime: n,
|
|
4303
4303
|
timezone: o.optional()
|
|
@@ -4323,7 +4323,8 @@ const p = object({
|
|
|
4323
4323
|
}, x = {
|
|
4324
4324
|
query: object({
|
|
4325
4325
|
symbol: string(),
|
|
4326
|
-
|
|
4326
|
+
end_datetime: n,
|
|
4327
|
+
timezone: o.optional()
|
|
4327
4328
|
}),
|
|
4328
4329
|
response: t.extend({
|
|
4329
4330
|
data: object({
|
|
@@ -4402,7 +4403,7 @@ const p = object({
|
|
|
4402
4403
|
}, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4403
4404
|
__proto__: null,
|
|
4404
4405
|
getShortlistPersistence: q
|
|
4405
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4406
|
+
}, Symbol.toStringTag, { value: "Module" })), z = {
|
|
4406
4407
|
query: object({}),
|
|
4407
4408
|
response: t.extend({
|
|
4408
4409
|
data: object({
|
|
@@ -4416,14 +4417,14 @@ const p = object({
|
|
|
4416
4417
|
)
|
|
4417
4418
|
})
|
|
4418
4419
|
})
|
|
4419
|
-
},
|
|
4420
|
+
}, w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4420
4421
|
__proto__: null,
|
|
4421
|
-
getAvailableDatetimes:
|
|
4422
|
+
getAvailableDatetimes: z
|
|
4422
4423
|
}, Symbol.toStringTag, { value: "Module" })), D = {
|
|
4423
4424
|
query: object({
|
|
4424
4425
|
symbol: string(),
|
|
4425
4426
|
date: i,
|
|
4426
|
-
interval: _enum(
|
|
4427
|
+
interval: _enum(c).optional()
|
|
4427
4428
|
}),
|
|
4428
4429
|
response: t.extend({
|
|
4429
4430
|
data: object({
|
|
@@ -4670,7 +4671,7 @@ const p = object({
|
|
|
4670
4671
|
}, Symbol.toStringTag, { value: "Module" })), ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4671
4672
|
__proto__: null,
|
|
4672
4673
|
v1_dashboard_auth_schemas: L,
|
|
4673
|
-
v1_dashboard_available_datetimes_schemas:
|
|
4674
|
+
v1_dashboard_available_datetimes_schemas: w,
|
|
4674
4675
|
v1_dashboard_candles_schemas: C,
|
|
4675
4676
|
v1_dashboard_daily_persistent_companies_schemas: R,
|
|
4676
4677
|
v1_dashboard_daily_unique_companies_schemas: k,
|