@alva-ai/toolkit 0.20.0 → 0.22.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.cjs CHANGED
@@ -77,6 +77,11 @@ var CliUsageError = class extends Error {
77
77
  }
78
78
  };
79
79
 
80
+ // src/arrayBuffer.ts
81
+ function isArrayBuffer(value) {
82
+ return Object.prototype.toString.call(value) === "[object ArrayBuffer]";
83
+ }
84
+
80
85
  // src/resources/fs.ts
81
86
  var WRITE_FLAG_APPEND = 1 << 0;
82
87
  function isValidUtf8(bytes) {
@@ -128,7 +133,7 @@ var FsResource = class {
128
133
  const result = await this.client._request("GET", "/api/v1/fs/read", {
129
134
  query: { path: params.path, offset: params.offset, size: params.size }
130
135
  });
131
- if (!(result instanceof ArrayBuffer)) return result;
136
+ if (!isArrayBuffer(result)) return result;
132
137
  if (!isValidUtf8(new Uint8Array(result))) {
133
138
  return result;
134
139
  }
@@ -579,6 +584,30 @@ var AutomationResource = class {
579
584
  `/api/v1/automation/${encodeURIComponent(String(id))}`
580
585
  );
581
586
  }
587
+ /** Partially update one existing automation by immutable decimal-string id. */
588
+ async update(params) {
589
+ this.client._requireAuth();
590
+ const id = requireAutomationIDString(params.id);
591
+ if (!hasAutomationUpdate(params)) {
592
+ throw new Error(
593
+ "automation update requires at least one field or trigger=true"
594
+ );
595
+ }
596
+ return this.client._request(
597
+ "PATCH",
598
+ `/api/v1/automation/${encodeURIComponent(String(id))}`,
599
+ {
600
+ body: {
601
+ version: params.version,
602
+ cronjob_id: params.cronjob_id,
603
+ description: params.description,
604
+ changelog: params.changelog,
605
+ agent_type: params.agent_type,
606
+ trigger: params.trigger
607
+ }
608
+ }
609
+ );
610
+ }
582
611
  stop(params) {
583
612
  return this.client.feed.stop(params);
584
613
  }
@@ -598,6 +627,15 @@ function requireAutomationID(id) {
598
627
  }
599
628
  return id;
600
629
  }
630
+ function requireAutomationIDString(id) {
631
+ if (!/^[1-9]\d*$/.test(id)) {
632
+ throw new Error("automation id must be a positive integer string");
633
+ }
634
+ return id;
635
+ }
636
+ function hasAutomationUpdate(params) {
637
+ return params.version !== void 0 || params.cronjob_id !== void 0 || params.description !== void 0 || params.changelog !== void 0 || params.agent_type !== void 0 || params.trigger === true;
638
+ }
601
639
 
602
640
  // src/resources/playbooks.ts
603
641
  var PLAYBOOK_VISIBILITIES = [
@@ -642,6 +680,26 @@ var PlaybooksResource = class {
642
680
  query
643
681
  });
644
682
  }
683
+ /**
684
+ * List the authenticated user's OWN playbooks via GET /api/v1/playbook —
685
+ * the owner-scoped surface that INCLUDES drafts. Unlike `listByOwner` (the
686
+ * public discovery view, which requires at least one release and therefore
687
+ * hides drafts), this shows work-in-progress playbooks you created but
688
+ * never released. Requires an API key: the owner is derived from auth, not
689
+ * a username argument. Optional `filter` narrows to draft | running |
690
+ * paused.
691
+ */
692
+ async listOwn(params = {}) {
693
+ const query = {};
694
+ if (params.filter) query.filter = params.filter;
695
+ if (params.limit !== void 0 && params.limit > 0) {
696
+ query.limit = String(params.limit);
697
+ }
698
+ if (params.cursor) query.cursor = params.cursor;
699
+ return await this.client._request("GET", "/api/v1/playbook", {
700
+ query
701
+ });
702
+ }
645
703
  /**
646
704
  * Get one playbook by numeric id or by "owner/name" ref. Returns null when
647
705
  * not found / not visible / deleted.
@@ -829,1181 +887,721 @@ var SdkDocsResource = class {
829
887
  }
830
888
  };
831
889
 
832
- // src/resources/skillTiers.ts
890
+ // src/resources/skillEndpoints.ts
833
891
  var SKILL_ENDPOINT_METADATA = [
834
892
  {
835
893
  skill: "arrays-data-api-crypto-futures-data",
836
894
  file: "binance-perp-usdt-kline",
837
895
  method: "GET",
838
- path: "/api/v1/crypto/binance/perp/usdt/kline",
839
- tier: "public",
840
- required_subscription_tier: "free",
841
- access: "free_and_pro",
842
- pro_required: false
896
+ path: "/api/v1/crypto/binance/perp/usdt/kline"
843
897
  },
844
898
  {
845
899
  skill: "arrays-data-api-spot-market-price-and-volume",
846
900
  file: "binance-spot-usdt-kline",
847
901
  method: "GET",
848
- path: "/api/v1/crypto/binance/spot/usdt/kline",
849
- tier: "public",
850
- required_subscription_tier: "free",
851
- access: "free_and_pro",
852
- pro_required: false
902
+ path: "/api/v1/crypto/binance/spot/usdt/kline"
853
903
  },
854
904
  {
855
905
  skill: "arrays-data-api-crypto-metrics-and-screener",
856
906
  file: "fear-greed-index",
857
907
  method: "GET",
858
- path: "/api/v1/crypto/fear-greed-index",
859
- tier: "public",
860
- required_subscription_tier: "free",
861
- access: "free_and_pro",
862
- pro_required: false
908
+ path: "/api/v1/crypto/fear-greed-index"
863
909
  },
864
910
  {
865
911
  skill: "arrays-data-api-crypto-futures-data",
866
912
  file: "funding-rate",
867
913
  method: "GET",
868
- path: "/api/v1/crypto/funding-rate",
869
- tier: "public",
870
- required_subscription_tier: "free",
871
- access: "free_and_pro",
872
- pro_required: false
914
+ path: "/api/v1/crypto/funding-rate"
873
915
  },
874
916
  {
875
917
  skill: "arrays-data-api-crypto-futures-data",
876
918
  file: "hyperliquid-perp-usdc-kline",
877
919
  method: "GET",
878
- path: "/api/v1/crypto/hyperliquid/perp/usdc/kline",
879
- tier: "public",
880
- required_subscription_tier: "free",
881
- access: "free_and_pro",
882
- pro_required: false
920
+ path: "/api/v1/crypto/hyperliquid/perp/usdc/kline"
883
921
  },
884
922
  {
885
923
  skill: "arrays-data-api-spot-market-price-and-volume",
886
924
  file: "hyperliquid-spot-usdc-kline",
887
925
  method: "GET",
888
- path: "/api/v1/crypto/hyperliquid/spot/usdc/kline",
889
- tier: "public",
890
- required_subscription_tier: "free",
891
- access: "free_and_pro",
892
- pro_required: false
926
+ path: "/api/v1/crypto/hyperliquid/spot/usdc/kline"
893
927
  },
894
928
  {
895
929
  skill: "arrays-data-api-crypto-futures-data",
896
930
  file: "long-short-ratio",
897
931
  method: "GET",
898
- path: "/api/v1/crypto/long-short-ratio",
899
- tier: "public",
900
- required_subscription_tier: "free",
901
- access: "free_and_pro",
902
- pro_required: false
932
+ path: "/api/v1/crypto/long-short-ratio"
903
933
  },
904
934
  {
905
935
  skill: "arrays-data-api-crypto-metrics-and-screener",
906
936
  file: "crypto-market-cap",
907
937
  method: "GET",
908
- path: "/api/v1/crypto/market-cap",
909
- tier: "public",
910
- required_subscription_tier: "free",
911
- access: "free_and_pro",
912
- pro_required: false
938
+ path: "/api/v1/crypto/market-cap"
913
939
  },
914
940
  {
915
941
  skill: "arrays-data-api-crypto-metrics-and-screener",
916
942
  file: "market-metrics",
917
943
  method: "GET",
918
- path: "/api/v1/crypto/market-metrics",
919
- tier: "public",
920
- required_subscription_tier: "free",
921
- access: "free_and_pro",
922
- pro_required: false
944
+ path: "/api/v1/crypto/market-metrics"
923
945
  },
924
946
  {
925
947
  skill: "arrays-data-api-crypto-futures-data",
926
948
  file: "open-interest",
927
949
  method: "GET",
928
- path: "/api/v1/crypto/open-interest",
929
- tier: "public",
930
- required_subscription_tier: "free",
931
- access: "free_and_pro",
932
- pro_required: false
950
+ path: "/api/v1/crypto/open-interest"
933
951
  },
934
952
  {
935
953
  skill: "arrays-data-api-crypto-metrics-and-screener",
936
954
  file: "screener-metrics",
937
955
  method: "GET",
938
- path: "/api/v1/crypto/screener/metrics",
939
- tier: "public",
940
- required_subscription_tier: "free",
941
- access: "free_and_pro",
942
- pro_required: false
956
+ path: "/api/v1/crypto/screener/metrics"
943
957
  },
944
958
  {
945
959
  skill: "arrays-data-api-crypto-metrics-and-screener",
946
960
  file: "screener-metrics-timerange",
947
961
  method: "GET",
948
- path: "/api/v1/crypto/screener/metrics/timerange",
949
- tier: "public",
950
- required_subscription_tier: "free",
951
- access: "free_and_pro",
952
- pro_required: false
962
+ path: "/api/v1/crypto/screener/metrics/timerange"
953
963
  },
954
964
  {
955
965
  skill: "arrays-data-api-crypto-metrics-and-screener",
956
966
  file: "crypto-detail",
957
967
  method: "GET",
958
- path: "/api/v1/crypto/detail",
959
- tier: "public",
960
- required_subscription_tier: "free",
961
- access: "free_and_pro",
962
- pro_required: false
968
+ path: "/api/v1/crypto/detail"
963
969
  },
964
970
  {
965
971
  skill: "arrays-data-api-etf-fundamentals",
966
972
  file: "country-weightings",
967
973
  method: "GET",
968
- path: "/api/v1/etf/country-weightings",
969
- tier: "public",
970
- required_subscription_tier: "free",
971
- access: "free_and_pro",
972
- pro_required: false
974
+ path: "/api/v1/etf/country-weightings"
973
975
  },
974
976
  {
975
977
  skill: "arrays-data-api-etf-fundamentals",
976
978
  file: "holdings",
977
979
  method: "GET",
978
- path: "/api/v1/etf/holdings",
979
- tier: "public",
980
- required_subscription_tier: "free",
981
- access: "free_and_pro",
982
- pro_required: false
980
+ path: "/api/v1/etf/holdings"
983
981
  },
984
982
  {
985
983
  skill: "arrays-data-api-etf-fundamentals",
986
984
  file: "info",
987
985
  method: "GET",
988
- path: "/api/v1/etf/info",
989
- tier: "public",
990
- required_subscription_tier: "free",
991
- access: "free_and_pro",
992
- pro_required: false
986
+ path: "/api/v1/etf/info"
993
987
  },
994
988
  {
995
989
  skill: "arrays-data-api-etf-fundamentals",
996
990
  file: "sector-weightings",
997
991
  method: "GET",
998
- path: "/api/v1/etf/sector-weightings",
999
- tier: "public",
1000
- required_subscription_tier: "free",
1001
- access: "free_and_pro",
1002
- pro_required: false
992
+ path: "/api/v1/etf/sector-weightings"
1003
993
  },
1004
994
  {
1005
995
  skill: "arrays-data-api-macro-and-economics",
1006
996
  file: "macro-commodity-historical",
1007
997
  method: "GET",
1008
- path: "/api/v1/macro/commodity/historical",
1009
- tier: "public",
1010
- required_subscription_tier: "free",
1011
- access: "free_and_pro",
1012
- pro_required: false
998
+ path: "/api/v1/macro/commodity/historical"
1013
999
  },
1014
1000
  {
1015
1001
  skill: "arrays-data-api-macro-and-economics",
1016
1002
  file: "macro-commodity-real-time",
1017
1003
  method: "GET",
1018
- path: "/api/v1/macro/commodity/real-time",
1019
- tier: "public",
1020
- required_subscription_tier: "free",
1021
- access: "free_and_pro",
1022
- pro_required: false
1004
+ path: "/api/v1/macro/commodity/real-time"
1023
1005
  },
1024
1006
  {
1025
1007
  skill: "arrays-data-api-macro-and-economics",
1026
1008
  file: "macro-commodity-symbol-list",
1027
1009
  method: "GET",
1028
- path: "/api/v1/macro/commodity/symbols",
1029
- tier: "public",
1030
- required_subscription_tier: "free",
1031
- access: "free_and_pro",
1032
- pro_required: false
1010
+ path: "/api/v1/macro/commodity/symbols"
1033
1011
  },
1034
1012
  {
1035
1013
  skill: "arrays-data-api-macro-and-economics",
1036
1014
  file: "economic-indicators",
1037
1015
  method: "GET",
1038
- path: "/api/v1/macro/economic-indicators",
1039
- tier: "public",
1040
- required_subscription_tier: "free",
1041
- access: "free_and_pro",
1042
- pro_required: false
1016
+ path: "/api/v1/macro/economic-indicators"
1043
1017
  },
1044
1018
  {
1045
1019
  skill: "arrays-data-api-macro-and-economics",
1046
1020
  file: "macro-forex-historical",
1047
1021
  method: "GET",
1048
- path: "/api/v1/macro/forex/historical",
1049
- tier: "public",
1050
- required_subscription_tier: "free",
1051
- access: "free_and_pro",
1052
- pro_required: false
1022
+ path: "/api/v1/macro/forex/historical"
1053
1023
  },
1054
1024
  {
1055
1025
  skill: "arrays-data-api-macro-and-economics",
1056
1026
  file: "macro-forex-real-time",
1057
1027
  method: "GET",
1058
- path: "/api/v1/macro/forex/real-time",
1059
- tier: "public",
1060
- required_subscription_tier: "free",
1061
- access: "free_and_pro",
1062
- pro_required: false
1028
+ path: "/api/v1/macro/forex/real-time"
1063
1029
  },
1064
1030
  {
1065
1031
  skill: "arrays-data-api-macro-and-economics",
1066
1032
  file: "macro-forex-symbol-list",
1067
1033
  method: "GET",
1068
- path: "/api/v1/macro/forex/symbols",
1069
- tier: "public",
1070
- required_subscription_tier: "free",
1071
- access: "free_and_pro",
1072
- pro_required: false
1034
+ path: "/api/v1/macro/forex/symbols"
1073
1035
  },
1074
1036
  {
1075
1037
  skill: "arrays-data-api-macro-and-economics",
1076
1038
  file: "macro-index-historical",
1077
1039
  method: "GET",
1078
- path: "/api/v1/macro/index/historical",
1079
- tier: "public",
1080
- required_subscription_tier: "free",
1081
- access: "free_and_pro",
1082
- pro_required: false
1040
+ path: "/api/v1/macro/index/historical"
1083
1041
  },
1084
1042
  {
1085
1043
  skill: "arrays-data-api-macro-and-economics",
1086
1044
  file: "macro-index-real-time",
1087
1045
  method: "GET",
1088
- path: "/api/v1/macro/index/real-time",
1089
- tier: "public",
1090
- required_subscription_tier: "free",
1091
- access: "free_and_pro",
1092
- pro_required: false
1046
+ path: "/api/v1/macro/index/real-time"
1093
1047
  },
1094
1048
  {
1095
1049
  skill: "arrays-data-api-macro-and-economics",
1096
1050
  file: "rates",
1097
1051
  method: "GET",
1098
- path: "/api/v1/macro/treasury-rates",
1099
- tier: "public",
1100
- required_subscription_tier: "free",
1101
- access: "free_and_pro",
1102
- pro_required: false
1052
+ path: "/api/v1/macro/treasury-rates"
1103
1053
  },
1104
1054
  {
1105
1055
  skill: "arrays-data-api-equity-fundamentals",
1106
1056
  file: "company-balance-sheets",
1107
1057
  method: "GET",
1108
- path: "/api/v1/stocks/company/balance-sheets",
1109
- tier: "public",
1110
- required_subscription_tier: "free",
1111
- access: "free_and_pro",
1112
- pro_required: false
1058
+ path: "/api/v1/stocks/company/balance-sheets"
1113
1059
  },
1114
1060
  {
1115
1061
  skill: "arrays-data-api-equity-fundamentals",
1116
1062
  file: "company-cashflow-statements",
1117
1063
  method: "GET",
1118
- path: "/api/v1/stocks/company/cashflow-statements",
1119
- tier: "public",
1120
- required_subscription_tier: "free",
1121
- access: "free_and_pro",
1122
- pro_required: false
1064
+ path: "/api/v1/stocks/company/cashflow-statements"
1123
1065
  },
1124
1066
  {
1125
1067
  skill: "arrays-data-api-equity-fundamentals",
1126
1068
  file: "company-detail",
1127
1069
  method: "GET",
1128
- path: "/api/v1/stocks/company/detail",
1129
- tier: "public",
1130
- required_subscription_tier: "free",
1131
- access: "free_and_pro",
1132
- pro_required: false
1070
+ path: "/api/v1/stocks/company/detail"
1133
1071
  },
1134
1072
  {
1135
1073
  skill: "arrays-data-api-equity-fundamentals",
1136
1074
  file: "company-income-statements",
1137
1075
  method: "GET",
1138
- path: "/api/v1/stocks/company/income-statements",
1139
- tier: "public",
1140
- required_subscription_tier: "free",
1141
- access: "free_and_pro",
1142
- pro_required: false
1076
+ path: "/api/v1/stocks/company/income-statements"
1143
1077
  },
1144
1078
  {
1145
1079
  skill: "arrays-data-api-equity-fundamentals",
1146
1080
  file: "company-kpi",
1147
1081
  method: "GET",
1148
- path: "/api/v1/stocks/company/kpi",
1149
- tier: "public",
1150
- required_subscription_tier: "free",
1151
- access: "free_and_pro",
1152
- pro_required: false
1082
+ path: "/api/v1/stocks/company/kpi"
1153
1083
  },
1154
1084
  {
1155
1085
  skill: "arrays-data-api-equity-events",
1156
1086
  file: "crowdfunding-offerings",
1157
1087
  method: "GET",
1158
- path: "/api/v1/stocks/crowdfunding/offerings",
1159
- tier: "public",
1160
- required_subscription_tier: "free",
1161
- access: "free_and_pro",
1162
- pro_required: false
1088
+ path: "/api/v1/stocks/crowdfunding/offerings"
1163
1089
  },
1164
1090
  {
1165
1091
  skill: "arrays-data-api-equity-events",
1166
1092
  file: "dividends",
1167
1093
  method: "GET",
1168
- path: "/api/v1/stocks/dividends",
1169
- tier: "public",
1170
- required_subscription_tier: "free",
1171
- access: "free_and_pro",
1172
- pro_required: false
1094
+ path: "/api/v1/stocks/dividends"
1173
1095
  },
1174
1096
  {
1175
1097
  skill: "arrays-data-api-equity-events",
1176
1098
  file: "earnings-calendar",
1177
1099
  method: "GET",
1178
- path: "/api/v1/stocks/earnings-calendar",
1179
- tier: "public",
1180
- required_subscription_tier: "free",
1181
- access: "free_and_pro",
1182
- pro_required: false
1100
+ path: "/api/v1/stocks/earnings-calendar"
1183
1101
  },
1184
1102
  {
1185
1103
  skill: "arrays-data-api-equity-events",
1186
1104
  file: "equity-offering",
1187
1105
  method: "GET",
1188
- path: "/api/v1/stocks/equity-offering",
1189
- tier: "public",
1190
- required_subscription_tier: "free",
1191
- access: "free_and_pro",
1192
- pro_required: false
1106
+ path: "/api/v1/stocks/equity-offering"
1193
1107
  },
1194
1108
  {
1195
1109
  skill: "arrays-data-api-stock-metrics",
1196
1110
  file: "financial-metrics",
1197
1111
  method: "GET",
1198
- path: "/api/v1/stocks/financial-metrics",
1199
- tier: "public",
1200
- required_subscription_tier: "free",
1201
- access: "free_and_pro",
1202
- pro_required: false
1112
+ path: "/api/v1/stocks/financial-metrics"
1203
1113
  },
1204
1114
  {
1205
1115
  skill: "arrays-data-api-equity-fundamentals",
1206
1116
  file: "fiscal-dates",
1207
1117
  method: "GET",
1208
- path: "/api/v1/stocks/fiscal-dates",
1209
- tier: "public",
1210
- required_subscription_tier: "free",
1211
- access: "free_and_pro",
1212
- pro_required: false
1118
+ path: "/api/v1/stocks/fiscal-dates"
1213
1119
  },
1214
1120
  {
1215
1121
  skill: "arrays-data-api-equity-fundamentals",
1216
1122
  file: "fiscal-dates-range",
1217
1123
  method: "GET",
1218
- path: "/api/v1/stocks/fiscal-dates/range",
1219
- tier: "public",
1220
- required_subscription_tier: "free",
1221
- access: "free_and_pro",
1222
- pro_required: false
1124
+ path: "/api/v1/stocks/fiscal-dates/range"
1223
1125
  },
1224
1126
  {
1225
1127
  skill: "arrays-data-api-equity-events",
1226
1128
  file: "ipo-calendar",
1227
1129
  method: "GET",
1228
- path: "/api/v1/stocks/ipo-calendar",
1229
- tier: "public",
1230
- required_subscription_tier: "free",
1231
- access: "free_and_pro",
1232
- pro_required: false
1130
+ path: "/api/v1/stocks/ipo-calendar"
1233
1131
  },
1234
1132
  {
1235
1133
  skill: "arrays-data-api-equity-events",
1236
1134
  file: "ipo-confirmed-calendar",
1237
1135
  method: "GET",
1238
- path: "/api/v1/stocks/ipo-confirmed-calendar",
1239
- tier: "public",
1240
- required_subscription_tier: "free",
1241
- access: "free_and_pro",
1242
- pro_required: false
1136
+ path: "/api/v1/stocks/ipo-confirmed-calendar"
1243
1137
  },
1244
1138
  {
1245
1139
  skill: "arrays-data-api-spot-market-price-and-volume",
1246
1140
  file: "stocks-kline",
1247
1141
  method: "GET",
1248
- path: "/api/v1/stocks/kline",
1249
- tier: "public",
1250
- required_subscription_tier: "free",
1251
- access: "free_and_pro",
1252
- pro_required: false
1142
+ path: "/api/v1/stocks/kline"
1253
1143
  },
1254
1144
  {
1255
1145
  skill: "arrays-data-api-stock-metrics",
1256
1146
  file: "market-metrics",
1257
1147
  method: "GET",
1258
- path: "/api/v1/stocks/market-metrics",
1259
- tier: "public",
1260
- required_subscription_tier: "free",
1261
- access: "free_and_pro",
1262
- pro_required: false
1148
+ path: "/api/v1/stocks/market-metrics"
1263
1149
  },
1264
1150
  {
1265
1151
  skill: "arrays-data-api-equity-events",
1266
1152
  file: "mergers-acquisitions",
1267
1153
  method: "GET",
1268
- path: "/api/v1/stocks/mergers-acquisitions",
1269
- tier: "public",
1270
- required_subscription_tier: "free",
1271
- access: "free_and_pro",
1272
- pro_required: false
1154
+ path: "/api/v1/stocks/mergers-acquisitions"
1273
1155
  },
1274
1156
  {
1275
1157
  skill: "arrays-data-api-equity-fundamentals",
1276
1158
  file: "outstanding-shares",
1277
1159
  method: "GET",
1278
- path: "/api/v1/stocks/outstanding-shares",
1279
- tier: "public",
1280
- required_subscription_tier: "free",
1281
- access: "free_and_pro",
1282
- pro_required: false
1160
+ path: "/api/v1/stocks/outstanding-shares"
1283
1161
  },
1284
1162
  {
1285
1163
  skill: "arrays-data-api-stock-metrics",
1286
1164
  file: "ratings",
1287
1165
  method: "GET",
1288
- path: "/api/v1/stocks/ratings",
1289
- tier: "public",
1290
- required_subscription_tier: "free",
1291
- access: "free_and_pro",
1292
- pro_required: false
1166
+ path: "/api/v1/stocks/ratings"
1293
1167
  },
1294
1168
  {
1295
1169
  skill: "arrays-data-api-stock-screener",
1296
1170
  file: "basic-info-screener",
1297
1171
  method: "GET",
1298
- path: "/api/v1/stocks/screener/basic-info/{sub}",
1299
- tier: "public",
1300
- required_subscription_tier: "free",
1301
- access: "free_and_pro",
1302
- pro_required: false
1172
+ path: "/api/v1/stocks/screener/basic-info/{sub}"
1303
1173
  },
1304
1174
  {
1305
1175
  skill: "arrays-data-api-stock-screener",
1306
1176
  file: "event-screener",
1307
1177
  method: "GET",
1308
- path: "/api/v1/stocks/screener/events",
1309
- tier: "public",
1310
- required_subscription_tier: "free",
1311
- access: "free_and_pro",
1312
- pro_required: false
1178
+ path: "/api/v1/stocks/screener/events"
1313
1179
  },
1314
1180
  {
1315
1181
  skill: "arrays-data-api-stock-screener",
1316
1182
  file: "screener-financial-metrics",
1317
1183
  method: "GET",
1318
- path: "/api/v1/stocks/screener/financial-metrics",
1319
- tier: "public",
1320
- required_subscription_tier: "free",
1321
- access: "free_and_pro",
1322
- pro_required: false
1184
+ path: "/api/v1/stocks/screener/financial-metrics"
1323
1185
  },
1324
1186
  {
1325
1187
  skill: "arrays-data-api-stock-screener",
1326
1188
  file: "screener-financial-metrics-timerange",
1327
1189
  method: "GET",
1328
- path: "/api/v1/stocks/screener/financial-metrics/timerange",
1329
- tier: "public",
1330
- required_subscription_tier: "free",
1331
- access: "free_and_pro",
1332
- pro_required: false
1190
+ path: "/api/v1/stocks/screener/financial-metrics/timerange"
1333
1191
  },
1334
1192
  {
1335
1193
  skill: "arrays-data-api-stock-screener",
1336
1194
  file: "screener-technical-metrics",
1337
1195
  method: "GET",
1338
- path: "/api/v1/stocks/screener/technical-metrics",
1339
- tier: "public",
1340
- required_subscription_tier: "free",
1341
- access: "free_and_pro",
1342
- pro_required: false
1196
+ path: "/api/v1/stocks/screener/technical-metrics"
1343
1197
  },
1344
1198
  {
1345
1199
  skill: "arrays-data-api-stock-screener",
1346
1200
  file: "screener-technical-metrics-timerange",
1347
1201
  method: "GET",
1348
- path: "/api/v1/stocks/screener/technical-metrics/timerange",
1349
- tier: "public",
1350
- required_subscription_tier: "free",
1351
- access: "free_and_pro",
1352
- pro_required: false
1202
+ path: "/api/v1/stocks/screener/technical-metrics/timerange"
1353
1203
  },
1354
1204
  {
1355
1205
  skill: "arrays-data-api-equity-events",
1356
1206
  file: "sec-earnings-release",
1357
1207
  method: "GET",
1358
- path: "/api/v1/stocks/sec-earnings-release",
1359
- tier: "public",
1360
- required_subscription_tier: "free",
1361
- access: "free_and_pro",
1362
- pro_required: false
1208
+ path: "/api/v1/stocks/sec-earnings-release"
1363
1209
  },
1364
1210
  {
1365
1211
  skill: "arrays-data-api-equity-fundamentals",
1366
1212
  file: "shares-float",
1367
1213
  method: "GET",
1368
- path: "/api/v1/stocks/shares-float",
1369
- tier: "public",
1370
- required_subscription_tier: "free",
1371
- access: "free_and_pro",
1372
- pro_required: false
1214
+ path: "/api/v1/stocks/shares-float"
1373
1215
  },
1374
1216
  {
1375
1217
  skill: "arrays-data-api-equity-events",
1376
1218
  file: "splits",
1377
1219
  method: "GET",
1378
- path: "/api/v1/stocks/splits",
1379
- tier: "public",
1380
- required_subscription_tier: "free",
1381
- access: "free_and_pro",
1382
- pro_required: false
1220
+ path: "/api/v1/stocks/splits"
1383
1221
  },
1384
1222
  {
1385
1223
  skill: "arrays-data-api-crypto-exchange-flow",
1386
1224
  file: "exchange-flows",
1387
1225
  method: "GET",
1388
- path: "/api/v1/crypto/exchange-flows",
1389
- tier: "alternative",
1390
- required_subscription_tier: "pro",
1391
- access: "pro_only",
1392
- pro_required: true
1226
+ path: "/api/v1/crypto/exchange-flows"
1393
1227
  },
1394
1228
  {
1395
1229
  skill: "arrays-data-api-company-crypto-holdings",
1396
1230
  file: "crypto-holdings",
1397
1231
  method: "GET",
1398
- path: "/api/v1/crypto/holdings",
1399
- tier: "alternative",
1400
- required_subscription_tier: "pro",
1401
- access: "pro_only",
1402
- pro_required: true
1232
+ path: "/api/v1/crypto/holdings"
1403
1233
  },
1404
1234
  {
1405
1235
  skill: "arrays-data-api-crypto-metrics-and-screener",
1406
1236
  file: "metrics-inflow-cdd",
1407
1237
  method: "GET",
1408
- path: "/api/v1/crypto/metrics/inflow-cdd",
1409
- tier: "alternative",
1410
- required_subscription_tier: "pro",
1411
- access: "pro_only",
1412
- pro_required: true
1238
+ path: "/api/v1/crypto/metrics/inflow-cdd"
1413
1239
  },
1414
1240
  {
1415
1241
  skill: "arrays-data-api-crypto-metrics-and-screener",
1416
1242
  file: "metrics-leverage-ratio",
1417
1243
  method: "GET",
1418
- path: "/api/v1/crypto/metrics/leverage-ratio",
1419
- tier: "alternative",
1420
- required_subscription_tier: "pro",
1421
- access: "pro_only",
1422
- pro_required: true
1244
+ path: "/api/v1/crypto/metrics/leverage-ratio"
1423
1245
  },
1424
1246
  {
1425
1247
  skill: "arrays-data-api-crypto-metrics-and-screener",
1426
1248
  file: "metrics-miner-to-exchange",
1427
1249
  method: "GET",
1428
- path: "/api/v1/crypto/metrics/miner-to-exchange",
1429
- tier: "alternative",
1430
- required_subscription_tier: "pro",
1431
- access: "pro_only",
1432
- pro_required: true
1250
+ path: "/api/v1/crypto/metrics/miner-to-exchange"
1433
1251
  },
1434
1252
  {
1435
1253
  skill: "arrays-data-api-crypto-metrics-and-screener",
1436
1254
  file: "metrics-mvrv",
1437
1255
  method: "GET",
1438
- path: "/api/v1/crypto/metrics/mvrv",
1439
- tier: "alternative",
1440
- required_subscription_tier: "pro",
1441
- access: "pro_only",
1442
- pro_required: true
1256
+ path: "/api/v1/crypto/metrics/mvrv"
1443
1257
  },
1444
1258
  {
1445
1259
  skill: "arrays-data-api-crypto-metrics-and-screener",
1446
1260
  file: "metrics-nupl",
1447
1261
  method: "GET",
1448
- path: "/api/v1/crypto/metrics/nupl",
1449
- tier: "alternative",
1450
- required_subscription_tier: "pro",
1451
- access: "pro_only",
1452
- pro_required: true
1262
+ path: "/api/v1/crypto/metrics/nupl"
1453
1263
  },
1454
1264
  {
1455
1265
  skill: "arrays-data-api-crypto-metrics-and-screener",
1456
1266
  file: "metrics-puell-multiple",
1457
1267
  method: "GET",
1458
- path: "/api/v1/crypto/metrics/puell-multiple",
1459
- tier: "alternative",
1460
- required_subscription_tier: "pro",
1461
- access: "pro_only",
1462
- pro_required: true
1268
+ path: "/api/v1/crypto/metrics/puell-multiple"
1463
1269
  },
1464
1270
  {
1465
1271
  skill: "arrays-data-api-crypto-metrics-and-screener",
1466
1272
  file: "metrics-realized-price",
1467
1273
  method: "GET",
1468
- path: "/api/v1/crypto/metrics/realized-price",
1469
- tier: "alternative",
1470
- required_subscription_tier: "pro",
1471
- access: "pro_only",
1472
- pro_required: true
1274
+ path: "/api/v1/crypto/metrics/realized-price"
1473
1275
  },
1474
1276
  {
1475
1277
  skill: "arrays-data-api-crypto-metrics-and-screener",
1476
1278
  file: "metrics-sopr",
1477
1279
  method: "GET",
1478
- path: "/api/v1/crypto/metrics/sopr",
1479
- tier: "alternative",
1480
- required_subscription_tier: "pro",
1481
- access: "pro_only",
1482
- pro_required: true
1280
+ path: "/api/v1/crypto/metrics/sopr"
1483
1281
  },
1484
1282
  {
1485
1283
  skill: "arrays-data-api-crypto-metrics-and-screener",
1486
1284
  file: "metrics-ssr",
1487
1285
  method: "GET",
1488
- path: "/api/v1/crypto/metrics/ssr",
1489
- tier: "alternative",
1490
- required_subscription_tier: "pro",
1491
- access: "pro_only",
1492
- pro_required: true
1286
+ path: "/api/v1/crypto/metrics/ssr"
1493
1287
  },
1494
1288
  {
1495
1289
  skill: "arrays-data-api-crypto-metrics-and-screener",
1496
1290
  file: "metrics-whale-ratio",
1497
1291
  method: "GET",
1498
- path: "/api/v1/crypto/metrics/whale-ratio",
1499
- tier: "alternative",
1500
- required_subscription_tier: "pro",
1501
- access: "pro_only",
1502
- pro_required: true
1292
+ path: "/api/v1/crypto/metrics/whale-ratio"
1503
1293
  },
1504
1294
  {
1505
1295
  skill: "arrays-data-api-crypto-metrics-and-screener",
1506
1296
  file: "crypto-supply",
1507
1297
  method: "GET",
1508
- path: "/api/v1/crypto/supply",
1509
- tier: "alternative",
1510
- required_subscription_tier: "pro",
1511
- access: "pro_only",
1512
- pro_required: true
1298
+ path: "/api/v1/crypto/supply"
1513
1299
  },
1514
1300
  {
1515
1301
  skill: "arrays-data-api-crypto-futures-data",
1516
1302
  file: "taker-buy-sell-volume",
1517
1303
  method: "GET",
1518
- path: "/api/v1/crypto/taker-buy-sell-volume",
1519
- tier: "alternative",
1520
- required_subscription_tier: "pro",
1521
- access: "pro_only",
1522
- pro_required: true
1304
+ path: "/api/v1/crypto/taker-buy-sell-volume"
1523
1305
  },
1524
1306
  {
1525
1307
  skill: "arrays-data-api-crypto-metrics-and-screener",
1526
1308
  file: "unlock-events",
1527
1309
  method: "GET",
1528
- path: "/api/v1/crypto/unlock-events",
1529
- tier: "alternative",
1530
- required_subscription_tier: "pro",
1531
- access: "pro_only",
1532
- pro_required: true
1310
+ path: "/api/v1/crypto/unlock-events"
1533
1311
  },
1534
1312
  {
1535
1313
  skill: "arrays-data-api-etf-fundamentals",
1536
1314
  file: "flow",
1537
1315
  method: "GET",
1538
- path: "/api/v1/etf/flow",
1539
- tier: "alternative",
1540
- required_subscription_tier: "pro",
1541
- access: "pro_only",
1542
- pro_required: true
1316
+ path: "/api/v1/etf/flow"
1543
1317
  },
1544
1318
  {
1545
1319
  skill: "arrays-data-api-options",
1546
1320
  file: "contracts",
1547
1321
  method: "GET",
1548
- path: "/api/v1/options/contracts",
1549
- tier: "public",
1550
- required_subscription_tier: "free",
1551
- access: "free_and_pro",
1552
- pro_required: false
1322
+ path: "/api/v1/options/contracts"
1553
1323
  },
1554
1324
  {
1555
1325
  skill: "arrays-data-api-options",
1556
1326
  file: "kline",
1557
1327
  method: "GET",
1558
- path: "/api/v1/options/kline",
1559
- tier: "public",
1560
- required_subscription_tier: "free",
1561
- access: "free_and_pro",
1562
- pro_required: false
1328
+ path: "/api/v1/options/kline"
1563
1329
  },
1564
1330
  {
1565
1331
  skill: "arrays-data-api-options",
1566
1332
  file: "greeks",
1567
1333
  method: "GET",
1568
- path: "/api/v1/options/greeks",
1569
- tier: "public",
1570
- required_subscription_tier: "free",
1571
- access: "free_and_pro",
1572
- pro_required: false
1334
+ path: "/api/v1/options/greeks"
1573
1335
  },
1574
1336
  {
1575
1337
  skill: "arrays-data-api-options",
1576
1338
  file: "chain",
1577
1339
  method: "GET",
1578
- path: "/api/v1/options/chain",
1579
- tier: "public",
1580
- required_subscription_tier: "free",
1581
- access: "free_and_pro",
1582
- pro_required: false
1340
+ path: "/api/v1/options/chain"
1583
1341
  },
1584
1342
  {
1585
1343
  skill: "arrays-data-api-equity-fundamentals",
1586
1344
  file: "company-executives",
1587
1345
  method: "GET",
1588
- path: "/api/v1/stocks/company/executives",
1589
- tier: "alternative",
1590
- required_subscription_tier: "pro",
1591
- access: "pro_only",
1592
- pro_required: true
1346
+ path: "/api/v1/stocks/company/executives"
1593
1347
  },
1594
1348
  {
1595
1349
  skill: "arrays-data-api-equity-estimates-and-targets",
1596
1350
  file: "company-price-target-consensus",
1597
1351
  method: "GET",
1598
- path: "/api/v1/stocks/company/price-target-consensus",
1599
- tier: "alternative",
1600
- required_subscription_tier: "pro",
1601
- access: "pro_only",
1602
- pro_required: true
1352
+ path: "/api/v1/stocks/company/price-target-consensus"
1603
1353
  },
1604
1354
  {
1605
1355
  skill: "arrays-data-api-equity-estimates-and-targets",
1606
1356
  file: "company-price-target-news",
1607
1357
  method: "GET",
1608
- path: "/api/v1/stocks/company/price-target-news",
1609
- tier: "alternative",
1610
- required_subscription_tier: "pro",
1611
- access: "pro_only",
1612
- pro_required: true
1358
+ path: "/api/v1/stocks/company/price-target-news"
1613
1359
  },
1614
1360
  {
1615
1361
  skill: "arrays-data-api-equity-estimates-and-targets",
1616
1362
  file: "company-price-target-summary",
1617
1363
  method: "GET",
1618
- path: "/api/v1/stocks/company/price-target-summary",
1619
- tier: "alternative",
1620
- required_subscription_tier: "pro",
1621
- access: "pro_only",
1622
- pro_required: true
1364
+ path: "/api/v1/stocks/company/price-target-summary"
1623
1365
  },
1624
1366
  {
1625
1367
  skill: "arrays-data-api-equity-ownership-and-flow",
1626
1368
  file: "congress-recent-trades",
1627
1369
  method: "GET",
1628
- path: "/api/v1/stocks/congress/recent-trades",
1629
- tier: "alternative",
1630
- required_subscription_tier: "pro",
1631
- access: "pro_only",
1632
- pro_required: true
1370
+ path: "/api/v1/stocks/congress/recent-trades"
1633
1371
  },
1634
1372
  {
1635
1373
  skill: "arrays-data-api-stock-metrics",
1636
1374
  file: "darkpool",
1637
1375
  method: "GET",
1638
- path: "/api/v1/stocks/darkpool",
1639
- tier: "alternative",
1640
- required_subscription_tier: "pro",
1641
- access: "pro_only",
1642
- pro_required: true
1376
+ path: "/api/v1/stocks/darkpool"
1643
1377
  },
1644
1378
  {
1645
1379
  skill: "arrays-data-api-equity-estimates-and-targets",
1646
1380
  file: "estimates-guidance",
1647
1381
  method: "GET",
1648
- path: "/api/v1/stocks/estimates-guidance",
1649
- tier: "alternative",
1650
- required_subscription_tier: "pro",
1651
- access: "pro_only",
1652
- pro_required: true
1382
+ path: "/api/v1/stocks/estimates-guidance"
1653
1383
  },
1654
1384
  {
1655
1385
  skill: "arrays-data-api-equity-ownership-and-flow",
1656
1386
  file: "insider-transactions",
1657
1387
  method: "GET",
1658
- path: "/api/v1/stocks/insider/transactions",
1659
- tier: "alternative",
1660
- required_subscription_tier: "pro",
1661
- access: "pro_only",
1662
- pro_required: true
1388
+ path: "/api/v1/stocks/insider/transactions"
1663
1389
  },
1664
1390
  {
1665
1391
  skill: "arrays-data-api-equity-ownership-and-flow",
1666
1392
  file: "institution-holder",
1667
1393
  method: "GET",
1668
- path: "/api/v1/stocks/institution-holder",
1669
- tier: "alternative",
1670
- required_subscription_tier: "pro",
1671
- access: "pro_only",
1672
- pro_required: true
1394
+ path: "/api/v1/stocks/institution-holder"
1673
1395
  },
1674
1396
  {
1675
1397
  skill: "arrays-data-api-polymarket",
1676
1398
  file: "activity",
1677
1399
  method: "GET",
1678
- path: "polymarket:/activity",
1679
- tier: "alternative",
1680
- required_subscription_tier: "pro",
1681
- access: "pro_only",
1682
- pro_required: true
1400
+ path: "polymarket:/activity"
1683
1401
  },
1684
1402
  {
1685
1403
  skill: "arrays-data-api-polymarket",
1686
1404
  file: "book",
1687
1405
  method: "GET",
1688
- path: "polymarket:/book",
1689
- tier: "alternative",
1690
- required_subscription_tier: "pro",
1691
- access: "pro_only",
1692
- pro_required: true
1406
+ path: "polymarket:/book"
1693
1407
  },
1694
1408
  {
1695
1409
  skill: "arrays-data-api-polymarket",
1696
1410
  file: "closed-positions",
1697
1411
  method: "GET",
1698
- path: "polymarket:/closed-positions",
1699
- tier: "alternative",
1700
- required_subscription_tier: "pro",
1701
- access: "pro_only",
1702
- pro_required: true
1412
+ path: "polymarket:/closed-positions"
1703
1413
  },
1704
1414
  {
1705
1415
  skill: "arrays-data-api-polymarket",
1706
1416
  file: "events",
1707
1417
  method: "GET",
1708
- path: "polymarket:/events",
1709
- tier: "alternative",
1710
- required_subscription_tier: "pro",
1711
- access: "pro_only",
1712
- pro_required: true
1418
+ path: "polymarket:/events"
1713
1419
  },
1714
1420
  {
1715
1421
  skill: "arrays-data-api-polymarket",
1716
1422
  file: "holders",
1717
1423
  method: "GET",
1718
- path: "polymarket:/holders",
1719
- tier: "alternative",
1720
- required_subscription_tier: "pro",
1721
- access: "pro_only",
1722
- pro_required: true
1424
+ path: "polymarket:/holders"
1723
1425
  },
1724
1426
  {
1725
1427
  skill: "arrays-data-api-polymarket",
1726
1428
  file: "markets",
1727
1429
  method: "GET",
1728
- path: "polymarket:/markets",
1729
- tier: "alternative",
1730
- required_subscription_tier: "pro",
1731
- access: "pro_only",
1732
- pro_required: true
1430
+ path: "polymarket:/markets"
1733
1431
  },
1734
1432
  {
1735
1433
  skill: "arrays-data-api-polymarket",
1736
1434
  file: "midpoint",
1737
1435
  method: "GET",
1738
- path: "polymarket:/midpoint",
1739
- tier: "alternative",
1740
- required_subscription_tier: "pro",
1741
- access: "pro_only",
1742
- pro_required: true
1436
+ path: "polymarket:/midpoint"
1743
1437
  },
1744
1438
  {
1745
1439
  skill: "arrays-data-api-polymarket",
1746
1440
  file: "oi",
1747
1441
  method: "GET",
1748
- path: "polymarket:/oi",
1749
- tier: "alternative",
1750
- required_subscription_tier: "pro",
1751
- access: "pro_only",
1752
- pro_required: true
1442
+ path: "polymarket:/oi"
1753
1443
  },
1754
1444
  {
1755
1445
  skill: "arrays-data-api-polymarket",
1756
1446
  file: "positions",
1757
1447
  method: "GET",
1758
- path: "polymarket:/positions",
1759
- tier: "alternative",
1760
- required_subscription_tier: "pro",
1761
- access: "pro_only",
1762
- pro_required: true
1448
+ path: "polymarket:/positions"
1763
1449
  },
1764
1450
  {
1765
1451
  skill: "arrays-data-api-polymarket",
1766
1452
  file: "price",
1767
1453
  method: "GET",
1768
- path: "polymarket:/price",
1769
- tier: "alternative",
1770
- required_subscription_tier: "pro",
1771
- access: "pro_only",
1772
- pro_required: true
1454
+ path: "polymarket:/price"
1773
1455
  },
1774
1456
  {
1775
1457
  skill: "arrays-data-api-polymarket",
1776
1458
  file: "prices-history",
1777
1459
  method: "GET",
1778
- path: "polymarket:/prices-history",
1779
- tier: "alternative",
1780
- required_subscription_tier: "pro",
1781
- access: "pro_only",
1782
- pro_required: true
1460
+ path: "polymarket:/prices-history"
1783
1461
  },
1784
1462
  {
1785
1463
  skill: "arrays-data-api-polymarket",
1786
1464
  file: "public-search",
1787
1465
  method: "GET",
1788
- path: "polymarket:/public-search",
1789
- tier: "alternative",
1790
- required_subscription_tier: "pro",
1791
- access: "pro_only",
1792
- pro_required: true
1466
+ path: "polymarket:/public-search"
1793
1467
  },
1794
1468
  {
1795
1469
  skill: "arrays-data-api-polymarket",
1796
1470
  file: "series",
1797
1471
  method: "GET",
1798
- path: "polymarket:/series",
1799
- tier: "alternative",
1800
- required_subscription_tier: "pro",
1801
- access: "pro_only",
1802
- pro_required: true
1472
+ path: "polymarket:/series"
1803
1473
  },
1804
1474
  {
1805
1475
  skill: "arrays-data-api-polymarket",
1806
1476
  file: "sports",
1807
1477
  method: "GET",
1808
- path: "polymarket:/sports",
1809
- tier: "alternative",
1810
- required_subscription_tier: "pro",
1811
- access: "pro_only",
1812
- pro_required: true
1478
+ path: "polymarket:/sports"
1813
1479
  },
1814
1480
  {
1815
1481
  skill: "arrays-data-api-polymarket",
1816
1482
  file: "spread",
1817
1483
  method: "GET",
1818
- path: "polymarket:/spread",
1819
- tier: "alternative",
1820
- required_subscription_tier: "pro",
1821
- access: "pro_only",
1822
- pro_required: true
1484
+ path: "polymarket:/spread"
1823
1485
  },
1824
1486
  {
1825
1487
  skill: "arrays-data-api-polymarket",
1826
1488
  file: "tags",
1827
1489
  method: "GET",
1828
- path: "polymarket:/tags",
1829
- tier: "alternative",
1830
- required_subscription_tier: "pro",
1831
- access: "pro_only",
1832
- pro_required: true
1490
+ path: "polymarket:/tags"
1833
1491
  },
1834
1492
  {
1835
1493
  skill: "arrays-data-api-polymarket",
1836
1494
  file: "trades",
1837
1495
  method: "GET",
1838
- path: "polymarket:/trades",
1839
- tier: "alternative",
1840
- required_subscription_tier: "pro",
1841
- access: "pro_only",
1842
- pro_required: true
1496
+ path: "polymarket:/trades"
1843
1497
  },
1844
1498
  {
1845
1499
  skill: "arrays-data-api-polymarket",
1846
1500
  file: "value",
1847
1501
  method: "GET",
1848
- path: "polymarket:/value",
1849
- tier: "alternative",
1850
- required_subscription_tier: "pro",
1851
- access: "pro_only",
1852
- pro_required: true
1502
+ path: "polymarket:/value"
1853
1503
  },
1854
1504
  {
1855
1505
  skill: "arrays-data-api-equity-events",
1856
1506
  file: "earnings-transcript",
1857
1507
  method: "GET",
1858
- path: "/api/v1/stocks/earnings-transcript",
1859
- tier: "unstructured",
1860
- required_subscription_tier: "pro",
1861
- access: "pro_only",
1862
- pro_required: true
1508
+ path: "/api/v1/stocks/earnings-transcript"
1863
1509
  },
1864
1510
  {
1865
1511
  skill: "arrays-data-api-news",
1866
1512
  file: "market-news",
1867
1513
  method: "GET",
1868
- path: "/api/v1/stocks/market-news",
1869
- tier: "unstructured",
1870
- required_subscription_tier: "pro",
1871
- access: "pro_only",
1872
- pro_required: true
1514
+ path: "/api/v1/stocks/market-news"
1873
1515
  },
1874
1516
  {
1875
- // TODO(audit): verify tier — auto-defaulted to pro
1876
1517
  skill: "arrays-data-api-social-feeds",
1877
1518
  file: "x-by-handle",
1878
1519
  method: "GET",
1879
- path: "/api/v1/social-feeds/x/by-handle",
1880
- tier: "alternative",
1881
- required_subscription_tier: "pro",
1882
- access: "pro_only",
1883
- pro_required: true
1520
+ path: "/api/v1/social-feeds/x/by-handle"
1884
1521
  },
1885
1522
  {
1886
- // TODO(audit): verify tier — auto-defaulted to pro
1887
1523
  skill: "arrays-data-api-social-feeds",
1888
1524
  file: "x-by-url",
1889
1525
  method: "GET",
1890
- path: "/api/v1/social-feeds/x/by-url",
1891
- tier: "alternative",
1892
- required_subscription_tier: "pro",
1893
- access: "pro_only",
1894
- pro_required: true
1526
+ path: "/api/v1/social-feeds/x/by-url"
1895
1527
  },
1896
1528
  {
1897
- // TODO(audit): verify tier — auto-defaulted to pro
1898
1529
  skill: "arrays-data-api-social-feeds",
1899
1530
  file: "x-entities-handle",
1900
1531
  method: "GET",
1901
- path: "/api/v1/social-feeds/x/entities/handle/{twitter_handle}",
1902
- tier: "alternative",
1903
- required_subscription_tier: "pro",
1904
- access: "pro_only",
1905
- pro_required: true
1532
+ path: "/api/v1/social-feeds/x/entities/handle/{twitter_handle}"
1906
1533
  },
1907
1534
  {
1908
- // TODO(audit): verify tier — auto-defaulted to pro
1909
1535
  skill: "arrays-data-api-social-feeds",
1910
1536
  file: "x-entities-handles",
1911
1537
  method: "GET",
1912
- path: "/api/v1/social-feeds/x/entities/handles",
1913
- tier: "alternative",
1914
- required_subscription_tier: "pro",
1915
- access: "pro_only",
1916
- pro_required: true
1538
+ path: "/api/v1/social-feeds/x/entities/handles"
1917
1539
  },
1918
1540
  {
1919
1541
  skill: "arrays-data-api-equity-fundamentals",
1920
1542
  file: "company-detail-non-us",
1921
1543
  method: "GET",
1922
- path: "/api/v1/stocks/non-us/company/detail",
1923
- tier: "public",
1924
- required_subscription_tier: "free",
1925
- access: "free_and_pro",
1926
- pro_required: false
1544
+ path: "/api/v1/stocks/non-us/company/detail"
1927
1545
  },
1928
1546
  {
1929
1547
  skill: "arrays-data-api-social-feeds",
1930
1548
  file: "x-search",
1931
1549
  method: "GET",
1932
- path: "/api/v1/social-feeds/x/search",
1933
- tier: "alternative",
1934
- required_subscription_tier: "pro",
1935
- access: "pro_only",
1936
- pro_required: true
1550
+ path: "/api/v1/social-feeds/x/search"
1937
1551
  },
1938
1552
  {
1939
1553
  skill: "arrays-data-api-spot-market-price-and-volume",
1940
1554
  file: "stocks-non-us-kline",
1941
1555
  method: "GET",
1942
- path: "/api/v1/stocks/non-us/kline",
1943
- tier: "public",
1944
- required_subscription_tier: "free",
1945
- access: "free_and_pro",
1946
- pro_required: false
1556
+ path: "/api/v1/stocks/non-us/kline"
1947
1557
  },
1948
1558
  {
1949
1559
  skill: "arrays-data-api-semiconductor-price",
1950
1560
  file: "dram-spot-price",
1951
1561
  method: "GET",
1952
- path: "/api/v1/other/semiconductor/dram-spot-price",
1953
- tier: "alternative",
1954
- required_subscription_tier: "pro",
1955
- access: "pro_only",
1956
- pro_required: true
1562
+ path: "/api/v1/other/semiconductor/dram-spot-price"
1957
1563
  },
1958
1564
  {
1959
1565
  skill: "arrays-data-api-semiconductor-price",
1960
1566
  file: "dram-contract-price",
1961
1567
  method: "GET",
1962
- path: "/api/v1/other/semiconductor/dram-contract-price",
1963
- tier: "alternative",
1964
- required_subscription_tier: "pro",
1965
- access: "pro_only",
1966
- pro_required: true
1568
+ path: "/api/v1/other/semiconductor/dram-contract-price"
1967
1569
  },
1968
1570
  {
1969
1571
  skill: "arrays-data-api-semiconductor-price",
1970
1572
  file: "nand-flash-spot-price",
1971
1573
  method: "GET",
1972
- path: "/api/v1/other/semiconductor/nand-flash-spot-price",
1973
- tier: "alternative",
1974
- required_subscription_tier: "pro",
1975
- access: "pro_only",
1976
- pro_required: true
1574
+ path: "/api/v1/other/semiconductor/nand-flash-spot-price"
1977
1575
  },
1978
1576
  {
1979
1577
  skill: "arrays-data-api-semiconductor-price",
1980
1578
  file: "nand-flash-contract-price",
1981
1579
  method: "GET",
1982
- path: "/api/v1/other/semiconductor/nand-flash-contract-price",
1983
- tier: "alternative",
1984
- required_subscription_tier: "pro",
1985
- access: "pro_only",
1986
- pro_required: true
1580
+ path: "/api/v1/other/semiconductor/nand-flash-contract-price"
1987
1581
  },
1988
1582
  {
1989
1583
  skill: "arrays-data-api-semiconductor-price",
1990
1584
  file: "memory-card-price",
1991
1585
  method: "GET",
1992
- path: "/api/v1/other/semiconductor/memory-card-price",
1993
- tier: "alternative",
1994
- required_subscription_tier: "pro",
1995
- access: "pro_only",
1996
- pro_required: true
1586
+ path: "/api/v1/other/semiconductor/memory-card-price"
1997
1587
  },
1998
1588
  {
1999
1589
  skill: "arrays-data-api-semiconductor-price",
2000
1590
  file: "dxi-index",
2001
1591
  method: "GET",
2002
- path: "/api/v1/other/semiconductor/dxi-index",
2003
- tier: "alternative",
2004
- required_subscription_tier: "pro",
2005
- access: "pro_only",
2006
- pro_required: true
1592
+ path: "/api/v1/other/semiconductor/dxi-index"
1593
+ },
1594
+ {
1595
+ skill: "arrays-data-api-equity-ownership-and-flow",
1596
+ file: "short-interest",
1597
+ method: "GET",
1598
+ path: "/api/v1/stocks/short-interest"
1599
+ },
1600
+ {
1601
+ skill: "arrays-data-api-social-feeds",
1602
+ file: "x-handles",
1603
+ method: "POST",
1604
+ path: "/api/v1/social-feeds/x/handles"
2007
1605
  }
2008
1606
  ];
2009
1607
  function getSkillEndpointMetadata(skill, file) {
@@ -2078,24 +1676,9 @@ var DataSkillsResource = class {
2078
1676
  }
2079
1677
  };
2080
1678
  function metadataSummaryForSkill(skill) {
2081
- const endpointMetadata = listSkillEndpointMetadata(skill);
2082
- if (endpointMetadata.length === 0) {
2083
- return {};
2084
- }
2085
- const counts = {};
2086
- let proCount = 0;
2087
- for (const endpoint of endpointMetadata) {
2088
- counts[endpoint.tier] = (counts[endpoint.tier] ?? 0) + 1;
2089
- if (endpoint.pro_required) proCount += 1;
2090
- }
2091
- return {
2092
- endpoint_tier_counts: counts,
2093
- metadata: {
2094
- endpoint_count: endpointMetadata.length,
2095
- endpoint_tier_counts: counts,
2096
- pro_count: proCount
2097
- }
2098
- };
1679
+ const endpointCount = listSkillEndpointMetadata(skill).length;
1680
+ if (endpointCount === 0) return {};
1681
+ return { metadata: { endpoint_count: endpointCount } };
2099
1682
  }
2100
1683
 
2101
1684
  // src/resources/playbookSkills.ts
@@ -3781,7 +3364,7 @@ var installPlaybookRuntime = (targetWindow) => {
3781
3364
  };
3782
3365
 
3783
3366
  // src/index.ts
3784
- var VERSION = true ? "0.20.0" : "dev";
3367
+ var VERSION = true ? "0.22.0" : "dev";
3785
3368
  // Annotate the CommonJS export names for ESM import in node:
3786
3369
  0 && (module.exports = {
3787
3370
  AlertsResource,