@ysk-kit/sdk 1.2.1 → 1.2.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/dist/http.d.ts +1 -1
- package/dist/http.d.ts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/realtime.d.ts +1 -1
- package/dist/realtime.d.ts.map +1 -1
- package/dist/resources/api-keys.d.ts +1 -1
- package/dist/resources/api-keys.d.ts.map +1 -1
- package/dist/resources/audit.d.ts +1 -1
- package/dist/resources/audit.d.ts.map +1 -1
- package/dist/resources/auth.d.ts +2 -2
- package/dist/resources/auth.d.ts.map +1 -1
- package/dist/resources/billing.d.ts +1 -1
- package/dist/resources/billing.d.ts.map +1 -1
- package/dist/resources/devices.d.ts +1 -1
- package/dist/resources/devices.d.ts.map +1 -1
- package/dist/resources/llm.d.ts +2 -2
- package/dist/resources/llm.d.ts.map +1 -1
- package/dist/resources/notifications.d.ts +1 -1
- package/dist/resources/notifications.d.ts.map +1 -1
- package/dist/resources/organizations.d.ts +1 -1
- package/dist/resources/organizations.d.ts.map +1 -1
- package/dist/resources/users.d.ts +1 -1
- package/dist/resources/users.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/http.d.ts
CHANGED
package/dist/http.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../src/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,qBAAa,UAAU;IAInB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAHvB,OAAO,CAAC,UAAU,CAAiC;gBAGhC,IAAI,EAAE;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,UAAU,CAAC;QACvB,QAAQ,EAAE,QAAQ,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;QACzB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KAClE;IAGG,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,WAAgB,EAAE,UAAU,UAAQ,GAAG,OAAO,CAAC,CAAC,CAAC;IAsChF,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA4BpD,OAAO,CAAC,WAAW;YASL,SAAS;CAuCxB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Platform } from '@ysk-kit/contracts';
|
|
2
|
-
import { connectRealtime } from './realtime';
|
|
3
|
-
import { createWebStorageTokenStore, memoryTokenStore, type TokenStore } from './token-store';
|
|
2
|
+
import { connectRealtime } from './realtime.js';
|
|
3
|
+
import { createWebStorageTokenStore, memoryTokenStore, type TokenStore } from './token-store.js';
|
|
4
4
|
export declare function createYskClient(opts: {
|
|
5
5
|
baseUrl: string;
|
|
6
6
|
platform: Platform;
|
|
@@ -334,8 +334,8 @@ export declare function createYskClient(opts: {
|
|
|
334
334
|
}>;
|
|
335
335
|
};
|
|
336
336
|
export type YskClient = ReturnType<typeof createYskClient>;
|
|
337
|
-
export type { DevicePort } from './ports/device';
|
|
338
|
-
export type { FilePickerPort } from './ports/file-picker';
|
|
339
|
-
export type { TokenStore } from './token-store';
|
|
337
|
+
export type { DevicePort } from './ports/device.js';
|
|
338
|
+
export type { FilePickerPort } from './ports/file-picker.js';
|
|
339
|
+
export type { TokenStore } from './token-store.js';
|
|
340
340
|
export { connectRealtime, createWebStorageTokenStore, memoryTokenStore };
|
|
341
341
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAUhD,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEjG,wBAAgB,eAAe,CAAC,IAAI,EAAE;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAVwC,CAAC;iBAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAO,CAAC;iBACvD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAEgD,CAAA;mBAAkC,CAAC;;;;;;;EAiC9F;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC3D,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { HttpClient } from './http';
|
|
2
|
-
import { connectRealtime } from './realtime';
|
|
3
|
-
import { apiKeysResource } from './resources/api-keys';
|
|
4
|
-
import { auditResource } from './resources/audit';
|
|
5
|
-
import { authResource } from './resources/auth';
|
|
6
|
-
import { billingResource } from './resources/billing';
|
|
7
|
-
import { devicesResource } from './resources/devices';
|
|
8
|
-
import { llmResource } from './resources/llm';
|
|
9
|
-
import { notificationsResource } from './resources/notifications';
|
|
10
|
-
import { organizationsResource } from './resources/organizations';
|
|
11
|
-
import { usersResource } from './resources/users';
|
|
12
|
-
import { createWebStorageTokenStore, memoryTokenStore } from './token-store';
|
|
1
|
+
import { HttpClient } from './http.js';
|
|
2
|
+
import { connectRealtime } from './realtime.js';
|
|
3
|
+
import { apiKeysResource } from './resources/api-keys.js';
|
|
4
|
+
import { auditResource } from './resources/audit.js';
|
|
5
|
+
import { authResource } from './resources/auth.js';
|
|
6
|
+
import { billingResource } from './resources/billing.js';
|
|
7
|
+
import { devicesResource } from './resources/devices.js';
|
|
8
|
+
import { llmResource } from './resources/llm.js';
|
|
9
|
+
import { notificationsResource } from './resources/notifications.js';
|
|
10
|
+
import { organizationsResource } from './resources/organizations.js';
|
|
11
|
+
import { usersResource } from './resources/users.js';
|
|
12
|
+
import { createWebStorageTokenStore, memoryTokenStore } from './token-store.js';
|
|
13
13
|
export function createYskClient(opts) {
|
|
14
14
|
const tokenStore = opts.tokenStore ?? memoryTokenStore();
|
|
15
15
|
const baseUrl = opts.baseUrl.replace(/\/$/, '');
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,EAAmB,MAAM,kBAAkB,CAAC;AAEjG,MAAM,UAAU,eAAe,CAAC,IAK/B;IACC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,gBAAgB,EAAE,CAAC;IACzD,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAChD,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC;QAC1B,OAAO;QACP,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,UAAU;QACV,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACzD,CAAC,CAAC;IACH,OAAO;QACL,IAAI,EAAE,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC;QACpC,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC;QAC1B,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC;QAC1B,aAAa,EAAE,qBAAqB,CAAC,IAAI,CAAC;QAC1C,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC;QAC9B,aAAa,EAAE,qBAAqB,CAAC,IAAI,CAAC;QAC1C,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;YACrB,OAAO;YACP,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,UAAU;YACV,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACzD,CAAC;QACF,eAAe,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC;KACzF,CAAC;AACJ,CAAC;AAMD,OAAO,EAAE,eAAe,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/realtime.d.ts
CHANGED
package/dist/realtime.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../src/realtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../src/realtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,eAAO,MAAM,eAAe,GAAU,MAAM;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;CACxB,KAAG,OAAO,CAAC;IACV,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,KAAK,IAAI,CAAC;IACjE,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAcA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../src/resources/api-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,mBAAmB,EAAoB,MAAM,oBAAoB,CAAC;AAC3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../src/resources/api-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,mBAAmB,EAAoB,MAAM,oBAAoB,CAAC;AAC3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,eAAe,GAAI,MAAM,UAAU;;;;;;;;;;mBAE/B,mBAAmB;;;;;;;;;;iBAKrB,MAAM;iBACO,IAAI;;CAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/resources/audit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/resources/audit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAU7C,eAAO,MAAM,aAAa,GAAI,MAAM,UAAU;mBAC7B;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;CAElD,CAAC"}
|
package/dist/resources/auth.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LoginPasswordCommand, RefreshCommand, RegisterCommand, RequestAdminOtpCommand, RequestOtpCommand, VerifyAdminOtpCommand, VerifyOtpCommand } from '@ysk-kit/contracts';
|
|
2
|
-
import type { HttpClient } from '../http';
|
|
3
|
-
import type { TokenStore } from '../token-store';
|
|
2
|
+
import type { HttpClient } from '../http.js';
|
|
3
|
+
import type { TokenStore } from '../token-store.js';
|
|
4
4
|
export declare const authResource: (http: HttpClient, store: TokenStore) => {
|
|
5
5
|
register: (body: RegisterCommand) => Promise<{
|
|
6
6
|
accessToken: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/resources/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EAGjB,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/resources/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EAGjB,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAOpD,eAAO,MAAM,YAAY,GAAI,MAAM,UAAU,EAAE,OAAO,UAAU;qBACvC,eAAe;;;;;;;;;;;;;;kBAQlB,oBAAoB;;;;;;;;;;;;;;uBAQrB,iBAAiB;cACb,IAAI;;sBAIH,gBAAgB;;;;;;;;;;;;;;oBAQlB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;4BAgBZ,sBAAsB;cACvB,IAAI;;2BAIE,qBAAqB;;;;;;;;;;;;;;mBAQnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;kBACL,IAAI;;kBAIjB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;kBACtB,IAAI;;CAI/B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CancelCommand, CheckoutCommand, PortalCommand } from '@ysk-kit/contracts';
|
|
2
|
-
import type { HttpClient } from '../http';
|
|
2
|
+
import type { HttpClient } from '../http.js';
|
|
3
3
|
export declare const billingResource: (http: HttpClient) => {
|
|
4
4
|
plans: () => Promise<{
|
|
5
5
|
code: "free" | "pro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../src/resources/billing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,eAAe,EAGf,aAAa,EAEd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../src/resources/billing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,eAAe,EAGf,aAAa,EAEd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAK7C,eAAO,MAAM,eAAe,GAAI,MAAM,UAAU;;;;;;;mCAEf,MAAM;;;;;;+BAEV,MAAM;;;;;;;;;wBAEb,MAAM,kBAAkB,MAAM;qBAEjC,eAAe;;;mBAKjB,aAAa;kBACD,IAAI;;mBAIhB,aAAa;;;CAK5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../src/resources/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../src/resources/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,eAAe,GAAI,MAAM,UAAU;;;;;;;qBAE7B,qBAAqB;;;;;;iBAEzB,MAAM;iBACO,IAAI;;CAC9B,CAAC"}
|
package/dist/resources/llm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LlmCompleteCommand, LlmUsage, Platform } from '@ysk-kit/contracts';
|
|
2
|
-
import type { HttpClient } from '../http';
|
|
3
|
-
import type { TokenStore } from '../token-store';
|
|
2
|
+
import type { HttpClient } from '../http.js';
|
|
3
|
+
import type { TokenStore } from '../token-store.js';
|
|
4
4
|
export declare const llmResource: (http: HttpClient, ctx: {
|
|
5
5
|
baseUrl: string;
|
|
6
6
|
platform: Platform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../src/resources/llm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAGlB,QAAQ,EACR,QAAQ,EACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../src/resources/llm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAGlB,QAAQ,EACR,QAAQ,EACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAO,MAAM,WAAW,GACtB,MAAM,UAAU,EAChB,KAAK;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,UAAU,EAAE,UAAU,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,KAAK,CAAA;CAAE;qBAE7E,kBAAkB;;;;;;;;;;;;;;mBAO3B,kBAAkB,YACd;QACR,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACjC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;QACnC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;KACrC;CAyCH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/resources/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAA0B,MAAM,oBAAoB,CAAC;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/resources/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAA0B,MAAM,oBAAoB,CAAC;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB,GAAI,MAAM,UAAU;;;;;;;;;;;;mBAErC,MAAM;cACE,IAAI;;kBAIT,OAAO,CAAC,eAAe,EAAE,CAAC;CAI5C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AcceptInviteCommand, CreateOrganizationCommand, InviteMemberCommand, UpdateOrganizationCommand } from '@ysk-kit/contracts';
|
|
2
|
-
import type { HttpClient } from '../http';
|
|
2
|
+
import type { HttpClient } from '../http.js';
|
|
3
3
|
export declare const organizationsResource: (http: HttpClient) => {
|
|
4
4
|
create: (body: CreateOrganizationCommand) => Promise<{
|
|
5
5
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EAInB,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/resources/organizations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EAInB,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB,GAAI,MAAM,UAAU;mBACrC,yBAAyB;;;;;;;;;;0BAMlB,MAAM;;;;;6BAEH,MAAM,QAAQ,yBAAyB;;;;;8BAKtC,MAAM;;;;;;;;;6BAEP,MAAM,QAAQ,mBAAmB;;;;;;;;8BAKhC,MAAM;;;;;;;;mCAED,MAAM,MAAM,MAAM;iBACvB,IAAI;;mCAGC,MAAM,UAAU,MAAM;iBAC3B,IAAI;;4BAGN,MAAM;cACP,IAAI;;yBAIN,mBAAmB;kBACb,IAAI;;CAI/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAA2B,MAAM,oBAAoB,CAAC;AACrF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAA2B,MAAM,oBAAoB,CAAC;AACrF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAU7C,eAAO,MAAM,aAAa,GAAI,MAAM,UAAU;mBAC7B;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;mBAEnC,iBAAiB;;;;;;;;;kBAElB,MAAM;;;;;;;;;CAEpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ysk-kit/sdk",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ysk-kit/contracts": "1.2.
|
|
15
|
-
"@ysk-kit/domain-kernel": "1.2.
|
|
14
|
+
"@ysk-kit/contracts": "1.2.2",
|
|
15
|
+
"@ysk-kit/domain-kernel": "1.2.2",
|
|
16
16
|
"socket.io-client": "^4.8.4"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|