@limeint/trade-api 2.18.1-rc.1 → 2.19.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.
Files changed (64) hide show
  1. package/README.md +110 -36
  2. package/dist/client.d.ts +10 -28
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +10 -86
  5. package/dist/client.js.map +1 -1
  6. package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.d.ts +71 -88
  7. package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.d.ts.map +1 -1
  8. package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.js +36 -145
  9. package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.js.map +1 -1
  10. package/dist/generated/grpc/tradeapi/v1/assets/assets_service.d.ts +195 -196
  11. package/dist/generated/grpc/tradeapi/v1/assets/assets_service.d.ts.map +1 -1
  12. package/dist/generated/grpc/tradeapi/v1/assets/assets_service.js +356 -95
  13. package/dist/generated/grpc/tradeapi/v1/assets/assets_service.js.map +1 -1
  14. package/dist/generated/grpc/tradeapi/v1/auth/auth_service.d.ts +45 -45
  15. package/dist/generated/grpc/tradeapi/v1/auth/auth_service.d.ts.map +1 -1
  16. package/dist/generated/grpc/tradeapi/v1/auth/auth_service.js +13 -13
  17. package/dist/generated/grpc/tradeapi/v1/auth/auth_service.js.map +1 -1
  18. package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.d.ts +69 -221
  19. package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.d.ts.map +1 -1
  20. package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.js +165 -1208
  21. package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.js.map +1 -1
  22. package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.d.ts +136 -143
  23. package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.d.ts.map +1 -1
  24. package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.js +202 -63
  25. package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.js.map +1 -1
  26. package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.d.ts +8 -23
  27. package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.d.ts.map +1 -1
  28. package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.js +1 -6
  29. package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.js.map +1 -1
  30. package/dist/generated/grpc/tradeapi/v1/orders/orders_service.d.ts +235 -235
  31. package/dist/generated/grpc/tradeapi/v1/orders/orders_service.d.ts.map +1 -1
  32. package/dist/generated/grpc/tradeapi/v1/orders/orders_service.js +187 -193
  33. package/dist/generated/grpc/tradeapi/v1/orders/orders_service.js.map +1 -1
  34. package/dist/generated/grpc/tradeapi/v1/side.d.ts +2 -2
  35. package/dist/generated/grpc/tradeapi/v1/side.d.ts.map +1 -1
  36. package/dist/generated/grpc/tradeapi/v1/side.js +2 -2
  37. package/dist/generated/grpc/tradeapi/v1/side.js.map +1 -1
  38. package/dist/generated/grpc/tradeapi/v1/trade.d.ts +10 -10
  39. package/dist/generated/grpc/tradeapi/v1/trade.d.ts.map +1 -1
  40. package/dist/index.d.ts +2 -2
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +2 -2
  43. package/dist/index.js.map +1 -1
  44. package/dist/internal/auth.d.ts +10 -0
  45. package/dist/internal/auth.d.ts.map +1 -0
  46. package/dist/internal/auth.js +63 -0
  47. package/dist/internal/auth.js.map +1 -0
  48. package/dist/internal/retry.d.ts +10 -0
  49. package/dist/internal/retry.d.ts.map +1 -0
  50. package/dist/internal/retry.js +22 -0
  51. package/dist/internal/retry.js.map +1 -0
  52. package/dist/internal/services.d.ts +20 -0
  53. package/dist/internal/services.d.ts.map +1 -0
  54. package/dist/internal/services.js +20 -0
  55. package/dist/internal/services.js.map +1 -0
  56. package/package.json +9 -8
  57. package/dist/generated/grpc/tradeapi/v1/reports/reports_service.d.ts +0 -203
  58. package/dist/generated/grpc/tradeapi/v1/reports/reports_service.d.ts.map +0 -1
  59. package/dist/generated/grpc/tradeapi/v1/reports/reports_service.js +0 -871
  60. package/dist/generated/grpc/tradeapi/v1/reports/reports_service.js.map +0 -1
  61. package/dist/reports.d.ts +0 -2
  62. package/dist/reports.d.ts.map +0 -1
  63. package/dist/reports.js +0 -2
  64. package/dist/reports.js.map +0 -1
@@ -12,7 +12,7 @@ import { Decimal } from "../../../../google/type/decimal.js";
12
12
  import { Interval } from "../../../../google/type/interval.js";
13
13
  import { Money } from "../../../../google/type/money.js";
14
14
  export const protobufPackage = "grpc.tradeapi.v1.assets";
15
- /** Acceptable price */
15
+ /** Available price */
16
16
  export var PriceType;
17
17
  (function (PriceType) {
18
18
  /** UNKNOWN - Unknown */
@@ -60,10 +60,10 @@ export function priceTypeToJSON(object) {
60
60
  return "UNRECOGNIZED";
61
61
  }
62
62
  }
63
- /** Option type */
63
+ /** Option Type */
64
64
  export var Option_Type;
65
65
  (function (Option_Type) {
66
- /** TYPE_UNSPECIFIED - Undefined value */
66
+ /** TYPE_UNSPECIFIED - Unspecified value */
67
67
  Option_Type[Option_Type["TYPE_UNSPECIFIED"] = 0] = "TYPE_UNSPECIFIED";
68
68
  /** TYPE_CALL - Call */
69
69
  Option_Type[Option_Type["TYPE_CALL"] = 1] = "TYPE_CALL";
@@ -108,7 +108,7 @@ export var Longable_Status;
108
108
  Longable_Status[Longable_Status["NOT_AVAILABLE"] = 0] = "NOT_AVAILABLE";
109
109
  /** AVAILABLE - Available */
110
110
  Longable_Status[Longable_Status["AVAILABLE"] = 1] = "AVAILABLE";
111
- /** ACCOUNT_NOT_APPROVED - Prohibited at account level */
111
+ /** ACCOUNT_NOT_APPROVED - Forbidden at the account level */
112
112
  Longable_Status[Longable_Status["ACCOUNT_NOT_APPROVED"] = 2] = "ACCOUNT_NOT_APPROVED";
113
113
  Longable_Status[Longable_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
114
114
  })(Longable_Status || (Longable_Status = {}));
@@ -149,11 +149,11 @@ export var Shortable_Status;
149
149
  Shortable_Status[Shortable_Status["NOT_AVAILABLE"] = 0] = "NOT_AVAILABLE";
150
150
  /** AVAILABLE - Available */
151
151
  Shortable_Status[Shortable_Status["AVAILABLE"] = 1] = "AVAILABLE";
152
- /** HTB - Indicates that the security is hard to borrow */
152
+ /** HTB - Indication that the paper is Hard To Borrow (if any) */
153
153
  Shortable_Status[Shortable_Status["HTB"] = 2] = "HTB";
154
- /** ACCOUNT_NOT_APPROVED - Prohibited at account level */
154
+ /** ACCOUNT_NOT_APPROVED - Forbidden at the account level */
155
155
  Shortable_Status[Shortable_Status["ACCOUNT_NOT_APPROVED"] = 3] = "ACCOUNT_NOT_APPROVED";
156
- /** AVAILABLE_STRATEGY - Allowed as part of a strategy */
156
+ /** AVAILABLE_STRATEGY - Allowed in strategy */
157
157
  Shortable_Status[Shortable_Status["AVAILABLE_STRATEGY"] = 4] = "AVAILABLE_STRATEGY";
158
158
  Shortable_Status[Shortable_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
159
159
  })(Shortable_Status || (Shortable_Status = {}));
@@ -1270,6 +1270,7 @@ function createBaseGetAssetParamsResponse() {
1270
1270
  shortInitialMargin: undefined,
1271
1271
  isTradable: undefined,
1272
1272
  priceType: 0,
1273
+ tradeLotSize: 0n,
1273
1274
  };
1274
1275
  }
1275
1276
  export const GetAssetParamsResponse = {
@@ -1313,6 +1314,12 @@ export const GetAssetParamsResponse = {
1313
1314
  if (message.priceType !== 0) {
1314
1315
  writer.uint32(104).int32(message.priceType);
1315
1316
  }
1317
+ if (message.tradeLotSize !== 0n) {
1318
+ if (BigInt.asIntN(64, message.tradeLotSize) !== message.tradeLotSize) {
1319
+ throw new globalThis.Error("value provided for field message.tradeLotSize of type int64 too large");
1320
+ }
1321
+ writer.uint32(112).int64(message.tradeLotSize);
1322
+ }
1316
1323
  return writer;
1317
1324
  },
1318
1325
  decode(input, length) {
@@ -1413,6 +1420,13 @@ export const GetAssetParamsResponse = {
1413
1420
  message.priceType = reader.int32();
1414
1421
  continue;
1415
1422
  }
1423
+ case 14: {
1424
+ if (tag !== 112) {
1425
+ break;
1426
+ }
1427
+ message.tradeLotSize = reader.int64();
1428
+ continue;
1429
+ }
1416
1430
  }
1417
1431
  if ((tag & 7) === 4 || tag === 0) {
1418
1432
  break;
@@ -1472,6 +1486,11 @@ export const GetAssetParamsResponse = {
1472
1486
  : isSet(object.price_type)
1473
1487
  ? priceTypeFromJSON(object.price_type)
1474
1488
  : 0,
1489
+ tradeLotSize: isSet(object.tradeLotSize)
1490
+ ? BigInt(object.tradeLotSize)
1491
+ : isSet(object.trade_lot_size)
1492
+ ? BigInt(object.trade_lot_size)
1493
+ : 0n,
1475
1494
  };
1476
1495
  },
1477
1496
  toJSON(message) {
@@ -1515,6 +1534,9 @@ export const GetAssetParamsResponse = {
1515
1534
  if (message.priceType !== 0) {
1516
1535
  obj.priceType = priceTypeToJSON(message.priceType);
1517
1536
  }
1537
+ if (message.tradeLotSize !== 0n) {
1538
+ obj.tradeLotSize = message.tradeLotSize.toString();
1539
+ }
1518
1540
  return obj;
1519
1541
  },
1520
1542
  create(base) {
@@ -1551,6 +1573,9 @@ export const GetAssetParamsResponse = {
1551
1573
  : undefined;
1552
1574
  message.isTradable = object.isTradable ?? undefined;
1553
1575
  message.priceType = object.priceType ?? 0;
1576
+ message.tradeLotSize = (object.tradeLotSize !== undefined && object.tradeLotSize !== null)
1577
+ ? BigInt(object.tradeLotSize)
1578
+ : 0n;
1554
1579
  return message;
1555
1580
  },
1556
1581
  };
@@ -2895,8 +2920,8 @@ export const AssetsServiceDefinition = {
2895
2920
  fullName: "grpc.tradeapi.v1.assets.AssetsService",
2896
2921
  methods: {
2897
2922
  /**
2898
- * Get available exchanges, names, and MIC codes
2899
- * Example HTTP request:
2923
+ * Getting a list of available exchange names and MIC codes
2924
+ * HTTP request example:
2900
2925
  * GET /v1/exchanges
2901
2926
  * Authorization: <token>
2902
2927
  */
@@ -2941,8 +2966,8 @@ export const AssetsServiceDefinition = {
2941
2966
  },
2942
2967
  },
2943
2968
  /**
2944
- * Get instruments available for trading and their descriptions
2945
- * Example HTTP request:
2969
+ * Get the list of instruments available for trading, along with their descriptions
2970
+ * HTTP request example:
2946
2971
  * GET /v1/assets
2947
2972
  * Authorization: <token>
2948
2973
  *
@@ -2987,7 +3012,7 @@ export const AssetsServiceDefinition = {
2987
3012
  },
2988
3013
  },
2989
3014
  /**
2990
- * Get all instruments, including indicative and archived instruments, and their descriptions
3015
+ * Get the list of all instruments, including indicative and archived ones, along with their descriptions
2991
3016
  * Example HTTP request:
2992
3017
  * GET /v1/assets/all?cursor=56658&only_disabled=true
2993
3018
  * Authorization: <token>
@@ -3033,14 +3058,14 @@ export const AssetsServiceDefinition = {
3033
3058
  },
3034
3059
  },
3035
3060
  /**
3036
- * Get information about a specific instrument
3037
- * Example HTTP request:
3038
- * GET /v1/assets/SBER@MISX?account_id=1440399
3061
+ * Getting information on a specific asset
3062
+ * HTTP request example:
3063
+ * GET /v1/assets/AAPL@XNAS?account_id=1440399
3039
3064
  * Authorization: <token>
3040
3065
  *
3041
3066
  * Parameters:
3042
- * - symbol is passed in the URL path
3043
- * - account_id is passed as a query parameter
3067
+ * - symbol - passed in the URL path
3068
+ * - account_id - passed as a query parameter
3044
3069
  */
3045
3070
  getAsset: {
3046
3071
  name: "GetAsset",
@@ -3052,18 +3077,22 @@ export const AssetsServiceDefinition = {
3052
3077
  _unknownFields: {
3053
3078
  8338: [
3054
3079
  new Uint8Array([
3055
- 120,
3080
+ 178,
3081
+ 1,
3056
3082
  74,
3057
- 97,
3083
+ 154,
3084
+ 1,
3058
3085
  10,
3059
3086
  3,
3060
3087
  52,
3061
3088
  48,
3062
3089
  48,
3063
3090
  18,
3064
- 90,
3091
+ 146,
3092
+ 1,
3065
3093
  10,
3066
- 88,
3094
+ 143,
3095
+ 1,
3067
3096
  73,
3068
3097
  110,
3069
3098
  118,
@@ -3089,6 +3118,13 @@ export const AssetsServiceDefinition = {
3089
3118
  117,
3090
3119
  110,
3091
3120
  116,
3121
+ 32,
3122
+ 112,
3123
+ 97,
3124
+ 115,
3125
+ 115,
3126
+ 101,
3127
+ 100,
3092
3128
  46,
3093
3129
  32,
3094
3130
  84,
@@ -3107,10 +3143,21 @@ export const AssetsServiceDefinition = {
3107
3143
  115,
3108
3144
  116,
3109
3145
  32,
3110
- 117,
3111
- 115,
3146
+ 98,
3112
3147
  101,
3113
3148
  32,
3149
+ 105,
3150
+ 110,
3151
+ 32,
3152
+ 116,
3153
+ 104,
3154
+ 101,
3155
+ 32,
3156
+ 102,
3157
+ 111,
3158
+ 114,
3159
+ 109,
3160
+ 32,
3114
3161
  116,
3115
3162
  105,
3116
3163
  99,
@@ -3121,13 +3168,54 @@ export const AssetsServiceDefinition = {
3121
3168
  109,
3122
3169
  105,
3123
3170
  99,
3171
+ 46,
3172
+ 32,
3173
+ 87,
3174
+ 104,
3175
+ 101,
3176
+ 114,
3177
+ 101,
3178
+ 32,
3179
+ 116,
3180
+ 105,
3181
+ 99,
3182
+ 107,
3183
+ 101,
3184
+ 114,
3185
+ 32,
3186
+ 105,
3187
+ 115,
3188
+ 44,
3124
3189
  32,
3125
3190
  102,
3126
3191
  111,
3127
3192
  114,
3128
- 109,
3193
+ 32,
3194
+ 101,
3195
+ 120,
3129
3196
  97,
3130
- 116,
3197
+ 109,
3198
+ 112,
3199
+ 108,
3200
+ 101,
3201
+ 44,
3202
+ 32,
3203
+ 65,
3204
+ 65,
3205
+ 80,
3206
+ 76,
3207
+ 46,
3208
+ 32,
3209
+ 65,
3210
+ 110,
3211
+ 100,
3212
+ 32,
3213
+ 109,
3214
+ 105,
3215
+ 99,
3216
+ 32,
3217
+ 105,
3218
+ 115,
3131
3219
  44,
3132
3220
  32,
3133
3221
  102,
@@ -3141,16 +3229,12 @@ export const AssetsServiceDefinition = {
3141
3229
  112,
3142
3230
  108,
3143
3231
  101,
3232
+ 44,
3144
3233
  32,
3145
- 83,
3146
- 66,
3147
- 69,
3148
- 82,
3149
- 64,
3150
- 77,
3151
- 73,
3152
- 83,
3153
3234
  88,
3235
+ 78,
3236
+ 65,
3237
+ 83,
3154
3238
  46,
3155
3239
  98,
3156
3240
  19,
@@ -3205,14 +3289,14 @@ export const AssetsServiceDefinition = {
3205
3289
  },
3206
3290
  },
3207
3291
  /**
3208
- * Get trading parameters for an instrument
3209
- * Example HTTP request:
3210
- * GET /v1/assets/SBER@MISX/params?account_id=1440399
3292
+ * Getting trading parameters for an asset
3293
+ * HTTP request example:
3294
+ * GET /v1/assets/AAPL@XNAS/params?account_id=1440399
3211
3295
  * Authorization: <token>
3212
3296
  *
3213
3297
  * Parameters:
3214
- * - symbol is passed in the URL path
3215
- * - account_id is passed as a query parameter
3298
+ * - symbol - passed in the URL path
3299
+ * - account_id - passed as a query parameter
3216
3300
  */
3217
3301
  getAssetParams: {
3218
3302
  name: "GetAssetParams",
@@ -3224,18 +3308,22 @@ export const AssetsServiceDefinition = {
3224
3308
  _unknownFields: {
3225
3309
  8338: [
3226
3310
  new Uint8Array([
3227
- 120,
3311
+ 178,
3312
+ 1,
3228
3313
  74,
3229
- 97,
3314
+ 154,
3315
+ 1,
3230
3316
  10,
3231
3317
  3,
3232
3318
  52,
3233
3319
  48,
3234
3320
  48,
3235
3321
  18,
3236
- 90,
3322
+ 146,
3323
+ 1,
3237
3324
  10,
3238
- 88,
3325
+ 143,
3326
+ 1,
3239
3327
  73,
3240
3328
  110,
3241
3329
  118,
@@ -3261,6 +3349,13 @@ export const AssetsServiceDefinition = {
3261
3349
  117,
3262
3350
  110,
3263
3351
  116,
3352
+ 32,
3353
+ 112,
3354
+ 97,
3355
+ 115,
3356
+ 115,
3357
+ 101,
3358
+ 100,
3264
3359
  46,
3265
3360
  32,
3266
3361
  84,
@@ -3279,10 +3374,21 @@ export const AssetsServiceDefinition = {
3279
3374
  115,
3280
3375
  116,
3281
3376
  32,
3282
- 117,
3283
- 115,
3377
+ 98,
3284
3378
  101,
3285
3379
  32,
3380
+ 105,
3381
+ 110,
3382
+ 32,
3383
+ 116,
3384
+ 104,
3385
+ 101,
3386
+ 32,
3387
+ 102,
3388
+ 111,
3389
+ 114,
3390
+ 109,
3391
+ 32,
3286
3392
  116,
3287
3393
  105,
3288
3394
  99,
@@ -3293,13 +3399,54 @@ export const AssetsServiceDefinition = {
3293
3399
  109,
3294
3400
  105,
3295
3401
  99,
3402
+ 46,
3403
+ 32,
3404
+ 87,
3405
+ 104,
3406
+ 101,
3407
+ 114,
3408
+ 101,
3409
+ 32,
3410
+ 116,
3411
+ 105,
3412
+ 99,
3413
+ 107,
3414
+ 101,
3415
+ 114,
3416
+ 32,
3417
+ 105,
3418
+ 115,
3419
+ 44,
3296
3420
  32,
3297
3421
  102,
3298
3422
  111,
3299
3423
  114,
3300
- 109,
3424
+ 32,
3425
+ 101,
3426
+ 120,
3301
3427
  97,
3302
- 116,
3428
+ 109,
3429
+ 112,
3430
+ 108,
3431
+ 101,
3432
+ 44,
3433
+ 32,
3434
+ 65,
3435
+ 65,
3436
+ 80,
3437
+ 76,
3438
+ 46,
3439
+ 32,
3440
+ 65,
3441
+ 110,
3442
+ 100,
3443
+ 32,
3444
+ 109,
3445
+ 105,
3446
+ 99,
3447
+ 32,
3448
+ 105,
3449
+ 115,
3303
3450
  44,
3304
3451
  32,
3305
3452
  102,
@@ -3313,16 +3460,12 @@ export const AssetsServiceDefinition = {
3313
3460
  112,
3314
3461
  108,
3315
3462
  101,
3463
+ 44,
3316
3464
  32,
3317
- 83,
3318
- 66,
3319
- 69,
3320
- 82,
3321
- 64,
3322
- 77,
3323
- 73,
3324
- 83,
3325
3465
  88,
3466
+ 78,
3467
+ 65,
3468
+ 83,
3326
3469
  46,
3327
3470
  98,
3328
3471
  19,
@@ -3384,9 +3527,9 @@ export const AssetsServiceDefinition = {
3384
3527
  },
3385
3528
  },
3386
3529
  /**
3387
- * Retrieving an options chain for the underlying asset
3388
- * Example HTTP request:
3389
- * GET /v1/assets/SBER@MISX/options
3530
+ * Getting the options chain for the underlying asset
3531
+ * HTTP request example:
3532
+ * GET /v1/assets/AAPL@XNAS/options
3390
3533
  * Authorization: <token>
3391
3534
  */
3392
3535
  optionsChain: {
@@ -3399,18 +3542,22 @@ export const AssetsServiceDefinition = {
3399
3542
  _unknownFields: {
3400
3543
  8338: [
3401
3544
  new Uint8Array([
3402
- 109,
3545
+ 167,
3546
+ 1,
3403
3547
  74,
3404
- 86,
3548
+ 143,
3549
+ 1,
3405
3550
  10,
3406
3551
  3,
3407
3552
  52,
3408
3553
  48,
3409
3554
  48,
3410
3555
  18,
3411
- 79,
3556
+ 135,
3557
+ 1,
3412
3558
  10,
3413
- 77,
3559
+ 132,
3560
+ 1,
3414
3561
  73,
3415
3562
  110,
3416
3563
  118,
@@ -3425,6 +3572,13 @@ export const AssetsServiceDefinition = {
3425
3572
  98,
3426
3573
  111,
3427
3574
  108,
3575
+ 32,
3576
+ 112,
3577
+ 97,
3578
+ 115,
3579
+ 115,
3580
+ 101,
3581
+ 100,
3428
3582
  46,
3429
3583
  32,
3430
3584
  84,
@@ -3443,10 +3597,21 @@ export const AssetsServiceDefinition = {
3443
3597
  115,
3444
3598
  116,
3445
3599
  32,
3446
- 117,
3447
- 115,
3600
+ 98,
3448
3601
  101,
3449
3602
  32,
3603
+ 105,
3604
+ 110,
3605
+ 32,
3606
+ 116,
3607
+ 104,
3608
+ 101,
3609
+ 32,
3610
+ 102,
3611
+ 111,
3612
+ 114,
3613
+ 109,
3614
+ 32,
3450
3615
  116,
3451
3616
  105,
3452
3617
  99,
@@ -3457,13 +3622,54 @@ export const AssetsServiceDefinition = {
3457
3622
  109,
3458
3623
  105,
3459
3624
  99,
3625
+ 46,
3626
+ 32,
3627
+ 87,
3628
+ 104,
3629
+ 101,
3630
+ 114,
3631
+ 101,
3632
+ 32,
3633
+ 116,
3634
+ 105,
3635
+ 99,
3636
+ 107,
3637
+ 101,
3638
+ 114,
3639
+ 32,
3640
+ 105,
3641
+ 115,
3642
+ 44,
3460
3643
  32,
3461
3644
  102,
3462
3645
  111,
3463
3646
  114,
3464
- 109,
3647
+ 32,
3648
+ 101,
3649
+ 120,
3465
3650
  97,
3466
- 116,
3651
+ 109,
3652
+ 112,
3653
+ 108,
3654
+ 101,
3655
+ 44,
3656
+ 32,
3657
+ 65,
3658
+ 65,
3659
+ 80,
3660
+ 76,
3661
+ 46,
3662
+ 32,
3663
+ 65,
3664
+ 110,
3665
+ 100,
3666
+ 32,
3667
+ 109,
3668
+ 105,
3669
+ 99,
3670
+ 32,
3671
+ 105,
3672
+ 115,
3467
3673
  44,
3468
3674
  32,
3469
3675
  102,
@@ -3477,16 +3683,12 @@ export const AssetsServiceDefinition = {
3477
3683
  112,
3478
3684
  108,
3479
3685
  101,
3686
+ 44,
3480
3687
  32,
3481
- 83,
3482
- 66,
3483
- 69,
3484
- 82,
3485
- 64,
3486
- 77,
3487
- 73,
3488
- 83,
3489
3688
  88,
3689
+ 78,
3690
+ 65,
3691
+ 83,
3490
3692
  46,
3491
3693
  98,
3492
3694
  19,
@@ -3560,9 +3762,9 @@ export const AssetsServiceDefinition = {
3560
3762
  },
3561
3763
  },
3562
3764
  /**
3563
- * Get an instrument's trading schedule
3564
- * Example HTTP request:
3565
- * GET /v1/assets/SBER@MISX/schedule
3765
+ * Getting a trading schedule for an asset
3766
+ * HTTP request example:
3767
+ * GET /v1/assets/AAPL@XNAS/schedule
3566
3768
  * Authorization: <token>
3567
3769
  */
3568
3770
  schedule: {
@@ -3575,18 +3777,22 @@ export const AssetsServiceDefinition = {
3575
3777
  _unknownFields: {
3576
3778
  8338: [
3577
3779
  new Uint8Array([
3578
- 109,
3780
+ 167,
3781
+ 1,
3579
3782
  74,
3580
- 86,
3783
+ 143,
3784
+ 1,
3581
3785
  10,
3582
3786
  3,
3583
3787
  52,
3584
3788
  48,
3585
3789
  48,
3586
3790
  18,
3587
- 79,
3791
+ 135,
3792
+ 1,
3588
3793
  10,
3589
- 77,
3794
+ 132,
3795
+ 1,
3590
3796
  73,
3591
3797
  110,
3592
3798
  118,
@@ -3601,6 +3807,13 @@ export const AssetsServiceDefinition = {
3601
3807
  98,
3602
3808
  111,
3603
3809
  108,
3810
+ 32,
3811
+ 112,
3812
+ 97,
3813
+ 115,
3814
+ 115,
3815
+ 101,
3816
+ 100,
3604
3817
  46,
3605
3818
  32,
3606
3819
  84,
@@ -3619,10 +3832,21 @@ export const AssetsServiceDefinition = {
3619
3832
  115,
3620
3833
  116,
3621
3834
  32,
3622
- 117,
3623
- 115,
3835
+ 98,
3624
3836
  101,
3625
3837
  32,
3838
+ 105,
3839
+ 110,
3840
+ 32,
3841
+ 116,
3842
+ 104,
3843
+ 101,
3844
+ 32,
3845
+ 102,
3846
+ 111,
3847
+ 114,
3848
+ 109,
3849
+ 32,
3626
3850
  116,
3627
3851
  105,
3628
3852
  99,
@@ -3633,13 +3857,54 @@ export const AssetsServiceDefinition = {
3633
3857
  109,
3634
3858
  105,
3635
3859
  99,
3860
+ 46,
3861
+ 32,
3862
+ 87,
3863
+ 104,
3864
+ 101,
3865
+ 114,
3866
+ 101,
3867
+ 32,
3868
+ 116,
3869
+ 105,
3870
+ 99,
3871
+ 107,
3872
+ 101,
3873
+ 114,
3874
+ 32,
3875
+ 105,
3876
+ 115,
3877
+ 44,
3636
3878
  32,
3637
3879
  102,
3638
3880
  111,
3639
3881
  114,
3640
- 109,
3882
+ 32,
3883
+ 101,
3884
+ 120,
3641
3885
  97,
3642
- 116,
3886
+ 109,
3887
+ 112,
3888
+ 108,
3889
+ 101,
3890
+ 44,
3891
+ 32,
3892
+ 65,
3893
+ 65,
3894
+ 80,
3895
+ 76,
3896
+ 46,
3897
+ 32,
3898
+ 65,
3899
+ 110,
3900
+ 100,
3901
+ 32,
3902
+ 109,
3903
+ 105,
3904
+ 99,
3905
+ 32,
3906
+ 105,
3907
+ 115,
3643
3908
  44,
3644
3909
  32,
3645
3910
  102,
@@ -3653,16 +3918,12 @@ export const AssetsServiceDefinition = {
3653
3918
  112,
3654
3919
  108,
3655
3920
  101,
3921
+ 44,
3656
3922
  32,
3657
- 83,
3658
- 66,
3659
- 69,
3660
- 82,
3661
- 64,
3662
- 77,
3663
- 73,
3664
- 83,
3665
3923
  88,
3924
+ 78,
3925
+ 65,
3926
+ 83,
3666
3927
  46,
3667
3928
  98,
3668
3929
  19,
@@ -3726,8 +3987,8 @@ export const AssetsServiceDefinition = {
3726
3987
  },
3727
3988
  },
3728
3989
  /**
3729
- * Get the server time
3730
- * Example HTTP request:
3990
+ * Getting the time on the server
3991
+ * HTTP request example:
3731
3992
  * GET /v1/assets/clock
3732
3993
  * Authorization: <token>
3733
3994
  */
@@ -3791,7 +4052,7 @@ export const AssetsServiceDefinition = {
3791
4052
  },
3792
4053
  },
3793
4054
  },
3794
- /** Get the composition of a stock index by its symbol */
4055
+ /** Get the composition of a stock market index by its symbol. */
3795
4056
  getConstituents: {
3796
4057
  name: "GetConstituents",
3797
4058
  requestType: GetConstituentsRequest,