@reopt-ai/brandapp-sdk 4.5.0-platform.0 → 4.6.0

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +1 -0
  3. package/dist/ai/index.js +1 -1
  4. package/dist/ai-provider/index.js +1 -1
  5. package/dist/analytics/index.js +1 -1
  6. package/dist/auth/index.js +1 -1
  7. package/dist/better-auth/index.d.ts +2 -7
  8. package/dist/better-auth/index.js +2 -3
  9. package/dist/{client-BwgCbfXv.js → client-BzAgabAs.js} +2 -2
  10. package/dist/{client-B0XUjOuP.js → client-C2xE9HGZ.js} +4 -4
  11. package/dist/{client-Cv1bdMBf.js → client-CI2Y00Qx.js} +2 -2
  12. package/dist/{client-BNht520A.js → client-Ce0gs5Ma.js} +2 -2
  13. package/dist/{client-CKi1NpMR.js → client-DCqp0Bis.js} +2 -2
  14. package/dist/{client-B270eCrs.js → client-DeC127BD.js} +2 -2
  15. package/dist/{client-C2ALt685.js → client-DjLhTNsZ.js} +3 -3
  16. package/dist/{client-BIMl52kc.js → client-FM6_YJbr.js} +3 -3
  17. package/dist/{client-WxPjMNy_.js → client-eDd4aWDs.js} +2 -2
  18. package/dist/{client-DNzgX_md.js → client-tJq0U_jn.js} +4 -4
  19. package/dist/cms/index.js +1 -1
  20. package/dist/{config-DkT0F-GG.js → config-BeOelISH.js} +2 -2
  21. package/dist/eav/index.js +2 -2
  22. package/dist/feedback/index.js +1 -1
  23. package/dist/files/index.js +1 -1
  24. package/dist/{http-client-BO5A5n4I.js → http-client-Bl8u1vHN.js} +2 -2
  25. package/dist/index.js +12 -12
  26. package/dist/logout/index.js +1 -1
  27. package/dist/plans/index.js +1 -1
  28. package/dist/push/index.js +1 -1
  29. package/dist/{query-D08B_HFt.js → query-JPVK_8N5.js} +2 -2
  30. package/dist/terms/index.js +1 -1
  31. package/dist/workspace/index.d.ts +372 -1
  32. package/dist/workspace/index.js +362 -3
  33. package/docs/api-reference.md +4 -0
  34. package/docs/workspace.md +141 -0
  35. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -7,6 +7,47 @@ This project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.6.0] — 2026-09-22
11
+
12
+ ### Added
13
+
14
+ - `./workspace`에 `platformCustomerUpsertInputSchema`·`PlatformCustomerUpsertInput`을 추가했다
15
+ (RFC-0029 §13 — 외부 앱 고객을 워크스페이스 CRM에 미러링하는 입력). `attributes` 키는
16
+ 워크스페이스에 선언된 속성 **이름**이고, 선언에 없거나 타입이 어긋나면 서버가 400으로 거절한다.
17
+
18
+ ### Fixed
19
+
20
+ - Better Auth 의존성을 1.7.4로 갱신하고 제거된 `accountIssuer` 설정 전달을 중단했다.
21
+ SDK의 같은 이름 옵션은 소스 호환성을 위해 deprecated 상태로 유지하지만 동작하지 않는다.
22
+
23
+ ## [4.5.0] — 2026-09-09
24
+
25
+ `4.5.0-platform.0`(platform 태그)의 정식 릴리스 — 그 프리릴리스 내용을 모두 포함한다.
26
+
27
+ ### Added
28
+
29
+ - `@reopt-ai/brandapp-sdk/workspace`가 **선언형 자원**까지 다룬다(RFC-0030 Platform as Code).
30
+ `resources.list()`가 워크스페이스 자원 전부를 한 왕복으로 읽고,
31
+ `brands`·`brandapps`·`oauthClients`·`eav.applySchema`·`works.{upsertPipeline,deletePipeline,importPipeline}`·
32
+ `lock.{acquire,release}`가 그것을 바꾼다. 구조 변경은 scope `workspace:admin`으로,
33
+ 업무 쓰기(`works:write`)와 열쇠가 분리된다.
34
+ - 자원·입력 zod 스키마와 타입 전부를 export한다(`platformBrand*`·`platformBrandapp*`·
35
+ `platformOAuthClient*`·`platformEav*`·`platformPipelineResource*`·`platformResourcesV2Schema` 등).
36
+ 어휘 상수 `PLATFORM_ADMIN_SCOPE`·`PLATFORM_MANAGED_BY_VALUES`·`PLATFORM_STAGE_COLORS`·
37
+ `platformResourceKeySchema`도 함께 — 서버가 검증하는 것과 같은 출처다.
38
+ - 문서: [`docs/workspace.md`](./docs/workspace.md) — 자격·audience 규칙, 업무 흐름,
39
+ 선언형 자원, 파괴적 변경의 fail-closed 계약.
40
+
41
+ ### Changed
42
+
43
+ - 🔴 파괴적 변경은 **기본 거절**이다. 업무가 남은 파이프라인·단계, 레코드가 남은 EAV 엔티티,
44
+ 값이 남은 속성, 살아 있는 토큰을 가진 OAuth 클라이언트를 지우면 `409 DESTRUCTIVE_BLOCKED`로
45
+ **트랜잭션째** 롤백된다(`PlatformApiError.fields`가 무엇이 얼마나 걸렸는지 말한다).
46
+ 뜻이 있을 때만 `allowDestructive`를 넘긴다. 기본 파이프라인 삭제는 `422`로 해제 불가.
47
+ - apply 락도 fail-closed다 — 잡혀 있으면 `LOCK_HELD`(409), 락 저장소가 불가하면
48
+ `LOCK_UNAVAILABLE`(503). EAV 마이그레이션 러너와 같은 락이라 둘이 엇갈리지 않는다.
49
+ - 🔴 OAuth 시크릿 평문은 **생성·회전 응답에만** 실린다(서버는 해시만 보관). 그때 받아 두거나 회전할 것.
50
+
10
51
  ## [4.5.0-platform.0] - 2026-09-07
11
52
 
12
53
  ### Added
package/README.md CHANGED
@@ -301,6 +301,7 @@ const meta = asJson<Meta>(record.values.meta); // Meta | undefined
301
301
  | `"./logout"` | `createBackchannelLogoutHandler`, `verifyBackchannelLogoutToken`, `buildEndSessionUrl` | No |
302
302
  | `"./webhooks"` | `createWebhookHandler`, `verifySignature` | No |
303
303
  | `"./react/hooks"` | TanStack Query hooks (`useAiCredits`, `useEavRecords`, …) | No |
304
+ | `"./workspace"` | `createPlatformClient` — workspace-scoped platform API (**server-only**) | No |
304
305
  | `"./dev"` / `"./testing"` | `createDevServer` / `createTestSDK` (local dev + fixtures) | No |
305
306
 
306
307
  > Full signatures for every sub-path: [`docs/api-reference.md`](./docs/api-reference.md).
package/dist/ai/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as createReoptAiClient, t as ReoptAiClient } from "../client-B0XUjOuP.js";
1
+ import { n as createReoptAiClient, t as ReoptAiClient } from "../client-C2xE9HGZ.js";
2
2
 
3
3
  export { ReoptAiClient, createReoptAiClient };
@@ -1,4 +1,4 @@
1
- import { i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe } from "../config-DkT0F-GG.js";
1
+ import { i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, r as assertBrowserSafe } from "../config-BeOelISH.js";
2
2
  import { t as createManagedAbort } from "../abort--nOBFN4M.js";
3
3
  import { t as createAuthHeader } from "../encoding-Bwfm3iaE.js";
4
4
  import { t as createSSELineProcessor } from "../sse-parser-FMjxM7sY.js";
@@ -1,4 +1,4 @@
1
- import { n as createReoptAnalyticsClient, t as ReoptAnalyticsClient } from "../client-BwgCbfXv.js";
1
+ import { n as createReoptAnalyticsClient, t as ReoptAnalyticsClient } from "../client-BzAgabAs.js";
2
2
  import { getInstance, identify, init, pageView, setConsent, track } from "@reopt-ai/data-sdk";
3
3
 
4
4
  //#region src/analytics/browser.ts
@@ -1,4 +1,4 @@
1
- import { n as createReoptAuthClient, t as ReoptAuthClient } from "../client-WxPjMNy_.js";
1
+ import { n as createReoptAuthClient, t as ReoptAuthClient } from "../client-eDd4aWDs.js";
2
2
 
3
3
  //#region src/auth/session.ts
4
4
  /**
@@ -26,13 +26,8 @@ type ReoptOAuthOptions = ReoptSDKConfig & {
26
26
  /** Additional OAuth scopes */
27
27
  additionalScopes?: string[];
28
28
  /**
29
- * Account namespace (`account.issuer`) for users signed in through Reopt.
30
- * Defaults to the id host (`https://id.reopt.ai`), which is exactly what
31
- * Reopt's OIDC discovery document reports as `issuer` — so the default
32
- * changes nothing for existing accounts.
33
- *
34
- * Set this only if you point `idBaseUrl` at a proxy whose discovery
35
- * `issuer` differs from the URL you configured.
29
+ * @deprecated Better Auth 1.7.3+ identifies accounts by providerId/accountId.
30
+ * Retained for source compatibility; this option is no longer forwarded.
36
31
  */
37
32
  accountIssuer?: string;
38
33
  /**
@@ -1,5 +1,5 @@
1
- import { O as isReoptSDKError, S as ReoptSDKError, a as resolveIdBaseUrl, s as AuthError, t as REOPT_BASE_URLS, w as ServerError, x as RateLimitError } from "../config-DkT0F-GG.js";
2
- import { t as BaseHttpClient } from "../http-client-BO5A5n4I.js";
1
+ import { O as isReoptSDKError, S as ReoptSDKError, a as resolveIdBaseUrl, s as AuthError, t as REOPT_BASE_URLS, w as ServerError, x as RateLimitError } from "../config-BeOelISH.js";
2
+ import { t as BaseHttpClient } from "../http-client-Bl8u1vHN.js";
3
3
  import { n as REOPT_PROVIDER_ID, t as REOPT_DEFAULT_SCOPES } from "../types-DjDRszNj.js";
4
4
  import { createAdapterFactory } from "better-auth/adapters";
5
5
  import { genericOAuth } from "better-auth/plugins";
@@ -164,7 +164,6 @@ function createReoptOAuth(options) {
164
164
  return genericOAuth({ config: [{
165
165
  providerId: REOPT_PROVIDER_ID,
166
166
  discoveryUrl: `${idBaseUrl}/api/auth/.well-known/openid-configuration`,
167
- accountIssuer: options.accountIssuer ?? idBaseUrl,
168
167
  authorizationUrl: `${idBaseUrl}/api/auth/oauth2/authorize`,
169
168
  tokenUrl: `${idBaseUrl}/api/auth/oauth2/token`,
170
169
  userInfoUrl: `${idBaseUrl}/api/auth/oauth2/userinfo`,
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
2
 
3
3
  //#region src/analytics/client.ts
4
4
  var ReoptAnalyticsClient = class {
@@ -17,4 +17,4 @@ function createReoptAnalyticsClient(config) {
17
17
 
18
18
  //#endregion
19
19
  export { createReoptAnalyticsClient as n, ReoptAnalyticsClient as t };
20
- //# sourceMappingURL=client-BwgCbfXv.js.map
20
+ //# sourceMappingURL=client-BzAgabAs.js.map
@@ -1,6 +1,6 @@
1
- import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-DkT0F-GG.js";
1
+ import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-BeOelISH.js";
2
2
  import { t as createManagedAbort } from "./abort--nOBFN4M.js";
3
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
3
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
4
4
  import { n as parseSSEStream } from "./sse-parser-FMjxM7sY.js";
5
5
 
6
6
  //#region src/ai/client.ts
@@ -231,7 +231,7 @@ var ReoptAiClient = class {
231
231
  }
232
232
  async fetchSSE(options) {
233
233
  const url = `${this.http.requestBaseUrl}/chat/completions`;
234
- const requestId = globalThis.crypto?.randomUUID?.() ?? `sdk-${"4.5.0-platform.0"}-${url.length}`;
234
+ const requestId = globalThis.crypto?.randomUUID?.() ?? `sdk-${"4.6.0"}-${url.length}`;
235
235
  const ctx = {
236
236
  method: "POST",
237
237
  url,
@@ -309,4 +309,4 @@ function createReoptAiClient(config) {
309
309
 
310
310
  //#endregion
311
311
  export { createReoptAiClient as n, ReoptAiClient as t };
312
- //# sourceMappingURL=client-B0XUjOuP.js.map
312
+ //# sourceMappingURL=client-C2xE9HGZ.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
2
 
3
3
  //#region src/plans/client.ts
4
4
  function unwrap(body) {
@@ -78,4 +78,4 @@ function createReoptPlansClient(config) {
78
78
 
79
79
  //#endregion
80
80
  export { createReoptPlansClient as n, ReoptPlansClient as t };
81
- //# sourceMappingURL=client-Cv1bdMBf.js.map
81
+ //# sourceMappingURL=client-CI2Y00Qx.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
2
 
3
3
  //#region src/feedback/client.ts
4
4
  function buildListQuery(query) {
@@ -83,4 +83,4 @@ function createReoptFeedbackClient(config) {
83
83
 
84
84
  //#endregion
85
85
  export { createReoptFeedbackClient as n, ReoptFeedbackClient as t };
86
- //# sourceMappingURL=client-BNht520A.js.map
86
+ //# sourceMappingURL=client-Ce0gs5Ma.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
2
 
3
3
  //#region src/terms/client.ts
4
4
  function unwrap(body) {
@@ -80,4 +80,4 @@ function createReoptTermsClient(config) {
80
80
 
81
81
  //#endregion
82
82
  export { createReoptTermsClient as n, ReoptTermsClient as t };
83
- //# sourceMappingURL=client-CKi1NpMR.js.map
83
+ //# sourceMappingURL=client-DCqp0Bis.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
2
 
3
3
  //#region src/push/client.ts
4
4
  var ReoptPushClient = class {
@@ -25,4 +25,4 @@ function createReoptPushClient(config) {
25
25
 
26
26
  //#endregion
27
27
  export { createReoptPushClient as n, ReoptPushClient as t };
28
- //# sourceMappingURL=client-B270eCrs.js.map
28
+ //# sourceMappingURL=client-DeC127BD.js.map
@@ -1,6 +1,6 @@
1
- import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-DkT0F-GG.js";
1
+ import { S as ReoptSDKError, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig } from "./config-BeOelISH.js";
2
2
  import { t as createManagedAbort } from "./abort--nOBFN4M.js";
3
- import { n as parseFieldErrors, t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
3
+ import { n as parseFieldErrors, t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
4
4
 
5
5
  //#region src/files/client.ts
6
6
  var ReoptFileClient = class {
@@ -270,4 +270,4 @@ function createReoptFileClient(config) {
270
270
 
271
271
  //#endregion
272
272
  export { createReoptFileClient as n, ReoptFileClient as t };
273
- //# sourceMappingURL=client-C2ALt685.js.map
273
+ //# sourceMappingURL=client-DjLhTNsZ.js.map
@@ -1,5 +1,5 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
2
- import { t as buildQuery } from "./query-D08B_HFt.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
+ import { t as buildQuery } from "./query-JPVK_8N5.js";
3
3
 
4
4
  //#region src/cms/client.ts
5
5
  function createReoptCmsClient(config) {
@@ -52,4 +52,4 @@ async list(query) {
52
52
 
53
53
  //#endregion
54
54
  export { createReoptCmsClient as t };
55
- //# sourceMappingURL=client-BIMl52kc.js.map
55
+ //# sourceMappingURL=client-FM6_YJbr.js.map
@@ -1,4 +1,4 @@
1
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
1
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
2
2
 
3
3
  //#region src/auth/client.ts
4
4
  function unwrap(body) {
@@ -50,4 +50,4 @@ function createReoptAuthClient(config) {
50
50
 
51
51
  //#endregion
52
52
  export { createReoptAuthClient as n, ReoptAuthClient as t };
53
- //# sourceMappingURL=client-WxPjMNy_.js.map
53
+ //# sourceMappingURL=client-eDd4aWDs.js.map
@@ -1,6 +1,6 @@
1
- import { u as BadRequestError } from "./config-DkT0F-GG.js";
2
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
3
- import { t as buildQuery } from "./query-D08B_HFt.js";
1
+ import { u as BadRequestError } from "./config-BeOelISH.js";
2
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
3
+ import { t as buildQuery } from "./query-JPVK_8N5.js";
4
4
 
5
5
  //#region src/eav/cache.ts
6
6
  var SchemaCache = class {
@@ -564,4 +564,4 @@ function createReoptEavClient(config) {
564
564
 
565
565
  //#endregion
566
566
  export { RECORDS_PAGE_LIMIT_MAX as i, ATTRIBUTE_FILTER_LIST_MAX as n, ATTRIBUTE_FILTER_OPERATORS as r, createReoptEavClient as t };
567
- //# sourceMappingURL=client-DNzgX_md.js.map
567
+ //# sourceMappingURL=client-tJq0U_jn.js.map
package/dist/cms/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createReoptCmsClient } from "../client-BIMl52kc.js";
1
+ import { t as createReoptCmsClient } from "../client-FM6_YJbr.js";
2
2
 
3
3
  //#region src/cms/helpers.ts
4
4
  function joinUrl(siteUrl, path) {
@@ -319,7 +319,7 @@ function mapHttpStatusToError(status, code, message, ctx, fieldErrors) {
319
319
 
320
320
  //#endregion
321
321
  //#region src/core/config.ts
322
- const SDK_VERSION = "4.5.0-platform.0";
322
+ const SDK_VERSION = "4.6.0";
323
323
  /**
324
324
  * Default API host for EAV / AI / Files / CMS / Terms. Consumers can override
325
325
  * via `config.baseUrl` or the `REOPT_BASE_URL` env var.
@@ -498,4 +498,4 @@ function deriveIdFromBaseUrl(baseUrl) {
498
498
 
499
499
  //#endregion
500
500
  export { isValidationError as A, RequiredTermsError as C, isModelAccessError as D, isCreditLimitError as E, isReoptSDKError as O, ReoptSDKError as S, ValidationError as T, ModelAccessError as _, resolveIdBaseUrl as a, PreconditionFailedError as b, AuthUserNotFoundError as c, ConflictError as d, ContentFilterError as f, LimitExceededError as g, ForbiddenError as h, resolveBaseUrl as i, mapHttpStatusToError as j, isRequiredTermsError as k, AuthUserRecordExistsError as l, DuplicateAuthUserError as m, SDK_VERSION as n, validateConfig as o, CreditLimitError as p, assertBrowserSafe as r, AuthError as s, REOPT_BASE_URLS as t, BadRequestError as u, ModelNotFoundError as v, ServerError as w, RateLimitError as x, NotFoundError as y };
501
- //# sourceMappingURL=config-DkT0F-GG.js.map
501
+ //# sourceMappingURL=config-BeOelISH.js.map
package/dist/eav/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as AuthUserNotFoundError, g as LimitExceededError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError } from "../config-DkT0F-GG.js";
2
- import { i as RECORDS_PAGE_LIMIT_MAX, n as ATTRIBUTE_FILTER_LIST_MAX, r as ATTRIBUTE_FILTER_OPERATORS, t as createReoptEavClient } from "../client-DNzgX_md.js";
1
+ import { c as AuthUserNotFoundError, g as LimitExceededError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError } from "../config-BeOelISH.js";
2
+ import { i as RECORDS_PAGE_LIMIT_MAX, n as ATTRIBUTE_FILTER_LIST_MAX, r as ATTRIBUTE_FILTER_OPERATORS, t as createReoptEavClient } from "../client-tJq0U_jn.js";
3
3
 
4
4
  //#region src/eav/verify.ts
5
5
  async function verifyEavSchema(input) {
@@ -1,3 +1,3 @@
1
- import { n as createReoptFeedbackClient, t as ReoptFeedbackClient } from "../client-BNht520A.js";
1
+ import { n as createReoptFeedbackClient, t as ReoptFeedbackClient } from "../client-Ce0gs5Ma.js";
2
2
 
3
3
  export { ReoptFeedbackClient, createReoptFeedbackClient };
@@ -1,4 +1,4 @@
1
- import { n as createReoptFileClient, t as ReoptFileClient } from "../client-C2ALt685.js";
1
+ import { n as createReoptFileClient, t as ReoptFileClient } from "../client-DjLhTNsZ.js";
2
2
 
3
3
  //#region src/files/helpers.ts
4
4
  const REOPT_IMAGE_REMOTE_PATTERNS = [{
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError, a as resolveIdBaseUrl, i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, w as ServerError, x as RateLimitError } from "./config-DkT0F-GG.js";
1
+ import { S as ReoptSDKError, a as resolveIdBaseUrl, i as resolveBaseUrl, j as mapHttpStatusToError, n as SDK_VERSION, o as validateConfig, w as ServerError, x as RateLimitError } from "./config-BeOelISH.js";
2
2
  import { t as createAuthHeader } from "./encoding-Bwfm3iaE.js";
3
3
 
4
4
  //#region src/core/debug.ts
@@ -383,4 +383,4 @@ function parseFieldErrors(body) {
383
383
 
384
384
  //#endregion
385
385
  export { parseFieldErrors as n, BaseHttpClient as t };
386
- //# sourceMappingURL=http-client-BO5A5n4I.js.map
386
+ //# sourceMappingURL=http-client-Bl8u1vHN.js.map
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { A as isValidationError, C as RequiredTermsError, D as isModelAccessError, E as isCreditLimitError, O as isReoptSDKError, S as ReoptSDKError, T as ValidationError, _ as ModelAccessError, b as PreconditionFailedError, c as AuthUserNotFoundError, d as ConflictError, f as ContentFilterError, g as LimitExceededError, h as ForbiddenError, i as resolveBaseUrl, j as mapHttpStatusToError, k as isRequiredTermsError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError, p as CreditLimitError, r as assertBrowserSafe, s as AuthError, t as REOPT_BASE_URLS, u as BadRequestError, v as ModelNotFoundError, w as ServerError, x as RateLimitError, y as NotFoundError } from "./config-DkT0F-GG.js";
2
- import { t as BaseHttpClient } from "./http-client-BO5A5n4I.js";
3
- import { n as createReoptAiClient } from "./client-B0XUjOuP.js";
4
- import { n as createReoptAuthClient } from "./client-WxPjMNy_.js";
5
- import { t as createReoptCmsClient } from "./client-BIMl52kc.js";
6
- import { t as createReoptEavClient } from "./client-DNzgX_md.js";
7
- import { n as createReoptFeedbackClient } from "./client-BNht520A.js";
8
- import { n as createReoptFileClient } from "./client-C2ALt685.js";
9
- import { n as createReoptAnalyticsClient } from "./client-BwgCbfXv.js";
10
- import { n as createReoptPlansClient } from "./client-Cv1bdMBf.js";
11
- import { n as createReoptPushClient } from "./client-B270eCrs.js";
12
- import { n as createReoptTermsClient } from "./client-CKi1NpMR.js";
1
+ import { A as isValidationError, C as RequiredTermsError, D as isModelAccessError, E as isCreditLimitError, O as isReoptSDKError, S as ReoptSDKError, T as ValidationError, _ as ModelAccessError, b as PreconditionFailedError, c as AuthUserNotFoundError, d as ConflictError, f as ContentFilterError, g as LimitExceededError, h as ForbiddenError, i as resolveBaseUrl, j as mapHttpStatusToError, k as isRequiredTermsError, l as AuthUserRecordExistsError, m as DuplicateAuthUserError, p as CreditLimitError, r as assertBrowserSafe, s as AuthError, t as REOPT_BASE_URLS, u as BadRequestError, v as ModelNotFoundError, w as ServerError, x as RateLimitError, y as NotFoundError } from "./config-BeOelISH.js";
2
+ import { t as BaseHttpClient } from "./http-client-Bl8u1vHN.js";
3
+ import { n as createReoptAiClient } from "./client-C2xE9HGZ.js";
4
+ import { n as createReoptAuthClient } from "./client-eDd4aWDs.js";
5
+ import { t as createReoptCmsClient } from "./client-FM6_YJbr.js";
6
+ import { t as createReoptEavClient } from "./client-tJq0U_jn.js";
7
+ import { n as createReoptFeedbackClient } from "./client-Ce0gs5Ma.js";
8
+ import { n as createReoptFileClient } from "./client-DjLhTNsZ.js";
9
+ import { n as createReoptAnalyticsClient } from "./client-BzAgabAs.js";
10
+ import { n as createReoptPlansClient } from "./client-CI2Y00Qx.js";
11
+ import { n as createReoptPushClient } from "./client-DeC127BD.js";
12
+ import { n as createReoptTermsClient } from "./client-DCqp0Bis.js";
13
13
 
14
14
  //#region src/singleton.ts
15
15
  let _instance;
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError, a as resolveIdBaseUrl } from "../config-DkT0F-GG.js";
1
+ import { S as ReoptSDKError, a as resolveIdBaseUrl } from "../config-BeOelISH.js";
2
2
 
3
3
  //#region src/logout/verify.ts
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { n as createReoptPlansClient, t as ReoptPlansClient } from "../client-Cv1bdMBf.js";
1
+ import { n as createReoptPlansClient, t as ReoptPlansClient } from "../client-CI2Y00Qx.js";
2
2
 
3
3
  export { ReoptPlansClient, createReoptPlansClient };
@@ -1,3 +1,3 @@
1
- import { n as createReoptPushClient, t as ReoptPushClient } from "../client-B270eCrs.js";
1
+ import { n as createReoptPushClient, t as ReoptPushClient } from "../client-DeC127BD.js";
2
2
 
3
3
  export { ReoptPushClient, createReoptPushClient };
@@ -1,4 +1,4 @@
1
- import { S as ReoptSDKError } from "./config-DkT0F-GG.js";
1
+ import { S as ReoptSDKError } from "./config-BeOelISH.js";
2
2
 
3
3
  //#region src/core/query.ts
4
4
  /**
@@ -32,4 +32,4 @@ function buildQuery(params) {
32
32
 
33
33
  //#endregion
34
34
  export { buildQuery as t };
35
- //# sourceMappingURL=query-D08B_HFt.js.map
35
+ //# sourceMappingURL=query-JPVK_8N5.js.map
@@ -1,3 +1,3 @@
1
- import { n as createReoptTermsClient, t as ReoptTermsClient } from "../client-CKi1NpMR.js";
1
+ import { n as createReoptTermsClient, t as ReoptTermsClient } from "../client-DCqp0Bis.js";
2
2
 
3
3
  export { ReoptTermsClient, createReoptTermsClient };