@omelhorsite/sdk 0.15.1 → 0.17.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/README.md +26 -3
- package/dist/index.js +385 -146
- package/dist/types/auth/tokens.d.ts +1 -1
- package/dist/types/client.d.ts +3 -0
- package/dist/types/resources/admin/llm.d.ts +9 -1
- package/dist/types/resources/admin/quotas.d.ts +14 -0
- package/dist/types/resources/content/blogs.d.ts +111 -31
- package/dist/types/resources/content/index.d.ts +4 -4
- package/dist/types/resources/content/news/feeds.d.ts +56 -0
- package/dist/types/resources/content/news/index.d.ts +36 -0
- package/dist/types/resources/content/news/items.d.ts +155 -0
- package/dist/types/resources/content/{intel → news}/scripts.d.ts +35 -35
- package/dist/types/resources/content/{intel → news}/sources.d.ts +62 -59
- package/dist/types/resources/content/notifications.d.ts +2 -2
- package/dist/types/resources/cron.d.ts +225 -0
- package/dist/types/resources/index.d.ts +1 -0
- package/dist/types/resources/llm.d.ts +71 -0
- package/dist/types/resources/quotas.d.ts +8 -5
- package/dist/types/resources/search.d.ts +36 -0
- package/package.json +1 -1
- package/dist/types/resources/content/intel/articles.d.ts +0 -230
- package/dist/types/resources/content/intel/config.d.ts +0 -135
- package/dist/types/resources/content/intel/index.d.ts +0 -53
- package/dist/types/resources/content/intel/items.d.ts +0 -91
- package/dist/types/resources/content/intel/reports.d.ts +0 -108
- package/dist/types/resources/content/intel/stats.d.ts +0 -105
- package/dist/types/resources/content/intel/types.d.ts +0 -86
package/dist/index.js
CHANGED
|
@@ -944,7 +944,14 @@ var OMS_SCOPES = [
|
|
|
944
944
|
"tools:write",
|
|
945
945
|
"storage:read",
|
|
946
946
|
"storage:write",
|
|
947
|
-
"tickets:write"
|
|
947
|
+
"tickets:write",
|
|
948
|
+
"llm",
|
|
949
|
+
"blogs:read",
|
|
950
|
+
"blogs:write",
|
|
951
|
+
"news:read",
|
|
952
|
+
"news:write",
|
|
953
|
+
"cron:read",
|
|
954
|
+
"cron:write"
|
|
948
955
|
];
|
|
949
956
|
var DEFAULT_REFRESH_SKEW_MS = 60000;
|
|
950
957
|
var REFRESH_REUSE_WINDOW_MS = 5000;
|
|
@@ -10418,6 +10425,7 @@ var ADMIN_LLM_MODEL_FILTER_COLUMNS = Object.freeze([
|
|
|
10418
10425
|
"name",
|
|
10419
10426
|
"enabled",
|
|
10420
10427
|
"visible_in_chat",
|
|
10428
|
+
"tier",
|
|
10421
10429
|
"free"
|
|
10422
10430
|
]);
|
|
10423
10431
|
var ADMIN_LLM_ASSIGNMENT_FILTER_COLUMNS = Object.freeze(["feature"]);
|
|
@@ -10459,6 +10467,8 @@ function modelBody(input) {
|
|
|
10459
10467
|
body["enabled"] = input.enabled;
|
|
10460
10468
|
if (input.visibleInChat !== undefined)
|
|
10461
10469
|
body["visible_in_chat"] = input.visibleInChat;
|
|
10470
|
+
if (input.tier !== undefined)
|
|
10471
|
+
body["tier"] = input.tier;
|
|
10462
10472
|
if (input.contextWindow !== undefined)
|
|
10463
10473
|
body["context_window"] = input.contextWindow;
|
|
10464
10474
|
if (input.maxOutputTokens !== undefined)
|
|
@@ -10692,6 +10702,9 @@ class AdminQuotasNamespace extends Resource {
|
|
|
10692
10702
|
}))
|
|
10693
10703
|
}, options);
|
|
10694
10704
|
}
|
|
10705
|
+
async setLlmTier(user, tier, options = {}) {
|
|
10706
|
+
return this.http.put(`/admin/users/${encodeURIComponent(user)}/quotas`, { overrides: [], llm_tier: tier }, options);
|
|
10707
|
+
}
|
|
10695
10708
|
}
|
|
10696
10709
|
|
|
10697
10710
|
// src/resources/admin/shortLinks.ts
|
|
@@ -11234,11 +11247,55 @@ class AnalysisNamespace extends Resource {
|
|
|
11234
11247
|
}
|
|
11235
11248
|
|
|
11236
11249
|
// src/resources/content/blogs.ts
|
|
11250
|
+
var BLOG_VISIBILITIES = Object.freeze(["public", "unlisted", "private"]);
|
|
11251
|
+
var BLOGS_PER_ACCOUNT = 20;
|
|
11252
|
+
|
|
11253
|
+
class OwnBlogsNamespace extends Resource {
|
|
11254
|
+
async list(options = {}) {
|
|
11255
|
+
return this.http.get("/my_blogs", options);
|
|
11256
|
+
}
|
|
11257
|
+
async get(idOrSlug, options = {}) {
|
|
11258
|
+
return this.http.get(`/my_blogs/${encodeURIComponent(String(idOrSlug))}`, options);
|
|
11259
|
+
}
|
|
11260
|
+
async create(input = {}, options = {}) {
|
|
11261
|
+
return this.http.post("/my_blogs", blogBody(input), options);
|
|
11262
|
+
}
|
|
11263
|
+
async update(idOrSlug, input, options = {}) {
|
|
11264
|
+
return this.http.patch(`/my_blogs/${encodeURIComponent(String(idOrSlug))}`, blogBody(input), options);
|
|
11265
|
+
}
|
|
11266
|
+
async delete(idOrSlug, options = {}) {
|
|
11267
|
+
await this.http.delete(`/my_blogs/${encodeURIComponent(String(idOrSlug))}`, options);
|
|
11268
|
+
}
|
|
11269
|
+
async members(idOrSlug, options = {}) {
|
|
11270
|
+
return this.http.get(`/my_blogs/${encodeURIComponent(String(idOrSlug))}/members`, options);
|
|
11271
|
+
}
|
|
11272
|
+
async addMember(idOrSlug, handle, options = {}) {
|
|
11273
|
+
return this.http.post(`/my_blogs/${encodeURIComponent(String(idOrSlug))}/members`, { handle }, options);
|
|
11274
|
+
}
|
|
11275
|
+
async removeMember(idOrSlug, memberOrUserId, options = {}) {
|
|
11276
|
+
await this.http.delete(`/my_blogs/${encodeURIComponent(String(idOrSlug))}/members/${encodeURIComponent(String(memberOrUserId))}`, options);
|
|
11277
|
+
}
|
|
11278
|
+
}
|
|
11279
|
+
function blogBody(input) {
|
|
11280
|
+
const body = {};
|
|
11281
|
+
if (input.slug !== undefined)
|
|
11282
|
+
body["slug"] = input.slug;
|
|
11283
|
+
if (input.name !== undefined)
|
|
11284
|
+
body["name"] = input.name;
|
|
11285
|
+
if (input.description !== undefined)
|
|
11286
|
+
body["description"] = input.description;
|
|
11287
|
+
if (input.visibility !== undefined)
|
|
11288
|
+
body["visibility"] = input.visibility;
|
|
11289
|
+
return body;
|
|
11290
|
+
}
|
|
11291
|
+
|
|
11237
11292
|
class BlogsNamespace extends Resource {
|
|
11238
11293
|
posts;
|
|
11294
|
+
own;
|
|
11239
11295
|
constructor(http) {
|
|
11240
11296
|
super(http);
|
|
11241
11297
|
this.posts = new BlogPostsNamespace(http);
|
|
11298
|
+
this.own = new OwnBlogsNamespace(http);
|
|
11242
11299
|
}
|
|
11243
11300
|
async discover(options = {}) {
|
|
11244
11301
|
const body = await this.http.get("/blogs", options);
|
|
@@ -11276,7 +11333,15 @@ class BlogPostsNamespace extends Resource {
|
|
|
11276
11333
|
return this.http.get(`/blogs/${encodeURIComponent(blogSlug)}/posts/${encodeURIComponent(slug)}`, options);
|
|
11277
11334
|
}
|
|
11278
11335
|
async create(input, options = {}) {
|
|
11279
|
-
|
|
11336
|
+
const { blogId, blogSlug, publish, ...fields } = input;
|
|
11337
|
+
const body = { ...fields };
|
|
11338
|
+
if (blogId !== undefined)
|
|
11339
|
+
body["blog_id"] = blogId;
|
|
11340
|
+
if (blogSlug !== undefined)
|
|
11341
|
+
body["blog_slug"] = blogSlug;
|
|
11342
|
+
if (publish !== undefined)
|
|
11343
|
+
body["publish"] = publish;
|
|
11344
|
+
return this.http.post("/blog_posts", body, options);
|
|
11280
11345
|
}
|
|
11281
11346
|
async update(id, input, options = {}) {
|
|
11282
11347
|
return this.http.patch(`/blog_posts/${encodeURIComponent(String(id))}`, input, options);
|
|
@@ -11324,141 +11389,157 @@ class FeedbacksNamespace extends Resource {
|
|
|
11324
11389
|
}
|
|
11325
11390
|
}
|
|
11326
11391
|
|
|
11327
|
-
// src/resources/content/
|
|
11328
|
-
var
|
|
11392
|
+
// src/resources/content/news/feeds.ts
|
|
11393
|
+
var NEWS_FEEDS_PER_ACCOUNT = 10;
|
|
11394
|
+
var NEWS_FEED_MIN_RETENTION_DAYS = 7;
|
|
11395
|
+
var NEWS_FEED_MAX_RETENTION_DAYS = 3650;
|
|
11396
|
+
var NEWS_FEED_FILTER_COLUMNS = Object.freeze(["name", "enabled"]);
|
|
11329
11397
|
|
|
11330
|
-
class
|
|
11398
|
+
class NewsFeedsNamespace extends Resource {
|
|
11331
11399
|
async list(params = {}, options = {}) {
|
|
11332
|
-
const
|
|
11333
|
-
|
|
11334
|
-
top["q"] = params.q;
|
|
11335
|
-
if (params.minImportance !== undefined)
|
|
11336
|
-
top["min_importance"] = params.minImportance;
|
|
11337
|
-
if (params.sort !== undefined)
|
|
11338
|
-
top["sort"] = params.sort;
|
|
11339
|
-
return paginate(params, 50, (at) => this.http.get("/intel_articles", { ...options, query: listQuery(params, at, { top }) }));
|
|
11400
|
+
const base = { order: "created_at:asc" };
|
|
11401
|
+
return paginate(params, 50, (at) => this.http.get("/news_feeds", { ...options, query: listQuery(params, at, base) }));
|
|
11340
11402
|
}
|
|
11341
11403
|
async get(id, options = {}) {
|
|
11342
|
-
return this.http.get(`/
|
|
11404
|
+
return this.http.get(`/news_feeds/${encodeURIComponent(id)}`, options);
|
|
11343
11405
|
}
|
|
11344
|
-
async
|
|
11345
|
-
|
|
11346
|
-
}
|
|
11347
|
-
}
|
|
11348
|
-
|
|
11349
|
-
// src/resources/content/intel/config.ts
|
|
11350
|
-
var INTEL_PROMPT_KEYS = ["build", "enrich_plan", "enrich_actors", "enrich_synth", "report"];
|
|
11351
|
-
|
|
11352
|
-
class IntelConfigNamespace extends Resource {
|
|
11353
|
-
async get(options = {}) {
|
|
11354
|
-
return this.http.get("/intel_config", options);
|
|
11355
|
-
}
|
|
11356
|
-
async update(input, options = {}) {
|
|
11357
|
-
return this.http.patch("/intel_config", {
|
|
11358
|
-
...input.rubric === undefined ? {} : { rubric: input.rubric },
|
|
11359
|
-
...input.prompts === undefined ? {} : { prompts: input.prompts },
|
|
11360
|
-
...input.buildModel === undefined ? {} : { build_model: input.buildModel },
|
|
11361
|
-
...input.reportModel === undefined ? {} : { report_model: input.reportModel },
|
|
11362
|
-
...input.reportMinImportance === undefined ? {} : { report_min_importance: input.reportMinImportance },
|
|
11363
|
-
...input.enrichMinImportance === undefined ? {} : { enrich_min_importance: input.enrichMinImportance },
|
|
11364
|
-
...input.webSearch === undefined ? {} : { web_search: input.webSearch },
|
|
11365
|
-
...input.maxSources === undefined ? {} : { max_sources: input.maxSources }
|
|
11366
|
-
}, options);
|
|
11367
|
-
}
|
|
11368
|
-
}
|
|
11369
|
-
|
|
11370
|
-
// src/resources/content/intel/items.ts
|
|
11371
|
-
var INTEL_ITEM_FILTER_COLUMNS = Object.freeze(["intel_source_id", "external_id", "title", "content", "url"]);
|
|
11372
|
-
|
|
11373
|
-
class IntelItemsNamespace extends Resource {
|
|
11374
|
-
async list(params = {}, options = {}) {
|
|
11375
|
-
const base = { order: "created_at:desc", exactSearch: { intel_source_id: params.sourceId } };
|
|
11376
|
-
return paginate(params, 25, (at) => this.http.get("/intel_items", { ...options, query: listQuery(params, at, base) }));
|
|
11406
|
+
async create(input, options = {}) {
|
|
11407
|
+
return this.http.post("/news_feeds", feedBody(input), { retry: false, ...options });
|
|
11377
11408
|
}
|
|
11378
|
-
async
|
|
11379
|
-
return this.http.
|
|
11409
|
+
async update(id, input, options = {}) {
|
|
11410
|
+
return this.http.patch(`/news_feeds/${encodeURIComponent(id)}`, feedBody(input), options);
|
|
11380
11411
|
}
|
|
11381
11412
|
async delete(id, options = {}) {
|
|
11382
|
-
await this.http.delete(`/
|
|
11413
|
+
await this.http.delete(`/news_feeds/${encodeURIComponent(id)}`, options);
|
|
11383
11414
|
}
|
|
11384
11415
|
}
|
|
11416
|
+
function feedBody(input) {
|
|
11417
|
+
const body = {};
|
|
11418
|
+
if (input.name !== undefined)
|
|
11419
|
+
body["name"] = input.name;
|
|
11420
|
+
if (input.description !== undefined)
|
|
11421
|
+
body["description"] = input.description;
|
|
11422
|
+
if (input.retentionDays !== undefined)
|
|
11423
|
+
body["retention_days"] = input.retentionDays;
|
|
11424
|
+
if (input.enabled !== undefined)
|
|
11425
|
+
body["enabled"] = input.enabled;
|
|
11426
|
+
return body;
|
|
11427
|
+
}
|
|
11385
11428
|
|
|
11386
|
-
// src/resources/content/
|
|
11387
|
-
var
|
|
11429
|
+
// src/resources/content/news/items.ts
|
|
11430
|
+
var NEWS_ITEM_FILTER_COLUMNS = Object.freeze([
|
|
11431
|
+
"news_feed_id",
|
|
11432
|
+
"news_source_id",
|
|
11433
|
+
"external_id",
|
|
11434
|
+
"title",
|
|
11435
|
+
"content",
|
|
11436
|
+
"url",
|
|
11437
|
+
"media_status",
|
|
11438
|
+
"parent_id"
|
|
11439
|
+
]);
|
|
11388
11440
|
|
|
11389
|
-
class
|
|
11441
|
+
class NewsItemsNamespace extends Resource {
|
|
11390
11442
|
async list(params = {}, options = {}) {
|
|
11391
|
-
const
|
|
11392
|
-
|
|
11443
|
+
const top = {};
|
|
11444
|
+
if (params.query !== undefined)
|
|
11445
|
+
top["query"] = params.query;
|
|
11446
|
+
if (params.since !== undefined)
|
|
11447
|
+
top["since"] = params.since;
|
|
11448
|
+
if (params.until !== undefined)
|
|
11449
|
+
top["until"] = params.until;
|
|
11450
|
+
const base = {
|
|
11451
|
+
order: "created_at:desc",
|
|
11452
|
+
exactSearch: { news_feed_id: params.feedId, news_source_id: params.sourceId },
|
|
11453
|
+
top
|
|
11454
|
+
};
|
|
11455
|
+
return paginate(params, 25, (at) => this.http.get("/news_items", { ...options, query: listQuery(params, at, base) }));
|
|
11393
11456
|
}
|
|
11394
11457
|
async get(id, options = {}) {
|
|
11395
|
-
return this.http.get(`/
|
|
11458
|
+
return this.http.get(`/news_items/${encodeURIComponent(id)}`, options);
|
|
11459
|
+
}
|
|
11460
|
+
async similar(params, options = {}) {
|
|
11461
|
+
const query = {
|
|
11462
|
+
text: params.text,
|
|
11463
|
+
item_id: params.itemId,
|
|
11464
|
+
news_feed_id: params.feedId,
|
|
11465
|
+
limit: params.limit,
|
|
11466
|
+
since: params.since,
|
|
11467
|
+
max_distance: params.maxDistance
|
|
11468
|
+
};
|
|
11469
|
+
return this.http.get("/news_items/similar", { ...options, query });
|
|
11396
11470
|
}
|
|
11397
11471
|
async delete(id, options = {}) {
|
|
11398
|
-
await this.http.delete(`/
|
|
11472
|
+
await this.http.delete(`/news_items/${encodeURIComponent(id)}`, options);
|
|
11399
11473
|
}
|
|
11400
11474
|
}
|
|
11401
11475
|
|
|
11402
|
-
// src/resources/content/
|
|
11403
|
-
var
|
|
11404
|
-
var
|
|
11476
|
+
// src/resources/content/news/scripts.ts
|
|
11477
|
+
var NEWS_SCRIPT_MAX_CODE_BYTES = 64 * 1024;
|
|
11478
|
+
var NEWS_SCRIPT_FILTER_COLUMNS = Object.freeze(["name", "builtin", "slug"]);
|
|
11405
11479
|
|
|
11406
|
-
class
|
|
11480
|
+
class NewsScriptsNamespace extends Resource {
|
|
11407
11481
|
async list(params = {}, options = {}) {
|
|
11408
11482
|
const base = { order: "created_at:desc", exactSearch: { builtin: params.builtin } };
|
|
11409
|
-
return paginate(params, 100, (at) => this.http.get("/
|
|
11483
|
+
return paginate(params, 100, (at) => this.http.get("/news_scripts", { ...options, query: listQuery(params, at, base) }));
|
|
11410
11484
|
}
|
|
11411
11485
|
async get(id, options = {}) {
|
|
11412
|
-
return this.http.get(`/
|
|
11486
|
+
return this.http.get(`/news_scripts/${encodeURIComponent(id)}`, options);
|
|
11413
11487
|
}
|
|
11414
11488
|
async create(input, options = {}) {
|
|
11415
|
-
return this.http.post("/
|
|
11489
|
+
return this.http.post("/news_scripts", {
|
|
11416
11490
|
name: input.name,
|
|
11417
11491
|
code: input.code,
|
|
11418
11492
|
...input.description === undefined ? {} : { description: input.description }
|
|
11419
11493
|
}, { retry: false, ...options });
|
|
11420
11494
|
}
|
|
11421
11495
|
async update(id, input, options = {}) {
|
|
11422
|
-
return this.http.patch(`/
|
|
11496
|
+
return this.http.patch(`/news_scripts/${encodeURIComponent(id)}`, {
|
|
11423
11497
|
...input.name === undefined ? {} : { name: input.name },
|
|
11424
11498
|
...input.code === undefined ? {} : { code: input.code },
|
|
11425
11499
|
...input.description === undefined ? {} : { description: input.description }
|
|
11426
11500
|
}, options);
|
|
11427
11501
|
}
|
|
11428
11502
|
async delete(id, options = {}) {
|
|
11429
|
-
await this.http.delete(`/
|
|
11503
|
+
await this.http.delete(`/news_scripts/${encodeURIComponent(id)}`, options);
|
|
11430
11504
|
}
|
|
11431
11505
|
}
|
|
11432
11506
|
|
|
11433
|
-
// src/resources/content/
|
|
11434
|
-
var
|
|
11435
|
-
var
|
|
11436
|
-
var
|
|
11507
|
+
// src/resources/content/news/sources.ts
|
|
11508
|
+
var NEWS_SOURCE_HEALTHS = ["unknown", "ok", "error"];
|
|
11509
|
+
var NEWS_SOURCE_DISABLE_AFTER_FAILURES = 20;
|
|
11510
|
+
var NEWS_SOURCE_FILTER_COLUMNS = Object.freeze(["name", "health", "enabled", "news_feed_id", "news_script_id"]);
|
|
11437
11511
|
|
|
11438
|
-
class
|
|
11512
|
+
class NewsSourcesNamespace extends Resource {
|
|
11439
11513
|
async list(params = {}, options = {}) {
|
|
11440
11514
|
const base = {
|
|
11441
11515
|
order: "created_at:desc",
|
|
11442
|
-
exactSearch: {
|
|
11516
|
+
exactSearch: {
|
|
11517
|
+
health: params.health,
|
|
11518
|
+
enabled: params.enabled,
|
|
11519
|
+
news_feed_id: params.feedId,
|
|
11520
|
+
news_script_id: params.scriptId
|
|
11521
|
+
}
|
|
11443
11522
|
};
|
|
11444
|
-
return paginate(params, 100, (at) => this.http.get("/
|
|
11523
|
+
return paginate(params, 100, (at) => this.http.get("/news_sources", { ...options, query: listQuery(params, at, base) }));
|
|
11445
11524
|
}
|
|
11446
11525
|
async get(id, options = {}) {
|
|
11447
|
-
return this.http.get(`/
|
|
11526
|
+
return this.http.get(`/news_sources/${encodeURIComponent(id)}`, options);
|
|
11448
11527
|
}
|
|
11449
11528
|
async create(input, options = {}) {
|
|
11450
|
-
return this.http.post("/
|
|
11529
|
+
return this.http.post("/news_sources", {
|
|
11451
11530
|
name: input.name,
|
|
11452
|
-
|
|
11531
|
+
news_script_id: input.scriptId,
|
|
11532
|
+
...input.newsFeedId === undefined ? {} : { news_feed_id: input.newsFeedId },
|
|
11453
11533
|
...input.config === undefined ? {} : { config: input.config },
|
|
11454
11534
|
...input.pollIntervalMinutes === undefined ? {} : { poll_interval_minutes: input.pollIntervalMinutes },
|
|
11455
11535
|
...input.enabled === undefined ? {} : { enabled: input.enabled }
|
|
11456
11536
|
}, { retry: false, ...options });
|
|
11457
11537
|
}
|
|
11458
11538
|
async update(id, input, options = {}) {
|
|
11459
|
-
return this.http.patch(`/
|
|
11539
|
+
return this.http.patch(`/news_sources/${encodeURIComponent(id)}`, {
|
|
11460
11540
|
...input.name === undefined ? {} : { name: input.name },
|
|
11461
|
-
...input.
|
|
11541
|
+
...input.newsFeedId === undefined ? {} : { news_feed_id: input.newsFeedId },
|
|
11542
|
+
...input.scriptId === undefined ? {} : { news_script_id: input.scriptId },
|
|
11462
11543
|
...input.config === undefined ? {} : { config: input.config },
|
|
11463
11544
|
...input.pollIntervalMinutes === undefined ? {} : { poll_interval_minutes: input.pollIntervalMinutes },
|
|
11464
11545
|
...input.enabled === undefined ? {} : { enabled: input.enabled },
|
|
@@ -11466,57 +11547,25 @@ class IntelSourcesNamespace extends Resource {
|
|
|
11466
11547
|
}, options);
|
|
11467
11548
|
}
|
|
11468
11549
|
async delete(id, options = {}) {
|
|
11469
|
-
await this.http.delete(`/
|
|
11550
|
+
await this.http.delete(`/news_sources/${encodeURIComponent(id)}`, options);
|
|
11470
11551
|
}
|
|
11471
11552
|
async run(id, options = {}) {
|
|
11472
|
-
return this.http.post(`/
|
|
11553
|
+
return this.http.post(`/news_sources/${encodeURIComponent(id)}/run`, undefined, { retry: false, ...options });
|
|
11473
11554
|
}
|
|
11474
11555
|
}
|
|
11475
11556
|
|
|
11476
|
-
// src/resources/content/
|
|
11477
|
-
class
|
|
11478
|
-
|
|
11479
|
-
return this.http.get("/intel_stats", options);
|
|
11480
|
-
}
|
|
11481
|
-
}
|
|
11482
|
-
// src/resources/content/intel/types.ts
|
|
11483
|
-
var INTEL_ARTICLE_CATEGORIES = [
|
|
11484
|
-
"incidente",
|
|
11485
|
-
"politica",
|
|
11486
|
-
"comunidade",
|
|
11487
|
-
"sociedade",
|
|
11488
|
-
"internacional",
|
|
11489
|
-
"economia",
|
|
11490
|
-
"outro"
|
|
11491
|
-
];
|
|
11492
|
-
var INTEL_REPORT_KINDS = ["6h", "day", "week", "month"];
|
|
11493
|
-
var INTEL_IMAGE_PROXY_BASE_URL = "https://wsrv.nl/";
|
|
11494
|
-
function intelArticleImageUrl(imageUrl, options = {}) {
|
|
11495
|
-
if (!imageUrl)
|
|
11496
|
-
return "";
|
|
11497
|
-
const width = options.width ?? 480;
|
|
11498
|
-
const quality = options.quality ?? 45;
|
|
11499
|
-
return `${INTEL_IMAGE_PROXY_BASE_URL}?url=${encodeURIComponent(imageUrl)}&w=${width}&q=${quality}&output=webp&we`;
|
|
11500
|
-
}
|
|
11501
|
-
|
|
11502
|
-
// src/resources/content/intel/index.ts
|
|
11503
|
-
class IntelNamespace extends Resource {
|
|
11504
|
-
articles;
|
|
11505
|
-
reports;
|
|
11557
|
+
// src/resources/content/news/index.ts
|
|
11558
|
+
class NewsNamespace extends Resource {
|
|
11559
|
+
feeds;
|
|
11506
11560
|
sources;
|
|
11507
11561
|
scripts;
|
|
11508
11562
|
items;
|
|
11509
|
-
config;
|
|
11510
|
-
stats;
|
|
11511
11563
|
constructor(http) {
|
|
11512
11564
|
super(http);
|
|
11513
|
-
this.
|
|
11514
|
-
this.
|
|
11515
|
-
this.
|
|
11516
|
-
this.
|
|
11517
|
-
this.items = new IntelItemsNamespace(http);
|
|
11518
|
-
this.config = new IntelConfigNamespace(http);
|
|
11519
|
-
this.stats = new IntelStatsNamespace(http);
|
|
11565
|
+
this.feeds = new NewsFeedsNamespace(http);
|
|
11566
|
+
this.sources = new NewsSourcesNamespace(http);
|
|
11567
|
+
this.scripts = new NewsScriptsNamespace(http);
|
|
11568
|
+
this.items = new NewsItemsNamespace(http);
|
|
11520
11569
|
}
|
|
11521
11570
|
}
|
|
11522
11571
|
|
|
@@ -11549,7 +11598,7 @@ var NOTIFICATION_CATEGORIES = [
|
|
|
11549
11598
|
"library",
|
|
11550
11599
|
"forms",
|
|
11551
11600
|
"tickets",
|
|
11552
|
-
"
|
|
11601
|
+
"news",
|
|
11553
11602
|
"oauth",
|
|
11554
11603
|
"admin"
|
|
11555
11604
|
];
|
|
@@ -11588,8 +11637,9 @@ var NOTIFICATION_KINDS = [
|
|
|
11588
11637
|
"form_submission_received",
|
|
11589
11638
|
"ticket_reply",
|
|
11590
11639
|
"ticket_status_changed",
|
|
11591
|
-
"
|
|
11592
|
-
"
|
|
11640
|
+
"news_source_failing",
|
|
11641
|
+
"cron_run_failed",
|
|
11642
|
+
"cron_run_done",
|
|
11593
11643
|
"oauth_application_approved",
|
|
11594
11644
|
"oauth_application_rejected",
|
|
11595
11645
|
"admin_oauth_application_submitted",
|
|
@@ -11711,7 +11761,7 @@ class ContentNamespace extends Resource {
|
|
|
11711
11761
|
serviceUsages;
|
|
11712
11762
|
analysis;
|
|
11713
11763
|
spaceInvaders;
|
|
11714
|
-
|
|
11764
|
+
news;
|
|
11715
11765
|
constructor(http) {
|
|
11716
11766
|
super(http);
|
|
11717
11767
|
this.blogs = new BlogsNamespace(http);
|
|
@@ -11723,9 +11773,135 @@ class ContentNamespace extends Resource {
|
|
|
11723
11773
|
this.serviceUsages = new ServiceUsagesNamespace(http);
|
|
11724
11774
|
this.analysis = new AnalysisNamespace(http);
|
|
11725
11775
|
this.spaceInvaders = new SpaceInvadersNamespace(http);
|
|
11726
|
-
this.
|
|
11776
|
+
this.news = new NewsNamespace(http);
|
|
11777
|
+
}
|
|
11778
|
+
}
|
|
11779
|
+
|
|
11780
|
+
// src/resources/cron.ts
|
|
11781
|
+
var CRON_JOB_SCOPES = Object.freeze([
|
|
11782
|
+
"profile",
|
|
11783
|
+
"news:read",
|
|
11784
|
+
"news:write",
|
|
11785
|
+
"storage:read",
|
|
11786
|
+
"storage:write",
|
|
11787
|
+
"llm",
|
|
11788
|
+
"tools:read",
|
|
11789
|
+
"tools:write",
|
|
11790
|
+
"blogs:read",
|
|
11791
|
+
"blogs:write"
|
|
11792
|
+
]);
|
|
11793
|
+
var CRON_JOB_HEALTHS = Object.freeze(["unknown", "ok", "error"]);
|
|
11794
|
+
var CRON_JOB_DISABLE_AFTER_FAILURES = 10;
|
|
11795
|
+
var CRON_JOB_MAX_CODE_BYTES = 256 * 1024;
|
|
11796
|
+
var CRON_JOB_MAX_STATE_BYTES = 256 * 1024;
|
|
11797
|
+
var CRON_JOB_MAX_CONFIG_BYTES = 64 * 1024;
|
|
11798
|
+
var CRON_JOB_MIN_INTERVAL_MINUTES = 5;
|
|
11799
|
+
var CRON_JOB_MIN_TIMEOUT_SECONDS = 5;
|
|
11800
|
+
var CRON_JOB_MAX_TIMEOUT_SECONDS = 1200;
|
|
11801
|
+
var CRON_JOB_BASE_MAX_TIMEOUT_SECONDS = 120;
|
|
11802
|
+
var CRON_VAR_TYPES = Object.freeze(["string", "text", "number", "boolean", "list", "json"]);
|
|
11803
|
+
var CRON_JOB_FILTER_COLUMNS = Object.freeze(["name", "enabled", "health", "template_slug"]);
|
|
11804
|
+
var CRON_RUN_STATUSES = Object.freeze(["queued", "running", "ok", "error", "timeout", "skipped"]);
|
|
11805
|
+
var CRON_RUN_TRIGGERS = Object.freeze(["schedule", "manual", "test"]);
|
|
11806
|
+
var CRON_RUN_FILTER_COLUMNS = Object.freeze(["cron_job_id", "status", "trigger"]);
|
|
11807
|
+
|
|
11808
|
+
class CronJobsNamespace extends Resource {
|
|
11809
|
+
async list(params = {}, options = {}) {
|
|
11810
|
+
const base = { order: "created_at:asc" };
|
|
11811
|
+
return paginate(params, 50, (at) => this.http.get("/cron_jobs", { ...options, query: listQuery(params, at, base) }));
|
|
11812
|
+
}
|
|
11813
|
+
async get(id, options = {}) {
|
|
11814
|
+
return this.http.get(`/cron_jobs/${encodeURIComponent(id)}`, options);
|
|
11815
|
+
}
|
|
11816
|
+
async create(input, options = {}) {
|
|
11817
|
+
return this.http.post("/cron_jobs", jobBody(input), { retry: false, ...options });
|
|
11818
|
+
}
|
|
11819
|
+
async update(id, input, options = {}) {
|
|
11820
|
+
return this.http.patch(`/cron_jobs/${encodeURIComponent(id)}`, jobBody(input), options);
|
|
11821
|
+
}
|
|
11822
|
+
async delete(id, options = {}) {
|
|
11823
|
+
await this.http.delete(`/cron_jobs/${encodeURIComponent(id)}`, options);
|
|
11824
|
+
}
|
|
11825
|
+
async run(id, options = {}) {
|
|
11826
|
+
return this.http.post(`/cron_jobs/${encodeURIComponent(id)}/run`, {}, { retry: false, ...options });
|
|
11827
|
+
}
|
|
11828
|
+
async test(id, options = {}) {
|
|
11829
|
+
return this.http.post(`/cron_jobs/${encodeURIComponent(id)}/test`, {}, { retry: false, ...options });
|
|
11830
|
+
}
|
|
11831
|
+
async check(code, options = {}) {
|
|
11832
|
+
return this.http.post("/cron_jobs/check", { code }, options);
|
|
11833
|
+
}
|
|
11834
|
+
}
|
|
11835
|
+
|
|
11836
|
+
class CronRunsNamespace extends Resource {
|
|
11837
|
+
async list(params = {}, options = {}) {
|
|
11838
|
+
const base = { order: "created_at:desc", exactSearch: { cron_job_id: params.jobId, status: params.status } };
|
|
11839
|
+
return paginate(params, 50, (at) => this.http.get("/cron_runs", { ...options, query: listQuery(params, at, base) }));
|
|
11840
|
+
}
|
|
11841
|
+
async get(id, options = {}) {
|
|
11842
|
+
return this.http.get(`/cron_runs/${encodeURIComponent(id)}`, options);
|
|
11843
|
+
}
|
|
11844
|
+
async delete(id, options = {}) {
|
|
11845
|
+
await this.http.delete(`/cron_runs/${encodeURIComponent(id)}`, options);
|
|
11846
|
+
}
|
|
11847
|
+
}
|
|
11848
|
+
|
|
11849
|
+
class CronTemplatesNamespace extends Resource {
|
|
11850
|
+
async list(options = {}) {
|
|
11851
|
+
return this.http.get("/cron_templates", options);
|
|
11852
|
+
}
|
|
11853
|
+
async get(slug, options = {}) {
|
|
11854
|
+
return this.http.get(`/cron_templates/${encodeURIComponent(slug)}`, options);
|
|
11855
|
+
}
|
|
11856
|
+
}
|
|
11857
|
+
|
|
11858
|
+
class CronNamespace extends Resource {
|
|
11859
|
+
jobs;
|
|
11860
|
+
runs;
|
|
11861
|
+
templates;
|
|
11862
|
+
constructor(http) {
|
|
11863
|
+
super(http);
|
|
11864
|
+
this.jobs = new CronJobsNamespace(http);
|
|
11865
|
+
this.runs = new CronRunsNamespace(http);
|
|
11866
|
+
this.templates = new CronTemplatesNamespace(http);
|
|
11727
11867
|
}
|
|
11728
11868
|
}
|
|
11869
|
+
function jobBody(input) {
|
|
11870
|
+
const body = {};
|
|
11871
|
+
if (input.name !== undefined)
|
|
11872
|
+
body["name"] = input.name;
|
|
11873
|
+
if (input.description !== undefined)
|
|
11874
|
+
body["description"] = input.description;
|
|
11875
|
+
if (input.schedule !== undefined)
|
|
11876
|
+
body["schedule"] = input.schedule;
|
|
11877
|
+
if (input.timezone !== undefined)
|
|
11878
|
+
body["timezone"] = input.timezone;
|
|
11879
|
+
if (input.code !== undefined)
|
|
11880
|
+
body["code"] = input.code;
|
|
11881
|
+
if (input.scopes !== undefined)
|
|
11882
|
+
body["scopes"] = [...input.scopes];
|
|
11883
|
+
if (input.config !== undefined)
|
|
11884
|
+
body["config"] = input.config;
|
|
11885
|
+
if (input.secrets !== undefined)
|
|
11886
|
+
body["secrets"] = input.secrets;
|
|
11887
|
+
if (input.state !== undefined)
|
|
11888
|
+
body["state"] = input.state;
|
|
11889
|
+
if (input.network !== undefined)
|
|
11890
|
+
body["network"] = input.network;
|
|
11891
|
+
if (input.timeoutSeconds !== undefined)
|
|
11892
|
+
body["timeout_seconds"] = input.timeoutSeconds;
|
|
11893
|
+
if (input.outputDirId !== undefined)
|
|
11894
|
+
body["output_dir_id"] = input.outputDirId;
|
|
11895
|
+
if (input.enabled !== undefined)
|
|
11896
|
+
body["enabled"] = input.enabled;
|
|
11897
|
+
if (input.notifyOnFailure !== undefined)
|
|
11898
|
+
body["notify_on_failure"] = input.notifyOnFailure;
|
|
11899
|
+
if (input.notifyOnSuccess !== undefined)
|
|
11900
|
+
body["notify_on_success"] = input.notifyOnSuccess;
|
|
11901
|
+
if (input.templateSlug !== undefined)
|
|
11902
|
+
body["template_slug"] = input.templateSlug;
|
|
11903
|
+
return body;
|
|
11904
|
+
}
|
|
11729
11905
|
|
|
11730
11906
|
// src/resources/shortLinks.ts
|
|
11731
11907
|
var SHORT_LINK_BASE_URL = "https://omelhor.site";
|
|
@@ -12634,6 +12810,12 @@ class LlmChatsNamespace extends Resource {
|
|
|
12634
12810
|
await this.http.delete(`/llm_chats/${encodeURIComponent(id)}`, options);
|
|
12635
12811
|
}
|
|
12636
12812
|
}
|
|
12813
|
+
var LLM_COMPLETION_TOOLS = Object.freeze(["web_search", "read_url"]);
|
|
12814
|
+
var LLM_COMPLETION_MAX_MESSAGES = 200;
|
|
12815
|
+
var LLM_COMPLETION_MAX_MESSAGE_CHARS = 1e5;
|
|
12816
|
+
var LLM_COMPLETION_MAX_TOTAL_CHARS = 400000;
|
|
12817
|
+
var LLM_COMPLETION_MAX_OUTPUT_TOKENS = 16000;
|
|
12818
|
+
var LLM_COMPLETION_MAX_TOOL_CALLS = 6;
|
|
12637
12819
|
|
|
12638
12820
|
class LlmNamespace extends Resource {
|
|
12639
12821
|
chats;
|
|
@@ -12644,6 +12826,24 @@ class LlmNamespace extends Resource {
|
|
|
12644
12826
|
async models(options = {}) {
|
|
12645
12827
|
return this.http.get("/llm/models", options);
|
|
12646
12828
|
}
|
|
12829
|
+
async complete(input, options = {}) {
|
|
12830
|
+
const body = {
|
|
12831
|
+
messages: input.messages.map((message) => ({ role: message.role, content: message.content }))
|
|
12832
|
+
};
|
|
12833
|
+
if (input.model !== undefined)
|
|
12834
|
+
body["model"] = input.model;
|
|
12835
|
+
if (input.json !== undefined)
|
|
12836
|
+
body["json"] = input.json;
|
|
12837
|
+
if (input.temperature !== undefined)
|
|
12838
|
+
body["temperature"] = input.temperature;
|
|
12839
|
+
if (input.maxTokens !== undefined)
|
|
12840
|
+
body["max_tokens"] = input.maxTokens;
|
|
12841
|
+
if (input.tools !== undefined)
|
|
12842
|
+
body["tools"] = [...input.tools];
|
|
12843
|
+
if (input.language !== undefined)
|
|
12844
|
+
body["language"] = input.language;
|
|
12845
|
+
return this.http.post("/llm/completions", body, options);
|
|
12846
|
+
}
|
|
12647
12847
|
async usage(input = {}, options = {}) {
|
|
12648
12848
|
const query = {};
|
|
12649
12849
|
if (input.days !== undefined)
|
|
@@ -14024,7 +14224,10 @@ var QUOTA_RESOURCES = [
|
|
|
14024
14224
|
"caption_seconds",
|
|
14025
14225
|
"jumpstyle_edits",
|
|
14026
14226
|
"storage_nodes",
|
|
14027
|
-
"music_storage_bytes"
|
|
14227
|
+
"music_storage_bytes",
|
|
14228
|
+
"llm_requests",
|
|
14229
|
+
"llm_cost_microusd",
|
|
14230
|
+
"search_requests"
|
|
14028
14231
|
];
|
|
14029
14232
|
|
|
14030
14233
|
class QuotasNamespace extends Resource {
|
|
@@ -14438,8 +14641,17 @@ var SEARCH_CATEGORIES = Object.freeze(["general", "images", "news", "videos"]);
|
|
|
14438
14641
|
var SEARCH_TIME_RANGES = Object.freeze(["day", "week", "month", "year"]);
|
|
14439
14642
|
var SEARCH_MAX_PAGE = 10;
|
|
14440
14643
|
var SEARCH_MAX_QUERY_LENGTH = 200;
|
|
14644
|
+
var SEARCH_PAGE_MAX_URL_LENGTH = 2000;
|
|
14645
|
+
var SEARCH_PAGE_MIN_CHARS = 200;
|
|
14646
|
+
var SEARCH_PAGE_MAX_CHARS = 20000;
|
|
14441
14647
|
|
|
14442
14648
|
class SearchNamespace extends Resource {
|
|
14649
|
+
async readPage(input, options = {}) {
|
|
14650
|
+
const query = { url: input.url };
|
|
14651
|
+
if (input.maxChars !== undefined)
|
|
14652
|
+
query["max_chars"] = input.maxChars;
|
|
14653
|
+
return this.http.get("/search/page", { ...options, query });
|
|
14654
|
+
}
|
|
14443
14655
|
async query(input, options = {}) {
|
|
14444
14656
|
const query = { q: input.q };
|
|
14445
14657
|
if (input.page !== undefined)
|
|
@@ -15951,6 +16163,7 @@ class Oms {
|
|
|
15951
16163
|
admin;
|
|
15952
16164
|
search;
|
|
15953
16165
|
llm;
|
|
16166
|
+
cron;
|
|
15954
16167
|
realtime;
|
|
15955
16168
|
local = local;
|
|
15956
16169
|
constructor(options = {}) {
|
|
@@ -15997,6 +16210,7 @@ class Oms {
|
|
|
15997
16210
|
this.realtime = new RealtimeNamespace(this.http);
|
|
15998
16211
|
this.search = new SearchNamespace(this.http);
|
|
15999
16212
|
this.llm = new LlmNamespace(this.http);
|
|
16213
|
+
this.cron = new CronNamespace(this.http);
|
|
16000
16214
|
}
|
|
16001
16215
|
get baseUrl() {
|
|
16002
16216
|
return this.http.baseUrl;
|
|
@@ -16116,7 +16330,6 @@ export {
|
|
|
16116
16330
|
isBookChatBusy,
|
|
16117
16331
|
isBlock,
|
|
16118
16332
|
isArtistImportTerminal,
|
|
16119
|
-
intelArticleImageUrl,
|
|
16120
16333
|
headerRecord,
|
|
16121
16334
|
handshakeUrl,
|
|
16122
16335
|
generatePassword,
|
|
@@ -16204,6 +16417,9 @@ export {
|
|
|
16204
16417
|
SESSION_BEARER_PREFIX_LENGTH,
|
|
16205
16418
|
SERVICE_USAGE_IDS,
|
|
16206
16419
|
SEARCH_TIME_RANGES,
|
|
16420
|
+
SEARCH_PAGE_MIN_CHARS,
|
|
16421
|
+
SEARCH_PAGE_MAX_URL_LENGTH,
|
|
16422
|
+
SEARCH_PAGE_MAX_CHARS,
|
|
16207
16423
|
SEARCH_MAX_QUERY_LENGTH,
|
|
16208
16424
|
SEARCH_MAX_PAGE,
|
|
16209
16425
|
SEARCH_CATEGORIES,
|
|
@@ -16230,6 +16446,7 @@ export {
|
|
|
16230
16446
|
PLAYLIST_IMPORT_PREVIEW_BURST_LIMIT_PER_MINUTE,
|
|
16231
16447
|
PLAYLIST_FILTER_COLUMNS,
|
|
16232
16448
|
PART_URL_WINDOW,
|
|
16449
|
+
OwnBlogsNamespace,
|
|
16233
16450
|
OmsTimeoutError,
|
|
16234
16451
|
OmsQuotaError,
|
|
16235
16452
|
OmsOAuthError,
|
|
@@ -16252,10 +16469,25 @@ export {
|
|
|
16252
16469
|
NotificationsNamespace,
|
|
16253
16470
|
NotificationPreferencesNamespace,
|
|
16254
16471
|
NotepadsNamespace,
|
|
16472
|
+
NewsSourcesNamespace,
|
|
16473
|
+
NewsScriptsNamespace,
|
|
16474
|
+
NewsNamespace,
|
|
16475
|
+
NewsItemsNamespace,
|
|
16476
|
+
NewsFeedsNamespace,
|
|
16255
16477
|
NULL_SENTINEL,
|
|
16256
16478
|
NOTIFICATION_KINDS,
|
|
16257
16479
|
NOTIFICATION_FILTER_COLUMNS,
|
|
16258
16480
|
NOTIFICATION_CATEGORIES,
|
|
16481
|
+
NEWS_SOURCE_HEALTHS,
|
|
16482
|
+
NEWS_SOURCE_FILTER_COLUMNS,
|
|
16483
|
+
NEWS_SOURCE_DISABLE_AFTER_FAILURES,
|
|
16484
|
+
NEWS_SCRIPT_MAX_CODE_BYTES,
|
|
16485
|
+
NEWS_SCRIPT_FILTER_COLUMNS,
|
|
16486
|
+
NEWS_ITEM_FILTER_COLUMNS,
|
|
16487
|
+
NEWS_FEED_MIN_RETENTION_DAYS,
|
|
16488
|
+
NEWS_FEED_MAX_RETENTION_DAYS,
|
|
16489
|
+
NEWS_FEED_FILTER_COLUMNS,
|
|
16490
|
+
NEWS_FEEDS_PER_ACCOUNT,
|
|
16259
16491
|
NATIVE_LOOPBACK_REDIRECT_VALUE,
|
|
16260
16492
|
NATIVE_LOOPBACK_REDIRECT_URIS,
|
|
16261
16493
|
MyOauthApplicationsNamespace,
|
|
@@ -16338,6 +16570,12 @@ export {
|
|
|
16338
16570
|
LLM_TOOL_CALL_STATUSES,
|
|
16339
16571
|
LLM_PROVIDER_KINDS,
|
|
16340
16572
|
LLM_LIMIT_KEYS,
|
|
16573
|
+
LLM_COMPLETION_TOOLS,
|
|
16574
|
+
LLM_COMPLETION_MAX_TOTAL_CHARS,
|
|
16575
|
+
LLM_COMPLETION_MAX_TOOL_CALLS,
|
|
16576
|
+
LLM_COMPLETION_MAX_OUTPUT_TOKENS,
|
|
16577
|
+
LLM_COMPLETION_MAX_MESSAGE_CHARS,
|
|
16578
|
+
LLM_COMPLETION_MAX_MESSAGES,
|
|
16341
16579
|
LLM_CHAT_ROLES,
|
|
16342
16580
|
LLM_CHAT_MESSAGE_STATUSES,
|
|
16343
16581
|
LLM_CHAT_FILTER_COLUMNS,
|
|
@@ -16363,27 +16601,7 @@ export {
|
|
|
16363
16601
|
JAM_SKIP_MODES,
|
|
16364
16602
|
JAM_QUEUE_MODES,
|
|
16365
16603
|
IpLookupNamespace,
|
|
16366
|
-
IntelStatsNamespace,
|
|
16367
|
-
IntelSourcesNamespace,
|
|
16368
|
-
IntelScriptsNamespace,
|
|
16369
|
-
IntelReportsNamespace,
|
|
16370
|
-
IntelNamespace,
|
|
16371
|
-
IntelItemsNamespace,
|
|
16372
|
-
IntelConfigNamespace,
|
|
16373
|
-
IntelArticlesNamespace,
|
|
16374
16604
|
INTERNAL_SERVICE_SLUGS,
|
|
16375
|
-
INTEL_SOURCE_HEALTHS,
|
|
16376
|
-
INTEL_SOURCE_FILTER_COLUMNS,
|
|
16377
|
-
INTEL_SOURCE_DISABLE_AFTER_FAILURES,
|
|
16378
|
-
INTEL_SCRIPT_MAX_CODE_BYTES,
|
|
16379
|
-
INTEL_SCRIPT_FILTER_COLUMNS,
|
|
16380
|
-
INTEL_REPORT_KINDS,
|
|
16381
|
-
INTEL_REPORT_FILTER_COLUMNS,
|
|
16382
|
-
INTEL_PROMPT_KEYS,
|
|
16383
|
-
INTEL_ITEM_FILTER_COLUMNS,
|
|
16384
|
-
INTEL_IMAGE_PROXY_BASE_URL,
|
|
16385
|
-
INTEL_ARTICLE_FILTER_COLUMNS,
|
|
16386
|
-
INTEL_ARTICLE_CATEGORIES,
|
|
16387
16605
|
IDENTITY_PROVIDERS,
|
|
16388
16606
|
GroupChatsNamespace,
|
|
16389
16607
|
GroupChatMessagesNamespace,
|
|
@@ -16429,10 +16647,29 @@ export {
|
|
|
16429
16647
|
DEFAULT_DEVICE_EXPIRY_MS,
|
|
16430
16648
|
DEFAULT_BATCH_SIZE,
|
|
16431
16649
|
DEFAULT_BASE_URL,
|
|
16650
|
+
CronTemplatesNamespace,
|
|
16651
|
+
CronRunsNamespace,
|
|
16652
|
+
CronNamespace,
|
|
16653
|
+
CronJobsNamespace,
|
|
16432
16654
|
ContentNamespace,
|
|
16433
16655
|
ChestsNamespace,
|
|
16434
16656
|
ChestEntriesNamespace,
|
|
16435
16657
|
CaptionsNamespace,
|
|
16658
|
+
CRON_VAR_TYPES,
|
|
16659
|
+
CRON_RUN_TRIGGERS,
|
|
16660
|
+
CRON_RUN_STATUSES,
|
|
16661
|
+
CRON_RUN_FILTER_COLUMNS,
|
|
16662
|
+
CRON_JOB_SCOPES,
|
|
16663
|
+
CRON_JOB_MIN_TIMEOUT_SECONDS,
|
|
16664
|
+
CRON_JOB_MIN_INTERVAL_MINUTES,
|
|
16665
|
+
CRON_JOB_MAX_TIMEOUT_SECONDS,
|
|
16666
|
+
CRON_JOB_MAX_STATE_BYTES,
|
|
16667
|
+
CRON_JOB_MAX_CONFIG_BYTES,
|
|
16668
|
+
CRON_JOB_MAX_CODE_BYTES,
|
|
16669
|
+
CRON_JOB_HEALTHS,
|
|
16670
|
+
CRON_JOB_FILTER_COLUMNS,
|
|
16671
|
+
CRON_JOB_DISABLE_AFTER_FAILURES,
|
|
16672
|
+
CRON_JOB_BASE_MAX_TIMEOUT_SECONDS,
|
|
16436
16673
|
CAPTION_UPLOAD_TOKEN_TTL_MS,
|
|
16437
16674
|
CAPTION_UPLOAD_CONCURRENCY,
|
|
16438
16675
|
CAPTION_PART_SIZE,
|
|
@@ -16469,6 +16706,8 @@ export {
|
|
|
16469
16706
|
BOOK_ANNOTATION_NOTE_MAX_LENGTH,
|
|
16470
16707
|
BOOK_ANNOTATION_KINDS,
|
|
16471
16708
|
BOOK_ANNOTATION_FILTER_COLUMNS,
|
|
16709
|
+
BLOG_VISIBILITIES,
|
|
16710
|
+
BLOGS_PER_ACCOUNT,
|
|
16472
16711
|
BASE_FILTER_COLUMNS,
|
|
16473
16712
|
AuthorizedApplicationsNamespace,
|
|
16474
16713
|
AuthSessionsNamespace,
|