@oapiex/sdk-kit 0.1.8 → 0.1.11
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/contracts.d.ts +1 -1
- package/dist/contracts.mjs +1 -0
- package/dist/index.cjs +76 -17975
- package/dist/index.d.ts +10 -6
- package/dist/index.mjs +1159 -0
- package/package.json +5 -5
- package/dist/chunk-BLWcukCW.js +0 -33
- package/dist/chunk-BncF-t-1.cjs +0 -48
- package/dist/contracts.d.cts +0 -2
- package/dist/find-up-simple-BGJv1vWM.cjs +0 -34
- package/dist/find-up-simple-eHmrWCoZ.js +0 -30
- package/dist/index-BM1p0FMj.d.ts +0 -164
- package/dist/index.d.cts +0 -621
- package/dist/index.js +0 -19081
- /package/dist/{index-BA7Ul1Pi.d.cts → index-CZOi0v1m.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oapiex/sdk-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.11",
|
|
5
5
|
"description": "A TypeScript Base for building SDKs using OpenAPI specifications extracted by OAPIEX.",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"private": false,
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
|
-
"module": "./dist/index.
|
|
18
|
-
"types": "./dist/index.d.
|
|
17
|
+
"module": "./dist/index.mjs",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
|
-
"import": "./dist/index.
|
|
21
|
+
"import": "./dist/index.mjs",
|
|
22
22
|
"require": "./dist/index.cjs"
|
|
23
23
|
},
|
|
24
24
|
"./contracts": {
|
|
25
|
-
"import": "./dist/contracts.
|
|
25
|
+
"import": "./dist/contracts.mjs",
|
|
26
26
|
"require": "./dist/contracts.cjs"
|
|
27
27
|
},
|
|
28
28
|
"./package.json": "./package.json"
|
package/dist/chunk-BLWcukCW.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
|
|
3
|
-
//#region rolldown:runtime
|
|
4
|
-
var __create = Object.create;
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
-
var __esm = (fn, res) => function() {
|
|
11
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
|
-
};
|
|
13
|
-
var __commonJS = (cb, mod) => function() {
|
|
14
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
18
|
-
key = keys[i];
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
20
|
-
get: ((k) => from[k]).bind(null, key),
|
|
21
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
27
|
-
value: mod,
|
|
28
|
-
enumerable: true
|
|
29
|
-
}) : target, mod));
|
|
30
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
31
|
-
|
|
32
|
-
//#endregion
|
|
33
|
-
export { __toESM as i, __esm as n, __require as r, __commonJS as t };
|
package/dist/chunk-BncF-t-1.cjs
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function() {
|
|
9
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
10
|
-
};
|
|
11
|
-
var __commonJS = (cb, mod) => function() {
|
|
12
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
13
|
-
};
|
|
14
|
-
var __copyProps = (to, from, except, desc) => {
|
|
15
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
16
|
-
key = keys[i];
|
|
17
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
18
|
-
get: ((k) => from[k]).bind(null, key),
|
|
19
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return to;
|
|
23
|
-
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
25
|
-
value: mod,
|
|
26
|
-
enumerable: true
|
|
27
|
-
}) : target, mod));
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
|
|
31
|
-
Object.defineProperty(exports, '__commonJS', {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () {
|
|
34
|
-
return __commonJS;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, '__esm', {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return __esm;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, '__toESM', {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return __toESM;
|
|
47
|
-
}
|
|
48
|
-
});
|
package/dist/contracts.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { A as CountryCodeRestricted, C as UnifiedResponse, D as ValidationErrorResponse, E as ValidationError, O as XGenericObject, S as SuccessResponse, T as UserUrls, _ as NormalPagination, a as AuthErrorResponse, b as Response, c as BasicAuthConfig, d as CustomAuthConfig, f as DebugLevel, g as InitOptions, h as HttpMethod, i as AuthConfig, j as CurrencyCode, k as CountryCode, l as BearerAuthConfig, m as ErrorResponse, n as AccessValidationResult, o as AuthRequestConfig, p as Environment, r as ApiKeyAuthConfig, s as AuthResponse, t as AccessValidationConfigUpdate, u as CursorPagination, v as OAuth2AuthConfig, w as UserConfig, x as ResponseStatus, y as PageInfoMeta } from "./index-BA7Ul1Pi.cjs";
|
|
2
|
-
export { AccessValidationConfigUpdate, AccessValidationResult, ApiKeyAuthConfig, AuthConfig, AuthErrorResponse, AuthRequestConfig, AuthResponse, BasicAuthConfig, BearerAuthConfig, CountryCode, CountryCodeRestricted, CurrencyCode, CursorPagination, CustomAuthConfig, DebugLevel, Environment, ErrorResponse, HttpMethod, InitOptions, NormalPagination, OAuth2AuthConfig, PageInfoMeta, Response, ResponseStatus, SuccessResponse, UnifiedResponse, UserConfig, UserUrls, ValidationError, ValidationErrorResponse, XGenericObject };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-BncF-t-1.cjs');
|
|
2
|
-
let node_path = require("node:path");
|
|
3
|
-
node_path = require_chunk.__toESM(node_path);
|
|
4
|
-
let node_process = require("node:process");
|
|
5
|
-
node_process = require_chunk.__toESM(node_process);
|
|
6
|
-
let node_fs_promises = require("node:fs/promises");
|
|
7
|
-
node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
8
|
-
let node_url = require("node:url");
|
|
9
|
-
node_url = require_chunk.__toESM(node_url);
|
|
10
|
-
|
|
11
|
-
//#region ../../node_modules/.pnpm/find-up-simple@1.0.1/node_modules/find-up-simple/index.js
|
|
12
|
-
async function findUp(name, { cwd = node_process.default.cwd(), type = "file", stopAt } = {}) {
|
|
13
|
-
let directory = node_path.default.resolve(toPath(cwd) ?? "");
|
|
14
|
-
const { root } = node_path.default.parse(directory);
|
|
15
|
-
stopAt = node_path.default.resolve(directory, toPath(stopAt ?? root));
|
|
16
|
-
const isAbsoluteName = node_path.default.isAbsolute(name);
|
|
17
|
-
while (directory) {
|
|
18
|
-
const filePath = isAbsoluteName ? name : node_path.default.join(directory, name);
|
|
19
|
-
try {
|
|
20
|
-
const stats = await node_fs_promises.default.stat(filePath);
|
|
21
|
-
if (type === "file" && stats.isFile() || type === "directory" && stats.isDirectory()) return filePath;
|
|
22
|
-
} catch {}
|
|
23
|
-
if (directory === stopAt || directory === root) break;
|
|
24
|
-
directory = node_path.default.dirname(directory);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
var toPath;
|
|
28
|
-
var init_find_up_simple = require_chunk.__esm({ "../../node_modules/.pnpm/find-up-simple@1.0.1/node_modules/find-up-simple/index.js": (() => {
|
|
29
|
-
toPath = (urlOrPath) => urlOrPath instanceof URL ? (0, node_url.fileURLToPath)(urlOrPath) : urlOrPath;
|
|
30
|
-
}) });
|
|
31
|
-
|
|
32
|
-
//#endregion
|
|
33
|
-
init_find_up_simple();
|
|
34
|
-
exports.findUp = findUp;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { n as __esm } from "./chunk-BLWcukCW.js";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
import process from "node:process";
|
|
4
|
-
import fsPromises from "node:fs/promises";
|
|
5
|
-
import { fileURLToPath } from "node:url";
|
|
6
|
-
|
|
7
|
-
//#region ../../node_modules/.pnpm/find-up-simple@1.0.1/node_modules/find-up-simple/index.js
|
|
8
|
-
async function findUp(name, { cwd = process.cwd(), type = "file", stopAt } = {}) {
|
|
9
|
-
let directory = path.resolve(toPath(cwd) ?? "");
|
|
10
|
-
const { root } = path.parse(directory);
|
|
11
|
-
stopAt = path.resolve(directory, toPath(stopAt ?? root));
|
|
12
|
-
const isAbsoluteName = path.isAbsolute(name);
|
|
13
|
-
while (directory) {
|
|
14
|
-
const filePath = isAbsoluteName ? name : path.join(directory, name);
|
|
15
|
-
try {
|
|
16
|
-
const stats = await fsPromises.stat(filePath);
|
|
17
|
-
if (type === "file" && stats.isFile() || type === "directory" && stats.isDirectory()) return filePath;
|
|
18
|
-
} catch {}
|
|
19
|
-
if (directory === stopAt || directory === root) break;
|
|
20
|
-
directory = path.dirname(directory);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
var toPath;
|
|
24
|
-
var init_find_up_simple = __esm({ "../../node_modules/.pnpm/find-up-simple@1.0.1/node_modules/find-up-simple/index.js": (() => {
|
|
25
|
-
toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
|
|
26
|
-
}) });
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
|
-
init_find_up_simple();
|
|
30
|
-
export { findUp };
|
package/dist/index-BM1p0FMj.d.ts
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
//#region src/Contracts/Codes.d.ts
|
|
2
|
-
type CurrencyCode = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'AQD' | 'ARS' | 'AUD' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CYP' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'ECS' | 'EEK' | 'EGP' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MTL' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SKK' | 'SLL' | 'SOS' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMK' | 'ZWD' | 'ZMW' | 'BGN';
|
|
3
|
-
type CountryCode = 'CM' | 'CI' | 'CG' | 'EG' | 'ET' | 'GA' | 'GH' | 'IN' | 'KE' | 'MW' | 'NG' | 'RW' | 'SL' | 'SN' | 'TD' | 'TZ' | 'UG' | 'US' | 'ZA' | 'ZM';
|
|
4
|
-
type CountryCodeRestricted = 'CG' | 'CM' | 'CI' | 'EG' | 'ET' | 'GA' | 'GH' | 'KE' | 'MW' | 'RW' | 'SN' | 'TZ' | 'TD' | 'UG' | 'ZM';
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/Contracts/Interfaces.d.ts
|
|
7
|
-
interface XGenericObject {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/Contracts/Core.d.ts
|
|
12
|
-
type Environment = 'sandbox' | 'live';
|
|
13
|
-
type DebugLevel = 0 | 1 | 2 | 3;
|
|
14
|
-
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
15
|
-
type ResponseStatus = 'failed' | 'success';
|
|
16
|
-
interface ValidationError {
|
|
17
|
-
'field_name': string;
|
|
18
|
-
'message': string;
|
|
19
|
-
}
|
|
20
|
-
interface ErrorResponse {
|
|
21
|
-
status: ResponseStatus;
|
|
22
|
-
message?: string;
|
|
23
|
-
error: {
|
|
24
|
-
type: string;
|
|
25
|
-
code: string | number;
|
|
26
|
-
message: string;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
interface ValidationErrorResponse {
|
|
30
|
-
status: ResponseStatus;
|
|
31
|
-
message?: string;
|
|
32
|
-
error: {
|
|
33
|
-
type: string;
|
|
34
|
-
code: string | number;
|
|
35
|
-
message: string;
|
|
36
|
-
validation_errors: ValidationError[];
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
interface SuccessResponse<T = any> {
|
|
40
|
-
status: ResponseStatus;
|
|
41
|
-
message: string;
|
|
42
|
-
data: T;
|
|
43
|
-
}
|
|
44
|
-
interface AuthResponse {
|
|
45
|
-
access_token: string;
|
|
46
|
-
expires_in: number;
|
|
47
|
-
refresh_expires_in: number;
|
|
48
|
-
token_type: 'Bearer';
|
|
49
|
-
scope: string;
|
|
50
|
-
}
|
|
51
|
-
interface AuthErrorResponse {
|
|
52
|
-
error: 'invalid_request';
|
|
53
|
-
error_description: string;
|
|
54
|
-
}
|
|
55
|
-
type Response<T = any> = SuccessResponse<T> | ErrorResponse;
|
|
56
|
-
interface UnifiedResponse<T = any, M extends XGenericObject = XGenericObject> {
|
|
57
|
-
success: boolean;
|
|
58
|
-
message: string;
|
|
59
|
-
status?: ResponseStatus;
|
|
60
|
-
data: T;
|
|
61
|
-
meta?: M | undefined;
|
|
62
|
-
error?: {
|
|
63
|
-
type: string;
|
|
64
|
-
code: string | number;
|
|
65
|
-
message: string;
|
|
66
|
-
validation_errors: ValidationError[];
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
interface CursorPagination {
|
|
70
|
-
next?: string;
|
|
71
|
-
previous?: string;
|
|
72
|
-
limit: number;
|
|
73
|
-
total: number;
|
|
74
|
-
has_more_items: boolean;
|
|
75
|
-
}
|
|
76
|
-
interface NormalPagination {
|
|
77
|
-
total: number;
|
|
78
|
-
current_page: number;
|
|
79
|
-
total_pages: number;
|
|
80
|
-
}
|
|
81
|
-
interface PageInfoMeta {
|
|
82
|
-
page_info: NormalPagination;
|
|
83
|
-
}
|
|
84
|
-
interface UserUrls {
|
|
85
|
-
live?: string;
|
|
86
|
-
sandbox?: string;
|
|
87
|
-
}
|
|
88
|
-
interface BearerAuthConfig {
|
|
89
|
-
type: 'bearer';
|
|
90
|
-
token: string;
|
|
91
|
-
prefix?: string;
|
|
92
|
-
}
|
|
93
|
-
interface OAuth2AuthConfig {
|
|
94
|
-
type: 'oauth2';
|
|
95
|
-
accessToken: string;
|
|
96
|
-
tokenType?: string;
|
|
97
|
-
}
|
|
98
|
-
interface BasicAuthConfig {
|
|
99
|
-
type: 'basic';
|
|
100
|
-
username: string;
|
|
101
|
-
password: string;
|
|
102
|
-
}
|
|
103
|
-
interface ApiKeyAuthConfig {
|
|
104
|
-
type: 'apiKey';
|
|
105
|
-
name: string;
|
|
106
|
-
value: string;
|
|
107
|
-
in?: 'header' | 'query' | 'cookie';
|
|
108
|
-
prefix?: string;
|
|
109
|
-
}
|
|
110
|
-
interface AuthRequestConfig {
|
|
111
|
-
url: string;
|
|
112
|
-
method: HttpMethod;
|
|
113
|
-
headers: Record<string, string>;
|
|
114
|
-
params: XGenericObject;
|
|
115
|
-
body?: unknown;
|
|
116
|
-
}
|
|
117
|
-
interface CustomAuthConfig {
|
|
118
|
-
type: 'custom';
|
|
119
|
-
apply: (request: AuthRequestConfig) => AuthRequestConfig | Promise<AuthRequestConfig>;
|
|
120
|
-
}
|
|
121
|
-
type AuthConfig = BearerAuthConfig | OAuth2AuthConfig | BasicAuthConfig | ApiKeyAuthConfig | CustomAuthConfig;
|
|
122
|
-
type AccessValidationConfigUpdate = Partial<UserConfig> | AuthConfig | AuthConfig[];
|
|
123
|
-
type AccessValidationResult = boolean | string | void | AccessValidationConfigUpdate;
|
|
124
|
-
interface InitOptions {
|
|
125
|
-
/**
|
|
126
|
-
* Your API Public Key
|
|
127
|
-
*/
|
|
128
|
-
clientId?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Your API Secret Key
|
|
131
|
-
*/
|
|
132
|
-
clientSecret?: string;
|
|
133
|
-
/**
|
|
134
|
-
* Your API Encryption Key
|
|
135
|
-
*/
|
|
136
|
-
encryptionKey?: string;
|
|
137
|
-
/**
|
|
138
|
-
* Environment to use
|
|
139
|
-
*/
|
|
140
|
-
environment?: Environment;
|
|
141
|
-
/**
|
|
142
|
-
* Override environment base URLs.
|
|
143
|
-
*/
|
|
144
|
-
urls?: UserUrls;
|
|
145
|
-
/**
|
|
146
|
-
* Default headers applied to every request.
|
|
147
|
-
*/
|
|
148
|
-
headers?: Record<string, string>;
|
|
149
|
-
/**
|
|
150
|
-
* Request timeout in milliseconds.
|
|
151
|
-
*/
|
|
152
|
-
timeout?: number;
|
|
153
|
-
/**
|
|
154
|
-
* Request authentication strategy or strategies.
|
|
155
|
-
*/
|
|
156
|
-
auth?: AuthConfig | AuthConfig[];
|
|
157
|
-
/**
|
|
158
|
-
* HTTP debug verbosity. Use 0 to disable logging.
|
|
159
|
-
*/
|
|
160
|
-
debugLevel?: DebugLevel;
|
|
161
|
-
}
|
|
162
|
-
interface UserConfig extends InitOptions {}
|
|
163
|
-
//#endregion
|
|
164
|
-
export { CountryCodeRestricted as A, UnifiedResponse as C, ValidationErrorResponse as D, ValidationError as E, XGenericObject as O, SuccessResponse as S, UserUrls as T, NormalPagination as _, AuthErrorResponse as a, Response as b, BasicAuthConfig as c, CustomAuthConfig as d, DebugLevel as f, InitOptions as g, HttpMethod as h, AuthConfig as i, CurrencyCode as j, CountryCode as k, BearerAuthConfig as l, ErrorResponse as m, AccessValidationResult as n, AuthRequestConfig as o, Environment as p, ApiKeyAuthConfig as r, AuthResponse as s, AccessValidationConfigUpdate as t, CursorPagination as u, OAuth2AuthConfig as v, UserConfig as w, ResponseStatus as x, PageInfoMeta as y };
|