@stackone/core 1.52.5 → 1.52.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { HttpMethod, IHttpClient } from "@stackone/transport";
2
2
  import { ILogger } from "@stackone/logger";
3
- import { ZodTypeAny, z } from "zod";
3
+ import { ZodType, z } from "zod/v4";
4
4
 
5
5
  //#region src/categories/types.d.ts
6
6
  type Category = 'hris' | 'crm' | 'ats' | 'lms' | 'marketing' | 'filestorage';
@@ -132,8 +132,8 @@ type StepFunctionMeta = {
132
132
  };
133
133
  type StepFunctionInstance = {
134
134
  fn: StepFunction;
135
- inputSchema?: ZodTypeAny;
136
- outputSchema?: ZodTypeAny;
135
+ inputSchema?: ZodType;
136
+ outputSchema?: ZodType;
137
137
  };
138
138
  type StepFunctionOutput = {
139
139
  block: Block;
@@ -385,31 +385,15 @@ declare const StepFunctionsFactory: {
385
385
  };
386
386
  //#endregion
387
387
  //#region src/stepFunctions/request/schemas.d.ts
388
- declare const AUTHENTICATION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
388
+ declare const AUTHENTICATION_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
389
389
  type: z.ZodLiteral<"basic">;
390
390
  username: z.ZodOptional<z.ZodString>;
391
391
  password: z.ZodOptional<z.ZodString>;
392
392
  encoding: z.ZodOptional<z.ZodString>;
393
- }, "strip", z.ZodTypeAny, {
394
- type: "basic";
395
- username?: string | undefined;
396
- password?: string | undefined;
397
- encoding?: string | undefined;
398
- }, {
399
- type: "basic";
400
- username?: string | undefined;
401
- password?: string | undefined;
402
- encoding?: string | undefined;
403
- }>, z.ZodObject<{
393
+ }, z.core.$strip>, z.ZodObject<{
404
394
  type: z.ZodLiteral<"bearer">;
405
395
  token: z.ZodString;
406
- }, "strip", z.ZodTypeAny, {
407
- type: "bearer";
408
- token: string;
409
- }, {
410
- type: "bearer";
411
- token: string;
412
- }>]>;
396
+ }, z.core.$strip>]>;
413
397
  //#endregion
414
398
  //#region src/accounts/types.d.ts
415
399
  type Account = {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ILogger } from "@stackone/logger";
2
2
  import { HttpMethod, IHttpClient } from "@stackone/transport";
3
- import { ZodTypeAny, z } from "zod";
3
+ import { ZodType, z } from "zod/v4";
4
4
 
5
5
  //#region src/categories/types.d.ts
6
6
  type Category = 'hris' | 'crm' | 'ats' | 'lms' | 'marketing' | 'filestorage';
@@ -132,8 +132,8 @@ type StepFunctionMeta = {
132
132
  };
133
133
  type StepFunctionInstance = {
134
134
  fn: StepFunction;
135
- inputSchema?: ZodTypeAny;
136
- outputSchema?: ZodTypeAny;
135
+ inputSchema?: ZodType;
136
+ outputSchema?: ZodType;
137
137
  };
138
138
  type StepFunctionOutput = {
139
139
  block: Block;
@@ -385,31 +385,15 @@ declare const StepFunctionsFactory: {
385
385
  };
386
386
  //#endregion
387
387
  //#region src/stepFunctions/request/schemas.d.ts
388
- declare const AUTHENTICATION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
388
+ declare const AUTHENTICATION_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
389
389
  type: z.ZodLiteral<"basic">;
390
390
  username: z.ZodOptional<z.ZodString>;
391
391
  password: z.ZodOptional<z.ZodString>;
392
392
  encoding: z.ZodOptional<z.ZodString>;
393
- }, "strip", z.ZodTypeAny, {
394
- type: "basic";
395
- username?: string | undefined;
396
- password?: string | undefined;
397
- encoding?: string | undefined;
398
- }, {
399
- type: "basic";
400
- username?: string | undefined;
401
- password?: string | undefined;
402
- encoding?: string | undefined;
403
- }>, z.ZodObject<{
393
+ }, z.core.$strip>, z.ZodObject<{
404
394
  type: z.ZodLiteral<"bearer">;
405
395
  token: z.ZodString;
406
- }, "strip", z.ZodTypeAny, {
407
- type: "bearer";
408
- token: string;
409
- }, {
410
- type: "bearer";
411
- token: string;
412
- }>]>;
396
+ }, z.core.$strip>]>;
413
397
  //#endregion
414
398
  //#region src/accounts/types.d.ts
415
399
  type Account = {