@oapiex/sdk-kit 0.1.9 → 0.1.12
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.js +1 -0
- package/dist/index.d.ts +9 -4
- package/dist/index.js +50 -17972
- package/package.json +6 -12
- 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.cjs +0 -19115
- package/dist/index.d.cts +0 -621
- /package/dist/{index-BA7Ul1Pi.d.cts → index-CZOi0v1m.d.ts} +0 -0
package/dist/contracts.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-CZOi0v1m.js";
|
|
2
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CZOi0v1m.js";
|
|
2
2
|
import "dotenv/config";
|
|
3
3
|
import * as axios0 from "axios";
|
|
4
4
|
import { RawAxiosRequestHeaders } from "axios";
|
|
@@ -369,6 +369,12 @@ declare class BaseApi {
|
|
|
369
369
|
static initialize<T extends BaseApi>(this: new (coreInstance: Core) => T, coreInstance: Core): T;
|
|
370
370
|
}
|
|
371
371
|
//#endregion
|
|
372
|
+
//#region src/config.d.ts
|
|
373
|
+
declare const defaultConfig: UserConfig;
|
|
374
|
+
declare const createDefaultConfig: () => UserConfig;
|
|
375
|
+
declare const mergeConfig: (baseConfig: UserConfig, config: Partial<UserConfig>) => UserConfig;
|
|
376
|
+
declare const defineConfig: <TConfig extends Partial<UserConfig>>(config: TConfig) => TConfig;
|
|
377
|
+
//#endregion
|
|
372
378
|
//#region src/global.d.ts
|
|
373
379
|
declare global {
|
|
374
380
|
interface String {
|
|
@@ -571,10 +577,9 @@ declare const normalizeValue: <T>(value: T | T[]) => T[];
|
|
|
571
577
|
declare const buildUrl: (baseUrl: string, ...endpoint: string[]) => string;
|
|
572
578
|
//#endregion
|
|
573
579
|
//#region src/utilities/Manager.d.ts
|
|
574
|
-
declare const defaultConfig: UserConfig;
|
|
575
580
|
declare let globalConfig: UserConfig;
|
|
576
581
|
declare const loadUserConfig: (rootDir?: string) => Partial<UserConfig> | null;
|
|
577
|
-
declare const
|
|
582
|
+
declare const updateConfig: (config: Partial<UserConfig>) => UserConfig;
|
|
578
583
|
declare const getConfig: () => UserConfig;
|
|
579
584
|
declare const resetConfig: () => UserConfig;
|
|
580
585
|
//#endregion
|
|
@@ -619,4 +624,4 @@ declare class WebhookValidator<Options extends XGenericObject = XGenericObject>
|
|
|
619
624
|
};
|
|
620
625
|
}
|
|
621
626
|
//#endregion
|
|
622
|
-
export { AccessTokenCacheLoader, AccessValidationConfigUpdate, AccessValidationResult, ApiKeyAuthConfig, AuthCacheLoader, AuthConfig, AuthErrorResponse, AuthRequestConfig, AuthResponse, BadRequestException, BaseApi, BasicAuthConfig, BearerAuthConfig, Builder, CachedAccessTokenValue, CachedAuthValue, Core, CountryCode, CountryCodeRestricted, CurrencyCode, CursorPagination, CustomAuthConfig, DebugLevel, Environment, ErrorResponse, ForbiddenRequestException, Http, HttpException, HttpMethod, InferRuntimeSdkApi, InitOptions, NormalPagination, OAuth2AuthConfig, PageInfoMeta, Response, ResponseStatus, RuntimeSdkBundle, RuntimeSdkGroupManifest, RuntimeSdkManifest, RuntimeSdkOperationManifest, RuntimeSdkParameterManifest, RuntimeSdkSecurityRequirementManifest, RuntimeSdkSecurityRequirementSchemeManifest, RuntimeSdkSecuritySchemeManifest, SuccessResponse, UnauthorizedRequestException, UnifiedResponse, UserConfig, UserUrls, ValidationError, ValidationErrorResponse, WebhookValidator, XGenericObject, buildUrl, createAccessTokenCache, createAuthCache, createRuntimeApi, createSdk, defaultConfig, defineConfig, getConfig, globalConfig, loadUserConfig, normalizeValue, resetConfig };
|
|
627
|
+
export { AccessTokenCacheLoader, AccessValidationConfigUpdate, AccessValidationResult, ApiKeyAuthConfig, AuthCacheLoader, AuthConfig, AuthErrorResponse, AuthRequestConfig, AuthResponse, BadRequestException, BaseApi, BasicAuthConfig, BearerAuthConfig, Builder, CachedAccessTokenValue, CachedAuthValue, Core, CountryCode, CountryCodeRestricted, CurrencyCode, CursorPagination, CustomAuthConfig, DebugLevel, Environment, ErrorResponse, ForbiddenRequestException, Http, HttpException, HttpMethod, InferRuntimeSdkApi, InitOptions, NormalPagination, OAuth2AuthConfig, PageInfoMeta, Response, ResponseStatus, RuntimeSdkBundle, RuntimeSdkGroupManifest, RuntimeSdkManifest, RuntimeSdkOperationManifest, RuntimeSdkParameterManifest, RuntimeSdkSecurityRequirementManifest, RuntimeSdkSecurityRequirementSchemeManifest, RuntimeSdkSecuritySchemeManifest, SuccessResponse, UnauthorizedRequestException, UnifiedResponse, UserConfig, UserUrls, ValidationError, ValidationErrorResponse, WebhookValidator, XGenericObject, buildUrl, createAccessTokenCache, createAuthCache, createDefaultConfig, createRuntimeApi, createSdk, defaultConfig, defineConfig, getConfig, globalConfig, loadUserConfig, mergeConfig, normalizeValue, resetConfig, updateConfig };
|