@keboola/api-client 42.0.0 → 43.0.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/API-SURFACE.md +2 -1
- package/CHANGELOG.md +12 -0
- package/dist/collect-97WhfEpt.js +30 -0
- package/dist/collect-97WhfEpt.js.map +1 -0
- package/dist/collect-B5TCNiT1.cjs +35 -0
- package/dist/collect-B5TCNiT1.cjs.map +1 -0
- package/dist/createAbortError-BxupOt-6.js +6 -0
- package/dist/createAbortError-BxupOt-6.js.map +1 -0
- package/dist/createAbortError-RendOpo7.cjs +11 -0
- package/dist/createAbortError-RendOpo7.cjs.map +1 -0
- package/dist/dataScience/index.d.cts +1 -1
- package/dist/dataScience/index.d.ts +1 -1
- package/dist/dataScience/types.d.cts +1 -1
- package/dist/dataScience/types.d.ts +1 -1
- package/dist/developerPortal/index.d.cts +2 -2
- package/dist/developerPortal/index.d.ts +2 -2
- package/dist/developerPortal/types.d.cts +1 -1
- package/dist/developerPortal/types.d.ts +1 -1
- package/dist/{index-VnJCp8IL.d.cts → index-04pgr-EO.d.cts} +3 -2
- package/dist/{index-CcMHJcuP.d.cts → index-BHWTa4YN.d.cts} +3 -2
- package/dist/{index-CpE_NWuq.d.ts → index-BQZ9njUC.d.ts} +28 -10
- package/dist/{index-Cz0MXhzs.d.cts → index-C7KThHI3.d.cts} +6 -2
- package/dist/{index-D-VMgpGc.d.ts → index-CAvT_ahE.d.ts} +6 -2
- package/dist/{index-C11JSxBY.d.ts → index-CX8GAP2g.d.ts} +13 -8
- package/dist/{index-CKENwClW.d.cts → index-CdS-c6sC.d.cts} +3 -3
- package/dist/{index-B2-7WJ-E.d.cts → index-Cm04GKm9.d.cts} +28 -10
- package/dist/{index-C4TNAA8-.d.cts → index-Cvkrjh--.d.cts} +13 -8
- package/dist/{index-Cw-d6vV3.d.ts → index-D7of2MMN.d.ts} +3 -3
- package/dist/{index-DwM1EpnZ.d.ts → index-R-w0Zncz.d.ts} +3 -2
- package/dist/{index-D_-4uQF8.d.ts → index-zyxZVJnd.d.ts} +3 -2
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/{jobStatus-CfRtsIpv.js → jobStatus-CDp4r5JQ.js} +3 -5
- package/dist/jobStatus-CDp4r5JQ.js.map +1 -0
- package/dist/{jobStatus-BMlsyXWI.cjs → jobStatus-CcNlIy5R.cjs} +5 -13
- package/dist/{jobStatus-CfRtsIpv.js.map → jobStatus-CcNlIy5R.cjs.map} +1 -1
- package/dist/kaiAgent/index.d.cts +1 -1
- package/dist/kaiAgent/index.d.ts +1 -1
- package/dist/kaiAgent/types.d.cts +1 -1
- package/dist/kaiAgent/types.d.ts +1 -1
- package/dist/microsoftGraph/index.d.cts +2 -1
- package/dist/microsoftGraph/index.d.ts +2 -1
- package/dist/microsoftGraph/types.d.cts +1 -1
- package/dist/microsoftGraph/types.d.ts +1 -1
- package/dist/oauth/index.d.cts +1 -1
- package/dist/oauth/index.d.ts +1 -1
- package/dist/oauth/types.d.cts +1 -1
- package/dist/oauth/types.d.ts +1 -1
- package/dist/omnisearch/index.d.cts +1 -1
- package/dist/omnisearch/index.d.ts +1 -1
- package/dist/omnisearch/types.d.cts +1 -1
- package/dist/omnisearch/types.d.ts +1 -1
- package/dist/queryService/index.cjs +1 -1
- package/dist/queryService/index.d.cts +1 -1
- package/dist/queryService/index.d.ts +1 -1
- package/dist/queryService/index.js +1 -1
- package/dist/{queryService-Dx6AdxOl.cjs → queryService-DSww_TJp.cjs} +2 -2
- package/dist/{queryService-Dx6AdxOl.cjs.map → queryService-DSww_TJp.cjs.map} +1 -1
- package/dist/{queryService-CdtogGr7.js → queryService-Drvy1ztW.js} +2 -2
- package/dist/{queryService-CdtogGr7.js.map → queryService-Drvy1ztW.js.map} +1 -1
- package/dist/queue/index.cjs +1 -1
- package/dist/queue/index.d.cts +1 -1
- package/dist/queue/index.d.ts +1 -1
- package/dist/queue/index.js +1 -1
- package/dist/{queue-f2xsjy0o.js → queue-Ci_f_5TI.js} +4 -29
- package/dist/queue-Ci_f_5TI.js.map +1 -0
- package/dist/{queue-wIdnMtaZ.cjs → queue-DpMvv8C-.cjs} +4 -35
- package/dist/{queue-f2xsjy0o.js.map → queue-DpMvv8C-.cjs.map} +1 -1
- package/dist/scheduler/index.d.cts +13 -1
- package/dist/scheduler/index.d.ts +13 -1
- package/dist/scheduler/types.d.cts +1 -1
- package/dist/scheduler/types.d.ts +1 -1
- package/dist/{schema-D1oxyn1O.d.cts → schema-DJa9WBjR.d.cts} +28 -1
- package/dist/{schema-D1oxyn1O.d.ts → schema-DJa9WBjR.d.ts} +28 -1
- package/dist/sdk/configurations/index.d.cts +1 -1
- package/dist/sdk/configurations/index.d.ts +1 -1
- package/dist/sdk/developerPortal/index.d.cts +13 -8
- package/dist/sdk/developerPortal/index.d.ts +13 -8
- package/dist/sdk/queryService/index.cjs +1 -1
- package/dist/sdk/queryService/index.d.cts +1 -1
- package/dist/sdk/queryService/index.d.ts +1 -1
- package/dist/sdk/queryService/index.js +1 -1
- package/dist/sdk/storage/index.d.cts +1 -1
- package/dist/sdk/storage/index.d.ts +1 -1
- package/dist/sdk/vault/index.d.cts +1 -1
- package/dist/sdk/vault/index.d.ts +1 -1
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.d.cts +1 -1
- package/dist/storage/index.d.ts +1 -1
- package/dist/storage/index.js +1 -1
- package/dist/{storage-BkdjgtCU.js → storage-C-lyo_iX.js} +2 -2
- package/dist/{storage-BkdjgtCU.js.map → storage-C-lyo_iX.js.map} +1 -1
- package/dist/{storage-CXQTTVXl.cjs → storage-DAJquqEw.cjs} +2 -2
- package/dist/{storage-CXQTTVXl.cjs.map → storage-DAJquqEw.cjs.map} +1 -1
- package/dist/{types-n4PTnLii.d.ts → types-AYX7VtS6.d.ts} +179 -2
- package/dist/{types-DIiOMV-t.d.ts → types-B3P5yAuI.d.ts} +5 -1
- package/dist/{types-BLNB882w.d.cts → types-B3i04d_A.d.cts} +5 -1
- package/dist/{types-CZXPu3gn.d.ts → types-BBUZ9EHs.d.ts} +4 -1
- package/dist/{types-CP_LBmw3.d.cts → types-BhOUS9j1.d.cts} +26 -3
- package/dist/{types-tKkeLa2B.d.cts → types-BiEh5c_t.d.cts} +60 -8
- package/dist/{types-RbrfiY8T.d.ts → types-CAp1VexS.d.ts} +3 -3
- package/dist/{types-DinIJ1D_.d.cts → types-CBPKpLTf.d.cts} +179 -2
- package/dist/{types-DE9hgr7i.d.cts → types-CgBzm1YR.d.cts} +106 -1
- package/dist/{types-B61aCifg.d.cts → types-D9axmt5o.d.cts} +4 -1
- package/dist/{types-CWyXTMwy.d.ts → types-DaMmgW-O.d.ts} +106 -1
- package/dist/{types-q-1r_9d1.d.ts → types-DzV6LaZq.d.ts} +60 -8
- package/dist/{types-6kuMW4JW.d.cts → types-c_bsDkV6.d.cts} +3 -3
- package/dist/{types-DgJeO9Nd.d.ts → types-gcAb6olM.d.ts} +26 -3
- package/dist/vault/index.cjs +27 -2
- package/dist/vault/index.cjs.map +1 -1
- package/dist/vault/index.d.cts +1 -1
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/index.js +27 -2
- package/dist/vault/index.js.map +1 -1
- package/dist/vault/types.d.cts +1 -1
- package/dist/vault/types.d.ts +1 -1
- package/package.json +1 -1
- package/surface/dataScience.md +2 -2
- package/surface/kaiAgent.md +1 -1
- package/surface/scheduler.md +3 -3
- package/surface/vault.md +1 -0
- package/dist/jobStatus-BMlsyXWI.cjs.map +0 -1
- package/dist/queue-wIdnMtaZ.cjs.map +0 -1
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as collect } from "./collect-97WhfEpt.js";
|
|
2
|
+
import { a as poller, t as jobStatus } from "./jobStatus-CDp4r5JQ.js";
|
|
2
3
|
import { t as createGenericFetchClient } from "./createGenericFetchClient-CX9Hn3Aq.js";
|
|
3
4
|
import { t as createOpenapiFetchClient } from "./createOpenapiFetchClient-BxcLLU_N.js";
|
|
4
5
|
import { t as createAuthHeaders } from "./auth-DUHTJTwS.js";
|
|
5
|
-
//#region src/utils/async/collect.ts
|
|
6
|
-
/**
|
|
7
|
-
* Collects items from an offset-paginated endpoint — up to `limit` of them, or all of them when
|
|
8
|
-
* `limit` is omitted. Calls `fetchFrom` sequentially with the offset advancing by the number of
|
|
9
|
-
* items received, and hands it `pageSize` so the request and the traversal agree on one value.
|
|
10
|
-
*
|
|
11
|
-
* Traversal ends on a page shorter than `pageSize`, or — when `pageSize` is omitted — only on an
|
|
12
|
-
* empty page. Passing it therefore saves the trailing request, at the cost of stopping early if the
|
|
13
|
-
* endpoint returns fewer items per page than asked for.
|
|
14
|
-
*/
|
|
15
|
-
const collect = async ({ fetchFrom, pageSize, limit, signal }) => {
|
|
16
|
-
if (signal?.aborted) throw createAbortError(signal.reason);
|
|
17
|
-
if (limit !== void 0 && limit < 0) throw new Error("Invalid collect limit");
|
|
18
|
-
if (pageSize !== void 0 && pageSize < 1) throw new Error("Invalid collect pageSize");
|
|
19
|
-
const items = [];
|
|
20
|
-
if (limit === 0) return items;
|
|
21
|
-
let offset = 0;
|
|
22
|
-
while (true) {
|
|
23
|
-
const batch = await fetchFrom(offset, pageSize, signal);
|
|
24
|
-
items.push(...batch);
|
|
25
|
-
offset += batch.length;
|
|
26
|
-
if (limit !== void 0 && items.length >= limit) return items.slice(0, limit);
|
|
27
|
-
if (pageSize === void 0 ? batch.length === 0 : batch.length < pageSize) return items;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
6
|
//#region src/clients/queue/poller.ts
|
|
32
7
|
const DEFAULT_POLL_INTERVAL = 2e3;
|
|
33
8
|
/**
|
|
@@ -118,6 +93,6 @@ const createQueueClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
118
93
|
};
|
|
119
94
|
};
|
|
120
95
|
//#endregion
|
|
121
|
-
export {
|
|
96
|
+
export { createQueueClient as t };
|
|
122
97
|
|
|
123
|
-
//# sourceMappingURL=queue-
|
|
98
|
+
//# sourceMappingURL=queue-Ci_f_5TI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue-Ci_f_5TI.js","names":[],"sources":["../src/clients/queue/poller.ts","../src/clients/queue/queueClient.ts"],"sourcesContent":["import { jobStatus } from '../../domain/jobStatus';\nimport { poller } from '../../utils/async';\n\nimport type { GetQueueJobPath, QueueJob } from './types';\n\nconst DEFAULT_POLL_INTERVAL = 2000;\n\ntype QueueJobPollOptions = {\n interval?: number;\n maxAttempts?: number;\n timeout?: number;\n signal?: AbortSignal;\n};\n\ntype GetJob = (jobId: GetQueueJobPath['jobId'], signal?: AbortSignal) => Promise<QueueJob>;\n\n/**\n * Waits on a queue job.\n *\n * - Takes the job, not its id: the component makes the poll legible in dev tools.\n * - `pollFn` reads the id off the key, so the key is the whole input.\n * - A job that ended as `error` is a `done` poll; interpreting it is the caller's job.\n */\nexport const createJobPoller =\n ({ getJob }: { getJob: GetJob }) =>\n (\n { id, component }: { id: GetQueueJobPath['jobId']; component: string },\n { interval, maxAttempts, timeout, signal }: QueueJobPollOptions = {},\n ) =>\n poller({\n pollKey: ['queue.job', { jobId: id, component }] as const,\n pollFn: ({ pollKey: [, params], signal: pollSignal }) => getJob(params.jobId, pollSignal),\n until: ({ data }) => jobStatus.queue.isTerminal(data.status),\n backoff: { type: 'constant', interval: interval ?? DEFAULT_POLL_INTERVAL },\n maxAttempts,\n timeout,\n signal,\n });\n","import { createGenericFetchClient, createOpenapiFetchClient } from '../../fetchClient';\nimport { collect } from '../../utils';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport { createJobPoller } from './poller';\nimport type {\n CreateJobBody,\n GetQueueJobPath,\n KillJobPath,\n OrchestrationRerunPlanPath,\n SearchAllJobsQuery,\n SearchGroupedJobsQuery,\n SearchJobsQuery,\n} from './types';\n\nexport const createQueueClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n const genericClient = createGenericFetchClient({ baseUrl, middlewares });\n\n const getJob = async (jobId: GetQueueJobPath['jobId'], signal?: AbortSignal) => {\n const { data } = await client.get(\n '/jobs/{jobId}',\n {\n path: { jobId },\n },\n { signal },\n );\n\n return data;\n };\n\n const searchJobs = async (query?: SearchJobsQuery, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/search/jobs',\n {\n query,\n },\n { signal },\n );\n\n return data;\n };\n\n const searchAllJobs = (query: SearchAllJobsQuery, signal?: AbortSignal) => {\n return collect({\n pageSize: query.limit,\n signal,\n fetchFrom: (offset, pageSize, batchSignal) => {\n return searchJobs({ ...query, limit: pageSize, offset }, batchSignal);\n },\n });\n };\n\n const createJob = async (body: CreateJobBody, signal?: AbortSignal) => {\n const { data } = await client.post('/jobs', { body }, { signal });\n\n return data;\n };\n\n const killJob = async (jobId: KillJobPath['jobId'], signal?: AbortSignal) => {\n const { data } = await client.post(\n '/jobs/{jobId}/kill',\n {\n path: { jobId },\n },\n { signal },\n );\n\n return data;\n };\n\n const searchGroupedJobs = async (query: SearchGroupedJobsQuery, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/search/grouped-jobs',\n {\n query,\n },\n { signal },\n );\n\n return data;\n };\n\n const getOrchestrationRerunPlan = async (\n jobId: OrchestrationRerunPlanPath['jobId'],\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/orchestration-rerun-plan/{jobId}',\n {\n path: { jobId },\n },\n { signal },\n );\n\n return data;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await genericClient.get('/health-check', {}, { signal });\n\n return data;\n };\n\n // Every wait on a queue job is the same wait, so it is the client's rather than a caller's.\n const poller = createJobPoller({ getJob });\n\n return {\n healthCheck,\n poller,\n getJob,\n searchJobs,\n searchAllJobs,\n createJob,\n killJob,\n searchGroupedJobs,\n getOrchestrationRerunPlan,\n };\n};\n"],"mappings":";;;;;;AAKA,MAAM,wBAAwB;;;;;;;;AAkB9B,MAAa,mBACV,EAAE,cAED,EAAE,IAAI,aACN,EAAE,UAAU,aAAa,SAAS,WAAgC,CAAC,MAEnE,OAAO;CACL,SAAS,CAAC,aAAa;EAAE,OAAO;EAAI;CAAU,CAAC;CAC/C,SAAS,EAAE,SAAS,GAAG,SAAS,QAAQ,iBAAiB,OAAO,OAAO,OAAO,UAAU;CACxF,QAAQ,EAAE,WAAW,UAAU,MAAM,WAAW,KAAK,MAAM;CAC3D,SAAS;EAAE,MAAM;EAAY,UAAU,YAAY;CAAsB;CACzE;CACA;CACA;AACF,CAAC;;;ACpBL,MAAa,qBAAqB,EAAE,SAAS,aAAa,WAA8B;CACtF,MAAM,SAAS,yBAAgC;EAC7C;EACA;EACA,SAAS,kBAAkB,IAAI;CACjC,CAAC;CACD,MAAM,gBAAgB,yBAAyB;EAAE;EAAS;CAAY,CAAC;CAEvE,MAAM,SAAS,OAAO,OAAiC,WAAyB;EAC9E,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,iBACA,EACE,MAAM,EAAE,MAAM,EAChB,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,aAAa,OAAO,OAAyB,WAAyB;EAC1E,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,gBACA,EACE,MACF,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,iBAAiB,OAA2B,WAAyB;EACzE,OAAO,QAAQ;GACb,UAAU,MAAM;GAChB;GACA,YAAY,QAAQ,UAAU,gBAAgB;IAC5C,OAAO,WAAW;KAAE,GAAG;KAAO,OAAO;KAAU;IAAO,GAAG,WAAW;GACtE;EACF,CAAC;CACH;CAEA,MAAM,YAAY,OAAO,MAAqB,WAAyB;EACrE,MAAM,EAAE,SAAS,MAAM,OAAO,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,OAAO,CAAC;EAEhE,OAAO;CACT;CAEA,MAAM,UAAU,OAAO,OAA6B,WAAyB;EAC3E,MAAM,EAAE,SAAS,MAAM,OAAO,KAC5B,sBACA,EACE,MAAM,EAAE,MAAM,EAChB,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,oBAAoB,OAAO,OAA+B,WAAyB;EACvF,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,wBACA,EACE,MACF,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,4BAA4B,OAChC,OACA,WACG;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,qCACA,EACE,MAAM,EAAE,MAAM,EAChB,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,cAAc,OAAO,WAAyB;EAClD,MAAM,EAAE,SAAS,MAAM,cAAc,IAAI,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC;EAExE,OAAO;CACT;CAKA,OAAO;EACL;EACA,QAJa,gBAAgB,EAAE,OAAO,CAIjC;EACL;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_collect = require("./collect-B5TCNiT1.cjs");
|
|
2
|
+
const require_jobStatus = require("./jobStatus-CcNlIy5R.cjs");
|
|
2
3
|
const require_createGenericFetchClient = require("./createGenericFetchClient-C7Y0YVfc.cjs");
|
|
3
4
|
const require_createOpenapiFetchClient = require("./createOpenapiFetchClient-DY5s-aH6.cjs");
|
|
4
5
|
const require_auth = require("./auth-zfI04oj7.cjs");
|
|
5
|
-
//#region src/utils/async/collect.ts
|
|
6
|
-
/**
|
|
7
|
-
* Collects items from an offset-paginated endpoint — up to `limit` of them, or all of them when
|
|
8
|
-
* `limit` is omitted. Calls `fetchFrom` sequentially with the offset advancing by the number of
|
|
9
|
-
* items received, and hands it `pageSize` so the request and the traversal agree on one value.
|
|
10
|
-
*
|
|
11
|
-
* Traversal ends on a page shorter than `pageSize`, or — when `pageSize` is omitted — only on an
|
|
12
|
-
* empty page. Passing it therefore saves the trailing request, at the cost of stopping early if the
|
|
13
|
-
* endpoint returns fewer items per page than asked for.
|
|
14
|
-
*/
|
|
15
|
-
const collect = async ({ fetchFrom, pageSize, limit, signal }) => {
|
|
16
|
-
if (signal?.aborted) throw require_jobStatus.createAbortError(signal.reason);
|
|
17
|
-
if (limit !== void 0 && limit < 0) throw new Error("Invalid collect limit");
|
|
18
|
-
if (pageSize !== void 0 && pageSize < 1) throw new Error("Invalid collect pageSize");
|
|
19
|
-
const items = [];
|
|
20
|
-
if (limit === 0) return items;
|
|
21
|
-
let offset = 0;
|
|
22
|
-
while (true) {
|
|
23
|
-
const batch = await fetchFrom(offset, pageSize, signal);
|
|
24
|
-
items.push(...batch);
|
|
25
|
-
offset += batch.length;
|
|
26
|
-
if (limit !== void 0 && items.length >= limit) return items.slice(0, limit);
|
|
27
|
-
if (pageSize === void 0 ? batch.length === 0 : batch.length < pageSize) return items;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
6
|
//#region src/clients/queue/poller.ts
|
|
32
7
|
const DEFAULT_POLL_INTERVAL = 2e3;
|
|
33
8
|
/**
|
|
@@ -73,7 +48,7 @@ const createQueueClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
73
48
|
return data;
|
|
74
49
|
};
|
|
75
50
|
const searchAllJobs = (query, signal) => {
|
|
76
|
-
return collect({
|
|
51
|
+
return require_collect.collect({
|
|
77
52
|
pageSize: query.limit,
|
|
78
53
|
signal,
|
|
79
54
|
fetchFrom: (offset, pageSize, batchSignal) => {
|
|
@@ -118,12 +93,6 @@ const createQueueClient = ({ baseUrl, middlewares, auth }) => {
|
|
|
118
93
|
};
|
|
119
94
|
};
|
|
120
95
|
//#endregion
|
|
121
|
-
Object.defineProperty(exports, "collect", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function() {
|
|
124
|
-
return collect;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
96
|
Object.defineProperty(exports, "createQueueClient", {
|
|
128
97
|
enumerable: true,
|
|
129
98
|
get: function() {
|
|
@@ -131,4 +100,4 @@ Object.defineProperty(exports, "createQueueClient", {
|
|
|
131
100
|
}
|
|
132
101
|
});
|
|
133
102
|
|
|
134
|
-
//# sourceMappingURL=queue-
|
|
103
|
+
//# sourceMappingURL=queue-DpMvv8C-.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-
|
|
1
|
+
{"version":3,"file":"queue-DpMvv8C-.cjs","names":["poller","jobStatus","createOpenapiFetchClient","createAuthHeaders","createGenericFetchClient","collect"],"sources":["../src/clients/queue/poller.ts","../src/clients/queue/queueClient.ts"],"sourcesContent":["import { jobStatus } from '../../domain/jobStatus';\nimport { poller } from '../../utils/async';\n\nimport type { GetQueueJobPath, QueueJob } from './types';\n\nconst DEFAULT_POLL_INTERVAL = 2000;\n\ntype QueueJobPollOptions = {\n interval?: number;\n maxAttempts?: number;\n timeout?: number;\n signal?: AbortSignal;\n};\n\ntype GetJob = (jobId: GetQueueJobPath['jobId'], signal?: AbortSignal) => Promise<QueueJob>;\n\n/**\n * Waits on a queue job.\n *\n * - Takes the job, not its id: the component makes the poll legible in dev tools.\n * - `pollFn` reads the id off the key, so the key is the whole input.\n * - A job that ended as `error` is a `done` poll; interpreting it is the caller's job.\n */\nexport const createJobPoller =\n ({ getJob }: { getJob: GetJob }) =>\n (\n { id, component }: { id: GetQueueJobPath['jobId']; component: string },\n { interval, maxAttempts, timeout, signal }: QueueJobPollOptions = {},\n ) =>\n poller({\n pollKey: ['queue.job', { jobId: id, component }] as const,\n pollFn: ({ pollKey: [, params], signal: pollSignal }) => getJob(params.jobId, pollSignal),\n until: ({ data }) => jobStatus.queue.isTerminal(data.status),\n backoff: { type: 'constant', interval: interval ?? DEFAULT_POLL_INTERVAL },\n maxAttempts,\n timeout,\n signal,\n });\n","import { createGenericFetchClient, createOpenapiFetchClient } from '../../fetchClient';\nimport { collect } from '../../utils';\nimport { createAuthHeaders } from '../auth';\nimport type { ClientInitOptions } from '../types';\n\nimport type { paths } from './__generated__/schema';\nimport { createJobPoller } from './poller';\nimport type {\n CreateJobBody,\n GetQueueJobPath,\n KillJobPath,\n OrchestrationRerunPlanPath,\n SearchAllJobsQuery,\n SearchGroupedJobsQuery,\n SearchJobsQuery,\n} from './types';\n\nexport const createQueueClient = ({ baseUrl, middlewares, auth }: ClientInitOptions) => {\n const client = createOpenapiFetchClient<paths>({\n baseUrl,\n middlewares,\n headers: createAuthHeaders(auth),\n });\n const genericClient = createGenericFetchClient({ baseUrl, middlewares });\n\n const getJob = async (jobId: GetQueueJobPath['jobId'], signal?: AbortSignal) => {\n const { data } = await client.get(\n '/jobs/{jobId}',\n {\n path: { jobId },\n },\n { signal },\n );\n\n return data;\n };\n\n const searchJobs = async (query?: SearchJobsQuery, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/search/jobs',\n {\n query,\n },\n { signal },\n );\n\n return data;\n };\n\n const searchAllJobs = (query: SearchAllJobsQuery, signal?: AbortSignal) => {\n return collect({\n pageSize: query.limit,\n signal,\n fetchFrom: (offset, pageSize, batchSignal) => {\n return searchJobs({ ...query, limit: pageSize, offset }, batchSignal);\n },\n });\n };\n\n const createJob = async (body: CreateJobBody, signal?: AbortSignal) => {\n const { data } = await client.post('/jobs', { body }, { signal });\n\n return data;\n };\n\n const killJob = async (jobId: KillJobPath['jobId'], signal?: AbortSignal) => {\n const { data } = await client.post(\n '/jobs/{jobId}/kill',\n {\n path: { jobId },\n },\n { signal },\n );\n\n return data;\n };\n\n const searchGroupedJobs = async (query: SearchGroupedJobsQuery, signal?: AbortSignal) => {\n const { data } = await client.get(\n '/search/grouped-jobs',\n {\n query,\n },\n { signal },\n );\n\n return data;\n };\n\n const getOrchestrationRerunPlan = async (\n jobId: OrchestrationRerunPlanPath['jobId'],\n signal?: AbortSignal,\n ) => {\n const { data } = await client.get(\n '/orchestration-rerun-plan/{jobId}',\n {\n path: { jobId },\n },\n { signal },\n );\n\n return data;\n };\n\n const healthCheck = async (signal?: AbortSignal) => {\n const { data } = await genericClient.get('/health-check', {}, { signal });\n\n return data;\n };\n\n // Every wait on a queue job is the same wait, so it is the client's rather than a caller's.\n const poller = createJobPoller({ getJob });\n\n return {\n healthCheck,\n poller,\n getJob,\n searchJobs,\n searchAllJobs,\n createJob,\n killJob,\n searchGroupedJobs,\n getOrchestrationRerunPlan,\n };\n};\n"],"mappings":";;;;;;AAKA,MAAM,wBAAwB;;;;;;;;AAkB9B,MAAa,mBACV,EAAE,cAED,EAAE,IAAI,aACN,EAAE,UAAU,aAAa,SAAS,WAAgC,CAAC,MAEnEA,kBAAAA,OAAO;CACL,SAAS,CAAC,aAAa;EAAE,OAAO;EAAI;CAAU,CAAC;CAC/C,SAAS,EAAE,SAAS,GAAG,SAAS,QAAQ,iBAAiB,OAAO,OAAO,OAAO,UAAU;CACxF,QAAQ,EAAE,WAAWC,kBAAAA,UAAU,MAAM,WAAW,KAAK,MAAM;CAC3D,SAAS;EAAE,MAAM;EAAY,UAAU,YAAY;CAAsB;CACzE;CACA;CACA;AACF,CAAC;;;ACpBL,MAAa,qBAAqB,EAAE,SAAS,aAAa,WAA8B;CACtF,MAAM,SAASC,iCAAAA,yBAAgC;EAC7C;EACA;EACA,SAASC,aAAAA,kBAAkB,IAAI;CACjC,CAAC;CACD,MAAM,gBAAgBC,iCAAAA,yBAAyB;EAAE;EAAS;CAAY,CAAC;CAEvE,MAAM,SAAS,OAAO,OAAiC,WAAyB;EAC9E,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,iBACA,EACE,MAAM,EAAE,MAAM,EAChB,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,aAAa,OAAO,OAAyB,WAAyB;EAC1E,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,gBACA,EACE,MACF,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,iBAAiB,OAA2B,WAAyB;EACzE,OAAOC,gBAAAA,QAAQ;GACb,UAAU,MAAM;GAChB;GACA,YAAY,QAAQ,UAAU,gBAAgB;IAC5C,OAAO,WAAW;KAAE,GAAG;KAAO,OAAO;KAAU;IAAO,GAAG,WAAW;GACtE;EACF,CAAC;CACH;CAEA,MAAM,YAAY,OAAO,MAAqB,WAAyB;EACrE,MAAM,EAAE,SAAS,MAAM,OAAO,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,OAAO,CAAC;EAEhE,OAAO;CACT;CAEA,MAAM,UAAU,OAAO,OAA6B,WAAyB;EAC3E,MAAM,EAAE,SAAS,MAAM,OAAO,KAC5B,sBACA,EACE,MAAM,EAAE,MAAM,EAChB,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,oBAAoB,OAAO,OAA+B,WAAyB;EACvF,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,wBACA,EACE,MACF,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,4BAA4B,OAChC,OACA,WACG;EACH,MAAM,EAAE,SAAS,MAAM,OAAO,IAC5B,qCACA,EACE,MAAM,EAAE,MAAM,EAChB,GACA,EAAE,OAAO,CACX;EAEA,OAAO;CACT;CAEA,MAAM,cAAc,OAAO,WAAyB;EAClD,MAAM,EAAE,SAAS,MAAM,cAAc,IAAI,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC;EAExE,OAAO;CACT;CAKA,OAAO;EACL;EACA,QAJa,gBAAgB,EAAE,OAAO,CAIjC;EACL;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "../types-DoZtE9tz.cjs";
|
|
2
|
-
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-CgBzm1YR.cjs";
|
|
3
3
|
//#region src/clients/scheduler/schedulerClient.d.ts
|
|
4
4
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -12,6 +12,10 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
12
12
|
cronTab: string;
|
|
13
13
|
timezone: string;
|
|
14
14
|
state: 'enabled' | 'disabled';
|
|
15
|
+
nextRunAt: string | null;
|
|
16
|
+
nextRunsAt: string[];
|
|
17
|
+
humanCron: string;
|
|
18
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
15
19
|
};
|
|
16
20
|
target: {
|
|
17
21
|
componentId: string;
|
|
@@ -33,6 +37,10 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
33
37
|
cronTab: string;
|
|
34
38
|
timezone: string;
|
|
35
39
|
state: 'enabled' | 'disabled';
|
|
40
|
+
nextRunAt: string | null;
|
|
41
|
+
nextRunsAt: string[];
|
|
42
|
+
humanCron: string;
|
|
43
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
36
44
|
};
|
|
37
45
|
target: {
|
|
38
46
|
componentId: string;
|
|
@@ -54,6 +62,10 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
54
62
|
cronTab: string;
|
|
55
63
|
timezone: string;
|
|
56
64
|
state: 'enabled' | 'disabled';
|
|
65
|
+
nextRunAt: string | null;
|
|
66
|
+
nextRunsAt: string[];
|
|
67
|
+
humanCron: string;
|
|
68
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
57
69
|
};
|
|
58
70
|
target: {
|
|
59
71
|
componentId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ClientInitOptions } from "../types-B2w2TtSA.js";
|
|
2
|
-
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
2
|
+
import { a as SchedulePath, n as ConfigurationPath, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-DaMmgW-O.js";
|
|
3
3
|
//#region src/clients/scheduler/schedulerClient.d.ts
|
|
4
4
|
declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInitOptions) => {
|
|
5
5
|
healthCheck: (signal?: AbortSignal) => Promise<unknown>;
|
|
@@ -12,6 +12,10 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
12
12
|
cronTab: string;
|
|
13
13
|
timezone: string;
|
|
14
14
|
state: 'enabled' | 'disabled';
|
|
15
|
+
nextRunAt: string | null;
|
|
16
|
+
nextRunsAt: string[];
|
|
17
|
+
humanCron: string;
|
|
18
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
15
19
|
};
|
|
16
20
|
target: {
|
|
17
21
|
componentId: string;
|
|
@@ -33,6 +37,10 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
33
37
|
cronTab: string;
|
|
34
38
|
timezone: string;
|
|
35
39
|
state: 'enabled' | 'disabled';
|
|
40
|
+
nextRunAt: string | null;
|
|
41
|
+
nextRunsAt: string[];
|
|
42
|
+
humanCron: string;
|
|
43
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
36
44
|
};
|
|
37
45
|
target: {
|
|
38
46
|
componentId: string;
|
|
@@ -54,6 +62,10 @@ declare const createSchedulerClient: ({ baseUrl, middlewares, auth }: ClientInit
|
|
|
54
62
|
cronTab: string;
|
|
55
63
|
timezone: string;
|
|
56
64
|
state: 'enabled' | 'disabled';
|
|
65
|
+
nextRunAt: string | null;
|
|
66
|
+
nextRunsAt: string[];
|
|
67
|
+
humanCron: string;
|
|
68
|
+
periodLabel: 'daily' | 'weekly' | 'monthly' | 'custom';
|
|
57
69
|
};
|
|
58
70
|
target: {
|
|
59
71
|
componentId: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-CgBzm1YR.cjs";
|
|
2
2
|
export { ActivateScheduleBody, ConfigurationPath, GetSchedulesQuery, Schedule, SchedulePath, Schedules };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-
|
|
1
|
+
import { a as SchedulePath, i as Schedule, n as ConfigurationPath, o as Schedules, r as GetSchedulesQuery, t as ActivateScheduleBody } from "../types-DaMmgW-O.js";
|
|
2
2
|
export { ActivateScheduleBody, ConfigurationPath, GetSchedulesQuery, Schedule, SchedulePath, Schedules };
|
|
@@ -1384,6 +1384,8 @@ type components = {
|
|
|
1384
1384
|
memberOf?: components['schemas']['microsoft.graph.directoryObject'][];
|
|
1385
1385
|
/** @description The messages in a mailbox or folder. Read-only. Nullable. */
|
|
1386
1386
|
messages?: components['schemas']['microsoft.graph.message'][];
|
|
1387
|
+
/** @description The notes in the user's Notes folder. Read-only. Nullable. */
|
|
1388
|
+
notes?: components['schemas']['microsoft.graph.note'][];
|
|
1387
1389
|
oauth2PermissionGrants?: components['schemas']['microsoft.graph.oAuth2PermissionGrant'][];
|
|
1388
1390
|
onenote?: components['schemas']['microsoft.graph.onenote'] | (Record<string, never> | null);
|
|
1389
1391
|
/** @description Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. */
|
|
@@ -1739,10 +1741,12 @@ type components = {
|
|
|
1739
1741
|
pinnedMessages?: components['schemas']['microsoft.graph.pinnedChatMessageInfo'][];
|
|
1740
1742
|
/** @description A collection of all the tabs in the chat. Nullable. */
|
|
1741
1743
|
tabs?: components['schemas']['microsoft.graph.teamsTab'][];
|
|
1744
|
+
/** @description A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. */
|
|
1742
1745
|
targetedMessages?: components['schemas']['microsoft.graph.targetedChatMessage'][];
|
|
1743
1746
|
'@odata.type': string;
|
|
1744
1747
|
};
|
|
1745
1748
|
'microsoft.graph.targetedChatMessage': components['schemas']['microsoft.graph.chatMessage'] & {
|
|
1749
|
+
/** @description The intended recipient of the targeted message. */
|
|
1746
1750
|
recipient?: components['schemas']['microsoft.graph.identity'] | (Record<string, never> | null);
|
|
1747
1751
|
/** @default #microsoft.graph.targetedChatMessage */
|
|
1748
1752
|
'@odata.type': string;
|
|
@@ -2848,6 +2852,7 @@ type components = {
|
|
|
2848
2852
|
membershipRuleProcessingState?: string | null;
|
|
2849
2853
|
/** @description Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. */
|
|
2850
2854
|
onPremisesDomainName?: string | null;
|
|
2855
|
+
/** @description Complex type containing extension attributes 1-15 for the group, synchronized from on-premises Active Directory. Returned only on $select. Supports $filter (eq, ne, not, in). */
|
|
2851
2856
|
onPremisesExtensionAttributes?: components['schemas']['microsoft.graph.onPremisesExtensionAttributes'] | (Record<string, never> | null);
|
|
2852
2857
|
/**
|
|
2853
2858
|
* Format: date-time
|
|
@@ -5564,6 +5569,28 @@ type components = {
|
|
|
5564
5569
|
scope?: string | null;
|
|
5565
5570
|
'@odata.type': string;
|
|
5566
5571
|
};
|
|
5572
|
+
'microsoft.graph.note': components['schemas']['microsoft.graph.outlookItem'] & {
|
|
5573
|
+
/** @description The content of the note. Supports text or html content types. */
|
|
5574
|
+
body?: components['schemas']['microsoft.graph.itemBody'] | (Record<string, never> | null);
|
|
5575
|
+
/** @description Auto-generated preview of the note body content (first ~255 characters, plain text). Read-only. */
|
|
5576
|
+
readonly bodyPreview?: string | null;
|
|
5577
|
+
/** @description Indicates whether the note has file attachments. Supports $filter (eq). Read-only. */
|
|
5578
|
+
readonly hasAttachments?: boolean | null;
|
|
5579
|
+
/** @description Indicates whether the note is soft-deleted. Read-only. */
|
|
5580
|
+
readonly isDeleted?: boolean | null;
|
|
5581
|
+
/** @description The title of the note. Supports $filter (eq, ne, startsWith) and $orderby. */
|
|
5582
|
+
subject?: string | null;
|
|
5583
|
+
/** @description The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. */
|
|
5584
|
+
attachments?: components['schemas']['microsoft.graph.attachment'][];
|
|
5585
|
+
/** @description The collection of open extensions defined for the note. */
|
|
5586
|
+
extensions?: components['schemas']['microsoft.graph.extension'][];
|
|
5587
|
+
/** @description The collection of multi-value extended properties defined for the note. */
|
|
5588
|
+
multiValueExtendedProperties?: components['schemas']['microsoft.graph.multiValueLegacyExtendedProperty'][];
|
|
5589
|
+
/** @description The collection of single-value extended properties defined for the note. */
|
|
5590
|
+
singleValueExtendedProperties?: components['schemas']['microsoft.graph.singleValueLegacyExtendedProperty'][];
|
|
5591
|
+
/** @default #microsoft.graph.note */
|
|
5592
|
+
'@odata.type': string;
|
|
5593
|
+
};
|
|
5567
5594
|
'microsoft.graph.message': components['schemas']['microsoft.graph.outlookItem'] & {
|
|
5568
5595
|
/** @description The Bcc: recipients for the message. */
|
|
5569
5596
|
bccRecipients?: components['schemas']['microsoft.graph.recipient'][];
|
|
@@ -8757,4 +8784,4 @@ interface operations {
|
|
|
8757
8784
|
}
|
|
8758
8785
|
//#endregion
|
|
8759
8786
|
export { paths as n, components as t };
|
|
8760
|
-
//# sourceMappingURL=schema-
|
|
8787
|
+
//# sourceMappingURL=schema-DJa9WBjR.d.cts.map
|
|
@@ -1384,6 +1384,8 @@ type components = {
|
|
|
1384
1384
|
memberOf?: components['schemas']['microsoft.graph.directoryObject'][];
|
|
1385
1385
|
/** @description The messages in a mailbox or folder. Read-only. Nullable. */
|
|
1386
1386
|
messages?: components['schemas']['microsoft.graph.message'][];
|
|
1387
|
+
/** @description The notes in the user's Notes folder. Read-only. Nullable. */
|
|
1388
|
+
notes?: components['schemas']['microsoft.graph.note'][];
|
|
1387
1389
|
oauth2PermissionGrants?: components['schemas']['microsoft.graph.oAuth2PermissionGrant'][];
|
|
1388
1390
|
onenote?: components['schemas']['microsoft.graph.onenote'] | (Record<string, never> | null);
|
|
1389
1391
|
/** @description Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. */
|
|
@@ -1739,10 +1741,12 @@ type components = {
|
|
|
1739
1741
|
pinnedMessages?: components['schemas']['microsoft.graph.pinnedChatMessageInfo'][];
|
|
1740
1742
|
/** @description A collection of all the tabs in the chat. Nullable. */
|
|
1741
1743
|
tabs?: components['schemas']['microsoft.graph.teamsTab'][];
|
|
1744
|
+
/** @description A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API. */
|
|
1742
1745
|
targetedMessages?: components['schemas']['microsoft.graph.targetedChatMessage'][];
|
|
1743
1746
|
'@odata.type': string;
|
|
1744
1747
|
};
|
|
1745
1748
|
'microsoft.graph.targetedChatMessage': components['schemas']['microsoft.graph.chatMessage'] & {
|
|
1749
|
+
/** @description The intended recipient of the targeted message. */
|
|
1746
1750
|
recipient?: components['schemas']['microsoft.graph.identity'] | (Record<string, never> | null);
|
|
1747
1751
|
/** @default #microsoft.graph.targetedChatMessage */
|
|
1748
1752
|
'@odata.type': string;
|
|
@@ -2848,6 +2852,7 @@ type components = {
|
|
|
2848
2852
|
membershipRuleProcessingState?: string | null;
|
|
2849
2853
|
/** @description Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. */
|
|
2850
2854
|
onPremisesDomainName?: string | null;
|
|
2855
|
+
/** @description Complex type containing extension attributes 1-15 for the group, synchronized from on-premises Active Directory. Returned only on $select. Supports $filter (eq, ne, not, in). */
|
|
2851
2856
|
onPremisesExtensionAttributes?: components['schemas']['microsoft.graph.onPremisesExtensionAttributes'] | (Record<string, never> | null);
|
|
2852
2857
|
/**
|
|
2853
2858
|
* Format: date-time
|
|
@@ -5564,6 +5569,28 @@ type components = {
|
|
|
5564
5569
|
scope?: string | null;
|
|
5565
5570
|
'@odata.type': string;
|
|
5566
5571
|
};
|
|
5572
|
+
'microsoft.graph.note': components['schemas']['microsoft.graph.outlookItem'] & {
|
|
5573
|
+
/** @description The content of the note. Supports text or html content types. */
|
|
5574
|
+
body?: components['schemas']['microsoft.graph.itemBody'] | (Record<string, never> | null);
|
|
5575
|
+
/** @description Auto-generated preview of the note body content (first ~255 characters, plain text). Read-only. */
|
|
5576
|
+
readonly bodyPreview?: string | null;
|
|
5577
|
+
/** @description Indicates whether the note has file attachments. Supports $filter (eq). Read-only. */
|
|
5578
|
+
readonly hasAttachments?: boolean | null;
|
|
5579
|
+
/** @description Indicates whether the note is soft-deleted. Read-only. */
|
|
5580
|
+
readonly isDeleted?: boolean | null;
|
|
5581
|
+
/** @description The title of the note. Supports $filter (eq, ne, startsWith) and $orderby. */
|
|
5582
|
+
subject?: string | null;
|
|
5583
|
+
/** @description The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments. */
|
|
5584
|
+
attachments?: components['schemas']['microsoft.graph.attachment'][];
|
|
5585
|
+
/** @description The collection of open extensions defined for the note. */
|
|
5586
|
+
extensions?: components['schemas']['microsoft.graph.extension'][];
|
|
5587
|
+
/** @description The collection of multi-value extended properties defined for the note. */
|
|
5588
|
+
multiValueExtendedProperties?: components['schemas']['microsoft.graph.multiValueLegacyExtendedProperty'][];
|
|
5589
|
+
/** @description The collection of single-value extended properties defined for the note. */
|
|
5590
|
+
singleValueExtendedProperties?: components['schemas']['microsoft.graph.singleValueLegacyExtendedProperty'][];
|
|
5591
|
+
/** @default #microsoft.graph.note */
|
|
5592
|
+
'@odata.type': string;
|
|
5593
|
+
};
|
|
5567
5594
|
'microsoft.graph.message': components['schemas']['microsoft.graph.outlookItem'] & {
|
|
5568
5595
|
/** @description The Bcc: recipients for the message. */
|
|
5569
5596
|
bccRecipients?: components['schemas']['microsoft.graph.recipient'][];
|
|
@@ -8757,4 +8784,4 @@ interface operations {
|
|
|
8757
8784
|
}
|
|
8758
8785
|
//#endregion
|
|
8759
8786
|
export { paths as n, components as t };
|
|
8760
|
-
//# sourceMappingURL=schema-
|
|
8787
|
+
//# sourceMappingURL=schema-DJa9WBjR.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as createStorageClient, L as RegisteredComponentId, R as registry, tn as createDefaultBranch } from "../../index-
|
|
1
|
+
import { H as createStorageClient, L as RegisteredComponentId, R as registry, tn as createDefaultBranch } from "../../index-Cm04GKm9.cjs";
|
|
2
2
|
import { Mn as UpdateConfigurationInput, dn as CreateConfigurationInput, en as BaseComponentConfig, ln as ConfigurationPath } from "../../types-BgVt8SUY.cjs";
|
|
3
3
|
import { t as createEncryptionClient } from "../../index-BUsLHNOA.cjs";
|
|
4
4
|
import { t as Project } from "../../project-B8wtlstY.cjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as createStorageClient, L as RegisteredComponentId, R as registry, tn as createDefaultBranch } from "../../index-
|
|
1
|
+
import { H as createStorageClient, L as RegisteredComponentId, R as registry, tn as createDefaultBranch } from "../../index-BQZ9njUC.js";
|
|
2
2
|
import { Mn as UpdateConfigurationInput, dn as CreateConfigurationInput, en as BaseComponentConfig, ln as ConfigurationPath } from "../../types-C0rVtqz2.js";
|
|
3
3
|
import { t as createEncryptionClient } from "../../index-CBWfpd-0.js";
|
|
4
4
|
import { t as Project } from "../../project-BCc3mpAy.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { O as MiddlewareFn } from "../../index-BVhHt5lx.cjs";
|
|
2
|
-
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-
|
|
3
|
-
import { t as DeveloperPortalTokens } from "../../index-
|
|
2
|
+
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-BiEh5c_t.cjs";
|
|
3
|
+
import { t as DeveloperPortalTokens } from "../../index-Cvkrjh--.cjs";
|
|
4
4
|
import { n as Listener } from "../../emitter-dLF1Fyfg.cjs";
|
|
5
5
|
//#region src/sdks/developerPortal/developerPortalSdk.d.ts
|
|
6
6
|
type DeveloperPortalSdkOptions = {
|
|
@@ -823,12 +823,17 @@ declare const createDeveloperPortalSdk: ({ baseUrl, tokens: initialTokens, onTok
|
|
|
823
823
|
admin: {
|
|
824
824
|
getStacks: (signal?: AbortSignal) => Promise<string[]>;
|
|
825
825
|
getChanges: (query?: GetChangesQuery, signal?: AbortSignal) => Promise<({
|
|
826
|
-
id
|
|
827
|
-
createdOn
|
|
828
|
-
createdBy
|
|
829
|
-
changes
|
|
830
|
-
|
|
831
|
-
|
|
826
|
+
id: string;
|
|
827
|
+
createdOn: string;
|
|
828
|
+
createdBy: string | null;
|
|
829
|
+
changes: ({
|
|
830
|
+
attribute: string;
|
|
831
|
+
oldValue: unknown;
|
|
832
|
+
newValue: unknown;
|
|
833
|
+
description: string;
|
|
834
|
+
} & {
|
|
835
|
+
[key: string]: unknown;
|
|
836
|
+
})[];
|
|
832
837
|
} & {
|
|
833
838
|
[key: string]: unknown;
|
|
834
839
|
})[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { O as MiddlewareFn } from "../../index-BgR5zcjJ.js";
|
|
2
|
-
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-
|
|
3
|
-
import { t as DeveloperPortalTokens } from "../../index-
|
|
2
|
+
import { A as ResetPasswordConfirmInput, E as PaginationQuery, F as UpdateAppAsAdminInput, I as UpdateAppInput, L as UpdateVendorAsAdminInput, N as SignUpInput, R as UpdateVendorInput, S as LoginSuccess, W as components, _ as GetVendorUsersQuery, b as LoginInput, c as ConfirmAccountInput, d as CreateVendorAsAdminInput, f as CreateVendorInput, g as GetChangesQuery, h as GetAppsQuery, k as RejectAppInput, l as CreateAppInput, p as DeprecateAppInput, s as ApproveVendorInput, t as AdminPaginationQuery, u as CreateServiceAccountInput } from "../../types-DzV6LaZq.js";
|
|
3
|
+
import { t as DeveloperPortalTokens } from "../../index-CX8GAP2g.js";
|
|
4
4
|
import { n as Listener } from "../../emitter-dLF1Fyfg.js";
|
|
5
5
|
//#region src/sdks/developerPortal/developerPortalSdk.d.ts
|
|
6
6
|
type DeveloperPortalSdkOptions = {
|
|
@@ -823,12 +823,17 @@ declare const createDeveloperPortalSdk: ({ baseUrl, tokens: initialTokens, onTok
|
|
|
823
823
|
admin: {
|
|
824
824
|
getStacks: (signal?: AbortSignal) => Promise<string[]>;
|
|
825
825
|
getChanges: (query?: GetChangesQuery, signal?: AbortSignal) => Promise<({
|
|
826
|
-
id
|
|
827
|
-
createdOn
|
|
828
|
-
createdBy
|
|
829
|
-
changes
|
|
830
|
-
|
|
831
|
-
|
|
826
|
+
id: string;
|
|
827
|
+
createdOn: string;
|
|
828
|
+
createdBy: string | null;
|
|
829
|
+
changes: ({
|
|
830
|
+
attribute: string;
|
|
831
|
+
oldValue: unknown;
|
|
832
|
+
newValue: unknown;
|
|
833
|
+
description: string;
|
|
834
|
+
} & {
|
|
835
|
+
[key: string]: unknown;
|
|
836
|
+
})[];
|
|
832
837
|
} & {
|
|
833
838
|
[key: string]: unknown;
|
|
834
839
|
})[]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_jobStatus = require("../../jobStatus-
|
|
2
|
+
const require_jobStatus = require("../../jobStatus-CcNlIy5R.cjs");
|
|
3
3
|
const require_QueryJobTimeoutError = require("../../QueryJobTimeoutError-CVNPdCWX.cjs");
|
|
4
4
|
const require_ValidationError = require("../../ValidationError-D65QU0uq.cjs");
|
|
5
5
|
//#region src/sdks/queryService/queryServiceSdk.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createQueryServiceSdk, n as ExecuteQueryOptions, r as WaitForJobOptions } from "../../index-
|
|
1
|
+
import { i as createQueryServiceSdk, n as ExecuteQueryOptions, r as WaitForJobOptions } from "../../index-Cm04GKm9.cjs";
|
|
2
2
|
export { ExecuteQueryOptions, WaitForJobOptions, createQueryServiceSdk };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createQueryServiceSdk, n as ExecuteQueryOptions, r as WaitForJobOptions } from "../../index-
|
|
1
|
+
import { i as createQueryServiceSdk, n as ExecuteQueryOptions, r as WaitForJobOptions } from "../../index-BQZ9njUC.js";
|
|
2
2
|
export { ExecuteQueryOptions, WaitForJobOptions, createQueryServiceSdk };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as poll, t as jobStatus } from "../../jobStatus-
|
|
1
|
+
import { i as poll, t as jobStatus } from "../../jobStatus-CDp4r5JQ.js";
|
|
2
2
|
import { r as QueryJobError, t as QueryJobTimeoutError } from "../../QueryJobTimeoutError-C7JbNGOM.js";
|
|
3
3
|
import { t as ValidationError } from "../../ValidationError-DjhtNMfZ.js";
|
|
4
4
|
//#region src/sdks/queryService/queryServiceSdk.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as parseCurrentDevBranchIdFromUrl, c as FQID_TYPES, d as parseFQID, f as parse, l as ParsedFQID, m as createStorageSdk, o as parseDevBranchId, p as tableIdParser, s as prefixTagsWithDevBranchId, u as constructFQID } from "../../index-
|
|
1
|
+
import { a as parseCurrentDevBranchIdFromUrl, c as FQID_TYPES, d as parseFQID, f as parse, l as ParsedFQID, m as createStorageSdk, o as parseDevBranchId, p as tableIdParser, s as prefixTagsWithDevBranchId, u as constructFQID } from "../../index-Cm04GKm9.cjs";
|
|
2
2
|
export { FQID_TYPES, ParsedFQID, constructFQID, createStorageSdk, parse, parseCurrentDevBranchIdFromUrl, parseDevBranchId, parseFQID, prefixTagsWithDevBranchId, tableIdParser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as parseCurrentDevBranchIdFromUrl, c as FQID_TYPES, d as parseFQID, f as parse, l as ParsedFQID, m as createStorageSdk, o as parseDevBranchId, p as tableIdParser, s as prefixTagsWithDevBranchId, u as constructFQID } from "../../index-
|
|
1
|
+
import { a as parseCurrentDevBranchIdFromUrl, c as FQID_TYPES, d as parseFQID, f as parse, l as ParsedFQID, m as createStorageSdk, o as parseDevBranchId, p as tableIdParser, s as prefixTagsWithDevBranchId, u as constructFQID } from "../../index-BQZ9njUC.js";
|
|
2
2
|
export { FQID_TYPES, ParsedFQID, constructFQID, createStorageSdk, parse, parseCurrentDevBranchIdFromUrl, parseDevBranchId, parseFQID, prefixTagsWithDevBranchId, tableIdParser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as vaultRef, i as partitionByOauth, n as isVariableEncryptionRequired, o as createVaultSdk, r as isVariableOauth, s as EncryptionCtx, t as isSameVariable } from "../../index-
|
|
1
|
+
import { a as vaultRef, i as partitionByOauth, n as isVariableEncryptionRequired, o as createVaultSdk, r as isVariableOauth, s as EncryptionCtx, t as isSameVariable } from "../../index-CdS-c6sC.cjs";
|
|
2
2
|
export { type EncryptionCtx, createVaultSdk, isSameVariable, isVariableEncryptionRequired, isVariableOauth, partitionByOauth, vaultRef };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as vaultRef, i as partitionByOauth, n as isVariableEncryptionRequired, o as createVaultSdk, r as isVariableOauth, s as EncryptionCtx, t as isSameVariable } from "../../index-
|
|
1
|
+
import { a as vaultRef, i as partitionByOauth, n as isVariableEncryptionRequired, o as createVaultSdk, r as isVariableOauth, s as EncryptionCtx, t as isSameVariable } from "../../index-D7of2MMN.js";
|
|
2
2
|
export { type EncryptionCtx, createVaultSdk, isSameVariable, isVariableEncryptionRequired, isVariableOauth, partitionByOauth, vaultRef };
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_storage = require("../storage-
|
|
2
|
+
const require_storage = require("../storage-DAJquqEw.cjs");
|
|
3
3
|
const require_UserError = require("../UserError-CSGO1qII.cjs");
|
|
4
4
|
const require_createFetchClient = require("../createFetchClient-BgihytBn.cjs");
|
|
5
5
|
const require_validateConnectionStatus = require("../validateConnectionStatus-Ca1uEizv.cjs");
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { A as ApiError, C as HtmlResponseError, S as ManagementClientAuthError, b as isValidationError, g as isFetchClientError, h as isApiError, m as isAbortError, p as FetchClientError, v as ValidationError, w as isHtmlResponseError, x as parseOrThrow, y as formatValidationIssues } from "../index-BVhHt5lx.cjs";
|
|
2
|
-
import { B as toBackendSubscribers, H as createStorageClient, V as StorageOpenApiFetchClient, an as QueryJobTimeoutError, cn as QueryJobError, in as ServiceUnavailableError, ln as isQueryJobError, nn as SyncActionError, on as isQueryJobTimeoutError, rn as isSyncActionError, sn as readableReason, un as UserError, z as fromBackendSubscribers } from "../index-
|
|
2
|
+
import { B as toBackendSubscribers, H as createStorageClient, V as StorageOpenApiFetchClient, an as QueryJobTimeoutError, cn as QueryJobError, in as ServiceUnavailableError, ln as isQueryJobError, nn as SyncActionError, on as isQueryJobTimeoutError, rn as isSyncActionError, sn as readableReason, un as UserError, z as fromBackendSubscribers } from "../index-Cm04GKm9.cjs";
|
|
3
3
|
export { ApiError, type FetchClientError, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { A as ApiError, C as HtmlResponseError, S as ManagementClientAuthError, b as isValidationError, g as isFetchClientError, h as isApiError, m as isAbortError, p as FetchClientError, v as ValidationError, w as isHtmlResponseError, x as parseOrThrow, y as formatValidationIssues } from "../index-BgR5zcjJ.js";
|
|
2
|
-
import { B as toBackendSubscribers, H as createStorageClient, V as StorageOpenApiFetchClient, an as QueryJobTimeoutError, cn as QueryJobError, in as ServiceUnavailableError, ln as isQueryJobError, nn as SyncActionError, on as isQueryJobTimeoutError, rn as isSyncActionError, sn as readableReason, un as UserError, z as fromBackendSubscribers } from "../index-
|
|
2
|
+
import { B as toBackendSubscribers, H as createStorageClient, V as StorageOpenApiFetchClient, an as QueryJobTimeoutError, cn as QueryJobError, in as ServiceUnavailableError, ln as isQueryJobError, nn as SyncActionError, on as isQueryJobTimeoutError, rn as isSyncActionError, sn as readableReason, un as UserError, z as fromBackendSubscribers } from "../index-BQZ9njUC.js";
|
|
3
3
|
export { ApiError, type FetchClientError, HtmlResponseError, ManagementClientAuthError, QueryJobError, QueryJobTimeoutError, ServiceUnavailableError, StorageOpenApiFetchClient, SyncActionError, UserError, ValidationError, createStorageClient, formatValidationIssues, fromBackendSubscribers, isAbortError, isApiError, isFetchClientError, isHtmlResponseError, isQueryJobError, isQueryJobTimeoutError, isSyncActionError, isValidationError, parseOrThrow, readableReason, toBackendSubscribers };
|
package/dist/storage/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as readableReason, i as ServiceUnavailableError, n as fromBackendSubscribers, r as toBackendSubscribers, t as createStorageClient } from "../storage-
|
|
1
|
+
import { a as readableReason, i as ServiceUnavailableError, n as fromBackendSubscribers, r as toBackendSubscribers, t as createStorageClient } from "../storage-C-lyo_iX.js";
|
|
2
2
|
import { t as UserError } from "../UserError-By_Zckmc.js";
|
|
3
3
|
import { g as ApiError, i as isFetchClientError, n as isAbortError, r as isApiError } from "../createFetchClient-cgWkwgAQ.js";
|
|
4
4
|
import { n as HtmlResponseError, r as isHtmlResponseError } from "../validateConnectionStatus-gFsBi5FV.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as poller, t as jobStatus } from "./jobStatus-CfRtsIpv.js";
|
|
2
1
|
import { t as concurrent } from "./concurrent-BacWxPwi.js";
|
|
2
|
+
import { a as poller, t as jobStatus } from "./jobStatus-CDp4r5JQ.js";
|
|
3
3
|
import { g as ApiError, h as KeboolaHttpHeader, r as isApiError, s as HttpHeader } from "./createFetchClient-cgWkwgAQ.js";
|
|
4
4
|
import { t as validateConnectionStatus } from "./validateConnectionStatus-gFsBi5FV.js";
|
|
5
5
|
import { t as createGenericFetchClient } from "./createGenericFetchClient-CX9Hn3Aq.js";
|
|
@@ -2394,4 +2394,4 @@ const createStorageClient = ({ baseUrl, auth, middlewares = [], onRefreshToken }
|
|
|
2394
2394
|
//#endregion
|
|
2395
2395
|
export { readableReason as a, ServiceUnavailableError as i, fromBackendSubscribers as n, series as o, toBackendSubscribers as r, createStorageClient as t };
|
|
2396
2396
|
|
|
2397
|
-
//# sourceMappingURL=storage-
|
|
2397
|
+
//# sourceMappingURL=storage-C-lyo_iX.js.map
|