@novu/api 0.0.1-alpha.161 → 0.0.1-alpha.162

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/lib/config.d.ts CHANGED
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0";
30
- readonly sdkVersion: "0.0.1-alpha.161";
30
+ readonly sdkVersion: "0.0.1-alpha.162";
31
31
  readonly genVersion: "2.483.6";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.161 2.483.6 1.0 @novu/api";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.162 2.483.6 1.0 @novu/api";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -29,8 +29,8 @@ exports.serverURLFromOptions = serverURLFromOptions;
29
29
  exports.SDK_METADATA = {
30
30
  language: "typescript",
31
31
  openapiDocVersion: "1.0",
32
- sdkVersion: "0.0.1-alpha.161",
32
+ sdkVersion: "0.0.1-alpha.162",
33
33
  genVersion: "2.483.6",
34
- userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.161 2.483.6 1.0 @novu/api",
34
+ userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.162 2.483.6 1.0 @novu/api",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -1,11 +1,18 @@
1
1
  import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type IdempotencyResponse = {};
4
+ export type IdempotencyResponse = {
5
+ /**
6
+ * A unique identifier for the idempotency response
7
+ */
8
+ number: number;
9
+ };
5
10
  /** @internal */
6
11
  export declare const IdempotencyResponse$inboundSchema: z.ZodType<IdempotencyResponse, z.ZodTypeDef, unknown>;
7
12
  /** @internal */
8
- export type IdempotencyResponse$Outbound = {};
13
+ export type IdempotencyResponse$Outbound = {
14
+ number: number;
15
+ };
9
16
  /** @internal */
10
17
  export declare const IdempotencyResponse$outboundSchema: z.ZodType<IdempotencyResponse$Outbound, z.ZodTypeDef, IdempotencyResponse>;
11
18
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"idempotencyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/idempotencyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CACL,CAAC;AAEjB;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
1
+ {"version":3,"file":"idempotencyresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/idempotencyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAGnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -30,9 +30,13 @@ exports.idempotencyResponseFromJSON = exports.idempotencyResponseToJSON = export
30
30
  const z = __importStar(require("zod"));
31
31
  const schemas_js_1 = require("../../lib/schemas.js");
32
32
  /** @internal */
33
- exports.IdempotencyResponse$inboundSchema = z.object({});
33
+ exports.IdempotencyResponse$inboundSchema = z.object({
34
+ number: z.number(),
35
+ });
34
36
  /** @internal */
35
- exports.IdempotencyResponse$outboundSchema = z.object({});
37
+ exports.IdempotencyResponse$outboundSchema = z.object({
38
+ number: z.number(),
39
+ });
36
40
  /**
37
41
  * @internal
38
42
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
@@ -1 +1 @@
1
- {"version":3,"file":"idempotencyresponse.js","sourceRoot":"","sources":["../../src/models/components/idempotencyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAMjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAND,8DAMC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AARD,kEAQC"}
1
+ {"version":3,"file":"idempotencyresponse.js","sourceRoot":"","sources":["../../src/models/components/idempotencyresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAND,8DAMC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AARD,kEAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novu/api",
3
- "version": "0.0.1-alpha.161",
3
+ "version": "0.0.1-alpha.162",
4
4
  "author": "Novu",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0",
58
- sdkVersion: "0.0.1-alpha.161",
58
+ sdkVersion: "0.0.1-alpha.162",
59
59
  genVersion: "2.483.6",
60
- userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.161 2.483.6 1.0 @novu/api",
60
+ userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.162 2.483.6 1.0 @novu/api",
61
61
  } as const;
@@ -7,24 +7,35 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
 
10
- export type IdempotencyResponse = {};
10
+ export type IdempotencyResponse = {
11
+ /**
12
+ * A unique identifier for the idempotency response
13
+ */
14
+ number: number;
15
+ };
11
16
 
12
17
  /** @internal */
13
18
  export const IdempotencyResponse$inboundSchema: z.ZodType<
14
19
  IdempotencyResponse,
15
20
  z.ZodTypeDef,
16
21
  unknown
17
- > = z.object({});
22
+ > = z.object({
23
+ number: z.number(),
24
+ });
18
25
 
19
26
  /** @internal */
20
- export type IdempotencyResponse$Outbound = {};
27
+ export type IdempotencyResponse$Outbound = {
28
+ number: number;
29
+ };
21
30
 
22
31
  /** @internal */
23
32
  export const IdempotencyResponse$outboundSchema: z.ZodType<
24
33
  IdempotencyResponse$Outbound,
25
34
  z.ZodTypeDef,
26
35
  IdempotencyResponse
27
- > = z.object({});
36
+ > = z.object({
37
+ number: z.number(),
38
+ });
28
39
 
29
40
  /**
30
41
  * @internal