@veruna/api-contracts 1.1.40 → 2.0.1
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/build/controllers/avatar.controllers.d.ts +1 -0
- package/build/controllers/avatar.controllers.js +5 -0
- package/build/controllers/avatar.controllers.js.map +1 -0
- package/build/controllers/billing.controllers.d.ts +3 -0
- package/build/controllers/billing.controllers.js +7 -0
- package/build/controllers/billing.controllers.js.map +1 -0
- package/build/controllers/index.d.ts +2 -0
- package/build/controllers/index.js +8 -2
- package/build/controllers/index.js.map +1 -1
- package/build/locales/validation.d.ts +292 -4
- package/build/locales/validation.js +292 -4
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +23 -0
- package/build/rest-api.js +23 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/avatar.routes.d.ts +4 -0
- package/build/routes/avatar.routes.js +8 -0
- package/build/routes/avatar.routes.js.map +1 -0
- package/build/routes/billing.routes.d.ts +14 -0
- package/build/routes/billing.routes.js +18 -0
- package/build/routes/billing.routes.js.map +1 -0
- package/build/routes/index.d.ts +2 -0
- package/build/routes/index.js +8 -2
- package/build/routes/index.js.map +1 -1
- package/build/routes/s2s.routes.d.ts +3 -0
- package/build/routes/s2s.routes.js +3 -0
- package/build/routes/s2s.routes.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/plugins.types.d.ts +15 -7
- package/build/v1/ai/plugins.types.js +18 -3
- package/build/v1/ai/plugins.types.js.map +1 -1
- package/build/v1/ai-model/admin/commands/create-model.command.d.ts +8 -4
- package/build/v1/ai-model/admin/commands/update-model.command.d.ts +8 -4
- package/build/v1/ai-model/admin/queries/get-model.query.d.ts +4 -2
- package/build/v1/ai-model/admin/queries/get-models.query.d.ts +4 -2
- package/build/v1/ai-model/public/queries/get-active-models.query.d.ts +4 -2
- package/build/v1/ai-model/public/queries/get-models-list.query.d.ts +8 -4
- package/build/v1/ai-model/schemas/create-model-request.schema.d.ts +4 -2
- package/build/v1/ai-model/schemas/create-model-request.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/model-response.schema.d.ts +8 -4
- package/build/v1/ai-model/schemas/model-response.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/model-settings.schema.d.ts +7 -0
- package/build/v1/ai-model/schemas/model-settings.schema.js +8 -1
- package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
- package/build/v1/ai-model/schemas/models-list-response.schema.d.ts +20 -10
- package/build/v1/ai-model/schemas/unreg-models-list-response.schema.d.ts +8 -4
- package/build/v1/ai-model/schemas/update-model-request.schema.d.ts +4 -2
- package/build/v1/ai-model/schemas/update-model-request.schema.js.map +1 -1
- package/build/v1/ai-model/unreg/queries/get-models-list.query.d.ts +8 -4
- package/build/v1/assistants/admin/commands/create-assistant.command.d.ts +1 -1
- package/build/v1/assistants/admin/commands/update-assistant.command.d.ts +1 -1
- package/build/v1/assistants/admin/queries/get-assistant.query.d.ts +1 -1
- package/build/v1/assistants/admin/queries/get-assistants.query.d.ts +3 -3
- package/build/v1/assistants/catalog/queries/catalog-long-reg.query.d.ts +2 -2
- package/build/v1/assistants/catalog/queries/catalog-long-unreg.query.d.ts +2 -2
- package/build/v1/assistants/catalog/queries/catalog-short-reg.query.d.ts +4 -4
- package/build/v1/assistants/catalog/queries/catalog-short-unreg.query.d.ts +2 -2
- package/build/v1/assistants/public/queries/get-tree.query.d.ts +2 -2
- package/build/v1/assistants/schemas/assistant-public.schema.d.ts +1 -1
- package/build/v1/assistants/schemas/assistant-public.schema.js +1 -1
- package/build/v1/assistants/schemas/assistant-public.schema.js.map +1 -1
- package/build/v1/assistants/schemas/assistant-response.schema.d.ts +2 -2
- package/build/v1/assistants/schemas/assistant-response.schema.js +1 -1
- package/build/v1/assistants/schemas/assistant-response.schema.js.map +1 -1
- package/build/v1/assistants/schemas/assistant-tree.schema.d.ts +6 -6
- package/build/v1/assistants/schemas/assistant-tree.schema.js +1 -1
- package/build/v1/assistants/schemas/assistant-tree.schema.js.map +1 -1
- package/build/v1/assistants/schemas/catalog-long-response.schema.d.ts +12 -12
- package/build/v1/assistants/schemas/catalog-long-response.schema.js +1 -1
- package/build/v1/assistants/schemas/catalog-long-response.schema.js.map +1 -1
- package/build/v1/assistants/schemas/catalog-short-response.schema.d.ts +11 -11
- package/build/v1/assistants/schemas/catalog-short-response.schema.js +2 -2
- package/build/v1/assistants/schemas/catalog-short-response.schema.js.map +1 -1
- package/build/v1/assistants/schemas/create-user-assistant-request.schema.js +3 -4
- package/build/v1/assistants/schemas/create-user-assistant-request.schema.js.map +1 -1
- package/build/v1/assistants/schemas/index.d.ts +0 -1
- package/build/v1/assistants/schemas/index.js +1 -3
- package/build/v1/assistants/schemas/index.js.map +1 -1
- package/build/v1/assistants/schemas/update-user-assistant-request.schema.d.ts +1 -1
- package/build/v1/assistants/schemas/update-user-assistant-request.schema.js +4 -4
- package/build/v1/assistants/schemas/update-user-assistant-request.schema.js.map +1 -1
- package/build/v1/assistants/schemas/user-assistant-response.schema.d.ts +1 -1
- package/build/v1/assistants/schemas/user-assistant-response.schema.js +1 -1
- package/build/v1/assistants/schemas/user-assistant-response.schema.js.map +1 -1
- package/build/v1/assistants/user/commands/create-user-assistant.command.d.ts +1 -1
- package/build/v1/assistants/user/commands/update-user-assistant.command.d.ts +2 -2
- package/build/v1/assistants/user/queries/get-user-assistant.query.d.ts +1 -1
- package/build/v1/avatar/avatar-owner-type.enum.d.ts +3 -0
- package/build/v1/avatar/avatar-owner-type.enum.js +8 -0
- package/build/v1/avatar/avatar-owner-type.enum.js.map +1 -0
- package/build/v1/avatar/avatar.constants.d.ts +14 -0
- package/build/v1/avatar/avatar.constants.js +37 -0
- package/build/v1/avatar/avatar.constants.js.map +1 -0
- package/build/v1/avatar/avatar.errors.d.ts +13 -0
- package/build/v1/avatar/avatar.errors.js +54 -0
- package/build/v1/avatar/avatar.errors.js.map +1 -0
- package/build/v1/avatar/avatar.types.d.ts +5 -0
- package/build/v1/avatar/avatar.types.js +3 -0
- package/build/v1/avatar/avatar.types.js.map +1 -0
- package/build/v1/avatar/commands/avatar-attach.command.d.ts +20 -0
- package/build/v1/avatar/commands/avatar-attach.command.js +14 -0
- package/build/v1/avatar/commands/avatar-attach.command.js.map +1 -0
- package/build/v1/avatar/commands/avatar-delete.command.d.ts +14 -0
- package/build/v1/avatar/commands/avatar-delete.command.js +14 -0
- package/build/v1/avatar/commands/avatar-delete.command.js.map +1 -0
- package/build/v1/avatar/commands/avatar-release-by-uuid.command.d.ts +15 -0
- package/build/v1/avatar/commands/avatar-release-by-uuid.command.js +14 -0
- package/build/v1/avatar/commands/avatar-release-by-uuid.command.js.map +1 -0
- package/build/v1/avatar/commands/avatar-release.command.d.ts +16 -0
- package/build/v1/avatar/commands/avatar-release.command.js +14 -0
- package/build/v1/avatar/commands/avatar-release.command.js.map +1 -0
- package/build/v1/avatar/commands/avatar-upload.command.d.ts +15 -0
- package/build/v1/avatar/commands/avatar-upload.command.js +14 -0
- package/build/v1/avatar/commands/avatar-upload.command.js.map +1 -0
- package/build/v1/avatar/commands/index.d.ts +5 -0
- package/build/v1/avatar/commands/index.js +22 -0
- package/build/v1/avatar/commands/index.js.map +1 -0
- package/build/v1/avatar/index.d.ts +6 -0
- package/build/v1/avatar/index.js +23 -0
- package/build/v1/avatar/index.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-attach-request.schema.d.ts +9 -0
- package/build/v1/avatar/schemas/avatar-attach-request.schema.js +21 -0
- package/build/v1/avatar/schemas/avatar-attach-request.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-attach-response.schema.d.ts +8 -0
- package/build/v1/avatar/schemas/avatar-attach-response.schema.js +12 -0
- package/build/v1/avatar/schemas/avatar-attach-response.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-delete-response.schema.d.ts +5 -0
- package/build/v1/avatar/schemas/avatar-delete-response.schema.js +9 -0
- package/build/v1/avatar/schemas/avatar-delete-response.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-id-param.schema.d.ts +5 -0
- package/build/v1/avatar/schemas/avatar-id-param.schema.js +10 -0
- package/build/v1/avatar/schemas/avatar-id-param.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-release-by-uuid-request.schema.d.ts +6 -0
- package/build/v1/avatar/schemas/avatar-release-by-uuid-request.schema.js +14 -0
- package/build/v1/avatar/schemas/avatar-release-by-uuid-request.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-release-request.schema.d.ts +8 -0
- package/build/v1/avatar/schemas/avatar-release-request.schema.js +18 -0
- package/build/v1/avatar/schemas/avatar-release-request.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-release-response.schema.d.ts +5 -0
- package/build/v1/avatar/schemas/avatar-release-response.schema.js +8 -0
- package/build/v1/avatar/schemas/avatar-release-response.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-upload-query.schema.d.ts +6 -0
- package/build/v1/avatar/schemas/avatar-upload-query.schema.js +11 -0
- package/build/v1/avatar/schemas/avatar-upload-query.schema.js.map +1 -0
- package/build/v1/avatar/schemas/avatar-upload-response.schema.d.ts +6 -0
- package/build/v1/avatar/schemas/avatar-upload-response.schema.js +10 -0
- package/build/v1/avatar/schemas/avatar-upload-response.schema.js.map +1 -0
- package/build/v1/avatar/schemas/index.d.ts +9 -0
- package/build/v1/avatar/schemas/index.js +26 -0
- package/build/v1/avatar/schemas/index.js.map +1 -0
- package/build/v1/billing/billing.errors.d.ts +16 -0
- package/build/v1/billing/billing.errors.js +69 -0
- package/build/v1/billing/billing.errors.js.map +1 -0
- package/build/v1/billing/commands/admin-create-markup-tier.command.d.ts +26 -0
- package/build/v1/billing/commands/admin-create-markup-tier.command.js +14 -0
- package/build/v1/billing/commands/admin-create-markup-tier.command.js.map +1 -0
- package/build/v1/billing/commands/admin-delete-markup-tier.command.d.ts +12 -0
- package/build/v1/billing/commands/admin-delete-markup-tier.command.js +14 -0
- package/build/v1/billing/commands/admin-delete-markup-tier.command.js.map +1 -0
- package/build/v1/billing/commands/admin-update-markup-tier.command.d.ts +26 -0
- package/build/v1/billing/commands/admin-update-markup-tier.command.js +14 -0
- package/build/v1/billing/commands/admin-update-markup-tier.command.js.map +1 -0
- package/build/v1/billing/commands/index.d.ts +3 -0
- package/build/v1/billing/commands/index.js +20 -0
- package/build/v1/billing/commands/index.js.map +1 -0
- package/build/v1/billing/index.d.ts +6 -0
- package/build/v1/billing/index.js +28 -0
- package/build/v1/billing/index.js.map +1 -0
- package/build/v1/billing/queries/admin-list-markup-tiers.query.d.ts +24 -0
- package/build/v1/billing/queries/admin-list-markup-tiers.query.js +17 -0
- package/build/v1/billing/queries/admin-list-markup-tiers.query.js.map +1 -0
- package/build/v1/billing/queries/get-billing-balance.query.d.ts +23 -0
- package/build/v1/billing/queries/get-billing-balance.query.js +15 -0
- package/build/v1/billing/queries/get-billing-balance.query.js.map +1 -0
- package/build/v1/billing/queries/get-message-billing-details.query.d.ts +36 -0
- package/build/v1/billing/queries/get-message-billing-details.query.js +17 -0
- package/build/v1/billing/queries/get-message-billing-details.query.js.map +1 -0
- package/build/v1/billing/queries/index.d.ts +4 -0
- package/build/v1/billing/queries/index.js +21 -0
- package/build/v1/billing/queries/index.js.map +1 -0
- package/build/v1/billing/queries/list-transactions.query.d.ts +26 -0
- package/build/v1/billing/queries/list-transactions.query.js +14 -0
- package/build/v1/billing/queries/list-transactions.query.js.map +1 -0
- package/build/v1/billing/schemas/billing-balance.schema.d.ts +26 -0
- package/build/v1/billing/schemas/billing-balance.schema.js +21 -0
- package/build/v1/billing/schemas/billing-balance.schema.js.map +1 -0
- package/build/v1/billing/schemas/billing-transactions.schema.d.ts +34 -0
- package/build/v1/billing/schemas/billing-transactions.schema.js +34 -0
- package/build/v1/billing/schemas/billing-transactions.schema.js.map +1 -0
- package/build/v1/billing/schemas/finalization-action.enum.d.ts +5 -0
- package/build/v1/billing/schemas/finalization-action.enum.js +14 -0
- package/build/v1/billing/schemas/finalization-action.enum.js.map +1 -0
- package/build/v1/billing/schemas/finalization-status.enum.d.ts +6 -0
- package/build/v1/billing/schemas/finalization-status.enum.js +15 -0
- package/build/v1/billing/schemas/finalization-status.enum.js.map +1 -0
- package/build/v1/billing/schemas/index.d.ts +6 -0
- package/build/v1/billing/schemas/index.js +23 -0
- package/build/v1/billing/schemas/index.js.map +1 -0
- package/build/v1/billing/schemas/markup-tier.schema.d.ts +47 -0
- package/build/v1/billing/schemas/markup-tier.schema.js +94 -0
- package/build/v1/billing/schemas/markup-tier.schema.js.map +1 -0
- package/build/v1/billing/schemas/message-billing-details.schema.d.ts +59 -0
- package/build/v1/billing/schemas/message-billing-details.schema.js +33 -0
- package/build/v1/billing/schemas/message-billing-details.schema.js.map +1 -0
- package/build/v1/index.d.ts +2 -0
- package/build/v1/index.js +2 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/message/message.errors.d.ts +2 -1
- package/build/v1/message/message.errors.js +5 -0
- package/build/v1/message/message.errors.js.map +1 -1
- package/build/v1/message/schemas/message-role.enum.d.ts +2 -1
- package/build/v1/message/schemas/message-role.enum.js +1 -0
- package/build/v1/message/schemas/message-role.enum.js.map +1 -1
- package/build/v1/model-route/admin/commands/create-model-route.command.d.ts +2 -0
- package/build/v1/model-route/admin/commands/update-model-route.command.d.ts +2 -0
- package/build/v1/model-route/admin/queries/get-model-route.query.d.ts +1 -0
- package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.d.ts +1 -0
- package/build/v1/model-route/schemas/create-model-route-request.schema.d.ts +1 -0
- package/build/v1/model-route/schemas/list-model-routes-response.schema.d.ts +1 -0
- package/build/v1/model-route/schemas/model-route-response.schema.d.ts +1 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.d.ts +2 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.js +1 -0
- package/build/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
- package/build/v1/model-route/schemas/update-model-route-request.schema.d.ts +1 -0
- package/build/v1/seo-pages/public/queries/get-index-page.query.d.ts +1 -1
- package/build/v1/seo-pages/public/queries/get-page-by-alias.query.d.ts +1 -1
- package/build/v1/seo-pages/schemas/page-response.schema.d.ts +1 -1
- package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +8 -0
- package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +8 -0
- package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +4 -0
- package/build/v1/tool/public/queries/get-tool-availability.query.d.ts +4 -2
- package/build/v1/tool/schemas/tool.schema.d.ts +40 -10
- package/build/v1/tool/unreg/queries/get-tool-availability-unreg.query.d.ts +4 -2
- package/build/v1/unregistered-users/commands/authenticate.command.d.ts +0 -2
- package/build/v1/unregistered-users/schemas/authenticate-response.schema.d.ts +0 -2
- package/build/v1/unregistered-users/schemas/authenticate-response.schema.js +0 -3
- package/build/v1/unregistered-users/schemas/authenticate-response.schema.js.map +1 -1
- package/build/v1/wallet/schemas/balance-type-code.enum.d.ts +2 -1
- package/build/v1/wallet/schemas/balance-type-code.enum.js +1 -0
- package/build/v1/wallet/schemas/balance-type-code.enum.js.map +1 -1
- package/build/v1/wallet/schemas/index.d.ts +1 -1
- package/build/v1/wallet/schemas/index.js +2 -1
- package/build/v1/wallet/schemas/index.js.map +1 -1
- package/build/v1/wallet/schemas/transaction-type.enum.d.ts +2 -0
- package/build/v1/wallet/schemas/transaction-type.enum.js +6 -0
- package/build/v1/wallet/schemas/transaction-type.enum.js.map +1 -1
- package/package.json +1 -1
- package/build/v1/assistants/schemas/assistant-constants.d.ts +0 -1
- package/build/v1/assistants/schemas/assistant-constants.js +0 -5
- package/build/v1/assistants/schemas/assistant-constants.js.map +0 -1
|
@@ -112,13 +112,15 @@ export declare const ToolAvailabilityProviderSchema: z.ZodObject<{
|
|
|
112
112
|
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
113
113
|
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
114
114
|
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
115
|
-
price: z.ZodNumber
|
|
115
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
116
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
116
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
117
118
|
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
118
119
|
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
119
120
|
supportedValues: z.ZodArray<z.ZodObject<{
|
|
120
121
|
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
121
|
-
price: z.ZodNumber
|
|
122
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
123
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
122
124
|
}, z.core.$strip>>;
|
|
123
125
|
}, z.core.$strip>], "id">>;
|
|
124
126
|
access: z.ZodBoolean;
|
|
@@ -164,13 +166,15 @@ export declare const ToolAvailabilityItemSchema: z.ZodObject<{
|
|
|
164
166
|
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
165
167
|
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
166
168
|
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
167
|
-
price: z.ZodNumber
|
|
169
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
170
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
168
171
|
}, z.core.$strip>, z.ZodObject<{
|
|
169
172
|
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
170
173
|
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
171
174
|
supportedValues: z.ZodArray<z.ZodObject<{
|
|
172
175
|
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
173
|
-
price: z.ZodNumber
|
|
176
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
177
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
174
178
|
}, z.core.$strip>>;
|
|
175
179
|
}, z.core.$strip>], "id">>;
|
|
176
180
|
access: z.ZodBoolean;
|
|
@@ -218,13 +222,15 @@ export declare const ToolAvailabilityResponseSchema: z.ZodObject<{
|
|
|
218
222
|
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
219
223
|
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
220
224
|
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
221
|
-
price: z.ZodNumber
|
|
225
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
226
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
222
227
|
}, z.core.$strip>, z.ZodObject<{
|
|
223
228
|
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
224
229
|
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
225
230
|
supportedValues: z.ZodArray<z.ZodObject<{
|
|
226
231
|
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
227
|
-
price: z.ZodNumber
|
|
232
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
233
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
228
234
|
}, z.core.$strip>>;
|
|
229
235
|
}, z.core.$strip>], "id">>;
|
|
230
236
|
access: z.ZodBoolean;
|
|
@@ -301,6 +307,7 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
301
307
|
options: z.ZodArray<z.ZodObject<{
|
|
302
308
|
id: z.ZodString;
|
|
303
309
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
310
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
304
311
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
305
312
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
306
313
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -320,6 +327,7 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
320
327
|
options: z.ZodArray<z.ZodObject<{
|
|
321
328
|
id: z.ZodString;
|
|
322
329
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
330
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
323
331
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
324
332
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
325
333
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -345,6 +353,7 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
345
353
|
options: z.ZodArray<z.ZodObject<{
|
|
346
354
|
id: z.ZodString;
|
|
347
355
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
356
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
348
357
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
349
358
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
350
359
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -364,6 +373,7 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
|
|
|
364
373
|
options: z.ZodArray<z.ZodObject<{
|
|
365
374
|
id: z.ZodString;
|
|
366
375
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
376
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
367
377
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
368
378
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
369
379
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -385,6 +395,7 @@ export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
|
385
395
|
options: z.ZodArray<z.ZodObject<{
|
|
386
396
|
id: z.ZodString;
|
|
387
397
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
398
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
388
399
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
389
400
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
390
401
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -404,6 +415,7 @@ export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
|
404
415
|
options: z.ZodArray<z.ZodObject<{
|
|
405
416
|
id: z.ZodString;
|
|
406
417
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
418
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
407
419
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
408
420
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
409
421
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -429,6 +441,7 @@ export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
|
429
441
|
options: z.ZodArray<z.ZodObject<{
|
|
430
442
|
id: z.ZodString;
|
|
431
443
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
444
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
432
445
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
433
446
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
434
447
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -448,6 +461,7 @@ export declare const ModelToolBindingSchema: z.ZodObject<{
|
|
|
448
461
|
options: z.ZodArray<z.ZodObject<{
|
|
449
462
|
id: z.ZodString;
|
|
450
463
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
464
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
451
465
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
452
466
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
453
467
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -507,6 +521,7 @@ export declare const ModelToolBindingListSchema: z.ZodObject<{
|
|
|
507
521
|
options: z.ZodArray<z.ZodObject<{
|
|
508
522
|
id: z.ZodString;
|
|
509
523
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
524
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
510
525
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
511
526
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
512
527
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -526,6 +541,7 @@ export declare const ModelToolBindingListSchema: z.ZodObject<{
|
|
|
526
541
|
options: z.ZodArray<z.ZodObject<{
|
|
527
542
|
id: z.ZodString;
|
|
528
543
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
544
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
529
545
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
530
546
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
531
547
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -551,6 +567,7 @@ export declare const ModelToolBindingListSchema: z.ZodObject<{
|
|
|
551
567
|
options: z.ZodArray<z.ZodObject<{
|
|
552
568
|
id: z.ZodString;
|
|
553
569
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
570
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
554
571
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
555
572
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
556
573
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -570,6 +587,7 @@ export declare const ModelToolBindingListSchema: z.ZodObject<{
|
|
|
570
587
|
options: z.ZodArray<z.ZodObject<{
|
|
571
588
|
id: z.ZodString;
|
|
572
589
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
590
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
573
591
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
574
592
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
575
593
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -627,6 +645,7 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
627
645
|
options: z.ZodArray<z.ZodObject<{
|
|
628
646
|
id: z.ZodString;
|
|
629
647
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
648
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
630
649
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
631
650
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
632
651
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -646,6 +665,7 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
646
665
|
options: z.ZodArray<z.ZodObject<{
|
|
647
666
|
id: z.ZodString;
|
|
648
667
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
668
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
649
669
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
650
670
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
651
671
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -671,6 +691,7 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
671
691
|
options: z.ZodArray<z.ZodObject<{
|
|
672
692
|
id: z.ZodString;
|
|
673
693
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
694
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
674
695
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
675
696
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
676
697
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -690,6 +711,7 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
690
711
|
options: z.ZodArray<z.ZodObject<{
|
|
691
712
|
id: z.ZodString;
|
|
692
713
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
714
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
693
715
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
694
716
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
695
717
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -720,6 +742,7 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
720
742
|
options: z.ZodArray<z.ZodObject<{
|
|
721
743
|
id: z.ZodString;
|
|
722
744
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
745
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
723
746
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
724
747
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
725
748
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -739,6 +762,7 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
739
762
|
options: z.ZodArray<z.ZodObject<{
|
|
740
763
|
id: z.ZodString;
|
|
741
764
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
765
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
742
766
|
providerValue: z.ZodOptional<z.ZodString>;
|
|
743
767
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
744
768
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
@@ -764,6 +788,7 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
764
788
|
options: z.ZodArray<z.ZodObject<{
|
|
765
789
|
id: z.ZodString;
|
|
766
790
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
791
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
767
792
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
768
793
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
769
794
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -783,6 +808,7 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
|
|
|
783
808
|
options: z.ZodArray<z.ZodObject<{
|
|
784
809
|
id: z.ZodString;
|
|
785
810
|
priceModifier: z.ZodDefault<z.ZodNumber>;
|
|
811
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
786
812
|
providerValues: z.ZodOptional<z.ZodObject<{
|
|
787
813
|
openrouter: z.ZodOptional<z.ZodString>;
|
|
788
814
|
kie: z.ZodOptional<z.ZodString>;
|
|
@@ -896,13 +922,15 @@ export declare const ToolAvailabilityItemWithAccessSchema: z.ZodObject<{
|
|
|
896
922
|
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
897
923
|
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
898
924
|
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
899
|
-
price: z.ZodNumber
|
|
925
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
926
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
900
927
|
}, z.core.$strip>, z.ZodObject<{
|
|
901
928
|
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
902
929
|
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
903
930
|
supportedValues: z.ZodArray<z.ZodObject<{
|
|
904
931
|
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
905
|
-
price: z.ZodNumber
|
|
932
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
933
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
906
934
|
}, z.core.$strip>>;
|
|
907
935
|
}, z.core.$strip>], "id">>;
|
|
908
936
|
access: z.ZodBoolean;
|
|
@@ -952,13 +980,15 @@ export declare const ToolAvailabilityWithAccessResponseSchema: z.ZodObject<{
|
|
|
952
980
|
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../..").ModelRole>>;
|
|
953
981
|
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
954
982
|
id: z.ZodLiteral<import("../..").PluginId.WEB>;
|
|
955
|
-
price: z.ZodNumber
|
|
983
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
984
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
956
985
|
}, z.core.$strip>, z.ZodObject<{
|
|
957
986
|
id: z.ZodLiteral<import("../..").PluginId.REASONING>;
|
|
958
987
|
default: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
959
988
|
supportedValues: z.ZodArray<z.ZodObject<{
|
|
960
989
|
value: z.ZodEnum<typeof import("../..").ReasoningEffort>;
|
|
961
|
-
price: z.ZodNumber
|
|
990
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
991
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
962
992
|
}, z.core.$strip>>;
|
|
963
993
|
}, z.core.$strip>], "id">>;
|
|
964
994
|
access: z.ZodBoolean;
|
|
@@ -43,13 +43,15 @@ export declare namespace UnregToolGetAvailabilityQuery {
|
|
|
43
43
|
modelRoles: z.ZodArray<z.ZodEnum<typeof import("../../..").ModelRole>>;
|
|
44
44
|
plugins: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45
45
|
id: z.ZodLiteral<import("../../..").PluginId.WEB>;
|
|
46
|
-
price: z.ZodNumber
|
|
46
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
47
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
47
48
|
}, z.core.$strip>, z.ZodObject<{
|
|
48
49
|
id: z.ZodLiteral<import("../../..").PluginId.REASONING>;
|
|
49
50
|
default: z.ZodEnum<typeof import("../../..").ReasoningEffort>;
|
|
50
51
|
supportedValues: z.ZodArray<z.ZodObject<{
|
|
51
52
|
value: z.ZodEnum<typeof import("../../..").ReasoningEffort>;
|
|
52
|
-
price: z.ZodNumber
|
|
53
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
54
|
+
priceDelta: z.ZodDefault<z.ZodNumber>;
|
|
53
55
|
}, z.core.$strip>>;
|
|
54
56
|
}, z.core.$strip>], "id">>;
|
|
55
57
|
access: z.ZodBoolean;
|
|
@@ -13,8 +13,6 @@ export declare namespace UnregAuthenticateCommand {
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
const Response: z.ZodObject<{
|
|
15
15
|
token: z.ZodString;
|
|
16
|
-
requests: z.ZodNumber;
|
|
17
|
-
nextResetAt: z.ZodString;
|
|
18
16
|
status: z.ZodEnum<typeof import("../schemas").UnregUserStatus>;
|
|
19
17
|
}, z.core.$strip>;
|
|
20
18
|
const URL: "/api/v1/unreg/";
|
|
@@ -2,7 +2,5 @@ import { z } from 'zod';
|
|
|
2
2
|
import { UnregUserStatus } from './unreg-user-status.enum';
|
|
3
3
|
export declare const AuthenticateUnregUserResponseSchema: z.ZodObject<{
|
|
4
4
|
token: z.ZodString;
|
|
5
|
-
requests: z.ZodNumber;
|
|
6
|
-
nextResetAt: z.ZodString;
|
|
7
5
|
status: z.ZodEnum<typeof UnregUserStatus>;
|
|
8
6
|
}, z.core.$strip>;
|
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AuthenticateUnregUserResponseSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const regex_1 = require("../../../shared/regex");
|
|
6
5
|
const unreg_user_status_enum_1 = require("./unreg-user-status.enum");
|
|
7
6
|
exports.AuthenticateUnregUserResponseSchema = zod_1.z.object({
|
|
8
7
|
token: zod_1.z.string(),
|
|
9
|
-
requests: zod_1.z.number().int().nonnegative(),
|
|
10
|
-
nextResetAt: zod_1.z.string().regex(regex_1.DATETIME_REGEX),
|
|
11
8
|
status: zod_1.z.nativeEnum(unreg_user_status_enum_1.UnregUserStatus),
|
|
12
9
|
});
|
|
13
10
|
//# sourceMappingURL=authenticate-response.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate-response.schema.js","sourceRoot":"","sources":["../../../../v1/unregistered-users/schemas/authenticate-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"authenticate-response.schema.js","sourceRoot":"","sources":["../../../../v1/unregistered-users/schemas/authenticate-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAA2D;AAU9C,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,wCAAe,CAAC;CACxC,CAAC,CAAC"}
|
|
@@ -5,5 +5,6 @@ var BalanceTypeCode;
|
|
|
5
5
|
(function (BalanceTypeCode) {
|
|
6
6
|
BalanceTypeCode["DAILY_REWARD"] = "DAILY_REWARD";
|
|
7
7
|
BalanceTypeCode["TASK_REWARD"] = "TASK_REWARD";
|
|
8
|
+
BalanceTypeCode["UNREG_WELCOME"] = "UNREG_WELCOME";
|
|
8
9
|
})(BalanceTypeCode || (exports.BalanceTypeCode = BalanceTypeCode = {}));
|
|
9
10
|
//# sourceMappingURL=balance-type-code.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance-type-code.enum.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/balance-type-code.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"balance-type-code.enum.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/balance-type-code.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAWX;AAXD,WAAY,eAAe;IACvB,gDAA6B,CAAA;IAC7B,8CAA2B,CAAA;IAQ3B,kDAA+B,CAAA;AACnC,CAAC,EAXW,eAAe,+BAAf,eAAe,QAW1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { BalanceStatus } from './balance-status.enum';
|
|
2
2
|
export { BalanceTypeCode } from './balance-type-code.enum';
|
|
3
3
|
export { HoldStatus } from './hold-status.enum';
|
|
4
|
-
export { TransactionType } from './transaction-type.enum';
|
|
4
|
+
export { TransactionType, isValidTransactionType } from './transaction-type.enum';
|
|
5
5
|
export { SourceType } from './source-type.enum';
|
|
6
6
|
export { InitiatorType } from './initiator-type.enum';
|
|
7
7
|
export { BalanceItemResponseSchema, BalanceSummaryResponseSchema, type BalanceItemResponse, type BalanceSummaryResponse, } from './balance-response.schema';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAX_METADATA_KEYS = exports.MAX_NESTING_DEPTH = exports.MAX_METADATA_SIZE = exports.validateMetadata = exports.MetadataSchema = exports.BalanceSummaryResponseSchema = exports.BalanceItemResponseSchema = exports.InitiatorType = exports.SourceType = exports.TransactionType = exports.HoldStatus = exports.BalanceTypeCode = exports.BalanceStatus = void 0;
|
|
3
|
+
exports.MAX_METADATA_KEYS = exports.MAX_NESTING_DEPTH = exports.MAX_METADATA_SIZE = exports.validateMetadata = exports.MetadataSchema = exports.BalanceSummaryResponseSchema = exports.BalanceItemResponseSchema = exports.InitiatorType = exports.SourceType = exports.isValidTransactionType = exports.TransactionType = exports.HoldStatus = exports.BalanceTypeCode = exports.BalanceStatus = void 0;
|
|
4
4
|
var balance_status_enum_1 = require("./balance-status.enum");
|
|
5
5
|
Object.defineProperty(exports, "BalanceStatus", { enumerable: true, get: function () { return balance_status_enum_1.BalanceStatus; } });
|
|
6
6
|
var balance_type_code_enum_1 = require("./balance-type-code.enum");
|
|
@@ -9,6 +9,7 @@ var hold_status_enum_1 = require("./hold-status.enum");
|
|
|
9
9
|
Object.defineProperty(exports, "HoldStatus", { enumerable: true, get: function () { return hold_status_enum_1.HoldStatus; } });
|
|
10
10
|
var transaction_type_enum_1 = require("./transaction-type.enum");
|
|
11
11
|
Object.defineProperty(exports, "TransactionType", { enumerable: true, get: function () { return transaction_type_enum_1.TransactionType; } });
|
|
12
|
+
Object.defineProperty(exports, "isValidTransactionType", { enumerable: true, get: function () { return transaction_type_enum_1.isValidTransactionType; } });
|
|
12
13
|
var source_type_enum_1 = require("./source-type.enum");
|
|
13
14
|
Object.defineProperty(exports, "SourceType", { enumerable: true, get: function () { return source_type_enum_1.SourceType; } });
|
|
14
15
|
var initiator_type_enum_1 = require("./initiator-type.enum");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/index.ts"],"names":[],"mappings":";;;AACA,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,mEAA2D;AAAlD,yHAAA,eAAe,OAAA;AACxB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/index.ts"],"names":[],"mappings":";;;AACA,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AACtB,mEAA2D;AAAlD,yHAAA,eAAe,OAAA;AACxB,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,iEAAkF;AAAzE,wHAAA,eAAe,OAAA;AAAE,+HAAA,sBAAsB,OAAA;AAChD,uDAAgD;AAAvC,8GAAA,UAAU,OAAA;AACnB,6DAAsD;AAA7C,oHAAA,aAAa,OAAA;AAGtB,qEAKmC;AAJ/B,oIAAA,yBAAyB,OAAA;AACzB,uIAAA,4BAA4B,OAAA;AAMhC,qDAO2B;AANvB,iHAAA,cAAc,OAAA;AACd,mHAAA,gBAAgB,OAAA;AAChB,oHAAA,iBAAiB,OAAA;AACjB,oHAAA,iBAAiB,OAAA;AACjB,oHAAA,iBAAiB,OAAA"}
|
|
@@ -2,6 +2,7 @@ export declare enum TransactionType {
|
|
|
2
2
|
CREDIT = "CREDIT",
|
|
3
3
|
DEBIT = "DEBIT",
|
|
4
4
|
HOLD_CREATE = "HOLD_CREATE",
|
|
5
|
+
HOLD_INCREASE = "HOLD_INCREASE",
|
|
5
6
|
HOLD_CONFIRM = "HOLD_CONFIRM",
|
|
6
7
|
HOLD_RELEASE = "HOLD_RELEASE",
|
|
7
8
|
HOLD_EXPIRE = "HOLD_EXPIRE",
|
|
@@ -11,3 +12,4 @@ export declare enum TransactionType {
|
|
|
11
12
|
TRANSFER_OUT = "TRANSFER_OUT",
|
|
12
13
|
TRANSFER_IN = "TRANSFER_IN"
|
|
13
14
|
}
|
|
15
|
+
export declare function isValidTransactionType(value: string): value is TransactionType;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TransactionType = void 0;
|
|
4
|
+
exports.isValidTransactionType = isValidTransactionType;
|
|
4
5
|
var TransactionType;
|
|
5
6
|
(function (TransactionType) {
|
|
6
7
|
TransactionType["CREDIT"] = "CREDIT";
|
|
7
8
|
TransactionType["DEBIT"] = "DEBIT";
|
|
8
9
|
TransactionType["HOLD_CREATE"] = "HOLD_CREATE";
|
|
10
|
+
TransactionType["HOLD_INCREASE"] = "HOLD_INCREASE";
|
|
9
11
|
TransactionType["HOLD_CONFIRM"] = "HOLD_CONFIRM";
|
|
10
12
|
TransactionType["HOLD_RELEASE"] = "HOLD_RELEASE";
|
|
11
13
|
TransactionType["HOLD_EXPIRE"] = "HOLD_EXPIRE";
|
|
@@ -15,4 +17,8 @@ var TransactionType;
|
|
|
15
17
|
TransactionType["TRANSFER_OUT"] = "TRANSFER_OUT";
|
|
16
18
|
TransactionType["TRANSFER_IN"] = "TRANSFER_IN";
|
|
17
19
|
})(TransactionType || (exports.TransactionType = TransactionType = {}));
|
|
20
|
+
const TRANSACTION_TYPE_VALUES = new Set(Object.values(TransactionType));
|
|
21
|
+
function isValidTransactionType(value) {
|
|
22
|
+
return TRANSACTION_TYPE_VALUES.has(value);
|
|
23
|
+
}
|
|
18
24
|
//# sourceMappingURL=transaction-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction-type.enum.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/transaction-type.enum.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"transaction-type.enum.js","sourceRoot":"","sources":["../../../../v1/wallet/schemas/transaction-type.enum.ts"],"names":[],"mappings":";;;AA4BA,wDAEC;AA1BD,IAAY,eAaX;AAbD,WAAY,eAAe;IACvB,oCAAiB,CAAA;IACjB,kCAAe,CAAA;IACf,8CAA2B,CAAA;IAC3B,kDAA+B,CAAA;IAC/B,gDAA6B,CAAA;IAC7B,gDAA6B,CAAA;IAC7B,8CAA2B,CAAA;IAC3B,oDAAiC,CAAA;IACjC,oCAAiB,CAAA;IACjB,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAC7B,8CAA2B,CAAA;AAC/B,CAAC,EAbW,eAAe,+BAAf,eAAe,QAa1B;AAED,MAAM,uBAAuB,GAAgB,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;AASrF,SAAgB,sBAAsB,CAAC,KAAa;IAChD,OAAO,uBAAuB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC9C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_USER_ASSISTANT_IMAGE = "https://cdn.veruna.io/seo/icons/Full=Icon White.svg";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DEFAULT_USER_ASSISTANT_IMAGE = void 0;
|
|
4
|
-
exports.DEFAULT_USER_ASSISTANT_IMAGE = 'https://cdn.veruna.io/seo/icons/Full=Icon White.svg';
|
|
5
|
-
//# sourceMappingURL=assistant-constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assistant-constants.js","sourceRoot":"","sources":["../../../../v1/assistants/schemas/assistant-constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG,qDAAqD,CAAC"}
|