@financeable/aggregation 0.13.1 → 0.13.3
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/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/lib/config.d.ts +0 -38
- package/lib/config.d.ts.map +0 -1
- package/lib/config.js +0 -35
- package/lib/config.js.map +0 -1
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -58,8 +58,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "0.4.0",
|
|
61
|
-
sdkVersion: "0.13.
|
|
61
|
+
sdkVersion: "0.13.3",
|
|
62
62
|
genVersion: "2.768.0",
|
|
63
63
|
userAgent:
|
|
64
|
-
"speakeasy-sdk/typescript 0.13.
|
|
64
|
+
"speakeasy-sdk/typescript 0.13.3 2.768.0 0.4.0 @financeable/aggregation",
|
|
65
65
|
} as const;
|
package/lib/config.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { HTTPClient } from "./http.js";
|
|
2
|
-
import { Logger } from "./logger.js";
|
|
3
|
-
import { RetryConfig } from "./retries.js";
|
|
4
|
-
/**
|
|
5
|
-
* Contains the list of servers available to the SDK
|
|
6
|
-
*/
|
|
7
|
-
export declare const ServerList: readonly ["https://server.api.financeable.com.au"];
|
|
8
|
-
export type SDKOptions = {
|
|
9
|
-
clientCredentials?: string | (() => Promise<string>) | undefined;
|
|
10
|
-
httpClient?: HTTPClient;
|
|
11
|
-
/**
|
|
12
|
-
* Allows overriding the default server used by the SDK
|
|
13
|
-
*/
|
|
14
|
-
serverIdx?: number | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Allows overriding the default server URL used by the SDK
|
|
17
|
-
*/
|
|
18
|
-
serverURL?: string | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Allows overriding the default user agent used by the SDK
|
|
21
|
-
*/
|
|
22
|
-
userAgent?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Allows overriding the default retry config used by the SDK
|
|
25
|
-
*/
|
|
26
|
-
retryConfig?: RetryConfig;
|
|
27
|
-
timeoutMs?: number;
|
|
28
|
-
debugLogger?: Logger;
|
|
29
|
-
};
|
|
30
|
-
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
31
|
-
export declare const SDK_METADATA: {
|
|
32
|
-
readonly language: "typescript";
|
|
33
|
-
readonly openapiDocVersion: "0.4.0";
|
|
34
|
-
readonly sdkVersion: "0.13.1";
|
|
35
|
-
readonly genVersion: "2.768.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.13.1 2.768.0 0.4.0 @financeable/aggregation";
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,UAAU,oDAEb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG;IACvB,iBAAiB,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAEjE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,GAAG,GAAG,GAAG,IAAI,CAepE;AAED,eAAO,MAAM,YAAY;;;;;;CAOf,CAAC"}
|
package/lib/config.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SDK_METADATA = exports.ServerList = void 0;
|
|
7
|
-
exports.serverURLFromOptions = serverURLFromOptions;
|
|
8
|
-
const url_js_1 = require("./url.js");
|
|
9
|
-
/**
|
|
10
|
-
* Contains the list of servers available to the SDK
|
|
11
|
-
*/
|
|
12
|
-
exports.ServerList = [
|
|
13
|
-
"https://server.api.financeable.com.au",
|
|
14
|
-
];
|
|
15
|
-
function serverURLFromOptions(options) {
|
|
16
|
-
let serverURL = options.serverURL;
|
|
17
|
-
const params = {};
|
|
18
|
-
if (!serverURL) {
|
|
19
|
-
const serverIdx = options.serverIdx ?? 0;
|
|
20
|
-
if (serverIdx < 0 || serverIdx >= exports.ServerList.length) {
|
|
21
|
-
throw new Error(`Invalid server index ${serverIdx}`);
|
|
22
|
-
}
|
|
23
|
-
serverURL = exports.ServerList[serverIdx] || "";
|
|
24
|
-
}
|
|
25
|
-
const u = (0, url_js_1.pathToFunc)(serverURL)(params);
|
|
26
|
-
return new URL(u);
|
|
27
|
-
}
|
|
28
|
-
exports.SDK_METADATA = {
|
|
29
|
-
language: "typescript",
|
|
30
|
-
openapiDocVersion: "0.4.0",
|
|
31
|
-
sdkVersion: "0.13.1",
|
|
32
|
-
genVersion: "2.768.0",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 0.13.1 2.768.0 0.4.0 @financeable/aggregation",
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsCH,oDAeC;AAhDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,uCAAuC;CAC/B,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,wEAAwE;CAClE,CAAC"}
|