@novu/api 0.0.1-alpha.131 → 0.0.1-alpha.132

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.
@@ -104,7 +104,7 @@ async function subscribersCreateBulk(client, request, options) {
104
104
  const responseFields = {
105
105
  HttpMeta: { Response: response, Request: req },
106
106
  };
107
- const [result] = await M.match(M.json(200, operations
107
+ const [result] = await M.match(M.json(201, operations
108
108
  .SubscribersControllerBulkCreateSubscribersResponse$inboundSchema, { hdrs: true, key: "Result" }), M.jsonErr([400, 404, 409], errors.ErrorDto$inboundSchema, { hdrs: true }), M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }), M.fail([429, 503]), M.fail(["4XX", "5XX"]))(response, { extraFields: responseFields });
109
109
  if (!result.ok) {
110
110
  return result;
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.131";
30
+ readonly sdkVersion: "0.0.1-alpha.132";
31
31
  readonly genVersion: "2.481.0";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.131 2.481.0 1.0 @novu/api";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.132 2.481.0 1.0 @novu/api";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -30,8 +30,8 @@ exports.serverURLFromOptions = serverURLFromOptions;
30
30
  exports.SDK_METADATA = {
31
31
  language: "typescript",
32
32
  openapiDocVersion: "1.0",
33
- sdkVersion: "0.0.1-alpha.131",
33
+ sdkVersion: "0.0.1-alpha.132",
34
34
  genVersion: "2.481.0",
35
- userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.131 2.481.0 1.0 @novu/api",
35
+ userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.132 2.481.0 1.0 @novu/api",
36
36
  };
37
37
  //# sourceMappingURL=config.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novu/api",
3
- "version": "0.0.1-alpha.131",
3
+ "version": "0.0.1-alpha.132",
4
4
  "author": "Novu",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
@@ -136,7 +136,7 @@ export async function subscribersCreateBulk(
136
136
  | ConnectionError
137
137
  >(
138
138
  M.json(
139
- 200,
139
+ 201,
140
140
  operations
141
141
  .SubscribersControllerBulkCreateSubscribersResponse$inboundSchema,
142
142
  { hdrs: true, key: "Result" },
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.131",
58
+ sdkVersion: "0.0.1-alpha.132",
59
59
  genVersion: "2.481.0",
60
- userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.131 2.481.0 1.0 @novu/api",
60
+ userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.132 2.481.0 1.0 @novu/api",
61
61
  } as const;