@financeable/aggregation 0.3.1 → 0.3.2

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/funcs/getToken.js CHANGED
@@ -102,7 +102,7 @@ async function $do(client, request, options) {
102
102
  return [doResult, { status: "request-error", request: req }];
103
103
  }
104
104
  const response = doResult.value;
105
- const [result] = await M.match(M.json(201, components.TokenResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response);
105
+ const [result] = await M.match(M.json(200, components.TokenResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response);
106
106
  if (!result.ok) {
107
107
  return [result, { status: "complete", request: req, response }];
108
108
  }
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@financeable/aggregation",
5
- "version": "0.3.1",
5
+ "version": "0.3.2",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -26,9 +26,9 @@ export type SDKOptions = {
26
26
  export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
- readonly openapiDocVersion: "0.3.0";
30
- readonly sdkVersion: "0.3.1";
29
+ readonly openapiDocVersion: "0.3.2";
30
+ readonly sdkVersion: "0.3.2";
31
31
  readonly genVersion: "2.515.0";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.3.1 2.515.0 0.3.0 @financeable/aggregation";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.3.2 2.515.0 0.3.2 @financeable/aggregation";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -30,9 +30,9 @@ function serverURLFromOptions(options) {
30
30
  }
31
31
  exports.SDK_METADATA = {
32
32
  language: "typescript",
33
- openapiDocVersion: "0.3.0",
34
- sdkVersion: "0.3.1",
33
+ openapiDocVersion: "0.3.2",
34
+ sdkVersion: "0.3.2",
35
35
  genVersion: "2.515.0",
36
- userAgent: "speakeasy-sdk/typescript 0.3.1 2.515.0 0.3.0 @financeable/aggregation",
36
+ userAgent: "speakeasy-sdk/typescript 0.3.2 2.515.0 0.3.2 @financeable/aggregation",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financeable/aggregation",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
@@ -141,7 +141,7 @@ async function $do(
141
141
  | RequestTimeoutError
142
142
  | ConnectionError
143
143
  >(
144
- M.json(201, components.TokenResponse$inboundSchema),
144
+ M.json(200, components.TokenResponse$inboundSchema),
145
145
  M.fail("4XX"),
146
146
  M.fail("5XX"),
147
147
  )(response);
package/src/lib/config.ts CHANGED
@@ -56,9 +56,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
56
56
 
57
57
  export const SDK_METADATA = {
58
58
  language: "typescript",
59
- openapiDocVersion: "0.3.0",
60
- sdkVersion: "0.3.1",
59
+ openapiDocVersion: "0.3.2",
60
+ sdkVersion: "0.3.2",
61
61
  genVersion: "2.515.0",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.3.1 2.515.0 0.3.0 @financeable/aggregation",
63
+ "speakeasy-sdk/typescript 0.3.2 2.515.0 0.3.2 @financeable/aggregation",
64
64
  } as const;