@tailor-platform/sdk 1.2.5 → 1.2.6
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/CHANGELOG.md +6 -0
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/lib.d.mts +2 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/configure/index.d.mts +2 -2
- package/dist/{index-LqF60FaW.d.mts → index-Cf3uhB_7.d.mts} +2 -2
- package/dist/{list-CEdXdOpY.mjs → list-WMFoshbx.mjs} +25 -11
- package/dist/list-WMFoshbx.mjs.map +1 -0
- package/dist/{types-DCb7NVBk.d.mts → types-D2rYkxav.d.mts} +10 -9
- package/dist/utils/test/index.d.mts +2 -2
- package/docs/services/auth.md +3 -0
- package/package.json +1 -1
- package/dist/list-CEdXdOpY.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="./user-defined.d.ts" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod38 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as type_fest0 from "type-fest";
|
|
5
5
|
import { IsAny, NonEmptyObject } from "type-fest";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
|
-
import * as
|
|
7
|
+
import * as zod_v4_core33 from "zod/v4/core";
|
|
8
8
|
|
|
9
9
|
//#region src/parser/service/tailordb/relation.d.ts
|
|
10
10
|
declare const relationTypes: {
|
|
@@ -577,6 +577,7 @@ declare const OAuth2ClientSchema: z.ZodObject<{
|
|
|
577
577
|
seconds: bigint;
|
|
578
578
|
nanos: number;
|
|
579
579
|
} | undefined, number | undefined>>;
|
|
580
|
+
requireDpop: z.ZodOptional<z.ZodBoolean>;
|
|
580
581
|
}, z.core.$strip>;
|
|
581
582
|
declare const SCIMAuthorizationSchema: z.ZodObject<{
|
|
582
583
|
type: z.ZodUnion<readonly [z.ZodLiteral<"oauth2">, z.ZodLiteral<"bearer">]>;
|
|
@@ -1552,12 +1553,12 @@ declare function defineGenerators(...configs: GeneratorConfig[]): (["@tailor-pla
|
|
|
1552
1553
|
id: string;
|
|
1553
1554
|
description: string;
|
|
1554
1555
|
dependencies: ("tailordb" | "resolver" | "executor")[];
|
|
1555
|
-
aggregate:
|
|
1556
|
-
processType?:
|
|
1557
|
-
processResolver?:
|
|
1558
|
-
processExecutor?:
|
|
1559
|
-
processTailorDBNamespace?:
|
|
1560
|
-
processResolverNamespace?:
|
|
1556
|
+
aggregate: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod38.ZodAny>;
|
|
1557
|
+
processType?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1558
|
+
processResolver?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1559
|
+
processExecutor?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1560
|
+
processTailorDBNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1561
|
+
processResolverNamespace?: zod_v4_core33.$InferInnerFunctionType<zod_v4_core33.$ZodFunctionArgs, zod_v4_core33.$ZodFunctionOut> | undefined;
|
|
1561
1562
|
})[];
|
|
1562
1563
|
//#endregion
|
|
1563
1564
|
//#region src/parser/service/executor/schema.d.ts
|
|
@@ -1696,4 +1697,4 @@ type Executor = z.infer<typeof ExecutorSchema>;
|
|
|
1696
1697
|
type ExecutorInput = z.input<typeof ExecutorSchema>;
|
|
1697
1698
|
//#endregion
|
|
1698
1699
|
export { TenantProviderConfig as $, AuthOwnConfig as A, BuiltinIdP as B, ResolverServiceConfig as C, TailorFieldType as Ct, AuthConfig as D, ExecutorServiceInput as E, output as Et, db as F, OIDC as G, IdProviderConfig as H, AllowedValues as I, SCIMAttributeMapping as J, SAML as K, AllowedValuesOutput as L, TailorDBField as M, TailorDBInstance as N, AuthExternalConfig as O, TailorDBType as P, SCIMResource as Q, ParsedTailorDBType as R, ResolverExternalConfig as S, FieldOutput$1 as St, ExecutorServiceConfig as T, JsonCompatible as Tt, OAuth2ClientGrantType as U, IDToken as V, OAuth2ClientInput as W, SCIMAuthorization as X, SCIMAttributeType as Y, SCIMConfig as Z, StaticWebsiteConfig as _, Resolver as _t, IncomingWebhookTrigger as a, PermissionCondition as at, IdPExternalConfig as b, FieldMetadata as bt, ScheduleTriggerInput as c, unsafeAllowAllGqlPermission as ct, AppConfig as d, AttributeMap as dt, UserAttributeKey as et, defineConfig as f, TailorUser as ft, WorkflowServiceInput as g, QueryType as gt, WorkflowServiceConfig as h, TailorField as ht, GqlOperation as i, ValueOperand as it, defineAuth as j, AuthInvoker as k, WebhookOperation as l, unsafeAllowAllTypePermission as lt, Generator as m, TailorAnyField as mt, ExecutorInput as n, UserAttributeMap as nt, RecordTrigger as o, TailorTypeGqlPermission as ot, defineGenerators as p, unauthenticatedTailorUser as pt, SCIMAttribute as q, FunctionOperation as r, UsernameFieldKey as rt, ResolverExecutedTrigger as s, TailorTypePermission as st, Executor as t, UserAttributeListKey as tt, WorkflowOperation as u, AttributeList as ut, defineStaticWebSite as v, ResolverInput as vt, ResolverServiceInput as w, InferFieldsOutput as wt, defineIdp as x, FieldOptions as xt, IdPConfig as y, ArrayFieldOutput as yt, AuthServiceInput as z };
|
|
1699
|
-
//# sourceMappingURL=types-
|
|
1700
|
+
//# sourceMappingURL=types-D2rYkxav.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="./../../user-defined.d.ts" />
|
|
2
|
-
import { P as TailorDBType, ht as TailorField } from "../../types-
|
|
3
|
-
import { n as output } from "../../index-
|
|
2
|
+
import { P as TailorDBType, ht as TailorField } from "../../types-D2rYkxav.mjs";
|
|
3
|
+
import { n as output } from "../../index-Cf3uhB_7.mjs";
|
|
4
4
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/test/index.d.ts
|
package/docs/services/auth.md
CHANGED
|
@@ -190,6 +190,7 @@ oauth2Clients: {
|
|
|
190
190
|
grantTypes: ["authorization_code", "refresh_token"],
|
|
191
191
|
accessTokenLifetimeSeconds: 3600, // 1 hour
|
|
192
192
|
refreshTokenLifetimeSeconds: 604800, // 7 days
|
|
193
|
+
requireDpop: true, // Require DPoP for this client
|
|
193
194
|
},
|
|
194
195
|
},
|
|
195
196
|
```
|
|
@@ -207,6 +208,8 @@ oauth2Clients: {
|
|
|
207
208
|
|
|
208
209
|
**refreshTokenLifetimeSeconds**: Optional refresh token lifetime in seconds. Minimum: 60 seconds, Maximum: 604800 seconds (7 days). If not specified, uses platform default.
|
|
209
210
|
|
|
211
|
+
**requireDpop**: Optional boolean to require DPoP (Demonstrating Proof of Possession) for this client. When set to `true`, the client must use DPoP tokens for authentication. If not specified, DPoP is not required.
|
|
212
|
+
|
|
210
213
|
Get OAuth2 client credentials using the CLI:
|
|
211
214
|
|
|
212
215
|
```bash
|