@vinaverse/server 0.1.0-alpha.2 → 0.1.0-alpha.4
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/api.d.cts +6 -1
- package/dist/api.d.ts +6 -1
- package/dist/express.d.cts +2 -2
- package/dist/express.d.ts +2 -2
- package/dist/fastify.d.cts +2 -2
- package/dist/fastify.d.ts +2 -2
- package/dist/hono.d.cts +2 -2
- package/dist/hono.d.ts +2 -2
- package/dist/index.cjs +30 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +30 -2
- package/dist/index.js.map +1 -1
- package/dist/lambda.d.cts +2 -2
- package/dist/lambda.d.ts +2 -2
- package/dist/{provider-BqfTvF3g.d.ts → provider-DBKNrV8Z.d.ts} +178 -1
- package/dist/{provider-Miaa9V7I.d.cts → provider-fCKVIR_Y.d.cts} +178 -1
- package/dist/{vinaverse-v1.d-BVc4uyUd.d.cts → vinaverse-v1.d-DGSY4GsY.d.cts} +176 -8
- package/dist/{vinaverse-v1.d-BVc4uyUd.d.ts → vinaverse-v1.d-DGSY4GsY.d.ts} +176 -8
- package/package.json +1 -1
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as operations, p as paths, c as components } from './vinaverse-v1.d-
|
|
1
|
+
import { o as operations, p as paths, c as components } from './vinaverse-v1.d-DGSY4GsY.cjs';
|
|
2
2
|
import { Client } from 'openapi-fetch';
|
|
3
3
|
|
|
4
4
|
interface RetryOptions {
|
|
@@ -102,6 +102,7 @@ declare function createApiClient(options: ApiClientOptions): {
|
|
|
102
102
|
id: string;
|
|
103
103
|
version: string;
|
|
104
104
|
display_name: string;
|
|
105
|
+
avatar_url?: string;
|
|
105
106
|
};
|
|
106
107
|
client_secret: components["schemas"]["ClientSecret"];
|
|
107
108
|
realtime_url: string;
|
|
@@ -109,6 +110,10 @@ declare function createApiClient(options: ApiClientOptions): {
|
|
|
109
110
|
expires_at: string;
|
|
110
111
|
disclosure: string;
|
|
111
112
|
conversation_id?: components["schemas"]["ConversationId"];
|
|
113
|
+
experience_mode?: components["schemas"]["ExperienceMode"];
|
|
114
|
+
business_scope_id?: components["schemas"]["BusinessScopeId"];
|
|
115
|
+
screen_context?: components["schemas"]["ScreenContext"];
|
|
116
|
+
welcome?: components["schemas"]["Welcome"];
|
|
112
117
|
}>;
|
|
113
118
|
get: (sessionId: string, o?: CallOptions) => Promise<{
|
|
114
119
|
id: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as operations, p as paths, c as components } from './vinaverse-v1.d-
|
|
1
|
+
import { o as operations, p as paths, c as components } from './vinaverse-v1.d-DGSY4GsY.js';
|
|
2
2
|
import { Client } from 'openapi-fetch';
|
|
3
3
|
|
|
4
4
|
interface RetryOptions {
|
|
@@ -102,6 +102,7 @@ declare function createApiClient(options: ApiClientOptions): {
|
|
|
102
102
|
id: string;
|
|
103
103
|
version: string;
|
|
104
104
|
display_name: string;
|
|
105
|
+
avatar_url?: string;
|
|
105
106
|
};
|
|
106
107
|
client_secret: components["schemas"]["ClientSecret"];
|
|
107
108
|
realtime_url: string;
|
|
@@ -109,6 +110,10 @@ declare function createApiClient(options: ApiClientOptions): {
|
|
|
109
110
|
expires_at: string;
|
|
110
111
|
disclosure: string;
|
|
111
112
|
conversation_id?: components["schemas"]["ConversationId"];
|
|
113
|
+
experience_mode?: components["schemas"]["ExperienceMode"];
|
|
114
|
+
business_scope_id?: components["schemas"]["BusinessScopeId"];
|
|
115
|
+
screen_context?: components["schemas"]["ScreenContext"];
|
|
116
|
+
welcome?: components["schemas"]["Welcome"];
|
|
112
117
|
}>;
|
|
113
118
|
get: (sessionId: string, o?: CallOptions) => Promise<{
|
|
114
119
|
id: string;
|
package/dist/express.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-
|
|
2
|
-
import './vinaverse-v1.d-
|
|
1
|
+
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-fCKVIR_Y.cjs';
|
|
2
|
+
import './vinaverse-v1.d-DGSY4GsY.cjs';
|
|
3
3
|
import './nonces-scwljZwl.cjs';
|
|
4
4
|
|
|
5
5
|
/** The parts of Express's request the middleware uses (Node's `IncomingMessage`). */
|
package/dist/express.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-
|
|
2
|
-
import './vinaverse-v1.d-
|
|
1
|
+
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-DBKNrV8Z.js';
|
|
2
|
+
import './vinaverse-v1.d-DGSY4GsY.js';
|
|
3
3
|
import './nonces-scwljZwl.js';
|
|
4
4
|
|
|
5
5
|
/** The parts of Express's request the middleware uses (Node's `IncomingMessage`). */
|
package/dist/fastify.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WebhookHandlerOptions, T as ToolProvider } from './provider-
|
|
2
|
-
import './vinaverse-v1.d-
|
|
1
|
+
import { W as WebhookHandlerOptions, T as ToolProvider } from './provider-fCKVIR_Y.cjs';
|
|
2
|
+
import './vinaverse-v1.d-DGSY4GsY.cjs';
|
|
3
3
|
import './nonces-scwljZwl.cjs';
|
|
4
4
|
|
|
5
5
|
interface FastifyWebhookOptions extends WebhookHandlerOptions {
|
package/dist/fastify.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WebhookHandlerOptions, T as ToolProvider } from './provider-
|
|
2
|
-
import './vinaverse-v1.d-
|
|
1
|
+
import { W as WebhookHandlerOptions, T as ToolProvider } from './provider-DBKNrV8Z.js';
|
|
2
|
+
import './vinaverse-v1.d-DGSY4GsY.js';
|
|
3
3
|
import './nonces-scwljZwl.js';
|
|
4
4
|
|
|
5
5
|
interface FastifyWebhookOptions extends WebhookHandlerOptions {
|
package/dist/hono.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-
|
|
2
|
-
import './vinaverse-v1.d-
|
|
1
|
+
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-fCKVIR_Y.cjs';
|
|
2
|
+
import './vinaverse-v1.d-DGSY4GsY.cjs';
|
|
3
3
|
import './nonces-scwljZwl.cjs';
|
|
4
4
|
|
|
5
5
|
/** The part of Hono's `Context` the handler uses. */
|
package/dist/hono.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-
|
|
2
|
-
import './vinaverse-v1.d-
|
|
1
|
+
import { T as ToolProvider, W as WebhookHandlerOptions } from './provider-DBKNrV8Z.js';
|
|
2
|
+
import './vinaverse-v1.d-DGSY4GsY.js';
|
|
3
3
|
import './nonces-scwljZwl.js';
|
|
4
4
|
|
|
5
5
|
/** The part of Hono's `Context` the handler uses. */
|
package/dist/index.cjs
CHANGED
|
@@ -406,8 +406,8 @@ function createFetchToolHandler(provider, options = {}) {
|
|
|
406
406
|
|
|
407
407
|
// src/contract.ts
|
|
408
408
|
var CONTRACT = {
|
|
409
|
-
api: "v1-draft.
|
|
410
|
-
commit: "
|
|
409
|
+
api: "v1-draft.20",
|
|
410
|
+
commit: "5f6f41bdbfbdd6eadf21180eed1ffddfa5310355"
|
|
411
411
|
};
|
|
412
412
|
|
|
413
413
|
// src/generated/tool-operations.ts
|
|
@@ -538,6 +538,18 @@ var TOOL_OPERATIONS = {
|
|
|
538
538
|
pathParams: {},
|
|
539
539
|
queryParams: {}
|
|
540
540
|
},
|
|
541
|
+
get_setup_state: {
|
|
542
|
+
id: "get_setup_state",
|
|
543
|
+
method: "GET",
|
|
544
|
+
path: "/business/setup",
|
|
545
|
+
effect: "read",
|
|
546
|
+
maxResultBytes: 16384,
|
|
547
|
+
successStatus: 200,
|
|
548
|
+
idempotencyKey: false,
|
|
549
|
+
body: false,
|
|
550
|
+
pathParams: {},
|
|
551
|
+
queryParams: {}
|
|
552
|
+
},
|
|
541
553
|
get_workspace: {
|
|
542
554
|
id: "get_workspace",
|
|
543
555
|
method: "GET",
|
|
@@ -610,6 +622,22 @@ var TOOL_OPERATIONS = {
|
|
|
610
622
|
limit: { type: "integer", required: false }
|
|
611
623
|
}
|
|
612
624
|
},
|
|
625
|
+
list_services_in_area: {
|
|
626
|
+
id: "list_services_in_area",
|
|
627
|
+
method: "GET",
|
|
628
|
+
path: "/areas/services",
|
|
629
|
+
effect: "read",
|
|
630
|
+
maxResultBytes: 16384,
|
|
631
|
+
successStatus: 200,
|
|
632
|
+
idempotencyKey: false,
|
|
633
|
+
body: false,
|
|
634
|
+
pathParams: {},
|
|
635
|
+
queryParams: {
|
|
636
|
+
lat: { type: "number", required: false },
|
|
637
|
+
lng: { type: "number", required: false },
|
|
638
|
+
radius_miles: { type: "integer", required: false }
|
|
639
|
+
}
|
|
640
|
+
},
|
|
613
641
|
resolve_place: {
|
|
614
642
|
id: "resolve_place",
|
|
615
643
|
method: "GET",
|