@djangocfg/api 1.1.0 → 1.2.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/dist/index.cjs +1099 -1221
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +551 -787
- package/dist/index.d.ts +551 -787
- package/dist/index.mjs +1097 -1219
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/contexts/payments/CurrenciesContext.tsx +2 -2
- package/src/cfg/contexts/payments/OverviewContext.tsx +2 -2
- package/src/cfg/contexts/payments/RootPaymentsContext.tsx +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +10 -9
- package/src/cfg/generated/_utils/hooks/cfg__payments.ts +12 -11
- package/src/cfg/generated/_utils/schemas/Balance.schema.ts +23 -0
- package/src/cfg/generated/_utils/schemas/Currency.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts +2 -2
- package/src/cfg/generated/_utils/schemas/Transaction.schema.ts +28 -0
- package/src/cfg/generated/_utils/schemas/index.ts +3 -0
- package/src/cfg/generated/cfg__payments/client.ts +24 -8
- package/src/cfg/generated/cfg__payments/models.ts +21 -2
- package/src/cfg/generated/client.ts +6 -9
- package/src/cfg/generated/enums.ts +20 -0
- package/src/cfg/generated/index.ts +1 -1
- package/src/cfg/generated/package.json +1 -1
- package/src/cfg/generated/schema.ts +273 -456
package/dist/index.mjs
CHANGED
|
@@ -1050,17 +1050,20 @@ var CfgPayments = class {
|
|
|
1050
1050
|
this.client = client;
|
|
1051
1051
|
}
|
|
1052
1052
|
/**
|
|
1053
|
-
* Get
|
|
1053
|
+
* Get user balance
|
|
1054
|
+
*
|
|
1055
|
+
* Get current user balance and transaction statistics
|
|
1054
1056
|
*/
|
|
1055
1057
|
async balanceRetrieve() {
|
|
1056
1058
|
const response = await this.client.request("GET", "/cfg/payments/balance/");
|
|
1057
1059
|
return response;
|
|
1058
1060
|
}
|
|
1059
1061
|
/**
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1062
|
+
* Get available currencies
|
|
1063
|
+
*
|
|
1064
|
+
* Returns list of available currencies with token+network info
|
|
1062
1065
|
*/
|
|
1063
|
-
async
|
|
1066
|
+
async currenciesList() {
|
|
1064
1067
|
const response = await this.client.request("GET", "/cfg/payments/currencies/");
|
|
1065
1068
|
return response;
|
|
1066
1069
|
}
|
|
@@ -1119,10 +1122,19 @@ var CfgPayments = class {
|
|
|
1119
1122
|
return response;
|
|
1120
1123
|
}
|
|
1121
1124
|
/**
|
|
1122
|
-
* Get user transactions
|
|
1125
|
+
* Get user transactions
|
|
1126
|
+
*
|
|
1127
|
+
* Get user transactions with pagination and filtering
|
|
1123
1128
|
*/
|
|
1124
|
-
async
|
|
1125
|
-
const
|
|
1129
|
+
async transactionsList(...args) {
|
|
1130
|
+
const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
|
|
1131
|
+
let params;
|
|
1132
|
+
if (isParamsObject) {
|
|
1133
|
+
params = args[0];
|
|
1134
|
+
} else {
|
|
1135
|
+
params = { limit: args[0], offset: args[1], type: args[2] };
|
|
1136
|
+
}
|
|
1137
|
+
const response = await this.client.request("GET", "/cfg/payments/transactions/", { params });
|
|
1126
1138
|
return response;
|
|
1127
1139
|
}
|
|
1128
1140
|
};
|
|
@@ -1691,7 +1703,9 @@ var APIClient = class {
|
|
|
1691
1703
|
this.cfg_tasks = new CfgTasks(this);
|
|
1692
1704
|
}
|
|
1693
1705
|
/**
|
|
1694
|
-
* Get CSRF token from cookies.
|
|
1706
|
+
* Get CSRF token from cookies (for SessionAuthentication).
|
|
1707
|
+
*
|
|
1708
|
+
* Returns null if cookie doesn't exist (JWT-only auth).
|
|
1695
1709
|
*/
|
|
1696
1710
|
getCsrfToken() {
|
|
1697
1711
|
const name = "csrftoken";
|
|
@@ -1735,12 +1749,6 @@ var APIClient = class {
|
|
|
1735
1749
|
if (!options?.formData && !headers["Content-Type"]) {
|
|
1736
1750
|
headers["Content-Type"] = "application/json";
|
|
1737
1751
|
}
|
|
1738
|
-
if (method !== "GET") {
|
|
1739
|
-
const csrfToken = this.getCsrfToken();
|
|
1740
|
-
if (csrfToken) {
|
|
1741
|
-
headers["X-CSRFToken"] = csrfToken;
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
1752
|
if (this.logger) {
|
|
1745
1753
|
this.logger.logRequest({
|
|
1746
1754
|
method,
|
|
@@ -2564,6 +2572,51 @@ var OPENAPI_SCHEMA = {
|
|
|
2564
2572
|
],
|
|
2565
2573
|
"type": "object"
|
|
2566
2574
|
},
|
|
2575
|
+
"Balance": {
|
|
2576
|
+
"description": "User balance serializer.",
|
|
2577
|
+
"properties": {
|
|
2578
|
+
"balance_display": {
|
|
2579
|
+
"readOnly": true,
|
|
2580
|
+
"type": "string"
|
|
2581
|
+
},
|
|
2582
|
+
"balance_usd": {
|
|
2583
|
+
"description": "Current balance in USD",
|
|
2584
|
+
"format": "decimal",
|
|
2585
|
+
"pattern": "^-?\\d{0,8}(?:\\.\\d{0,2})?$",
|
|
2586
|
+
"readOnly": true,
|
|
2587
|
+
"type": "string"
|
|
2588
|
+
},
|
|
2589
|
+
"last_transaction_at": {
|
|
2590
|
+
"description": "When the last transaction occurred",
|
|
2591
|
+
"format": "date-time",
|
|
2592
|
+
"nullable": true,
|
|
2593
|
+
"readOnly": true,
|
|
2594
|
+
"type": "string"
|
|
2595
|
+
},
|
|
2596
|
+
"total_deposited": {
|
|
2597
|
+
"description": "Total amount deposited (lifetime)",
|
|
2598
|
+
"format": "decimal",
|
|
2599
|
+
"pattern": "^-?\\d{0,8}(?:\\.\\d{0,2})?$",
|
|
2600
|
+
"readOnly": true,
|
|
2601
|
+
"type": "string"
|
|
2602
|
+
},
|
|
2603
|
+
"total_withdrawn": {
|
|
2604
|
+
"description": "Total amount withdrawn (lifetime)",
|
|
2605
|
+
"format": "decimal",
|
|
2606
|
+
"pattern": "^-?\\d{0,8}(?:\\.\\d{0,2})?$",
|
|
2607
|
+
"readOnly": true,
|
|
2608
|
+
"type": "string"
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
"required": [
|
|
2612
|
+
"balance_display",
|
|
2613
|
+
"balance_usd",
|
|
2614
|
+
"last_transaction_at",
|
|
2615
|
+
"total_deposited",
|
|
2616
|
+
"total_withdrawn"
|
|
2617
|
+
],
|
|
2618
|
+
"type": "object"
|
|
2619
|
+
},
|
|
2567
2620
|
"BulkEmailRequest": {
|
|
2568
2621
|
"description": "Simple serializer for bulk email.",
|
|
2569
2622
|
"properties": {
|
|
@@ -3049,6 +3102,76 @@ var OPENAPI_SCHEMA = {
|
|
|
3049
3102
|
],
|
|
3050
3103
|
"type": "object"
|
|
3051
3104
|
},
|
|
3105
|
+
"Currency": {
|
|
3106
|
+
"description": "Currency list serializer.",
|
|
3107
|
+
"properties": {
|
|
3108
|
+
"code": {
|
|
3109
|
+
"description": "Currency code from provider (e.g., USDTTRC20, BTC, ETH)",
|
|
3110
|
+
"readOnly": true,
|
|
3111
|
+
"type": "string"
|
|
3112
|
+
},
|
|
3113
|
+
"decimal_places": {
|
|
3114
|
+
"description": "Number of decimal places for this currency",
|
|
3115
|
+
"readOnly": true,
|
|
3116
|
+
"type": "integer"
|
|
3117
|
+
},
|
|
3118
|
+
"display_name": {
|
|
3119
|
+
"readOnly": true,
|
|
3120
|
+
"type": "string"
|
|
3121
|
+
},
|
|
3122
|
+
"is_active": {
|
|
3123
|
+
"description": "Whether this currency is available for payments",
|
|
3124
|
+
"readOnly": true,
|
|
3125
|
+
"type": "boolean"
|
|
3126
|
+
},
|
|
3127
|
+
"min_amount_usd": {
|
|
3128
|
+
"description": "Minimum payment amount in USD",
|
|
3129
|
+
"format": "decimal",
|
|
3130
|
+
"pattern": "^-?\\d{0,8}(?:\\.\\d{0,2})?$",
|
|
3131
|
+
"readOnly": true,
|
|
3132
|
+
"type": "string"
|
|
3133
|
+
},
|
|
3134
|
+
"name": {
|
|
3135
|
+
"description": "Full currency name (e.g., USDT (TRC20), Bitcoin)",
|
|
3136
|
+
"readOnly": true,
|
|
3137
|
+
"type": "string"
|
|
3138
|
+
},
|
|
3139
|
+
"network": {
|
|
3140
|
+
"description": "Network name (e.g., TRC20, ERC20, Bitcoin)",
|
|
3141
|
+
"nullable": true,
|
|
3142
|
+
"readOnly": true,
|
|
3143
|
+
"type": "string"
|
|
3144
|
+
},
|
|
3145
|
+
"sort_order": {
|
|
3146
|
+
"description": "Sort order for currency list (lower = higher priority)",
|
|
3147
|
+
"readOnly": true,
|
|
3148
|
+
"type": "integer"
|
|
3149
|
+
},
|
|
3150
|
+
"symbol": {
|
|
3151
|
+
"description": "Currency symbol (e.g., \u20AE, \u20BF, \u039E)",
|
|
3152
|
+
"readOnly": true,
|
|
3153
|
+
"type": "string"
|
|
3154
|
+
},
|
|
3155
|
+
"token": {
|
|
3156
|
+
"description": "Token symbol (e.g., USDT, BTC, ETH)",
|
|
3157
|
+
"readOnly": true,
|
|
3158
|
+
"type": "string"
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
"required": [
|
|
3162
|
+
"code",
|
|
3163
|
+
"decimal_places",
|
|
3164
|
+
"display_name",
|
|
3165
|
+
"is_active",
|
|
3166
|
+
"min_amount_usd",
|
|
3167
|
+
"name",
|
|
3168
|
+
"network",
|
|
3169
|
+
"sort_order",
|
|
3170
|
+
"symbol",
|
|
3171
|
+
"token"
|
|
3172
|
+
],
|
|
3173
|
+
"type": "object"
|
|
3174
|
+
},
|
|
3052
3175
|
"Document": {
|
|
3053
3176
|
"description": "Document response serializer.",
|
|
3054
3177
|
"properties": {
|
|
@@ -6220,6 +6343,8 @@ var OPENAPI_SCHEMA = {
|
|
|
6220
6343
|
"type": "string"
|
|
6221
6344
|
},
|
|
6222
6345
|
"explorer_link": {
|
|
6346
|
+
"description": "Get blockchain explorer link.",
|
|
6347
|
+
"nullable": true,
|
|
6223
6348
|
"readOnly": true,
|
|
6224
6349
|
"type": "string"
|
|
6225
6350
|
},
|
|
@@ -6268,6 +6393,8 @@ var OPENAPI_SCHEMA = {
|
|
|
6268
6393
|
"type": "string"
|
|
6269
6394
|
},
|
|
6270
6395
|
"qr_code_url": {
|
|
6396
|
+
"description": "Get QR code URL.",
|
|
6397
|
+
"nullable": true,
|
|
6271
6398
|
"readOnly": true,
|
|
6272
6399
|
"type": "string"
|
|
6273
6400
|
},
|
|
@@ -6930,6 +7057,83 @@ var OPENAPI_SCHEMA = {
|
|
|
6930
7057
|
],
|
|
6931
7058
|
"type": "object"
|
|
6932
7059
|
},
|
|
7060
|
+
"Transaction": {
|
|
7061
|
+
"description": "Transaction serializer.",
|
|
7062
|
+
"properties": {
|
|
7063
|
+
"amount_display": {
|
|
7064
|
+
"readOnly": true,
|
|
7065
|
+
"type": "string"
|
|
7066
|
+
},
|
|
7067
|
+
"amount_usd": {
|
|
7068
|
+
"description": "Transaction amount in USD (positive=credit, negative=debit)",
|
|
7069
|
+
"format": "decimal",
|
|
7070
|
+
"pattern": "^-?\\d{0,8}(?:\\.\\d{0,2})?$",
|
|
7071
|
+
"readOnly": true,
|
|
7072
|
+
"type": "string"
|
|
7073
|
+
},
|
|
7074
|
+
"balance_after": {
|
|
7075
|
+
"description": "User balance after this transaction",
|
|
7076
|
+
"format": "decimal",
|
|
7077
|
+
"pattern": "^-?\\d{0,8}(?:\\.\\d{0,2})?$",
|
|
7078
|
+
"readOnly": true,
|
|
7079
|
+
"type": "string"
|
|
7080
|
+
},
|
|
7081
|
+
"created_at": {
|
|
7082
|
+
"description": "When this record was created",
|
|
7083
|
+
"format": "date-time",
|
|
7084
|
+
"readOnly": true,
|
|
7085
|
+
"type": "string"
|
|
7086
|
+
},
|
|
7087
|
+
"description": {
|
|
7088
|
+
"description": "Transaction description",
|
|
7089
|
+
"readOnly": true,
|
|
7090
|
+
"type": "string"
|
|
7091
|
+
},
|
|
7092
|
+
"id": {
|
|
7093
|
+
"description": "Unique identifier for this record",
|
|
7094
|
+
"format": "uuid",
|
|
7095
|
+
"readOnly": true,
|
|
7096
|
+
"type": "string"
|
|
7097
|
+
},
|
|
7098
|
+
"payment_id": {
|
|
7099
|
+
"description": "Related payment ID (if applicable)",
|
|
7100
|
+
"nullable": true,
|
|
7101
|
+
"readOnly": true,
|
|
7102
|
+
"type": "string"
|
|
7103
|
+
},
|
|
7104
|
+
"transaction_type": {
|
|
7105
|
+
"description": "Type of transaction\n\n* `deposit` - Deposit\n* `withdrawal` - Withdrawal\n* `payment` - Payment\n* `refund` - Refund\n* `fee` - Fee\n* `bonus` - Bonus\n* `adjustment` - Adjustment",
|
|
7106
|
+
"enum": [
|
|
7107
|
+
"deposit",
|
|
7108
|
+
"withdrawal",
|
|
7109
|
+
"payment",
|
|
7110
|
+
"refund",
|
|
7111
|
+
"fee",
|
|
7112
|
+
"bonus",
|
|
7113
|
+
"adjustment"
|
|
7114
|
+
],
|
|
7115
|
+
"readOnly": true,
|
|
7116
|
+
"type": "string",
|
|
7117
|
+
"x-spec-enum-id": "25d1662d4db37694"
|
|
7118
|
+
},
|
|
7119
|
+
"type_display": {
|
|
7120
|
+
"readOnly": true,
|
|
7121
|
+
"type": "string"
|
|
7122
|
+
}
|
|
7123
|
+
},
|
|
7124
|
+
"required": [
|
|
7125
|
+
"amount_display",
|
|
7126
|
+
"amount_usd",
|
|
7127
|
+
"balance_after",
|
|
7128
|
+
"created_at",
|
|
7129
|
+
"description",
|
|
7130
|
+
"id",
|
|
7131
|
+
"payment_id",
|
|
7132
|
+
"transaction_type",
|
|
7133
|
+
"type_display"
|
|
7134
|
+
],
|
|
7135
|
+
"type": "object"
|
|
7136
|
+
},
|
|
6933
7137
|
"Unsubscribe": {
|
|
6934
7138
|
"description": "Simple serializer for unsubscribe.",
|
|
6935
7139
|
"properties": {
|
|
@@ -7257,8 +7461,8 @@ var OPENAPI_SCHEMA = {
|
|
|
7257
7461
|
}
|
|
7258
7462
|
},
|
|
7259
7463
|
"info": {
|
|
7260
|
-
"description": "Complete API documentation for Django CFG
|
|
7261
|
-
"title": "Django CFG
|
|
7464
|
+
"description": "Complete API documentation for Django CFG Demo Project",
|
|
7465
|
+
"title": "Django CFG API",
|
|
7262
7466
|
"version": "1.0.0",
|
|
7263
7467
|
"x-django-metadata": {
|
|
7264
7468
|
"apps": [
|
|
@@ -7338,9 +7542,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7338
7542
|
{
|
|
7339
7543
|
"jwtAuth": []
|
|
7340
7544
|
},
|
|
7341
|
-
{
|
|
7342
|
-
"cookieAuth": []
|
|
7343
|
-
},
|
|
7344
7545
|
{}
|
|
7345
7546
|
],
|
|
7346
7547
|
"tags": [
|
|
@@ -7409,9 +7610,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7409
7610
|
{
|
|
7410
7611
|
"jwtAuth": []
|
|
7411
7612
|
},
|
|
7412
|
-
{
|
|
7413
|
-
"cookieAuth": []
|
|
7414
|
-
},
|
|
7415
7613
|
{}
|
|
7416
7614
|
],
|
|
7417
7615
|
"tags": [
|
|
@@ -7449,9 +7647,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7449
7647
|
"security": [
|
|
7450
7648
|
{
|
|
7451
7649
|
"jwtAuth": []
|
|
7452
|
-
},
|
|
7453
|
-
{
|
|
7454
|
-
"cookieAuth": []
|
|
7455
7650
|
}
|
|
7456
7651
|
],
|
|
7457
7652
|
"summary": "Get current user profile",
|
|
@@ -7519,9 +7714,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7519
7714
|
"security": [
|
|
7520
7715
|
{
|
|
7521
7716
|
"jwtAuth": []
|
|
7522
|
-
},
|
|
7523
|
-
{
|
|
7524
|
-
"cookieAuth": []
|
|
7525
7717
|
}
|
|
7526
7718
|
],
|
|
7527
7719
|
"summary": "Upload user avatar",
|
|
@@ -7601,9 +7793,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7601
7793
|
"security": [
|
|
7602
7794
|
{
|
|
7603
7795
|
"jwtAuth": []
|
|
7604
|
-
},
|
|
7605
|
-
{
|
|
7606
|
-
"cookieAuth": []
|
|
7607
7796
|
}
|
|
7608
7797
|
],
|
|
7609
7798
|
"summary": "Partial update user profile",
|
|
@@ -7681,9 +7870,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7681
7870
|
"security": [
|
|
7682
7871
|
{
|
|
7683
7872
|
"jwtAuth": []
|
|
7684
|
-
},
|
|
7685
|
-
{
|
|
7686
|
-
"cookieAuth": []
|
|
7687
7873
|
}
|
|
7688
7874
|
],
|
|
7689
7875
|
"summary": "Partial update user profile",
|
|
@@ -7763,9 +7949,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7763
7949
|
"security": [
|
|
7764
7950
|
{
|
|
7765
7951
|
"jwtAuth": []
|
|
7766
|
-
},
|
|
7767
|
-
{
|
|
7768
|
-
"cookieAuth": []
|
|
7769
7952
|
}
|
|
7770
7953
|
],
|
|
7771
7954
|
"summary": "Update user profile",
|
|
@@ -7843,9 +8026,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7843
8026
|
"security": [
|
|
7844
8027
|
{
|
|
7845
8028
|
"jwtAuth": []
|
|
7846
|
-
},
|
|
7847
|
-
{
|
|
7848
|
-
"cookieAuth": []
|
|
7849
8029
|
}
|
|
7850
8030
|
],
|
|
7851
8031
|
"summary": "Update user profile",
|
|
@@ -7917,9 +8097,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7917
8097
|
{
|
|
7918
8098
|
"jwtAuth": []
|
|
7919
8099
|
},
|
|
7920
|
-
{
|
|
7921
|
-
"cookieAuth": []
|
|
7922
|
-
},
|
|
7923
8100
|
{}
|
|
7924
8101
|
],
|
|
7925
8102
|
"tags": [
|
|
@@ -7948,9 +8125,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7948
8125
|
{
|
|
7949
8126
|
"jwtAuth": []
|
|
7950
8127
|
},
|
|
7951
|
-
{
|
|
7952
|
-
"cookieAuth": []
|
|
7953
|
-
},
|
|
7954
8128
|
{}
|
|
7955
8129
|
],
|
|
7956
8130
|
"tags": [
|
|
@@ -7979,9 +8153,6 @@ var OPENAPI_SCHEMA = {
|
|
|
7979
8153
|
{
|
|
7980
8154
|
"jwtAuth": []
|
|
7981
8155
|
},
|
|
7982
|
-
{
|
|
7983
|
-
"cookieAuth": []
|
|
7984
|
-
},
|
|
7985
8156
|
{}
|
|
7986
8157
|
],
|
|
7987
8158
|
"tags": [
|
|
@@ -8029,9 +8200,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8029
8200
|
"security": [
|
|
8030
8201
|
{
|
|
8031
8202
|
"jwtAuth": []
|
|
8032
|
-
},
|
|
8033
|
-
{
|
|
8034
|
-
"cookieAuth": []
|
|
8035
8203
|
}
|
|
8036
8204
|
],
|
|
8037
8205
|
"tags": [
|
|
@@ -8077,9 +8245,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8077
8245
|
"security": [
|
|
8078
8246
|
{
|
|
8079
8247
|
"jwtAuth": []
|
|
8080
|
-
},
|
|
8081
|
-
{
|
|
8082
|
-
"cookieAuth": []
|
|
8083
8248
|
}
|
|
8084
8249
|
],
|
|
8085
8250
|
"tags": [
|
|
@@ -8147,9 +8312,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8147
8312
|
"security": [
|
|
8148
8313
|
{
|
|
8149
8314
|
"jwtAuth": []
|
|
8150
|
-
},
|
|
8151
|
-
{
|
|
8152
|
-
"cookieAuth": []
|
|
8153
8315
|
}
|
|
8154
8316
|
],
|
|
8155
8317
|
"summary": "Process chat query with RAG",
|
|
@@ -8183,9 +8345,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8183
8345
|
"security": [
|
|
8184
8346
|
{
|
|
8185
8347
|
"jwtAuth": []
|
|
8186
|
-
},
|
|
8187
|
-
{
|
|
8188
|
-
"cookieAuth": []
|
|
8189
8348
|
}
|
|
8190
8349
|
],
|
|
8191
8350
|
"tags": [
|
|
@@ -8223,9 +8382,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8223
8382
|
"security": [
|
|
8224
8383
|
{
|
|
8225
8384
|
"jwtAuth": []
|
|
8226
|
-
},
|
|
8227
|
-
{
|
|
8228
|
-
"cookieAuth": []
|
|
8229
8385
|
}
|
|
8230
8386
|
],
|
|
8231
8387
|
"tags": [
|
|
@@ -8282,9 +8438,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8282
8438
|
"security": [
|
|
8283
8439
|
{
|
|
8284
8440
|
"jwtAuth": []
|
|
8285
|
-
},
|
|
8286
|
-
{
|
|
8287
|
-
"cookieAuth": []
|
|
8288
8441
|
}
|
|
8289
8442
|
],
|
|
8290
8443
|
"tags": [
|
|
@@ -8342,9 +8495,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8342
8495
|
"security": [
|
|
8343
8496
|
{
|
|
8344
8497
|
"jwtAuth": []
|
|
8345
|
-
},
|
|
8346
|
-
{
|
|
8347
|
-
"cookieAuth": []
|
|
8348
8498
|
}
|
|
8349
8499
|
],
|
|
8350
8500
|
"tags": [
|
|
@@ -8384,9 +8534,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8384
8534
|
"security": [
|
|
8385
8535
|
{
|
|
8386
8536
|
"jwtAuth": []
|
|
8387
|
-
},
|
|
8388
|
-
{
|
|
8389
|
-
"cookieAuth": []
|
|
8390
8537
|
}
|
|
8391
8538
|
],
|
|
8392
8539
|
"summary": "Get chat history",
|
|
@@ -8443,9 +8590,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8443
8590
|
"security": [
|
|
8444
8591
|
{
|
|
8445
8592
|
"jwtAuth": []
|
|
8446
|
-
},
|
|
8447
|
-
{
|
|
8448
|
-
"cookieAuth": []
|
|
8449
8593
|
}
|
|
8450
8594
|
],
|
|
8451
8595
|
"summary": "List user documents",
|
|
@@ -8509,48 +8653,18 @@ var OPENAPI_SCHEMA = {
|
|
|
8509
8653
|
"description": ""
|
|
8510
8654
|
},
|
|
8511
8655
|
"400": {
|
|
8512
|
-
"
|
|
8513
|
-
"application/json": {
|
|
8514
|
-
"schema": {
|
|
8515
|
-
"additionalProperties": {},
|
|
8516
|
-
"description": "Unspecified response body",
|
|
8517
|
-
"type": "object"
|
|
8518
|
-
}
|
|
8519
|
-
}
|
|
8520
|
-
},
|
|
8521
|
-
"description": ""
|
|
8656
|
+
"description": "Validation errors"
|
|
8522
8657
|
},
|
|
8523
8658
|
"413": {
|
|
8524
|
-
"
|
|
8525
|
-
"application/json": {
|
|
8526
|
-
"schema": {
|
|
8527
|
-
"additionalProperties": {},
|
|
8528
|
-
"description": "Unspecified response body",
|
|
8529
|
-
"type": "object"
|
|
8530
|
-
}
|
|
8531
|
-
}
|
|
8532
|
-
},
|
|
8533
|
-
"description": ""
|
|
8659
|
+
"description": "File too large"
|
|
8534
8660
|
},
|
|
8535
8661
|
"429": {
|
|
8536
|
-
"
|
|
8537
|
-
"application/json": {
|
|
8538
|
-
"schema": {
|
|
8539
|
-
"additionalProperties": {},
|
|
8540
|
-
"description": "Unspecified response body",
|
|
8541
|
-
"type": "object"
|
|
8542
|
-
}
|
|
8543
|
-
}
|
|
8544
|
-
},
|
|
8545
|
-
"description": ""
|
|
8662
|
+
"description": "Rate limit exceeded"
|
|
8546
8663
|
}
|
|
8547
8664
|
},
|
|
8548
8665
|
"security": [
|
|
8549
8666
|
{
|
|
8550
8667
|
"jwtAuth": []
|
|
8551
|
-
},
|
|
8552
|
-
{
|
|
8553
|
-
"cookieAuth": []
|
|
8554
8668
|
}
|
|
8555
8669
|
],
|
|
8556
8670
|
"summary": "Upload new document",
|
|
@@ -8579,9 +8693,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8579
8693
|
"security": [
|
|
8580
8694
|
{
|
|
8581
8695
|
"jwtAuth": []
|
|
8582
|
-
},
|
|
8583
|
-
{
|
|
8584
|
-
"cookieAuth": []
|
|
8585
8696
|
}
|
|
8586
8697
|
],
|
|
8587
8698
|
"summary": "Get processing statistics",
|
|
@@ -8609,36 +8720,15 @@ var OPENAPI_SCHEMA = {
|
|
|
8609
8720
|
],
|
|
8610
8721
|
"responses": {
|
|
8611
8722
|
"204": {
|
|
8612
|
-
"
|
|
8613
|
-
"application/json": {
|
|
8614
|
-
"schema": {
|
|
8615
|
-
"additionalProperties": {},
|
|
8616
|
-
"description": "Unspecified response body",
|
|
8617
|
-
"type": "object"
|
|
8618
|
-
}
|
|
8619
|
-
}
|
|
8620
|
-
},
|
|
8621
|
-
"description": ""
|
|
8723
|
+
"description": "Document deleted successfully"
|
|
8622
8724
|
},
|
|
8623
8725
|
"404": {
|
|
8624
|
-
"
|
|
8625
|
-
"application/json": {
|
|
8626
|
-
"schema": {
|
|
8627
|
-
"additionalProperties": {},
|
|
8628
|
-
"description": "Unspecified response body",
|
|
8629
|
-
"type": "object"
|
|
8630
|
-
}
|
|
8631
|
-
}
|
|
8632
|
-
},
|
|
8633
|
-
"description": ""
|
|
8726
|
+
"description": "Document not found"
|
|
8634
8727
|
}
|
|
8635
8728
|
},
|
|
8636
8729
|
"security": [
|
|
8637
8730
|
{
|
|
8638
8731
|
"jwtAuth": []
|
|
8639
|
-
},
|
|
8640
|
-
{
|
|
8641
|
-
"cookieAuth": []
|
|
8642
8732
|
}
|
|
8643
8733
|
],
|
|
8644
8734
|
"summary": "Delete document",
|
|
@@ -8674,24 +8764,12 @@ var OPENAPI_SCHEMA = {
|
|
|
8674
8764
|
"description": ""
|
|
8675
8765
|
},
|
|
8676
8766
|
"404": {
|
|
8677
|
-
"
|
|
8678
|
-
"application/json": {
|
|
8679
|
-
"schema": {
|
|
8680
|
-
"additionalProperties": {},
|
|
8681
|
-
"description": "Unspecified response body",
|
|
8682
|
-
"type": "object"
|
|
8683
|
-
}
|
|
8684
|
-
}
|
|
8685
|
-
},
|
|
8686
|
-
"description": ""
|
|
8767
|
+
"description": "Document not found"
|
|
8687
8768
|
}
|
|
8688
8769
|
},
|
|
8689
8770
|
"security": [
|
|
8690
8771
|
{
|
|
8691
8772
|
"jwtAuth": []
|
|
8692
|
-
},
|
|
8693
|
-
{
|
|
8694
|
-
"cookieAuth": []
|
|
8695
8773
|
}
|
|
8696
8774
|
],
|
|
8697
8775
|
"summary": "Get document details",
|
|
@@ -8749,9 +8827,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8749
8827
|
"security": [
|
|
8750
8828
|
{
|
|
8751
8829
|
"jwtAuth": []
|
|
8752
|
-
},
|
|
8753
|
-
{
|
|
8754
|
-
"cookieAuth": []
|
|
8755
8830
|
}
|
|
8756
8831
|
],
|
|
8757
8832
|
"tags": [
|
|
@@ -8809,9 +8884,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8809
8884
|
"security": [
|
|
8810
8885
|
{
|
|
8811
8886
|
"jwtAuth": []
|
|
8812
|
-
},
|
|
8813
|
-
{
|
|
8814
|
-
"cookieAuth": []
|
|
8815
8887
|
}
|
|
8816
8888
|
],
|
|
8817
8889
|
"tags": [
|
|
@@ -8871,9 +8943,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8871
8943
|
"security": [
|
|
8872
8944
|
{
|
|
8873
8945
|
"jwtAuth": []
|
|
8874
|
-
},
|
|
8875
|
-
{
|
|
8876
|
-
"cookieAuth": []
|
|
8877
8946
|
}
|
|
8878
8947
|
],
|
|
8879
8948
|
"summary": "Reprocess document",
|
|
@@ -8914,9 +8983,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8914
8983
|
"security": [
|
|
8915
8984
|
{
|
|
8916
8985
|
"jwtAuth": []
|
|
8917
|
-
},
|
|
8918
|
-
{
|
|
8919
|
-
"cookieAuth": []
|
|
8920
8986
|
}
|
|
8921
8987
|
],
|
|
8922
8988
|
"summary": "Get document processing status",
|
|
@@ -8965,9 +9031,6 @@ var OPENAPI_SCHEMA = {
|
|
|
8965
9031
|
"security": [
|
|
8966
9032
|
{
|
|
8967
9033
|
"jwtAuth": []
|
|
8968
|
-
},
|
|
8969
|
-
{
|
|
8970
|
-
"cookieAuth": []
|
|
8971
9034
|
}
|
|
8972
9035
|
],
|
|
8973
9036
|
"summary": "List user chat sessions",
|
|
@@ -9013,9 +9076,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9013
9076
|
"security": [
|
|
9014
9077
|
{
|
|
9015
9078
|
"jwtAuth": []
|
|
9016
|
-
},
|
|
9017
|
-
{
|
|
9018
|
-
"cookieAuth": []
|
|
9019
9079
|
}
|
|
9020
9080
|
],
|
|
9021
9081
|
"summary": "Create new chat session",
|
|
@@ -9049,9 +9109,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9049
9109
|
"security": [
|
|
9050
9110
|
{
|
|
9051
9111
|
"jwtAuth": []
|
|
9052
|
-
},
|
|
9053
|
-
{
|
|
9054
|
-
"cookieAuth": []
|
|
9055
9112
|
}
|
|
9056
9113
|
],
|
|
9057
9114
|
"tags": [
|
|
@@ -9089,9 +9146,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9089
9146
|
"security": [
|
|
9090
9147
|
{
|
|
9091
9148
|
"jwtAuth": []
|
|
9092
|
-
},
|
|
9093
|
-
{
|
|
9094
|
-
"cookieAuth": []
|
|
9095
9149
|
}
|
|
9096
9150
|
],
|
|
9097
9151
|
"tags": [
|
|
@@ -9148,9 +9202,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9148
9202
|
"security": [
|
|
9149
9203
|
{
|
|
9150
9204
|
"jwtAuth": []
|
|
9151
|
-
},
|
|
9152
|
-
{
|
|
9153
|
-
"cookieAuth": []
|
|
9154
9205
|
}
|
|
9155
9206
|
],
|
|
9156
9207
|
"tags": [
|
|
@@ -9207,9 +9258,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9207
9258
|
"security": [
|
|
9208
9259
|
{
|
|
9209
9260
|
"jwtAuth": []
|
|
9210
|
-
},
|
|
9211
|
-
{
|
|
9212
|
-
"cookieAuth": []
|
|
9213
9261
|
}
|
|
9214
9262
|
],
|
|
9215
9263
|
"tags": [
|
|
@@ -9268,9 +9316,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9268
9316
|
"security": [
|
|
9269
9317
|
{
|
|
9270
9318
|
"jwtAuth": []
|
|
9271
|
-
},
|
|
9272
|
-
{
|
|
9273
|
-
"cookieAuth": []
|
|
9274
9319
|
}
|
|
9275
9320
|
],
|
|
9276
9321
|
"summary": "Activate chat session",
|
|
@@ -9330,9 +9375,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9330
9375
|
"security": [
|
|
9331
9376
|
{
|
|
9332
9377
|
"jwtAuth": []
|
|
9333
|
-
},
|
|
9334
|
-
{
|
|
9335
|
-
"cookieAuth": []
|
|
9336
9378
|
}
|
|
9337
9379
|
],
|
|
9338
9380
|
"summary": "Archive chat session",
|
|
@@ -9382,9 +9424,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9382
9424
|
{
|
|
9383
9425
|
"jwtAuth": []
|
|
9384
9426
|
},
|
|
9385
|
-
{
|
|
9386
|
-
"cookieAuth": []
|
|
9387
|
-
},
|
|
9388
9427
|
{}
|
|
9389
9428
|
],
|
|
9390
9429
|
"summary": "List public categories",
|
|
@@ -9422,25 +9461,13 @@ var OPENAPI_SCHEMA = {
|
|
|
9422
9461
|
"description": ""
|
|
9423
9462
|
},
|
|
9424
9463
|
"404": {
|
|
9425
|
-
"
|
|
9426
|
-
"application/json": {
|
|
9427
|
-
"schema": {
|
|
9428
|
-
"additionalProperties": {},
|
|
9429
|
-
"description": "Unspecified response body",
|
|
9430
|
-
"type": "object"
|
|
9431
|
-
}
|
|
9432
|
-
}
|
|
9433
|
-
},
|
|
9434
|
-
"description": ""
|
|
9464
|
+
"description": "Category not found"
|
|
9435
9465
|
}
|
|
9436
9466
|
},
|
|
9437
9467
|
"security": [
|
|
9438
9468
|
{
|
|
9439
9469
|
"jwtAuth": []
|
|
9440
9470
|
},
|
|
9441
|
-
{
|
|
9442
|
-
"cookieAuth": []
|
|
9443
|
-
},
|
|
9444
9471
|
{}
|
|
9445
9472
|
],
|
|
9446
9473
|
"summary": "Get public category details",
|
|
@@ -9506,9 +9533,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9506
9533
|
{
|
|
9507
9534
|
"jwtAuth": []
|
|
9508
9535
|
},
|
|
9509
|
-
{
|
|
9510
|
-
"cookieAuth": []
|
|
9511
|
-
},
|
|
9512
9536
|
{}
|
|
9513
9537
|
],
|
|
9514
9538
|
"summary": "List public documents",
|
|
@@ -9546,25 +9570,13 @@ var OPENAPI_SCHEMA = {
|
|
|
9546
9570
|
"description": ""
|
|
9547
9571
|
},
|
|
9548
9572
|
"404": {
|
|
9549
|
-
"
|
|
9550
|
-
"application/json": {
|
|
9551
|
-
"schema": {
|
|
9552
|
-
"additionalProperties": {},
|
|
9553
|
-
"description": "Unspecified response body",
|
|
9554
|
-
"type": "object"
|
|
9555
|
-
}
|
|
9556
|
-
}
|
|
9557
|
-
},
|
|
9558
|
-
"description": ""
|
|
9573
|
+
"description": "Document not found"
|
|
9559
9574
|
}
|
|
9560
9575
|
},
|
|
9561
9576
|
"security": [
|
|
9562
9577
|
{
|
|
9563
9578
|
"jwtAuth": []
|
|
9564
9579
|
},
|
|
9565
|
-
{
|
|
9566
|
-
"cookieAuth": []
|
|
9567
|
-
},
|
|
9568
9580
|
{}
|
|
9569
9581
|
],
|
|
9570
9582
|
"summary": "Get public document details",
|
|
@@ -9613,9 +9625,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9613
9625
|
"security": [
|
|
9614
9626
|
{
|
|
9615
9627
|
"jwtAuth": []
|
|
9616
|
-
},
|
|
9617
|
-
{
|
|
9618
|
-
"cookieAuth": []
|
|
9619
9628
|
}
|
|
9620
9629
|
],
|
|
9621
9630
|
"tags": [
|
|
@@ -9671,48 +9680,18 @@ var OPENAPI_SCHEMA = {
|
|
|
9671
9680
|
"description": ""
|
|
9672
9681
|
},
|
|
9673
9682
|
"400": {
|
|
9674
|
-
"
|
|
9675
|
-
"application/json": {
|
|
9676
|
-
"schema": {
|
|
9677
|
-
"additionalProperties": {},
|
|
9678
|
-
"description": "Unspecified response body",
|
|
9679
|
-
"type": "object"
|
|
9680
|
-
}
|
|
9681
|
-
}
|
|
9682
|
-
},
|
|
9683
|
-
"description": ""
|
|
9683
|
+
"description": "Validation errors"
|
|
9684
9684
|
},
|
|
9685
9685
|
"413": {
|
|
9686
|
-
"
|
|
9687
|
-
"application/json": {
|
|
9688
|
-
"schema": {
|
|
9689
|
-
"additionalProperties": {},
|
|
9690
|
-
"description": "Unspecified response body",
|
|
9691
|
-
"type": "object"
|
|
9692
|
-
}
|
|
9693
|
-
}
|
|
9694
|
-
},
|
|
9695
|
-
"description": ""
|
|
9686
|
+
"description": "File too large"
|
|
9696
9687
|
},
|
|
9697
9688
|
"429": {
|
|
9698
|
-
"
|
|
9699
|
-
"application/json": {
|
|
9700
|
-
"schema": {
|
|
9701
|
-
"additionalProperties": {},
|
|
9702
|
-
"description": "Unspecified response body",
|
|
9703
|
-
"type": "object"
|
|
9704
|
-
}
|
|
9705
|
-
}
|
|
9706
|
-
},
|
|
9707
|
-
"description": ""
|
|
9689
|
+
"description": "Rate limit exceeded"
|
|
9708
9690
|
}
|
|
9709
9691
|
},
|
|
9710
9692
|
"security": [
|
|
9711
9693
|
{
|
|
9712
9694
|
"jwtAuth": []
|
|
9713
|
-
},
|
|
9714
|
-
{
|
|
9715
|
-
"cookieAuth": []
|
|
9716
9695
|
}
|
|
9717
9696
|
],
|
|
9718
9697
|
"summary": "Upload and process archive",
|
|
@@ -9756,9 +9735,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9756
9735
|
"security": [
|
|
9757
9736
|
{
|
|
9758
9737
|
"jwtAuth": []
|
|
9759
|
-
},
|
|
9760
|
-
{
|
|
9761
|
-
"cookieAuth": []
|
|
9762
9738
|
}
|
|
9763
9739
|
],
|
|
9764
9740
|
"summary": "Re-vectorize chunks",
|
|
@@ -9787,9 +9763,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9787
9763
|
"security": [
|
|
9788
9764
|
{
|
|
9789
9765
|
"jwtAuth": []
|
|
9790
|
-
},
|
|
9791
|
-
{
|
|
9792
|
-
"cookieAuth": []
|
|
9793
9766
|
}
|
|
9794
9767
|
],
|
|
9795
9768
|
"summary": "Get archive statistics",
|
|
@@ -9818,9 +9791,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9818
9791
|
"security": [
|
|
9819
9792
|
{
|
|
9820
9793
|
"jwtAuth": []
|
|
9821
|
-
},
|
|
9822
|
-
{
|
|
9823
|
-
"cookieAuth": []
|
|
9824
9794
|
}
|
|
9825
9795
|
],
|
|
9826
9796
|
"summary": "Get vectorization statistics",
|
|
@@ -9854,9 +9824,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9854
9824
|
"security": [
|
|
9855
9825
|
{
|
|
9856
9826
|
"jwtAuth": []
|
|
9857
|
-
},
|
|
9858
|
-
{
|
|
9859
|
-
"cookieAuth": []
|
|
9860
9827
|
}
|
|
9861
9828
|
],
|
|
9862
9829
|
"tags": [
|
|
@@ -9894,9 +9861,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9894
9861
|
"security": [
|
|
9895
9862
|
{
|
|
9896
9863
|
"jwtAuth": []
|
|
9897
|
-
},
|
|
9898
|
-
{
|
|
9899
|
-
"cookieAuth": []
|
|
9900
9864
|
}
|
|
9901
9865
|
],
|
|
9902
9866
|
"tags": [
|
|
@@ -9948,9 +9912,6 @@ var OPENAPI_SCHEMA = {
|
|
|
9948
9912
|
"security": [
|
|
9949
9913
|
{
|
|
9950
9914
|
"jwtAuth": []
|
|
9951
|
-
},
|
|
9952
|
-
{
|
|
9953
|
-
"cookieAuth": []
|
|
9954
9915
|
}
|
|
9955
9916
|
],
|
|
9956
9917
|
"tags": [
|
|
@@ -10003,9 +9964,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10003
9964
|
"security": [
|
|
10004
9965
|
{
|
|
10005
9966
|
"jwtAuth": []
|
|
10006
|
-
},
|
|
10007
|
-
{
|
|
10008
|
-
"cookieAuth": []
|
|
10009
9967
|
}
|
|
10010
9968
|
],
|
|
10011
9969
|
"tags": [
|
|
@@ -10045,9 +10003,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10045
10003
|
"security": [
|
|
10046
10004
|
{
|
|
10047
10005
|
"jwtAuth": []
|
|
10048
|
-
},
|
|
10049
|
-
{
|
|
10050
|
-
"cookieAuth": []
|
|
10051
10006
|
}
|
|
10052
10007
|
],
|
|
10053
10008
|
"summary": "Get archive file tree",
|
|
@@ -10106,9 +10061,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10106
10061
|
"security": [
|
|
10107
10062
|
{
|
|
10108
10063
|
"jwtAuth": []
|
|
10109
|
-
},
|
|
10110
|
-
{
|
|
10111
|
-
"cookieAuth": []
|
|
10112
10064
|
}
|
|
10113
10065
|
],
|
|
10114
10066
|
"summary": "Get archive items",
|
|
@@ -10182,9 +10134,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10182
10134
|
"security": [
|
|
10183
10135
|
{
|
|
10184
10136
|
"jwtAuth": []
|
|
10185
|
-
},
|
|
10186
|
-
{
|
|
10187
|
-
"cookieAuth": []
|
|
10188
10137
|
}
|
|
10189
10138
|
],
|
|
10190
10139
|
"summary": "Search archive chunks",
|
|
@@ -10233,9 +10182,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10233
10182
|
"security": [
|
|
10234
10183
|
{
|
|
10235
10184
|
"jwtAuth": []
|
|
10236
|
-
},
|
|
10237
|
-
{
|
|
10238
|
-
"cookieAuth": []
|
|
10239
10185
|
}
|
|
10240
10186
|
],
|
|
10241
10187
|
"tags": [
|
|
@@ -10281,9 +10227,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10281
10227
|
"security": [
|
|
10282
10228
|
{
|
|
10283
10229
|
"jwtAuth": []
|
|
10284
|
-
},
|
|
10285
|
-
{
|
|
10286
|
-
"cookieAuth": []
|
|
10287
10230
|
}
|
|
10288
10231
|
],
|
|
10289
10232
|
"tags": [
|
|
@@ -10316,9 +10259,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10316
10259
|
"security": [
|
|
10317
10260
|
{
|
|
10318
10261
|
"jwtAuth": []
|
|
10319
|
-
},
|
|
10320
|
-
{
|
|
10321
|
-
"cookieAuth": []
|
|
10322
10262
|
}
|
|
10323
10263
|
],
|
|
10324
10264
|
"tags": [
|
|
@@ -10356,9 +10296,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10356
10296
|
"security": [
|
|
10357
10297
|
{
|
|
10358
10298
|
"jwtAuth": []
|
|
10359
|
-
},
|
|
10360
|
-
{
|
|
10361
|
-
"cookieAuth": []
|
|
10362
10299
|
}
|
|
10363
10300
|
],
|
|
10364
10301
|
"tags": [
|
|
@@ -10415,9 +10352,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10415
10352
|
"security": [
|
|
10416
10353
|
{
|
|
10417
10354
|
"jwtAuth": []
|
|
10418
|
-
},
|
|
10419
|
-
{
|
|
10420
|
-
"cookieAuth": []
|
|
10421
10355
|
}
|
|
10422
10356
|
],
|
|
10423
10357
|
"tags": [
|
|
@@ -10475,9 +10409,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10475
10409
|
"security": [
|
|
10476
10410
|
{
|
|
10477
10411
|
"jwtAuth": []
|
|
10478
|
-
},
|
|
10479
|
-
{
|
|
10480
|
-
"cookieAuth": []
|
|
10481
10412
|
}
|
|
10482
10413
|
],
|
|
10483
10414
|
"tags": [
|
|
@@ -10517,9 +10448,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10517
10448
|
"security": [
|
|
10518
10449
|
{
|
|
10519
10450
|
"jwtAuth": []
|
|
10520
|
-
},
|
|
10521
|
-
{
|
|
10522
|
-
"cookieAuth": []
|
|
10523
10451
|
}
|
|
10524
10452
|
],
|
|
10525
10453
|
"summary": "Get chunk context",
|
|
@@ -10580,9 +10508,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10580
10508
|
"security": [
|
|
10581
10509
|
{
|
|
10582
10510
|
"jwtAuth": []
|
|
10583
|
-
},
|
|
10584
|
-
{
|
|
10585
|
-
"cookieAuth": []
|
|
10586
10511
|
}
|
|
10587
10512
|
],
|
|
10588
10513
|
"summary": "Vectorize chunk",
|
|
@@ -10631,9 +10556,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10631
10556
|
"security": [
|
|
10632
10557
|
{
|
|
10633
10558
|
"jwtAuth": []
|
|
10634
|
-
},
|
|
10635
|
-
{
|
|
10636
|
-
"cookieAuth": []
|
|
10637
10559
|
}
|
|
10638
10560
|
],
|
|
10639
10561
|
"tags": [
|
|
@@ -10679,9 +10601,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10679
10601
|
"security": [
|
|
10680
10602
|
{
|
|
10681
10603
|
"jwtAuth": []
|
|
10682
|
-
},
|
|
10683
|
-
{
|
|
10684
|
-
"cookieAuth": []
|
|
10685
10604
|
}
|
|
10686
10605
|
],
|
|
10687
10606
|
"tags": [
|
|
@@ -10714,9 +10633,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10714
10633
|
"security": [
|
|
10715
10634
|
{
|
|
10716
10635
|
"jwtAuth": []
|
|
10717
|
-
},
|
|
10718
|
-
{
|
|
10719
|
-
"cookieAuth": []
|
|
10720
10636
|
}
|
|
10721
10637
|
],
|
|
10722
10638
|
"tags": [
|
|
@@ -10754,9 +10670,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10754
10670
|
"security": [
|
|
10755
10671
|
{
|
|
10756
10672
|
"jwtAuth": []
|
|
10757
|
-
},
|
|
10758
|
-
{
|
|
10759
|
-
"cookieAuth": []
|
|
10760
10673
|
}
|
|
10761
10674
|
],
|
|
10762
10675
|
"tags": [
|
|
@@ -10813,9 +10726,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10813
10726
|
"security": [
|
|
10814
10727
|
{
|
|
10815
10728
|
"jwtAuth": []
|
|
10816
|
-
},
|
|
10817
|
-
{
|
|
10818
|
-
"cookieAuth": []
|
|
10819
10729
|
}
|
|
10820
10730
|
],
|
|
10821
10731
|
"tags": [
|
|
@@ -10873,9 +10783,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10873
10783
|
"security": [
|
|
10874
10784
|
{
|
|
10875
10785
|
"jwtAuth": []
|
|
10876
|
-
},
|
|
10877
|
-
{
|
|
10878
|
-
"cookieAuth": []
|
|
10879
10786
|
}
|
|
10880
10787
|
],
|
|
10881
10788
|
"tags": [
|
|
@@ -10933,9 +10840,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10933
10840
|
"security": [
|
|
10934
10841
|
{
|
|
10935
10842
|
"jwtAuth": []
|
|
10936
|
-
},
|
|
10937
|
-
{
|
|
10938
|
-
"cookieAuth": []
|
|
10939
10843
|
}
|
|
10940
10844
|
],
|
|
10941
10845
|
"summary": "Get item chunks",
|
|
@@ -10976,9 +10880,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10976
10880
|
"security": [
|
|
10977
10881
|
{
|
|
10978
10882
|
"jwtAuth": []
|
|
10979
|
-
},
|
|
10980
|
-
{
|
|
10981
|
-
"cookieAuth": []
|
|
10982
10883
|
}
|
|
10983
10884
|
],
|
|
10984
10885
|
"summary": "Get item content",
|
|
@@ -11028,9 +10929,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11028
10929
|
{
|
|
11029
10930
|
"jwtAuth": []
|
|
11030
10931
|
},
|
|
11031
|
-
{
|
|
11032
|
-
"cookieAuth": []
|
|
11033
|
-
},
|
|
11034
10932
|
{}
|
|
11035
10933
|
],
|
|
11036
10934
|
"tags": [
|
|
@@ -11077,9 +10975,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11077
10975
|
{
|
|
11078
10976
|
"jwtAuth": []
|
|
11079
10977
|
},
|
|
11080
|
-
{
|
|
11081
|
-
"cookieAuth": []
|
|
11082
|
-
},
|
|
11083
10978
|
{}
|
|
11084
10979
|
],
|
|
11085
10980
|
"tags": [
|
|
@@ -11154,9 +11049,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11154
11049
|
{
|
|
11155
11050
|
"jwtAuth": []
|
|
11156
11051
|
},
|
|
11157
|
-
{
|
|
11158
|
-
"cookieAuth": []
|
|
11159
|
-
},
|
|
11160
11052
|
{}
|
|
11161
11053
|
],
|
|
11162
11054
|
"summary": "Submit Lead Form",
|
|
@@ -11190,9 +11082,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11190
11082
|
{
|
|
11191
11083
|
"jwtAuth": []
|
|
11192
11084
|
},
|
|
11193
|
-
{
|
|
11194
|
-
"cookieAuth": []
|
|
11195
|
-
},
|
|
11196
11085
|
{}
|
|
11197
11086
|
],
|
|
11198
11087
|
"tags": [
|
|
@@ -11230,9 +11119,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11230
11119
|
{
|
|
11231
11120
|
"jwtAuth": []
|
|
11232
11121
|
},
|
|
11233
|
-
{
|
|
11234
|
-
"cookieAuth": []
|
|
11235
|
-
},
|
|
11236
11122
|
{}
|
|
11237
11123
|
],
|
|
11238
11124
|
"tags": [
|
|
@@ -11289,9 +11175,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11289
11175
|
{
|
|
11290
11176
|
"jwtAuth": []
|
|
11291
11177
|
},
|
|
11292
|
-
{
|
|
11293
|
-
"cookieAuth": []
|
|
11294
|
-
},
|
|
11295
11178
|
{}
|
|
11296
11179
|
],
|
|
11297
11180
|
"tags": [
|
|
@@ -11349,9 +11232,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11349
11232
|
{
|
|
11350
11233
|
"jwtAuth": []
|
|
11351
11234
|
},
|
|
11352
|
-
{
|
|
11353
|
-
"cookieAuth": []
|
|
11354
|
-
},
|
|
11355
11235
|
{}
|
|
11356
11236
|
],
|
|
11357
11237
|
"tags": [
|
|
@@ -11409,9 +11289,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11409
11289
|
"security": [
|
|
11410
11290
|
{
|
|
11411
11291
|
"jwtAuth": []
|
|
11412
|
-
},
|
|
11413
|
-
{
|
|
11414
|
-
"cookieAuth": []
|
|
11415
11292
|
}
|
|
11416
11293
|
],
|
|
11417
11294
|
"summary": "Send Bulk Email",
|
|
@@ -11460,9 +11337,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11460
11337
|
"security": [
|
|
11461
11338
|
{
|
|
11462
11339
|
"jwtAuth": []
|
|
11463
|
-
},
|
|
11464
|
-
{
|
|
11465
|
-
"cookieAuth": []
|
|
11466
11340
|
}
|
|
11467
11341
|
],
|
|
11468
11342
|
"summary": "List Newsletter Campaigns",
|
|
@@ -11509,9 +11383,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11509
11383
|
"security": [
|
|
11510
11384
|
{
|
|
11511
11385
|
"jwtAuth": []
|
|
11512
|
-
},
|
|
11513
|
-
{
|
|
11514
|
-
"cookieAuth": []
|
|
11515
11386
|
}
|
|
11516
11387
|
],
|
|
11517
11388
|
"summary": "Create Newsletter Campaign",
|
|
@@ -11580,9 +11451,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11580
11451
|
"security": [
|
|
11581
11452
|
{
|
|
11582
11453
|
"jwtAuth": []
|
|
11583
|
-
},
|
|
11584
|
-
{
|
|
11585
|
-
"cookieAuth": []
|
|
11586
11454
|
}
|
|
11587
11455
|
],
|
|
11588
11456
|
"summary": "Send Newsletter Campaign",
|
|
@@ -11614,9 +11482,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11614
11482
|
"security": [
|
|
11615
11483
|
{
|
|
11616
11484
|
"jwtAuth": []
|
|
11617
|
-
},
|
|
11618
|
-
{
|
|
11619
|
-
"cookieAuth": []
|
|
11620
11485
|
}
|
|
11621
11486
|
],
|
|
11622
11487
|
"summary": "Delete Campaign",
|
|
@@ -11653,9 +11518,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11653
11518
|
"security": [
|
|
11654
11519
|
{
|
|
11655
11520
|
"jwtAuth": []
|
|
11656
|
-
},
|
|
11657
|
-
{
|
|
11658
|
-
"cookieAuth": []
|
|
11659
11521
|
}
|
|
11660
11522
|
],
|
|
11661
11523
|
"summary": "Get Campaign Details",
|
|
@@ -11711,9 +11573,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11711
11573
|
"security": [
|
|
11712
11574
|
{
|
|
11713
11575
|
"jwtAuth": []
|
|
11714
|
-
},
|
|
11715
|
-
{
|
|
11716
|
-
"cookieAuth": []
|
|
11717
11576
|
}
|
|
11718
11577
|
],
|
|
11719
11578
|
"tags": [
|
|
@@ -11769,9 +11628,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11769
11628
|
"security": [
|
|
11770
11629
|
{
|
|
11771
11630
|
"jwtAuth": []
|
|
11772
|
-
},
|
|
11773
|
-
{
|
|
11774
|
-
"cookieAuth": []
|
|
11775
11631
|
}
|
|
11776
11632
|
],
|
|
11777
11633
|
"summary": "Update Campaign",
|
|
@@ -11820,9 +11676,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11820
11676
|
"security": [
|
|
11821
11677
|
{
|
|
11822
11678
|
"jwtAuth": []
|
|
11823
|
-
},
|
|
11824
|
-
{
|
|
11825
|
-
"cookieAuth": []
|
|
11826
11679
|
}
|
|
11827
11680
|
],
|
|
11828
11681
|
"summary": "List Email Logs",
|
|
@@ -11872,9 +11725,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11872
11725
|
{
|
|
11873
11726
|
"jwtAuth": []
|
|
11874
11727
|
},
|
|
11875
|
-
{
|
|
11876
|
-
"cookieAuth": []
|
|
11877
|
-
},
|
|
11878
11728
|
{}
|
|
11879
11729
|
],
|
|
11880
11730
|
"summary": "List Active Newsletters",
|
|
@@ -11914,9 +11764,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11914
11764
|
{
|
|
11915
11765
|
"jwtAuth": []
|
|
11916
11766
|
},
|
|
11917
|
-
{
|
|
11918
|
-
"cookieAuth": []
|
|
11919
|
-
},
|
|
11920
11767
|
{}
|
|
11921
11768
|
],
|
|
11922
11769
|
"summary": "Get Newsletter Details",
|
|
@@ -11986,9 +11833,6 @@ var OPENAPI_SCHEMA = {
|
|
|
11986
11833
|
{
|
|
11987
11834
|
"jwtAuth": []
|
|
11988
11835
|
},
|
|
11989
|
-
{
|
|
11990
|
-
"cookieAuth": []
|
|
11991
|
-
},
|
|
11992
11836
|
{}
|
|
11993
11837
|
],
|
|
11994
11838
|
"summary": "Subscribe to Newsletter",
|
|
@@ -12037,9 +11881,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12037
11881
|
"security": [
|
|
12038
11882
|
{
|
|
12039
11883
|
"jwtAuth": []
|
|
12040
|
-
},
|
|
12041
|
-
{
|
|
12042
|
-
"cookieAuth": []
|
|
12043
11884
|
}
|
|
12044
11885
|
],
|
|
12045
11886
|
"summary": "List User Subscriptions",
|
|
@@ -12099,9 +11940,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12099
11940
|
{
|
|
12100
11941
|
"jwtAuth": []
|
|
12101
11942
|
},
|
|
12102
|
-
{
|
|
12103
|
-
"cookieAuth": []
|
|
12104
|
-
},
|
|
12105
11943
|
{}
|
|
12106
11944
|
],
|
|
12107
11945
|
"summary": "Test Email Sending",
|
|
@@ -12150,9 +11988,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12150
11988
|
{
|
|
12151
11989
|
"jwtAuth": []
|
|
12152
11990
|
},
|
|
12153
|
-
{
|
|
12154
|
-
"cookieAuth": []
|
|
12155
|
-
},
|
|
12156
11991
|
{}
|
|
12157
11992
|
],
|
|
12158
11993
|
"tags": [
|
|
@@ -12209,9 +12044,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12209
12044
|
{
|
|
12210
12045
|
"jwtAuth": []
|
|
12211
12046
|
},
|
|
12212
|
-
{
|
|
12213
|
-
"cookieAuth": []
|
|
12214
|
-
},
|
|
12215
12047
|
{}
|
|
12216
12048
|
],
|
|
12217
12049
|
"summary": "Unsubscribe from Newsletter",
|
|
@@ -12259,9 +12091,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12259
12091
|
{
|
|
12260
12092
|
"jwtAuth": []
|
|
12261
12093
|
},
|
|
12262
|
-
{
|
|
12263
|
-
"cookieAuth": []
|
|
12264
|
-
},
|
|
12265
12094
|
{}
|
|
12266
12095
|
],
|
|
12267
12096
|
"tags": [
|
|
@@ -12272,21 +12101,26 @@ var OPENAPI_SCHEMA = {
|
|
|
12272
12101
|
},
|
|
12273
12102
|
"/cfg/payments/balance/": {
|
|
12274
12103
|
"get": {
|
|
12275
|
-
"description": "Get current user balance
|
|
12104
|
+
"description": "Get current user balance and transaction statistics",
|
|
12276
12105
|
"operationId": "cfg_payments_balance_retrieve",
|
|
12277
12106
|
"responses": {
|
|
12278
12107
|
"200": {
|
|
12279
|
-
"
|
|
12108
|
+
"content": {
|
|
12109
|
+
"application/json": {
|
|
12110
|
+
"schema": {
|
|
12111
|
+
"$ref": "#/components/schemas/Balance"
|
|
12112
|
+
}
|
|
12113
|
+
}
|
|
12114
|
+
},
|
|
12115
|
+
"description": ""
|
|
12280
12116
|
}
|
|
12281
12117
|
},
|
|
12282
12118
|
"security": [
|
|
12283
12119
|
{
|
|
12284
12120
|
"jwtAuth": []
|
|
12285
|
-
},
|
|
12286
|
-
{
|
|
12287
|
-
"cookieAuth": []
|
|
12288
12121
|
}
|
|
12289
12122
|
],
|
|
12123
|
+
"summary": "Get user balance",
|
|
12290
12124
|
"tags": [
|
|
12291
12125
|
"payments"
|
|
12292
12126
|
],
|
|
@@ -12295,21 +12129,29 @@ var OPENAPI_SCHEMA = {
|
|
|
12295
12129
|
},
|
|
12296
12130
|
"/cfg/payments/currencies/": {
|
|
12297
12131
|
"get": {
|
|
12298
|
-
"description": "
|
|
12299
|
-
"operationId": "
|
|
12132
|
+
"description": "Returns list of available currencies with token+network info",
|
|
12133
|
+
"operationId": "cfg_payments_currencies_list",
|
|
12300
12134
|
"responses": {
|
|
12301
12135
|
"200": {
|
|
12302
|
-
"
|
|
12136
|
+
"content": {
|
|
12137
|
+
"application/json": {
|
|
12138
|
+
"schema": {
|
|
12139
|
+
"items": {
|
|
12140
|
+
"$ref": "#/components/schemas/Currency"
|
|
12141
|
+
},
|
|
12142
|
+
"type": "array"
|
|
12143
|
+
}
|
|
12144
|
+
}
|
|
12145
|
+
},
|
|
12146
|
+
"description": ""
|
|
12303
12147
|
}
|
|
12304
12148
|
},
|
|
12305
12149
|
"security": [
|
|
12306
12150
|
{
|
|
12307
12151
|
"jwtAuth": []
|
|
12308
|
-
},
|
|
12309
|
-
{
|
|
12310
|
-
"cookieAuth": []
|
|
12311
12152
|
}
|
|
12312
12153
|
],
|
|
12154
|
+
"summary": "Get available currencies",
|
|
12313
12155
|
"tags": [
|
|
12314
12156
|
"payments"
|
|
12315
12157
|
],
|
|
@@ -12355,9 +12197,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12355
12197
|
"security": [
|
|
12356
12198
|
{
|
|
12357
12199
|
"jwtAuth": []
|
|
12358
|
-
},
|
|
12359
|
-
{
|
|
12360
|
-
"cookieAuth": []
|
|
12361
12200
|
}
|
|
12362
12201
|
],
|
|
12363
12202
|
"tags": [
|
|
@@ -12385,9 +12224,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12385
12224
|
"security": [
|
|
12386
12225
|
{
|
|
12387
12226
|
"jwtAuth": []
|
|
12388
|
-
},
|
|
12389
|
-
{
|
|
12390
|
-
"cookieAuth": []
|
|
12391
12227
|
}
|
|
12392
12228
|
],
|
|
12393
12229
|
"tags": [
|
|
@@ -12425,9 +12261,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12425
12261
|
"security": [
|
|
12426
12262
|
{
|
|
12427
12263
|
"jwtAuth": []
|
|
12428
|
-
},
|
|
12429
|
-
{
|
|
12430
|
-
"cookieAuth": []
|
|
12431
12264
|
}
|
|
12432
12265
|
],
|
|
12433
12266
|
"tags": [
|
|
@@ -12465,9 +12298,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12465
12298
|
"security": [
|
|
12466
12299
|
{
|
|
12467
12300
|
"jwtAuth": []
|
|
12468
|
-
},
|
|
12469
|
-
{
|
|
12470
|
-
"cookieAuth": []
|
|
12471
12301
|
}
|
|
12472
12302
|
],
|
|
12473
12303
|
"tags": [
|
|
@@ -12505,9 +12335,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12505
12335
|
"security": [
|
|
12506
12336
|
{
|
|
12507
12337
|
"jwtAuth": []
|
|
12508
|
-
},
|
|
12509
|
-
{
|
|
12510
|
-
"cookieAuth": []
|
|
12511
12338
|
}
|
|
12512
12339
|
],
|
|
12513
12340
|
"tags": [
|
|
@@ -12518,21 +12345,55 @@ var OPENAPI_SCHEMA = {
|
|
|
12518
12345
|
},
|
|
12519
12346
|
"/cfg/payments/transactions/": {
|
|
12520
12347
|
"get": {
|
|
12521
|
-
"description": "Get user transactions with pagination
|
|
12522
|
-
"operationId": "
|
|
12348
|
+
"description": "Get user transactions with pagination and filtering",
|
|
12349
|
+
"operationId": "cfg_payments_transactions_list",
|
|
12350
|
+
"parameters": [
|
|
12351
|
+
{
|
|
12352
|
+
"description": "Number of transactions to return (max 100)",
|
|
12353
|
+
"in": "query",
|
|
12354
|
+
"name": "limit",
|
|
12355
|
+
"schema": {
|
|
12356
|
+
"type": "integer"
|
|
12357
|
+
}
|
|
12358
|
+
},
|
|
12359
|
+
{
|
|
12360
|
+
"description": "Offset for pagination",
|
|
12361
|
+
"in": "query",
|
|
12362
|
+
"name": "offset",
|
|
12363
|
+
"schema": {
|
|
12364
|
+
"type": "integer"
|
|
12365
|
+
}
|
|
12366
|
+
},
|
|
12367
|
+
{
|
|
12368
|
+
"description": "Filter by transaction type (deposit/withdrawal)",
|
|
12369
|
+
"in": "query",
|
|
12370
|
+
"name": "type",
|
|
12371
|
+
"schema": {
|
|
12372
|
+
"type": "string"
|
|
12373
|
+
}
|
|
12374
|
+
}
|
|
12375
|
+
],
|
|
12523
12376
|
"responses": {
|
|
12524
12377
|
"200": {
|
|
12525
|
-
"
|
|
12378
|
+
"content": {
|
|
12379
|
+
"application/json": {
|
|
12380
|
+
"schema": {
|
|
12381
|
+
"items": {
|
|
12382
|
+
"$ref": "#/components/schemas/Transaction"
|
|
12383
|
+
},
|
|
12384
|
+
"type": "array"
|
|
12385
|
+
}
|
|
12386
|
+
}
|
|
12387
|
+
},
|
|
12388
|
+
"description": ""
|
|
12526
12389
|
}
|
|
12527
12390
|
},
|
|
12528
12391
|
"security": [
|
|
12529
12392
|
{
|
|
12530
12393
|
"jwtAuth": []
|
|
12531
|
-
},
|
|
12532
|
-
{
|
|
12533
|
-
"cookieAuth": []
|
|
12534
12394
|
}
|
|
12535
12395
|
],
|
|
12396
|
+
"summary": "Get user transactions",
|
|
12536
12397
|
"tags": [
|
|
12537
12398
|
"payments"
|
|
12538
12399
|
],
|
|
@@ -12578,9 +12439,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12578
12439
|
"security": [
|
|
12579
12440
|
{
|
|
12580
12441
|
"jwtAuth": []
|
|
12581
|
-
},
|
|
12582
|
-
{
|
|
12583
|
-
"cookieAuth": []
|
|
12584
12442
|
}
|
|
12585
12443
|
],
|
|
12586
12444
|
"tags": [
|
|
@@ -12626,9 +12484,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12626
12484
|
"security": [
|
|
12627
12485
|
{
|
|
12628
12486
|
"jwtAuth": []
|
|
12629
|
-
},
|
|
12630
|
-
{
|
|
12631
|
-
"cookieAuth": []
|
|
12632
12487
|
}
|
|
12633
12488
|
],
|
|
12634
12489
|
"tags": [
|
|
@@ -12686,9 +12541,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12686
12541
|
"security": [
|
|
12687
12542
|
{
|
|
12688
12543
|
"jwtAuth": []
|
|
12689
|
-
},
|
|
12690
|
-
{
|
|
12691
|
-
"cookieAuth": []
|
|
12692
12544
|
}
|
|
12693
12545
|
],
|
|
12694
12546
|
"tags": [
|
|
@@ -12746,9 +12598,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12746
12598
|
"security": [
|
|
12747
12599
|
{
|
|
12748
12600
|
"jwtAuth": []
|
|
12749
|
-
},
|
|
12750
|
-
{
|
|
12751
|
-
"cookieAuth": []
|
|
12752
12601
|
}
|
|
12753
12602
|
],
|
|
12754
12603
|
"tags": [
|
|
@@ -12791,9 +12640,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12791
12640
|
"security": [
|
|
12792
12641
|
{
|
|
12793
12642
|
"jwtAuth": []
|
|
12794
|
-
},
|
|
12795
|
-
{
|
|
12796
|
-
"cookieAuth": []
|
|
12797
12643
|
}
|
|
12798
12644
|
],
|
|
12799
12645
|
"tags": [
|
|
@@ -12841,9 +12687,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12841
12687
|
"security": [
|
|
12842
12688
|
{
|
|
12843
12689
|
"jwtAuth": []
|
|
12844
|
-
},
|
|
12845
|
-
{
|
|
12846
|
-
"cookieAuth": []
|
|
12847
12690
|
}
|
|
12848
12691
|
],
|
|
12849
12692
|
"tags": [
|
|
@@ -12910,9 +12753,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12910
12753
|
"security": [
|
|
12911
12754
|
{
|
|
12912
12755
|
"jwtAuth": []
|
|
12913
|
-
},
|
|
12914
|
-
{
|
|
12915
|
-
"cookieAuth": []
|
|
12916
12756
|
}
|
|
12917
12757
|
],
|
|
12918
12758
|
"tags": [
|
|
@@ -12980,9 +12820,6 @@ var OPENAPI_SCHEMA = {
|
|
|
12980
12820
|
"security": [
|
|
12981
12821
|
{
|
|
12982
12822
|
"jwtAuth": []
|
|
12983
|
-
},
|
|
12984
|
-
{
|
|
12985
|
-
"cookieAuth": []
|
|
12986
12823
|
}
|
|
12987
12824
|
],
|
|
12988
12825
|
"tags": [
|
|
@@ -13015,9 +12852,6 @@ var OPENAPI_SCHEMA = {
|
|
|
13015
12852
|
"security": [
|
|
13016
12853
|
{
|
|
13017
12854
|
"jwtAuth": []
|
|
13018
|
-
},
|
|
13019
|
-
{
|
|
13020
|
-
"cookieAuth": []
|
|
13021
12855
|
}
|
|
13022
12856
|
],
|
|
13023
12857
|
"tags": [
|
|
@@ -13055,9 +12889,6 @@ var OPENAPI_SCHEMA = {
|
|
|
13055
12889
|
"security": [
|
|
13056
12890
|
{
|
|
13057
12891
|
"jwtAuth": []
|
|
13058
|
-
},
|
|
13059
|
-
{
|
|
13060
|
-
"cookieAuth": []
|
|
13061
12892
|
}
|
|
13062
12893
|
],
|
|
13063
12894
|
"tags": [
|
|
@@ -13114,9 +12945,6 @@ var OPENAPI_SCHEMA = {
|
|
|
13114
12945
|
"security": [
|
|
13115
12946
|
{
|
|
13116
12947
|
"jwtAuth": []
|
|
13117
|
-
},
|
|
13118
|
-
{
|
|
13119
|
-
"cookieAuth": []
|
|
13120
12948
|
}
|
|
13121
12949
|
],
|
|
13122
12950
|
"tags": [
|
|
@@ -13174,9 +13002,6 @@ var OPENAPI_SCHEMA = {
|
|
|
13174
13002
|
"security": [
|
|
13175
13003
|
{
|
|
13176
13004
|
"jwtAuth": []
|
|
13177
|
-
},
|
|
13178
|
-
{
|
|
13179
|
-
"cookieAuth": []
|
|
13180
13005
|
}
|
|
13181
13006
|
],
|
|
13182
13007
|
"tags": [
|
|
@@ -13751,6 +13576,7 @@ __export(enums_exports, {
|
|
|
13751
13576
|
QueueActionRequestAction: () => QueueActionRequestAction,
|
|
13752
13577
|
TicketRequestStatus: () => TicketRequestStatus,
|
|
13753
13578
|
TicketStatus: () => TicketStatus,
|
|
13579
|
+
TransactionTransactionType: () => TransactionTransactionType,
|
|
13754
13580
|
WorkerActionAction: () => WorkerActionAction,
|
|
13755
13581
|
WorkerActionRequestAction: () => WorkerActionRequestAction
|
|
13756
13582
|
});
|
|
@@ -13986,6 +13812,16 @@ var TicketRequestStatus = /* @__PURE__ */ ((TicketRequestStatus2) => {
|
|
|
13986
13812
|
TicketRequestStatus2["CLOSED"] = "closed";
|
|
13987
13813
|
return TicketRequestStatus2;
|
|
13988
13814
|
})(TicketRequestStatus || {});
|
|
13815
|
+
var TransactionTransactionType = /* @__PURE__ */ ((TransactionTransactionType2) => {
|
|
13816
|
+
TransactionTransactionType2["DEPOSIT"] = "deposit";
|
|
13817
|
+
TransactionTransactionType2["WITHDRAWAL"] = "withdrawal";
|
|
13818
|
+
TransactionTransactionType2["PAYMENT"] = "payment";
|
|
13819
|
+
TransactionTransactionType2["REFUND"] = "refund";
|
|
13820
|
+
TransactionTransactionType2["FEE"] = "fee";
|
|
13821
|
+
TransactionTransactionType2["BONUS"] = "bonus";
|
|
13822
|
+
TransactionTransactionType2["ADJUSTMENT"] = "adjustment";
|
|
13823
|
+
return TransactionTransactionType2;
|
|
13824
|
+
})(TransactionTransactionType || {});
|
|
13989
13825
|
var WorkerActionAction = /* @__PURE__ */ ((WorkerActionAction2) => {
|
|
13990
13826
|
WorkerActionAction2["START"] = "start";
|
|
13991
13827
|
WorkerActionAction2["STOP"] = "stop";
|
|
@@ -14014,6 +13850,7 @@ __export(schemas_exports, {
|
|
|
14014
13850
|
ArchiveSearchRequestRequestSchema: () => ArchiveSearchRequestRequestSchema,
|
|
14015
13851
|
ArchiveSearchResultSchema: () => ArchiveSearchResultSchema,
|
|
14016
13852
|
ArchiveStatisticsSchema: () => ArchiveStatisticsSchema,
|
|
13853
|
+
BalanceSchema: () => BalanceSchema,
|
|
14017
13854
|
BulkEmailRequestSchema: () => BulkEmailRequestSchema,
|
|
14018
13855
|
BulkEmailResponseSchema: () => BulkEmailResponseSchema,
|
|
14019
13856
|
ChatHistorySchema: () => ChatHistorySchema,
|
|
@@ -14027,6 +13864,7 @@ __export(schemas_exports, {
|
|
|
14027
13864
|
ChatSourceRequestSchema: () => ChatSourceRequestSchema,
|
|
14028
13865
|
ChatSourceSchema: () => ChatSourceSchema,
|
|
14029
13866
|
ChunkRevectorizationRequestRequestSchema: () => ChunkRevectorizationRequestRequestSchema,
|
|
13867
|
+
CurrencySchema: () => CurrencySchema,
|
|
14030
13868
|
DocumentArchiveDetailSchema: () => DocumentArchiveDetailSchema,
|
|
14031
13869
|
DocumentArchiveListSchema: () => DocumentArchiveListSchema,
|
|
14032
13870
|
DocumentArchiveRequestSchema: () => DocumentArchiveRequestSchema,
|
|
@@ -14110,6 +13948,7 @@ __export(schemas_exports, {
|
|
|
14110
13948
|
TicketSchema: () => TicketSchema,
|
|
14111
13949
|
TokenRefreshRequestSchema: () => TokenRefreshRequestSchema,
|
|
14112
13950
|
TokenRefreshSchema: () => TokenRefreshSchema,
|
|
13951
|
+
TransactionSchema: () => TransactionSchema,
|
|
14113
13952
|
UnsubscribeRequestSchema: () => UnsubscribeRequestSchema,
|
|
14114
13953
|
UnsubscribeSchema: () => UnsubscribeSchema,
|
|
14115
13954
|
UserProfileUpdateRequestSchema: () => UserProfileUpdateRequestSchema,
|
|
@@ -14276,627 +14115,624 @@ var ArchiveStatisticsSchema = z12.object({
|
|
|
14276
14115
|
avg_chunks_per_archive: z12.number()
|
|
14277
14116
|
});
|
|
14278
14117
|
|
|
14279
|
-
// src/cfg/generated/_utils/schemas/
|
|
14118
|
+
// src/cfg/generated/_utils/schemas/Balance.schema.ts
|
|
14280
14119
|
import { z as z13 } from "zod";
|
|
14281
|
-
var
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
button_text: z13.string().max(100).optional(),
|
|
14288
|
-
button_url: z13.url().optional(),
|
|
14289
|
-
secondary_text: z13.string().optional()
|
|
14120
|
+
var BalanceSchema = z13.object({
|
|
14121
|
+
balance_usd: z13.string(),
|
|
14122
|
+
balance_display: z13.string(),
|
|
14123
|
+
total_deposited: z13.string(),
|
|
14124
|
+
total_withdrawn: z13.string(),
|
|
14125
|
+
last_transaction_at: z13.iso.datetime().nullable()
|
|
14290
14126
|
});
|
|
14291
14127
|
|
|
14292
|
-
// src/cfg/generated/_utils/schemas/
|
|
14128
|
+
// src/cfg/generated/_utils/schemas/BulkEmailRequest.schema.ts
|
|
14293
14129
|
import { z as z14 } from "zod";
|
|
14294
|
-
var
|
|
14295
|
-
|
|
14296
|
-
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
|
|
14130
|
+
var BulkEmailRequestSchema = z14.object({
|
|
14131
|
+
recipients: z14.array(z14.email()),
|
|
14132
|
+
subject: z14.string().min(1).max(255),
|
|
14133
|
+
email_title: z14.string().min(1).max(255),
|
|
14134
|
+
main_text: z14.string().min(1),
|
|
14135
|
+
main_html_content: z14.string().optional(),
|
|
14136
|
+
button_text: z14.string().max(100).optional(),
|
|
14137
|
+
button_url: z14.url().optional(),
|
|
14138
|
+
secondary_text: z14.string().optional()
|
|
14139
|
+
});
|
|
14140
|
+
|
|
14141
|
+
// src/cfg/generated/_utils/schemas/BulkEmailResponse.schema.ts
|
|
14142
|
+
import { z as z15 } from "zod";
|
|
14143
|
+
var BulkEmailResponseSchema = z15.object({
|
|
14144
|
+
success: z15.boolean(),
|
|
14145
|
+
sent_count: z15.int(),
|
|
14146
|
+
failed_count: z15.int(),
|
|
14147
|
+
total_recipients: z15.int(),
|
|
14148
|
+
error: z15.string().optional()
|
|
14300
14149
|
});
|
|
14301
14150
|
|
|
14302
14151
|
// src/cfg/generated/_utils/schemas/ChatHistory.schema.ts
|
|
14303
|
-
import { z as
|
|
14152
|
+
import { z as z17 } from "zod";
|
|
14304
14153
|
|
|
14305
14154
|
// src/cfg/generated/_utils/schemas/ChatMessage.schema.ts
|
|
14306
|
-
import { z as
|
|
14307
|
-
var ChatMessageSchema =
|
|
14308
|
-
id:
|
|
14309
|
-
role:
|
|
14310
|
-
content:
|
|
14311
|
-
tokens_used:
|
|
14312
|
-
cost_usd:
|
|
14313
|
-
processing_time_ms:
|
|
14314
|
-
created_at:
|
|
14315
|
-
context_chunks:
|
|
14155
|
+
import { z as z16 } from "zod";
|
|
14156
|
+
var ChatMessageSchema = z16.object({
|
|
14157
|
+
id: z16.uuid(),
|
|
14158
|
+
role: z16.nativeEnum(ChatMessageRole),
|
|
14159
|
+
content: z16.string(),
|
|
14160
|
+
tokens_used: z16.int().min(0).max(2147483647).optional(),
|
|
14161
|
+
cost_usd: z16.number(),
|
|
14162
|
+
processing_time_ms: z16.int().min(0).max(2147483647).optional(),
|
|
14163
|
+
created_at: z16.iso.datetime(),
|
|
14164
|
+
context_chunks: z16.string().optional()
|
|
14316
14165
|
});
|
|
14317
14166
|
|
|
14318
14167
|
// src/cfg/generated/_utils/schemas/ChatHistory.schema.ts
|
|
14319
|
-
var ChatHistorySchema =
|
|
14320
|
-
session_id:
|
|
14321
|
-
messages:
|
|
14322
|
-
total_messages:
|
|
14168
|
+
var ChatHistorySchema = z17.object({
|
|
14169
|
+
session_id: z17.uuid(),
|
|
14170
|
+
messages: z17.array(ChatMessageSchema),
|
|
14171
|
+
total_messages: z17.int()
|
|
14323
14172
|
});
|
|
14324
14173
|
|
|
14325
14174
|
// src/cfg/generated/_utils/schemas/ChatQueryRequest.schema.ts
|
|
14326
|
-
import { z as
|
|
14327
|
-
var ChatQueryRequestSchema =
|
|
14328
|
-
session_id:
|
|
14329
|
-
query:
|
|
14330
|
-
max_tokens:
|
|
14331
|
-
include_sources:
|
|
14175
|
+
import { z as z18 } from "zod";
|
|
14176
|
+
var ChatQueryRequestSchema = z18.object({
|
|
14177
|
+
session_id: z18.uuid().nullable().optional(),
|
|
14178
|
+
query: z18.string().min(1).max(2e3),
|
|
14179
|
+
max_tokens: z18.int().min(1).max(4e3).optional(),
|
|
14180
|
+
include_sources: z18.boolean().optional()
|
|
14332
14181
|
});
|
|
14333
14182
|
|
|
14334
14183
|
// src/cfg/generated/_utils/schemas/ChatResponse.schema.ts
|
|
14335
|
-
import { z as
|
|
14184
|
+
import { z as z20 } from "zod";
|
|
14336
14185
|
|
|
14337
14186
|
// src/cfg/generated/_utils/schemas/ChatSource.schema.ts
|
|
14338
|
-
import { z as
|
|
14339
|
-
var ChatSourceSchema =
|
|
14340
|
-
document_title:
|
|
14341
|
-
chunk_content:
|
|
14342
|
-
similarity:
|
|
14187
|
+
import { z as z19 } from "zod";
|
|
14188
|
+
var ChatSourceSchema = z19.object({
|
|
14189
|
+
document_title: z19.string(),
|
|
14190
|
+
chunk_content: z19.string(),
|
|
14191
|
+
similarity: z19.number()
|
|
14343
14192
|
});
|
|
14344
14193
|
|
|
14345
14194
|
// src/cfg/generated/_utils/schemas/ChatResponse.schema.ts
|
|
14346
|
-
var ChatResponseSchema =
|
|
14347
|
-
message_id:
|
|
14348
|
-
content:
|
|
14349
|
-
tokens_used:
|
|
14350
|
-
cost_usd:
|
|
14351
|
-
processing_time_ms:
|
|
14352
|
-
model_used:
|
|
14353
|
-
sources:
|
|
14195
|
+
var ChatResponseSchema = z20.object({
|
|
14196
|
+
message_id: z20.uuid(),
|
|
14197
|
+
content: z20.string(),
|
|
14198
|
+
tokens_used: z20.int(),
|
|
14199
|
+
cost_usd: z20.number(),
|
|
14200
|
+
processing_time_ms: z20.int(),
|
|
14201
|
+
model_used: z20.string(),
|
|
14202
|
+
sources: z20.array(ChatSourceSchema).nullable().optional()
|
|
14354
14203
|
});
|
|
14355
14204
|
|
|
14356
14205
|
// src/cfg/generated/_utils/schemas/ChatResponseRequest.schema.ts
|
|
14357
|
-
import { z as
|
|
14206
|
+
import { z as z22 } from "zod";
|
|
14358
14207
|
|
|
14359
14208
|
// src/cfg/generated/_utils/schemas/ChatSourceRequest.schema.ts
|
|
14360
|
-
import { z as
|
|
14361
|
-
var ChatSourceRequestSchema =
|
|
14362
|
-
document_title:
|
|
14363
|
-
chunk_content:
|
|
14364
|
-
similarity:
|
|
14209
|
+
import { z as z21 } from "zod";
|
|
14210
|
+
var ChatSourceRequestSchema = z21.object({
|
|
14211
|
+
document_title: z21.string().min(1),
|
|
14212
|
+
chunk_content: z21.string().min(1),
|
|
14213
|
+
similarity: z21.number()
|
|
14365
14214
|
});
|
|
14366
14215
|
|
|
14367
14216
|
// src/cfg/generated/_utils/schemas/ChatResponseRequest.schema.ts
|
|
14368
|
-
var ChatResponseRequestSchema =
|
|
14369
|
-
message_id:
|
|
14370
|
-
content:
|
|
14371
|
-
tokens_used:
|
|
14372
|
-
cost_usd:
|
|
14373
|
-
processing_time_ms:
|
|
14374
|
-
model_used:
|
|
14375
|
-
sources:
|
|
14217
|
+
var ChatResponseRequestSchema = z22.object({
|
|
14218
|
+
message_id: z22.uuid(),
|
|
14219
|
+
content: z22.string().min(1),
|
|
14220
|
+
tokens_used: z22.int(),
|
|
14221
|
+
cost_usd: z22.number(),
|
|
14222
|
+
processing_time_ms: z22.int(),
|
|
14223
|
+
model_used: z22.string().min(1),
|
|
14224
|
+
sources: z22.array(ChatSourceRequestSchema).nullable().optional()
|
|
14376
14225
|
});
|
|
14377
14226
|
|
|
14378
14227
|
// src/cfg/generated/_utils/schemas/ChatSession.schema.ts
|
|
14379
|
-
import { z as z22 } from "zod";
|
|
14380
|
-
var ChatSessionSchema = z22.object({
|
|
14381
|
-
id: z22.uuid(),
|
|
14382
|
-
title: z22.string().max(255).optional(),
|
|
14383
|
-
is_active: z22.boolean().optional(),
|
|
14384
|
-
messages_count: z22.int().min(0).max(2147483647).optional(),
|
|
14385
|
-
total_tokens_used: z22.int().min(0).max(2147483647).optional(),
|
|
14386
|
-
total_cost_usd: z22.number(),
|
|
14387
|
-
model_name: z22.string().max(100).optional(),
|
|
14388
|
-
temperature: z22.number().optional(),
|
|
14389
|
-
max_context_chunks: z22.int().min(0).max(2147483647).optional(),
|
|
14390
|
-
created_at: z22.iso.datetime(),
|
|
14391
|
-
updated_at: z22.iso.datetime()
|
|
14392
|
-
});
|
|
14393
|
-
|
|
14394
|
-
// src/cfg/generated/_utils/schemas/ChatSessionCreateRequest.schema.ts
|
|
14395
14228
|
import { z as z23 } from "zod";
|
|
14396
|
-
var
|
|
14229
|
+
var ChatSessionSchema = z23.object({
|
|
14230
|
+
id: z23.uuid(),
|
|
14397
14231
|
title: z23.string().max(255).optional(),
|
|
14398
|
-
|
|
14399
|
-
|
|
14400
|
-
|
|
14232
|
+
is_active: z23.boolean().optional(),
|
|
14233
|
+
messages_count: z23.int().min(0).max(2147483647).optional(),
|
|
14234
|
+
total_tokens_used: z23.int().min(0).max(2147483647).optional(),
|
|
14235
|
+
total_cost_usd: z23.number(),
|
|
14236
|
+
model_name: z23.string().max(100).optional(),
|
|
14237
|
+
temperature: z23.number().optional(),
|
|
14238
|
+
max_context_chunks: z23.int().min(0).max(2147483647).optional(),
|
|
14239
|
+
created_at: z23.iso.datetime(),
|
|
14240
|
+
updated_at: z23.iso.datetime()
|
|
14401
14241
|
});
|
|
14402
14242
|
|
|
14403
|
-
// src/cfg/generated/_utils/schemas/
|
|
14243
|
+
// src/cfg/generated/_utils/schemas/ChatSessionCreateRequest.schema.ts
|
|
14404
14244
|
import { z as z24 } from "zod";
|
|
14405
|
-
var
|
|
14245
|
+
var ChatSessionCreateRequestSchema = z24.object({
|
|
14406
14246
|
title: z24.string().max(255).optional(),
|
|
14407
|
-
is_active: z24.boolean().optional(),
|
|
14408
|
-
messages_count: z24.int().min(0).max(2147483647).optional(),
|
|
14409
|
-
total_tokens_used: z24.int().min(0).max(2147483647).optional(),
|
|
14410
14247
|
model_name: z24.string().min(1).max(100).optional(),
|
|
14411
|
-
temperature: z24.number().optional(),
|
|
14412
|
-
max_context_chunks: z24.int().min(
|
|
14248
|
+
temperature: z24.number().min(0).max(2).optional(),
|
|
14249
|
+
max_context_chunks: z24.int().min(1).max(10).optional()
|
|
14413
14250
|
});
|
|
14414
14251
|
|
|
14415
|
-
// src/cfg/generated/_utils/schemas/
|
|
14252
|
+
// src/cfg/generated/_utils/schemas/ChatSessionRequest.schema.ts
|
|
14416
14253
|
import { z as z25 } from "zod";
|
|
14417
|
-
var
|
|
14418
|
-
|
|
14419
|
-
|
|
14254
|
+
var ChatSessionRequestSchema = z25.object({
|
|
14255
|
+
title: z25.string().max(255).optional(),
|
|
14256
|
+
is_active: z25.boolean().optional(),
|
|
14257
|
+
messages_count: z25.int().min(0).max(2147483647).optional(),
|
|
14258
|
+
total_tokens_used: z25.int().min(0).max(2147483647).optional(),
|
|
14259
|
+
model_name: z25.string().min(1).max(100).optional(),
|
|
14260
|
+
temperature: z25.number().optional(),
|
|
14261
|
+
max_context_chunks: z25.int().min(0).max(2147483647).optional()
|
|
14420
14262
|
});
|
|
14421
14263
|
|
|
14422
|
-
// src/cfg/generated/_utils/schemas/
|
|
14264
|
+
// src/cfg/generated/_utils/schemas/ChunkRevectorizationRequestRequest.schema.ts
|
|
14423
14265
|
import { z as z26 } from "zod";
|
|
14424
|
-
var
|
|
14425
|
-
|
|
14426
|
-
|
|
14427
|
-
file_type: z26.string().max(100).optional(),
|
|
14428
|
-
file_size: z26.int().min(0).max(2147483647).optional(),
|
|
14429
|
-
processing_status: z26.string(),
|
|
14430
|
-
chunks_count: z26.int(),
|
|
14431
|
-
total_tokens: z26.int(),
|
|
14432
|
-
total_cost_usd: z26.number(),
|
|
14433
|
-
created_at: z26.iso.datetime(),
|
|
14434
|
-
updated_at: z26.iso.datetime(),
|
|
14435
|
-
processing_started_at: z26.iso.datetime(),
|
|
14436
|
-
processing_completed_at: z26.iso.datetime(),
|
|
14437
|
-
processing_error: z26.string(),
|
|
14438
|
-
metadata: z26.string().nullable().optional()
|
|
14266
|
+
var ChunkRevectorizationRequestRequestSchema = z26.object({
|
|
14267
|
+
chunk_ids: z26.array(z26.uuid()),
|
|
14268
|
+
force: z26.boolean().optional()
|
|
14439
14269
|
});
|
|
14440
14270
|
|
|
14441
|
-
// src/cfg/generated/_utils/schemas/
|
|
14442
|
-
import { z as z28 } from "zod";
|
|
14443
|
-
|
|
14444
|
-
// src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
|
|
14271
|
+
// src/cfg/generated/_utils/schemas/Currency.schema.ts
|
|
14445
14272
|
import { z as z27 } from "zod";
|
|
14446
|
-
var
|
|
14447
|
-
|
|
14448
|
-
name: z27.string()
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
|
-
|
|
14273
|
+
var CurrencySchema = z27.object({
|
|
14274
|
+
code: z27.string(),
|
|
14275
|
+
name: z27.string(),
|
|
14276
|
+
token: z27.string(),
|
|
14277
|
+
network: z27.string().nullable(),
|
|
14278
|
+
display_name: z27.string(),
|
|
14279
|
+
symbol: z27.string(),
|
|
14280
|
+
decimal_places: z27.int(),
|
|
14281
|
+
is_active: z27.boolean(),
|
|
14282
|
+
min_amount_usd: z27.string(),
|
|
14283
|
+
sort_order: z27.int()
|
|
14452
14284
|
});
|
|
14453
14285
|
|
|
14454
|
-
// src/cfg/generated/_utils/schemas/
|
|
14455
|
-
|
|
14286
|
+
// src/cfg/generated/_utils/schemas/Document.schema.ts
|
|
14287
|
+
import { z as z28 } from "zod";
|
|
14288
|
+
var DocumentSchema = z28.object({
|
|
14456
14289
|
id: z28.uuid(),
|
|
14457
14290
|
title: z28.string().max(512),
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
|
|
14461
|
-
|
|
14462
|
-
original_filename: z28.string(),
|
|
14463
|
-
file_size: z28.int(),
|
|
14464
|
-
archive_type: z28.nativeEnum(DocumentArchiveArchiveType),
|
|
14465
|
-
processing_status: z28.nativeEnum(DocumentArchiveProcessingStatus),
|
|
14466
|
-
processed_at: z28.iso.datetime().nullable(),
|
|
14467
|
-
processing_duration_ms: z28.int(),
|
|
14468
|
-
processing_error: z28.string(),
|
|
14469
|
-
total_items: z28.int(),
|
|
14470
|
-
processed_items: z28.int(),
|
|
14471
|
-
total_chunks: z28.int(),
|
|
14472
|
-
vectorized_chunks: z28.int(),
|
|
14291
|
+
file_type: z28.string().max(100).optional(),
|
|
14292
|
+
file_size: z28.int().min(0).max(2147483647).optional(),
|
|
14293
|
+
processing_status: z28.string(),
|
|
14294
|
+
chunks_count: z28.int(),
|
|
14473
14295
|
total_tokens: z28.int(),
|
|
14474
14296
|
total_cost_usd: z28.number(),
|
|
14475
|
-
processing_progress: z28.number(),
|
|
14476
|
-
vectorization_progress: z28.number(),
|
|
14477
|
-
is_processed: z28.boolean(),
|
|
14478
14297
|
created_at: z28.iso.datetime(),
|
|
14479
|
-
updated_at: z28.iso.datetime()
|
|
14298
|
+
updated_at: z28.iso.datetime(),
|
|
14299
|
+
processing_started_at: z28.iso.datetime(),
|
|
14300
|
+
processing_completed_at: z28.iso.datetime(),
|
|
14301
|
+
processing_error: z28.string(),
|
|
14302
|
+
metadata: z28.string().nullable().optional()
|
|
14480
14303
|
});
|
|
14481
14304
|
|
|
14482
|
-
// src/cfg/generated/_utils/schemas/
|
|
14305
|
+
// src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
|
|
14306
|
+
import { z as z30 } from "zod";
|
|
14307
|
+
|
|
14308
|
+
// src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
|
|
14483
14309
|
import { z as z29 } from "zod";
|
|
14484
|
-
var
|
|
14310
|
+
var DocumentCategorySchema = z29.object({
|
|
14485
14311
|
id: z29.uuid(),
|
|
14486
|
-
|
|
14312
|
+
name: z29.string().max(255),
|
|
14487
14313
|
description: z29.string().optional(),
|
|
14488
|
-
categories: z29.array(DocumentCategorySchema),
|
|
14489
14314
|
is_public: z29.boolean().optional(),
|
|
14490
|
-
|
|
14491
|
-
original_filename: z29.string(),
|
|
14492
|
-
file_size: z29.int(),
|
|
14493
|
-
archive_type: z29.nativeEnum(DocumentArchiveDetailArchiveType),
|
|
14494
|
-
processing_status: z29.nativeEnum(DocumentArchiveDetailProcessingStatus),
|
|
14495
|
-
processed_at: z29.iso.datetime().nullable(),
|
|
14496
|
-
processing_duration_ms: z29.int(),
|
|
14497
|
-
processing_error: z29.string(),
|
|
14498
|
-
total_items: z29.int(),
|
|
14499
|
-
processed_items: z29.int(),
|
|
14500
|
-
total_chunks: z29.int(),
|
|
14501
|
-
vectorized_chunks: z29.int(),
|
|
14502
|
-
total_tokens: z29.int(),
|
|
14503
|
-
total_cost_usd: z29.number(),
|
|
14504
|
-
processing_progress: z29.number(),
|
|
14505
|
-
vectorization_progress: z29.number(),
|
|
14506
|
-
is_processed: z29.boolean(),
|
|
14507
|
-
created_at: z29.iso.datetime(),
|
|
14508
|
-
updated_at: z29.iso.datetime(),
|
|
14509
|
-
items: z29.array(ArchiveItemSchema),
|
|
14510
|
-
file_tree: z29.record(z29.string(), z29.any()),
|
|
14511
|
-
metadata: z29.string().nullable().optional()
|
|
14315
|
+
created_at: z29.iso.datetime()
|
|
14512
14316
|
});
|
|
14513
14317
|
|
|
14514
|
-
// src/cfg/generated/_utils/schemas/
|
|
14515
|
-
|
|
14516
|
-
var DocumentArchiveListSchema = z30.object({
|
|
14318
|
+
// src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
|
|
14319
|
+
var DocumentArchiveSchema = z30.object({
|
|
14517
14320
|
id: z30.uuid(),
|
|
14518
|
-
title: z30.string(),
|
|
14519
|
-
description: z30.string(),
|
|
14321
|
+
title: z30.string().max(512),
|
|
14322
|
+
description: z30.string().optional(),
|
|
14520
14323
|
categories: z30.array(DocumentCategorySchema),
|
|
14521
|
-
is_public: z30.boolean(),
|
|
14324
|
+
is_public: z30.boolean().optional(),
|
|
14325
|
+
archive_file: z30.url(),
|
|
14522
14326
|
original_filename: z30.string(),
|
|
14523
14327
|
file_size: z30.int(),
|
|
14524
|
-
archive_type: z30.nativeEnum(
|
|
14525
|
-
processing_status: z30.nativeEnum(
|
|
14328
|
+
archive_type: z30.nativeEnum(DocumentArchiveArchiveType),
|
|
14329
|
+
processing_status: z30.nativeEnum(DocumentArchiveProcessingStatus),
|
|
14526
14330
|
processed_at: z30.iso.datetime().nullable(),
|
|
14331
|
+
processing_duration_ms: z30.int(),
|
|
14332
|
+
processing_error: z30.string(),
|
|
14527
14333
|
total_items: z30.int(),
|
|
14334
|
+
processed_items: z30.int(),
|
|
14528
14335
|
total_chunks: z30.int(),
|
|
14336
|
+
vectorized_chunks: z30.int(),
|
|
14337
|
+
total_tokens: z30.int(),
|
|
14529
14338
|
total_cost_usd: z30.number(),
|
|
14530
14339
|
processing_progress: z30.number(),
|
|
14531
|
-
|
|
14340
|
+
vectorization_progress: z30.number(),
|
|
14341
|
+
is_processed: z30.boolean(),
|
|
14342
|
+
created_at: z30.iso.datetime(),
|
|
14343
|
+
updated_at: z30.iso.datetime()
|
|
14532
14344
|
});
|
|
14533
14345
|
|
|
14534
|
-
// src/cfg/generated/_utils/schemas/
|
|
14346
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
|
|
14535
14347
|
import { z as z31 } from "zod";
|
|
14536
|
-
var
|
|
14537
|
-
|
|
14348
|
+
var DocumentArchiveDetailSchema = z31.object({
|
|
14349
|
+
id: z31.uuid(),
|
|
14350
|
+
title: z31.string().max(512),
|
|
14538
14351
|
description: z31.string().optional(),
|
|
14539
|
-
|
|
14352
|
+
categories: z31.array(DocumentCategorySchema),
|
|
14353
|
+
is_public: z31.boolean().optional(),
|
|
14354
|
+
archive_file: z31.url(),
|
|
14355
|
+
original_filename: z31.string(),
|
|
14356
|
+
file_size: z31.int(),
|
|
14357
|
+
archive_type: z31.nativeEnum(DocumentArchiveDetailArchiveType),
|
|
14358
|
+
processing_status: z31.nativeEnum(DocumentArchiveDetailProcessingStatus),
|
|
14359
|
+
processed_at: z31.iso.datetime().nullable(),
|
|
14360
|
+
processing_duration_ms: z31.int(),
|
|
14361
|
+
processing_error: z31.string(),
|
|
14362
|
+
total_items: z31.int(),
|
|
14363
|
+
processed_items: z31.int(),
|
|
14364
|
+
total_chunks: z31.int(),
|
|
14365
|
+
vectorized_chunks: z31.int(),
|
|
14366
|
+
total_tokens: z31.int(),
|
|
14367
|
+
total_cost_usd: z31.number(),
|
|
14368
|
+
processing_progress: z31.number(),
|
|
14369
|
+
vectorization_progress: z31.number(),
|
|
14370
|
+
is_processed: z31.boolean(),
|
|
14371
|
+
created_at: z31.iso.datetime(),
|
|
14372
|
+
updated_at: z31.iso.datetime(),
|
|
14373
|
+
items: z31.array(ArchiveItemSchema),
|
|
14374
|
+
file_tree: z31.record(z31.string(), z31.any()),
|
|
14375
|
+
metadata: z31.string().nullable().optional()
|
|
14540
14376
|
});
|
|
14541
14377
|
|
|
14542
|
-
// src/cfg/generated/_utils/schemas/
|
|
14378
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
|
|
14543
14379
|
import { z as z32 } from "zod";
|
|
14544
|
-
var
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
|
|
14380
|
+
var DocumentArchiveListSchema = z32.object({
|
|
14381
|
+
id: z32.uuid(),
|
|
14382
|
+
title: z32.string(),
|
|
14383
|
+
description: z32.string(),
|
|
14384
|
+
categories: z32.array(DocumentCategorySchema),
|
|
14385
|
+
is_public: z32.boolean(),
|
|
14386
|
+
original_filename: z32.string(),
|
|
14387
|
+
file_size: z32.int(),
|
|
14388
|
+
archive_type: z32.nativeEnum(DocumentArchiveListArchiveType),
|
|
14389
|
+
processing_status: z32.nativeEnum(DocumentArchiveListProcessingStatus),
|
|
14390
|
+
processed_at: z32.iso.datetime().nullable(),
|
|
14391
|
+
total_items: z32.int(),
|
|
14392
|
+
total_chunks: z32.int(),
|
|
14393
|
+
total_cost_usd: z32.number(),
|
|
14394
|
+
processing_progress: z32.number(),
|
|
14395
|
+
created_at: z32.iso.datetime()
|
|
14548
14396
|
});
|
|
14549
14397
|
|
|
14550
|
-
// src/cfg/generated/_utils/schemas/
|
|
14398
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
|
|
14551
14399
|
import { z as z33 } from "zod";
|
|
14552
|
-
var
|
|
14400
|
+
var DocumentArchiveRequestSchema = z33.object({
|
|
14553
14401
|
title: z33.string().min(1).max(512),
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
metadata: z33.string().optional()
|
|
14402
|
+
description: z33.string().optional(),
|
|
14403
|
+
is_public: z33.boolean().optional()
|
|
14557
14404
|
});
|
|
14558
14405
|
|
|
14559
|
-
// src/cfg/generated/_utils/schemas/
|
|
14406
|
+
// src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
|
|
14560
14407
|
import { z as z34 } from "zod";
|
|
14561
|
-
var
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
error: z34.string().nullable().optional(),
|
|
14566
|
-
processing_time_seconds: z34.number().nullable().optional()
|
|
14408
|
+
var DocumentCategoryRequestSchema = z34.object({
|
|
14409
|
+
name: z34.string().min(1).max(255),
|
|
14410
|
+
description: z34.string().optional(),
|
|
14411
|
+
is_public: z34.boolean().optional()
|
|
14567
14412
|
});
|
|
14568
14413
|
|
|
14569
|
-
// src/cfg/generated/_utils/schemas/
|
|
14414
|
+
// src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
|
|
14570
14415
|
import { z as z35 } from "zod";
|
|
14571
|
-
var
|
|
14416
|
+
var DocumentCreateRequestSchema = z35.object({
|
|
14572
14417
|
title: z35.string().min(1).max(512),
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
metadata: z35.string().
|
|
14418
|
+
content: z35.string().min(10).max(1e6),
|
|
14419
|
+
file_type: z35.string().min(1).optional(),
|
|
14420
|
+
metadata: z35.string().optional()
|
|
14576
14421
|
});
|
|
14577
14422
|
|
|
14578
|
-
// src/cfg/generated/_utils/schemas/
|
|
14423
|
+
// src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
|
|
14579
14424
|
import { z as z36 } from "zod";
|
|
14580
|
-
var
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
total_cost_usd: z36.number(),
|
|
14587
|
-
avg_processing_time_seconds: z36.number()
|
|
14425
|
+
var DocumentProcessingStatusSchema = z36.object({
|
|
14426
|
+
id: z36.uuid(),
|
|
14427
|
+
status: z36.string(),
|
|
14428
|
+
progress: z36.string(),
|
|
14429
|
+
error: z36.string().nullable().optional(),
|
|
14430
|
+
processing_time_seconds: z36.number().nullable().optional()
|
|
14588
14431
|
});
|
|
14589
14432
|
|
|
14590
|
-
// src/cfg/generated/_utils/schemas/
|
|
14433
|
+
// src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
|
|
14591
14434
|
import { z as z37 } from "zod";
|
|
14592
|
-
var
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
|
|
14596
|
-
|
|
14597
|
-
newsletter_title: z37.string(),
|
|
14598
|
-
recipient: z37.string(),
|
|
14599
|
-
subject: z37.string(),
|
|
14600
|
-
body: z37.string(),
|
|
14601
|
-
status: z37.nativeEnum(EmailLogStatus),
|
|
14602
|
-
created_at: z37.iso.datetime(),
|
|
14603
|
-
sent_at: z37.iso.datetime().nullable(),
|
|
14604
|
-
error_message: z37.string().nullable()
|
|
14435
|
+
var DocumentRequestSchema = z37.object({
|
|
14436
|
+
title: z37.string().min(1).max(512),
|
|
14437
|
+
file_type: z37.string().min(1).max(100).optional(),
|
|
14438
|
+
file_size: z37.int().min(0).max(2147483647).optional(),
|
|
14439
|
+
metadata: z37.string().nullable().optional()
|
|
14605
14440
|
});
|
|
14606
14441
|
|
|
14607
|
-
// src/cfg/generated/_utils/schemas/
|
|
14442
|
+
// src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
|
|
14608
14443
|
import { z as z38 } from "zod";
|
|
14609
|
-
var
|
|
14610
|
-
|
|
14611
|
-
|
|
14612
|
-
|
|
14613
|
-
|
|
14614
|
-
|
|
14615
|
-
|
|
14616
|
-
|
|
14617
|
-
status_code: z38.int().nullable().optional(),
|
|
14618
|
-
response_time_ms: z38.number().nullable().optional(),
|
|
14619
|
-
is_healthy: z38.boolean().nullable().optional(),
|
|
14620
|
-
error: z38.string().optional(),
|
|
14621
|
-
error_type: z38.string().optional(),
|
|
14622
|
-
reason: z38.string().optional(),
|
|
14623
|
-
last_checked: z38.iso.datetime().nullable().optional(),
|
|
14624
|
-
has_parameters: z38.boolean().optional(),
|
|
14625
|
-
required_auth: z38.boolean().optional(),
|
|
14626
|
-
rate_limited: z38.boolean().optional()
|
|
14444
|
+
var DocumentStatsSchema = z38.object({
|
|
14445
|
+
total_documents: z38.int(),
|
|
14446
|
+
completed_documents: z38.int(),
|
|
14447
|
+
processing_success_rate: z38.number(),
|
|
14448
|
+
total_chunks: z38.int(),
|
|
14449
|
+
total_tokens: z38.int(),
|
|
14450
|
+
total_cost_usd: z38.number(),
|
|
14451
|
+
avg_processing_time_seconds: z38.number()
|
|
14627
14452
|
});
|
|
14628
14453
|
|
|
14629
|
-
// src/cfg/generated/_utils/schemas/
|
|
14454
|
+
// src/cfg/generated/_utils/schemas/EmailLog.schema.ts
|
|
14630
14455
|
import { z as z39 } from "zod";
|
|
14631
|
-
var
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14456
|
+
var EmailLogSchema = z39.object({
|
|
14457
|
+
id: z39.uuid(),
|
|
14458
|
+
user: z39.int().nullable(),
|
|
14459
|
+
user_email: z39.string(),
|
|
14460
|
+
newsletter: z39.int().nullable(),
|
|
14461
|
+
newsletter_title: z39.string(),
|
|
14462
|
+
recipient: z39.string(),
|
|
14463
|
+
subject: z39.string(),
|
|
14464
|
+
body: z39.string(),
|
|
14465
|
+
status: z39.nativeEnum(EmailLogStatus),
|
|
14466
|
+
created_at: z39.iso.datetime(),
|
|
14467
|
+
sent_at: z39.iso.datetime().nullable(),
|
|
14468
|
+
error_message: z39.string().nullable()
|
|
14641
14469
|
});
|
|
14642
14470
|
|
|
14643
|
-
// src/cfg/generated/_utils/schemas/
|
|
14471
|
+
// src/cfg/generated/_utils/schemas/Endpoint.schema.ts
|
|
14644
14472
|
import { z as z40 } from "zod";
|
|
14645
|
-
var
|
|
14646
|
-
|
|
14647
|
-
|
|
14473
|
+
var EndpointSchema = z40.object({
|
|
14474
|
+
url: z40.string(),
|
|
14475
|
+
url_pattern: z40.string().nullable().optional(),
|
|
14476
|
+
url_name: z40.string().nullable().optional(),
|
|
14477
|
+
namespace: z40.string().optional(),
|
|
14478
|
+
group: z40.string(),
|
|
14479
|
+
view: z40.string().optional(),
|
|
14480
|
+
status: z40.string(),
|
|
14481
|
+
status_code: z40.int().nullable().optional(),
|
|
14482
|
+
response_time_ms: z40.number().nullable().optional(),
|
|
14483
|
+
is_healthy: z40.boolean().nullable().optional(),
|
|
14484
|
+
error: z40.string().optional(),
|
|
14485
|
+
error_type: z40.string().optional(),
|
|
14486
|
+
reason: z40.string().optional(),
|
|
14487
|
+
last_checked: z40.iso.datetime().nullable().optional(),
|
|
14488
|
+
has_parameters: z40.boolean().optional(),
|
|
14489
|
+
required_auth: z40.boolean().optional(),
|
|
14490
|
+
rate_limited: z40.boolean().optional()
|
|
14648
14491
|
});
|
|
14649
14492
|
|
|
14650
|
-
// src/cfg/generated/_utils/schemas/
|
|
14493
|
+
// src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
|
|
14651
14494
|
import { z as z41 } from "zod";
|
|
14652
|
-
var
|
|
14495
|
+
var EndpointsStatusSchema = z41.object({
|
|
14653
14496
|
status: z41.string(),
|
|
14654
14497
|
timestamp: z41.iso.datetime(),
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14498
|
+
total_endpoints: z41.int(),
|
|
14499
|
+
healthy: z41.int(),
|
|
14500
|
+
unhealthy: z41.int(),
|
|
14501
|
+
warnings: z41.int(),
|
|
14502
|
+
errors: z41.int(),
|
|
14503
|
+
skipped: z41.int(),
|
|
14504
|
+
endpoints: z41.array(EndpointSchema)
|
|
14659
14505
|
});
|
|
14660
14506
|
|
|
14661
|
-
// src/cfg/generated/_utils/schemas/
|
|
14507
|
+
// src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
|
|
14662
14508
|
import { z as z42 } from "zod";
|
|
14663
|
-
var
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
company: z42.string().max(200).nullable().optional(),
|
|
14667
|
-
company_site: z42.string().max(200).nullable().optional(),
|
|
14668
|
-
contact_type: z42.nativeEnum(LeadSubmissionContactType).optional(),
|
|
14669
|
-
contact_value: z42.string().max(200).nullable().optional(),
|
|
14670
|
-
subject: z42.string().max(200).nullable().optional(),
|
|
14671
|
-
message: z42.string(),
|
|
14672
|
-
extra: z42.string().nullable().optional(),
|
|
14673
|
-
site_url: z42.url()
|
|
14509
|
+
var ErrorResponseSchema = z42.object({
|
|
14510
|
+
success: z42.boolean().optional(),
|
|
14511
|
+
message: z42.string()
|
|
14674
14512
|
});
|
|
14675
14513
|
|
|
14676
|
-
// src/cfg/generated/_utils/schemas/
|
|
14514
|
+
// src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
|
|
14677
14515
|
import { z as z43 } from "zod";
|
|
14678
|
-
var
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
14516
|
+
var HealthCheckSchema = z43.object({
|
|
14517
|
+
status: z43.string(),
|
|
14518
|
+
timestamp: z43.iso.datetime(),
|
|
14519
|
+
service: z43.string(),
|
|
14520
|
+
version: z43.string(),
|
|
14521
|
+
checks: z43.record(z43.string(), z43.any()),
|
|
14522
|
+
environment: z43.record(z43.string(), z43.any())
|
|
14682
14523
|
});
|
|
14683
14524
|
|
|
14684
|
-
// src/cfg/generated/_utils/schemas/
|
|
14525
|
+
// src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
|
|
14685
14526
|
import { z as z44 } from "zod";
|
|
14686
|
-
var
|
|
14687
|
-
name: z44.string().
|
|
14527
|
+
var LeadSubmissionSchema = z44.object({
|
|
14528
|
+
name: z44.string().max(200),
|
|
14688
14529
|
email: z44.email(),
|
|
14689
14530
|
company: z44.string().max(200).nullable().optional(),
|
|
14690
14531
|
company_site: z44.string().max(200).nullable().optional(),
|
|
14691
|
-
contact_type: z44.nativeEnum(
|
|
14532
|
+
contact_type: z44.nativeEnum(LeadSubmissionContactType).optional(),
|
|
14692
14533
|
contact_value: z44.string().max(200).nullable().optional(),
|
|
14693
14534
|
subject: z44.string().max(200).nullable().optional(),
|
|
14694
|
-
message: z44.string()
|
|
14535
|
+
message: z44.string(),
|
|
14695
14536
|
extra: z44.string().nullable().optional(),
|
|
14696
14537
|
site_url: z44.url()
|
|
14697
14538
|
});
|
|
14698
14539
|
|
|
14699
|
-
// src/cfg/generated/_utils/schemas/
|
|
14540
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
|
|
14700
14541
|
import { z as z45 } from "zod";
|
|
14701
|
-
var
|
|
14542
|
+
var LeadSubmissionErrorSchema = z45.object({
|
|
14702
14543
|
success: z45.boolean(),
|
|
14703
|
-
|
|
14704
|
-
|
|
14544
|
+
error: z45.string(),
|
|
14545
|
+
details: z45.record(z45.string(), z45.any()).optional()
|
|
14705
14546
|
});
|
|
14706
14547
|
|
|
14707
|
-
// src/cfg/generated/_utils/schemas/
|
|
14708
|
-
import { z as z47 } from "zod";
|
|
14709
|
-
|
|
14710
|
-
// src/cfg/generated/_utils/schemas/Sender.schema.ts
|
|
14548
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
|
|
14711
14549
|
import { z as z46 } from "zod";
|
|
14712
|
-
var
|
|
14713
|
-
|
|
14714
|
-
display_username: z46.string(),
|
|
14550
|
+
var LeadSubmissionRequestSchema = z46.object({
|
|
14551
|
+
name: z46.string().min(1).max(200),
|
|
14715
14552
|
email: z46.email(),
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
|
|
14719
|
-
|
|
14553
|
+
company: z46.string().max(200).nullable().optional(),
|
|
14554
|
+
company_site: z46.string().max(200).nullable().optional(),
|
|
14555
|
+
contact_type: z46.nativeEnum(LeadSubmissionRequestContactType).optional(),
|
|
14556
|
+
contact_value: z46.string().max(200).nullable().optional(),
|
|
14557
|
+
subject: z46.string().max(200).nullable().optional(),
|
|
14558
|
+
message: z46.string().min(1),
|
|
14559
|
+
extra: z46.string().nullable().optional(),
|
|
14560
|
+
site_url: z46.url()
|
|
14720
14561
|
});
|
|
14721
14562
|
|
|
14722
|
-
// src/cfg/generated/_utils/schemas/
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
text: z47.string(),
|
|
14729
|
-
created_at: z47.iso.datetime()
|
|
14563
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
|
|
14564
|
+
import { z as z47 } from "zod";
|
|
14565
|
+
var LeadSubmissionResponseSchema = z47.object({
|
|
14566
|
+
success: z47.boolean(),
|
|
14567
|
+
message: z47.string(),
|
|
14568
|
+
lead_id: z47.int()
|
|
14730
14569
|
});
|
|
14731
14570
|
|
|
14732
|
-
// src/cfg/generated/_utils/schemas/
|
|
14571
|
+
// src/cfg/generated/_utils/schemas/Message.schema.ts
|
|
14572
|
+
import { z as z49 } from "zod";
|
|
14573
|
+
|
|
14574
|
+
// src/cfg/generated/_utils/schemas/Sender.schema.ts
|
|
14733
14575
|
import { z as z48 } from "zod";
|
|
14734
|
-
var
|
|
14735
|
-
|
|
14576
|
+
var SenderSchema = z48.object({
|
|
14577
|
+
id: z48.int(),
|
|
14578
|
+
display_username: z48.string(),
|
|
14579
|
+
email: z48.email(),
|
|
14580
|
+
avatar: z48.string().nullable(),
|
|
14581
|
+
initials: z48.string(),
|
|
14582
|
+
is_staff: z48.boolean(),
|
|
14583
|
+
is_superuser: z48.boolean()
|
|
14736
14584
|
});
|
|
14737
14585
|
|
|
14738
|
-
// src/cfg/generated/_utils/schemas/
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14586
|
+
// src/cfg/generated/_utils/schemas/Message.schema.ts
|
|
14587
|
+
var MessageSchema = z49.object({
|
|
14588
|
+
uuid: z49.uuid(),
|
|
14589
|
+
ticket: z49.uuid(),
|
|
14590
|
+
sender: SenderSchema,
|
|
14591
|
+
is_from_author: z49.boolean(),
|
|
14592
|
+
text: z49.string(),
|
|
14593
|
+
created_at: z49.iso.datetime()
|
|
14742
14594
|
});
|
|
14743
14595
|
|
|
14744
|
-
// src/cfg/generated/_utils/schemas/
|
|
14596
|
+
// src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
|
|
14745
14597
|
import { z as z50 } from "zod";
|
|
14746
|
-
var
|
|
14747
|
-
text: z50.string()
|
|
14598
|
+
var MessageCreateSchema = z50.object({
|
|
14599
|
+
text: z50.string()
|
|
14748
14600
|
});
|
|
14749
14601
|
|
|
14750
|
-
// src/cfg/generated/_utils/schemas/
|
|
14602
|
+
// src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
|
|
14751
14603
|
import { z as z51 } from "zod";
|
|
14752
|
-
var
|
|
14753
|
-
|
|
14754
|
-
title: z51.string().max(255),
|
|
14755
|
-
description: z51.string().optional(),
|
|
14756
|
-
is_active: z51.boolean().optional(),
|
|
14757
|
-
auto_subscribe: z51.boolean().optional(),
|
|
14758
|
-
created_at: z51.iso.datetime(),
|
|
14759
|
-
updated_at: z51.iso.datetime(),
|
|
14760
|
-
subscribers_count: z51.int()
|
|
14604
|
+
var MessageCreateRequestSchema = z51.object({
|
|
14605
|
+
text: z51.string().min(1)
|
|
14761
14606
|
});
|
|
14762
14607
|
|
|
14763
|
-
// src/cfg/generated/_utils/schemas/
|
|
14608
|
+
// src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
|
|
14764
14609
|
import { z as z52 } from "zod";
|
|
14765
|
-
var
|
|
14766
|
-
|
|
14767
|
-
newsletter: z52.int(),
|
|
14768
|
-
newsletter_title: z52.string(),
|
|
14769
|
-
subject: z52.string().max(255),
|
|
14770
|
-
email_title: z52.string().max(255),
|
|
14771
|
-
main_text: z52.string(),
|
|
14772
|
-
main_html_content: z52.string().optional(),
|
|
14773
|
-
button_text: z52.string().max(100).optional(),
|
|
14774
|
-
button_url: z52.url().optional(),
|
|
14775
|
-
secondary_text: z52.string().optional(),
|
|
14776
|
-
status: z52.nativeEnum(NewsletterCampaignStatus),
|
|
14777
|
-
created_at: z52.iso.datetime(),
|
|
14778
|
-
sent_at: z52.iso.datetime().nullable(),
|
|
14779
|
-
recipient_count: z52.int()
|
|
14610
|
+
var MessageRequestSchema = z52.object({
|
|
14611
|
+
text: z52.string().min(1)
|
|
14780
14612
|
});
|
|
14781
14613
|
|
|
14782
|
-
// src/cfg/generated/_utils/schemas/
|
|
14614
|
+
// src/cfg/generated/_utils/schemas/Newsletter.schema.ts
|
|
14783
14615
|
import { z as z53 } from "zod";
|
|
14784
|
-
var
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
|
-
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
|
|
14616
|
+
var NewsletterSchema = z53.object({
|
|
14617
|
+
id: z53.int(),
|
|
14618
|
+
title: z53.string().max(255),
|
|
14619
|
+
description: z53.string().optional(),
|
|
14620
|
+
is_active: z53.boolean().optional(),
|
|
14621
|
+
auto_subscribe: z53.boolean().optional(),
|
|
14622
|
+
created_at: z53.iso.datetime(),
|
|
14623
|
+
updated_at: z53.iso.datetime(),
|
|
14624
|
+
subscribers_count: z53.int()
|
|
14793
14625
|
});
|
|
14794
14626
|
|
|
14795
|
-
// src/cfg/generated/_utils/schemas/
|
|
14627
|
+
// src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
|
|
14796
14628
|
import { z as z54 } from "zod";
|
|
14797
|
-
var
|
|
14629
|
+
var NewsletterCampaignSchema = z54.object({
|
|
14798
14630
|
id: z54.int(),
|
|
14799
14631
|
newsletter: z54.int(),
|
|
14800
14632
|
newsletter_title: z54.string(),
|
|
14801
|
-
|
|
14802
|
-
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
|
|
14633
|
+
subject: z54.string().max(255),
|
|
14634
|
+
email_title: z54.string().max(255),
|
|
14635
|
+
main_text: z54.string(),
|
|
14636
|
+
main_html_content: z54.string().optional(),
|
|
14637
|
+
button_text: z54.string().max(100).optional(),
|
|
14638
|
+
button_url: z54.url().optional(),
|
|
14639
|
+
secondary_text: z54.string().optional(),
|
|
14640
|
+
status: z54.nativeEnum(NewsletterCampaignStatus),
|
|
14641
|
+
created_at: z54.iso.datetime(),
|
|
14642
|
+
sent_at: z54.iso.datetime().nullable(),
|
|
14643
|
+
recipient_count: z54.int()
|
|
14807
14644
|
});
|
|
14808
14645
|
|
|
14809
|
-
// src/cfg/generated/_utils/schemas/
|
|
14646
|
+
// src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
|
|
14810
14647
|
import { z as z55 } from "zod";
|
|
14811
|
-
var
|
|
14812
|
-
|
|
14648
|
+
var NewsletterCampaignRequestSchema = z55.object({
|
|
14649
|
+
newsletter: z55.int(),
|
|
14650
|
+
subject: z55.string().min(1).max(255),
|
|
14651
|
+
email_title: z55.string().min(1).max(255),
|
|
14652
|
+
main_text: z55.string().min(1),
|
|
14653
|
+
main_html_content: z55.string().optional(),
|
|
14654
|
+
button_text: z55.string().max(100).optional(),
|
|
14655
|
+
button_url: z55.url().optional(),
|
|
14656
|
+
secondary_text: z55.string().optional()
|
|
14813
14657
|
});
|
|
14814
14658
|
|
|
14815
|
-
// src/cfg/generated/_utils/schemas/
|
|
14659
|
+
// src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
|
|
14816
14660
|
import { z as z56 } from "zod";
|
|
14817
|
-
var
|
|
14818
|
-
|
|
14819
|
-
|
|
14820
|
-
|
|
14661
|
+
var NewsletterSubscriptionSchema = z56.object({
|
|
14662
|
+
id: z56.int(),
|
|
14663
|
+
newsletter: z56.int(),
|
|
14664
|
+
newsletter_title: z56.string(),
|
|
14665
|
+
user: z56.int().nullable().optional(),
|
|
14666
|
+
user_email: z56.string(),
|
|
14667
|
+
email: z56.email(),
|
|
14668
|
+
is_active: z56.boolean().optional(),
|
|
14669
|
+
subscribed_at: z56.iso.datetime(),
|
|
14670
|
+
unsubscribed_at: z56.iso.datetime().nullable()
|
|
14821
14671
|
});
|
|
14822
14672
|
|
|
14823
|
-
// src/cfg/generated/_utils/schemas/
|
|
14673
|
+
// src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
|
|
14824
14674
|
import { z as z57 } from "zod";
|
|
14825
|
-
var
|
|
14826
|
-
|
|
14675
|
+
var OTPErrorResponseSchema = z57.object({
|
|
14676
|
+
error: z57.string()
|
|
14827
14677
|
});
|
|
14828
14678
|
|
|
14829
|
-
// src/cfg/generated/_utils/schemas/
|
|
14679
|
+
// src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
|
|
14830
14680
|
import { z as z58 } from "zod";
|
|
14831
|
-
var
|
|
14681
|
+
var OTPRequestRequestSchema = z58.object({
|
|
14832
14682
|
identifier: z58.string().min(1),
|
|
14833
|
-
|
|
14834
|
-
channel: z58.nativeEnum(OTPVerifyRequestChannel).optional(),
|
|
14683
|
+
channel: z58.nativeEnum(OTPRequestRequestChannel).optional(),
|
|
14835
14684
|
source_url: z58.url().optional()
|
|
14836
14685
|
});
|
|
14837
14686
|
|
|
14838
|
-
// src/cfg/generated/_utils/schemas/
|
|
14839
|
-
import { z as z60 } from "zod";
|
|
14840
|
-
|
|
14841
|
-
// src/cfg/generated/_utils/schemas/User.schema.ts
|
|
14687
|
+
// src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
|
|
14842
14688
|
import { z as z59 } from "zod";
|
|
14843
|
-
var
|
|
14844
|
-
|
|
14845
|
-
email: z59.email(),
|
|
14846
|
-
first_name: z59.string().max(50).optional(),
|
|
14847
|
-
last_name: z59.string().max(50).optional(),
|
|
14848
|
-
full_name: z59.string(),
|
|
14849
|
-
initials: z59.string(),
|
|
14850
|
-
display_username: z59.string(),
|
|
14851
|
-
company: z59.string().max(100).optional(),
|
|
14852
|
-
phone: z59.string().max(20).optional(),
|
|
14853
|
-
position: z59.string().max(100).optional(),
|
|
14854
|
-
avatar: z59.url().nullable(),
|
|
14855
|
-
is_staff: z59.boolean(),
|
|
14856
|
-
is_superuser: z59.boolean(),
|
|
14857
|
-
date_joined: z59.iso.datetime(),
|
|
14858
|
-
last_login: z59.iso.datetime().nullable(),
|
|
14859
|
-
unanswered_messages_count: z59.int()
|
|
14689
|
+
var OTPRequestResponseSchema = z59.object({
|
|
14690
|
+
message: z59.string()
|
|
14860
14691
|
});
|
|
14861
14692
|
|
|
14862
|
-
// src/cfg/generated/_utils/schemas/
|
|
14863
|
-
|
|
14864
|
-
|
|
14865
|
-
|
|
14866
|
-
|
|
14693
|
+
// src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
|
|
14694
|
+
import { z as z60 } from "zod";
|
|
14695
|
+
var OTPVerifyRequestSchema = z60.object({
|
|
14696
|
+
identifier: z60.string().min(1),
|
|
14697
|
+
otp: z60.string().min(6).max(6),
|
|
14698
|
+
channel: z60.nativeEnum(OTPVerifyRequestChannel).optional(),
|
|
14699
|
+
source_url: z60.url().optional()
|
|
14867
14700
|
});
|
|
14868
14701
|
|
|
14869
|
-
// src/cfg/generated/_utils/schemas/
|
|
14702
|
+
// src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
|
|
14703
|
+
import { z as z62 } from "zod";
|
|
14704
|
+
|
|
14705
|
+
// src/cfg/generated/_utils/schemas/User.schema.ts
|
|
14870
14706
|
import { z as z61 } from "zod";
|
|
14871
|
-
var
|
|
14872
|
-
|
|
14873
|
-
|
|
14874
|
-
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
14878
|
-
|
|
14879
|
-
|
|
14880
|
-
|
|
14707
|
+
var UserSchema = z61.object({
|
|
14708
|
+
id: z61.int(),
|
|
14709
|
+
email: z61.email(),
|
|
14710
|
+
first_name: z61.string().max(50).optional(),
|
|
14711
|
+
last_name: z61.string().max(50).optional(),
|
|
14712
|
+
full_name: z61.string(),
|
|
14713
|
+
initials: z61.string(),
|
|
14714
|
+
display_username: z61.string(),
|
|
14715
|
+
company: z61.string().max(100).optional(),
|
|
14716
|
+
phone: z61.string().max(20).optional(),
|
|
14717
|
+
position: z61.string().max(100).optional(),
|
|
14718
|
+
avatar: z61.url().nullable(),
|
|
14719
|
+
is_staff: z61.boolean(),
|
|
14720
|
+
is_superuser: z61.boolean(),
|
|
14721
|
+
date_joined: z61.iso.datetime(),
|
|
14722
|
+
last_login: z61.iso.datetime().nullable(),
|
|
14723
|
+
unanswered_messages_count: z61.int()
|
|
14881
14724
|
});
|
|
14882
14725
|
|
|
14883
|
-
// src/cfg/generated/_utils/schemas/
|
|
14884
|
-
|
|
14885
|
-
|
|
14886
|
-
|
|
14887
|
-
|
|
14888
|
-
pages: z62.int(),
|
|
14889
|
-
page_size: z62.int(),
|
|
14890
|
-
has_next: z62.boolean(),
|
|
14891
|
-
has_previous: z62.boolean(),
|
|
14892
|
-
next_page: z62.int().nullable().optional(),
|
|
14893
|
-
previous_page: z62.int().nullable().optional(),
|
|
14894
|
-
results: z62.array(ArchiveItemSchema)
|
|
14726
|
+
// src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
|
|
14727
|
+
var OTPVerifyResponseSchema = z62.object({
|
|
14728
|
+
refresh: z62.string(),
|
|
14729
|
+
access: z62.string(),
|
|
14730
|
+
user: UserSchema
|
|
14895
14731
|
});
|
|
14896
14732
|
|
|
14897
|
-
// src/cfg/generated/_utils/schemas/
|
|
14733
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
|
|
14898
14734
|
import { z as z63 } from "zod";
|
|
14899
|
-
var
|
|
14735
|
+
var PaginatedArchiveItemChunkListSchema = z63.object({
|
|
14900
14736
|
count: z63.int(),
|
|
14901
14737
|
page: z63.int(),
|
|
14902
14738
|
pages: z63.int(),
|
|
@@ -14905,12 +14741,12 @@ var PaginatedArchiveSearchResultListSchema = z63.object({
|
|
|
14905
14741
|
has_previous: z63.boolean(),
|
|
14906
14742
|
next_page: z63.int().nullable().optional(),
|
|
14907
14743
|
previous_page: z63.int().nullable().optional(),
|
|
14908
|
-
results: z63.array(
|
|
14744
|
+
results: z63.array(ArchiveItemChunkSchema)
|
|
14909
14745
|
});
|
|
14910
14746
|
|
|
14911
|
-
// src/cfg/generated/_utils/schemas/
|
|
14747
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
|
|
14912
14748
|
import { z as z64 } from "zod";
|
|
14913
|
-
var
|
|
14749
|
+
var PaginatedArchiveItemListSchema = z64.object({
|
|
14914
14750
|
count: z64.int(),
|
|
14915
14751
|
page: z64.int(),
|
|
14916
14752
|
pages: z64.int(),
|
|
@@ -14919,12 +14755,12 @@ var PaginatedChatResponseListSchema = z64.object({
|
|
|
14919
14755
|
has_previous: z64.boolean(),
|
|
14920
14756
|
next_page: z64.int().nullable().optional(),
|
|
14921
14757
|
previous_page: z64.int().nullable().optional(),
|
|
14922
|
-
results: z64.array(
|
|
14758
|
+
results: z64.array(ArchiveItemSchema)
|
|
14923
14759
|
});
|
|
14924
14760
|
|
|
14925
|
-
// src/cfg/generated/_utils/schemas/
|
|
14761
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
|
|
14926
14762
|
import { z as z65 } from "zod";
|
|
14927
|
-
var
|
|
14763
|
+
var PaginatedArchiveSearchResultListSchema = z65.object({
|
|
14928
14764
|
count: z65.int(),
|
|
14929
14765
|
page: z65.int(),
|
|
14930
14766
|
pages: z65.int(),
|
|
@@ -14933,12 +14769,12 @@ var PaginatedChatSessionListSchema = z65.object({
|
|
|
14933
14769
|
has_previous: z65.boolean(),
|
|
14934
14770
|
next_page: z65.int().nullable().optional(),
|
|
14935
14771
|
previous_page: z65.int().nullable().optional(),
|
|
14936
|
-
results: z65.array(
|
|
14772
|
+
results: z65.array(ArchiveSearchResultSchema)
|
|
14937
14773
|
});
|
|
14938
14774
|
|
|
14939
|
-
// src/cfg/generated/_utils/schemas/
|
|
14775
|
+
// src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
|
|
14940
14776
|
import { z as z66 } from "zod";
|
|
14941
|
-
var
|
|
14777
|
+
var PaginatedChatResponseListSchema = z66.object({
|
|
14942
14778
|
count: z66.int(),
|
|
14943
14779
|
page: z66.int(),
|
|
14944
14780
|
pages: z66.int(),
|
|
@@ -14947,12 +14783,12 @@ var PaginatedDocumentArchiveListListSchema = z66.object({
|
|
|
14947
14783
|
has_previous: z66.boolean(),
|
|
14948
14784
|
next_page: z66.int().nullable().optional(),
|
|
14949
14785
|
previous_page: z66.int().nullable().optional(),
|
|
14950
|
-
results: z66.array(
|
|
14786
|
+
results: z66.array(ChatResponseSchema)
|
|
14951
14787
|
});
|
|
14952
14788
|
|
|
14953
|
-
// src/cfg/generated/_utils/schemas/
|
|
14789
|
+
// src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
|
|
14954
14790
|
import { z as z67 } from "zod";
|
|
14955
|
-
var
|
|
14791
|
+
var PaginatedChatSessionListSchema = z67.object({
|
|
14956
14792
|
count: z67.int(),
|
|
14957
14793
|
page: z67.int(),
|
|
14958
14794
|
pages: z67.int(),
|
|
@@ -14961,12 +14797,12 @@ var PaginatedDocumentListSchema = z67.object({
|
|
|
14961
14797
|
has_previous: z67.boolean(),
|
|
14962
14798
|
next_page: z67.int().nullable().optional(),
|
|
14963
14799
|
previous_page: z67.int().nullable().optional(),
|
|
14964
|
-
results: z67.array(
|
|
14800
|
+
results: z67.array(ChatSessionSchema)
|
|
14965
14801
|
});
|
|
14966
14802
|
|
|
14967
|
-
// src/cfg/generated/_utils/schemas/
|
|
14803
|
+
// src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
|
|
14968
14804
|
import { z as z68 } from "zod";
|
|
14969
|
-
var
|
|
14805
|
+
var PaginatedDocumentArchiveListListSchema = z68.object({
|
|
14970
14806
|
count: z68.int(),
|
|
14971
14807
|
page: z68.int(),
|
|
14972
14808
|
pages: z68.int(),
|
|
@@ -14975,12 +14811,12 @@ var PaginatedEmailLogListSchema = z68.object({
|
|
|
14975
14811
|
has_previous: z68.boolean(),
|
|
14976
14812
|
next_page: z68.int().nullable().optional(),
|
|
14977
14813
|
previous_page: z68.int().nullable().optional(),
|
|
14978
|
-
results: z68.array(
|
|
14814
|
+
results: z68.array(DocumentArchiveListSchema)
|
|
14979
14815
|
});
|
|
14980
14816
|
|
|
14981
|
-
// src/cfg/generated/_utils/schemas/
|
|
14817
|
+
// src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
|
|
14982
14818
|
import { z as z69 } from "zod";
|
|
14983
|
-
var
|
|
14819
|
+
var PaginatedDocumentListSchema = z69.object({
|
|
14984
14820
|
count: z69.int(),
|
|
14985
14821
|
page: z69.int(),
|
|
14986
14822
|
pages: z69.int(),
|
|
@@ -14989,12 +14825,12 @@ var PaginatedLeadSubmissionListSchema = z69.object({
|
|
|
14989
14825
|
has_previous: z69.boolean(),
|
|
14990
14826
|
next_page: z69.int().nullable().optional(),
|
|
14991
14827
|
previous_page: z69.int().nullable().optional(),
|
|
14992
|
-
results: z69.array(
|
|
14828
|
+
results: z69.array(DocumentSchema)
|
|
14993
14829
|
});
|
|
14994
14830
|
|
|
14995
|
-
// src/cfg/generated/_utils/schemas/
|
|
14831
|
+
// src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
|
|
14996
14832
|
import { z as z70 } from "zod";
|
|
14997
|
-
var
|
|
14833
|
+
var PaginatedEmailLogListSchema = z70.object({
|
|
14998
14834
|
count: z70.int(),
|
|
14999
14835
|
page: z70.int(),
|
|
15000
14836
|
pages: z70.int(),
|
|
@@ -15003,12 +14839,12 @@ var PaginatedMessageListSchema = z70.object({
|
|
|
15003
14839
|
has_previous: z70.boolean(),
|
|
15004
14840
|
next_page: z70.int().nullable().optional(),
|
|
15005
14841
|
previous_page: z70.int().nullable().optional(),
|
|
15006
|
-
results: z70.array(
|
|
14842
|
+
results: z70.array(EmailLogSchema)
|
|
15007
14843
|
});
|
|
15008
14844
|
|
|
15009
|
-
// src/cfg/generated/_utils/schemas/
|
|
14845
|
+
// src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
|
|
15010
14846
|
import { z as z71 } from "zod";
|
|
15011
|
-
var
|
|
14847
|
+
var PaginatedLeadSubmissionListSchema = z71.object({
|
|
15012
14848
|
count: z71.int(),
|
|
15013
14849
|
page: z71.int(),
|
|
15014
14850
|
pages: z71.int(),
|
|
@@ -15017,12 +14853,12 @@ var PaginatedNewsletterCampaignListSchema = z71.object({
|
|
|
15017
14853
|
has_previous: z71.boolean(),
|
|
15018
14854
|
next_page: z71.int().nullable().optional(),
|
|
15019
14855
|
previous_page: z71.int().nullable().optional(),
|
|
15020
|
-
results: z71.array(
|
|
14856
|
+
results: z71.array(LeadSubmissionSchema)
|
|
15021
14857
|
});
|
|
15022
14858
|
|
|
15023
|
-
// src/cfg/generated/_utils/schemas/
|
|
14859
|
+
// src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
|
|
15024
14860
|
import { z as z72 } from "zod";
|
|
15025
|
-
var
|
|
14861
|
+
var PaginatedMessageListSchema = z72.object({
|
|
15026
14862
|
count: z72.int(),
|
|
15027
14863
|
page: z72.int(),
|
|
15028
14864
|
pages: z72.int(),
|
|
@@ -15031,12 +14867,12 @@ var PaginatedNewsletterListSchema = z72.object({
|
|
|
15031
14867
|
has_previous: z72.boolean(),
|
|
15032
14868
|
next_page: z72.int().nullable().optional(),
|
|
15033
14869
|
previous_page: z72.int().nullable().optional(),
|
|
15034
|
-
results: z72.array(
|
|
14870
|
+
results: z72.array(MessageSchema)
|
|
15035
14871
|
});
|
|
15036
14872
|
|
|
15037
|
-
// src/cfg/generated/_utils/schemas/
|
|
14873
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
|
|
15038
14874
|
import { z as z73 } from "zod";
|
|
15039
|
-
var
|
|
14875
|
+
var PaginatedNewsletterCampaignListSchema = z73.object({
|
|
15040
14876
|
count: z73.int(),
|
|
15041
14877
|
page: z73.int(),
|
|
15042
14878
|
pages: z73.int(),
|
|
@@ -15045,28 +14881,26 @@ var PaginatedNewsletterSubscriptionListSchema = z73.object({
|
|
|
15045
14881
|
has_previous: z73.boolean(),
|
|
15046
14882
|
next_page: z73.int().nullable().optional(),
|
|
15047
14883
|
previous_page: z73.int().nullable().optional(),
|
|
15048
|
-
results: z73.array(
|
|
14884
|
+
results: z73.array(NewsletterCampaignSchema)
|
|
15049
14885
|
});
|
|
15050
14886
|
|
|
15051
|
-
// src/cfg/generated/_utils/schemas/
|
|
15052
|
-
import { z as z75 } from "zod";
|
|
15053
|
-
|
|
15054
|
-
// src/cfg/generated/_utils/schemas/PaymentList.schema.ts
|
|
14887
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
|
|
15055
14888
|
import { z as z74 } from "zod";
|
|
15056
|
-
var
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
14889
|
+
var PaginatedNewsletterListSchema = z74.object({
|
|
14890
|
+
count: z74.int(),
|
|
14891
|
+
page: z74.int(),
|
|
14892
|
+
pages: z74.int(),
|
|
14893
|
+
page_size: z74.int(),
|
|
14894
|
+
has_next: z74.boolean(),
|
|
14895
|
+
has_previous: z74.boolean(),
|
|
14896
|
+
next_page: z74.int().nullable().optional(),
|
|
14897
|
+
previous_page: z74.int().nullable().optional(),
|
|
14898
|
+
results: z74.array(NewsletterSchema)
|
|
15066
14899
|
});
|
|
15067
14900
|
|
|
15068
|
-
// src/cfg/generated/_utils/schemas/
|
|
15069
|
-
|
|
14901
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
|
|
14902
|
+
import { z as z75 } from "zod";
|
|
14903
|
+
var PaginatedNewsletterSubscriptionListSchema = z75.object({
|
|
15070
14904
|
count: z75.int(),
|
|
15071
14905
|
page: z75.int(),
|
|
15072
14906
|
pages: z75.int(),
|
|
@@ -15075,22 +14909,28 @@ var PaginatedPaymentListListSchema = z75.object({
|
|
|
15075
14909
|
has_previous: z75.boolean(),
|
|
15076
14910
|
next_page: z75.int().nullable().optional(),
|
|
15077
14911
|
previous_page: z75.int().nullable().optional(),
|
|
15078
|
-
results: z75.array(
|
|
14912
|
+
results: z75.array(NewsletterSubscriptionSchema)
|
|
15079
14913
|
});
|
|
15080
14914
|
|
|
15081
|
-
// src/cfg/generated/_utils/schemas/
|
|
14915
|
+
// src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
|
|
15082
14916
|
import { z as z77 } from "zod";
|
|
15083
14917
|
|
|
15084
|
-
// src/cfg/generated/_utils/schemas/
|
|
14918
|
+
// src/cfg/generated/_utils/schemas/PaymentList.schema.ts
|
|
15085
14919
|
import { z as z76 } from "zod";
|
|
15086
|
-
var
|
|
14920
|
+
var PaymentListSchema = z76.object({
|
|
15087
14921
|
id: z76.uuid(),
|
|
15088
|
-
|
|
15089
|
-
|
|
14922
|
+
internal_payment_id: z76.string(),
|
|
14923
|
+
amount_usd: z76.string(),
|
|
14924
|
+
currency_code: z76.string(),
|
|
14925
|
+
currency_token: z76.string(),
|
|
14926
|
+
status: z76.nativeEnum(PaymentListStatus),
|
|
14927
|
+
status_display: z76.string(),
|
|
14928
|
+
created_at: z76.iso.datetime(),
|
|
14929
|
+
completed_at: z76.iso.datetime().nullable()
|
|
15090
14930
|
});
|
|
15091
14931
|
|
|
15092
|
-
// src/cfg/generated/_utils/schemas/
|
|
15093
|
-
var
|
|
14932
|
+
// src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
|
|
14933
|
+
var PaginatedPaymentListListSchema = z77.object({
|
|
15094
14934
|
count: z77.int(),
|
|
15095
14935
|
page: z77.int(),
|
|
15096
14936
|
pages: z77.int(),
|
|
@@ -15099,24 +14939,22 @@ var PaginatedPublicCategoryListSchema = z77.object({
|
|
|
15099
14939
|
has_previous: z77.boolean(),
|
|
15100
14940
|
next_page: z77.int().nullable().optional(),
|
|
15101
14941
|
previous_page: z77.int().nullable().optional(),
|
|
15102
|
-
results: z77.array(
|
|
14942
|
+
results: z77.array(PaymentListSchema)
|
|
15103
14943
|
});
|
|
15104
14944
|
|
|
15105
|
-
// src/cfg/generated/_utils/schemas/
|
|
14945
|
+
// src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
|
|
15106
14946
|
import { z as z79 } from "zod";
|
|
15107
14947
|
|
|
15108
|
-
// src/cfg/generated/_utils/schemas/
|
|
14948
|
+
// src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
|
|
15109
14949
|
import { z as z78 } from "zod";
|
|
15110
|
-
var
|
|
14950
|
+
var PublicCategorySchema = z78.object({
|
|
15111
14951
|
id: z78.uuid(),
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
created_at: z78.iso.datetime(),
|
|
15115
|
-
updated_at: z78.iso.datetime()
|
|
14952
|
+
name: z78.string().max(255),
|
|
14953
|
+
description: z78.string().optional()
|
|
15116
14954
|
});
|
|
15117
14955
|
|
|
15118
|
-
// src/cfg/generated/_utils/schemas/
|
|
15119
|
-
var
|
|
14956
|
+
// src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
|
|
14957
|
+
var PaginatedPublicCategoryListSchema = z79.object({
|
|
15120
14958
|
count: z79.int(),
|
|
15121
14959
|
page: z79.int(),
|
|
15122
14960
|
pages: z79.int(),
|
|
@@ -15125,25 +14963,24 @@ var PaginatedPublicDocumentListListSchema = z79.object({
|
|
|
15125
14963
|
has_previous: z79.boolean(),
|
|
15126
14964
|
next_page: z79.int().nullable().optional(),
|
|
15127
14965
|
previous_page: z79.int().nullable().optional(),
|
|
15128
|
-
results: z79.array(
|
|
14966
|
+
results: z79.array(PublicCategorySchema)
|
|
15129
14967
|
});
|
|
15130
14968
|
|
|
15131
|
-
// src/cfg/generated/_utils/schemas/
|
|
14969
|
+
// src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
|
|
15132
14970
|
import { z as z81 } from "zod";
|
|
15133
14971
|
|
|
15134
|
-
// src/cfg/generated/_utils/schemas/
|
|
14972
|
+
// src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
|
|
15135
14973
|
import { z as z80 } from "zod";
|
|
15136
|
-
var
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
status: z80.nativeEnum(TicketStatus).optional(),
|
|
14974
|
+
var PublicDocumentListSchema = z80.object({
|
|
14975
|
+
id: z80.uuid(),
|
|
14976
|
+
title: z80.string().max(512),
|
|
14977
|
+
category: PublicCategorySchema,
|
|
15141
14978
|
created_at: z80.iso.datetime(),
|
|
15142
|
-
|
|
14979
|
+
updated_at: z80.iso.datetime()
|
|
15143
14980
|
});
|
|
15144
14981
|
|
|
15145
|
-
// src/cfg/generated/_utils/schemas/
|
|
15146
|
-
var
|
|
14982
|
+
// src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
|
|
14983
|
+
var PaginatedPublicDocumentListListSchema = z81.object({
|
|
15147
14984
|
count: z81.int(),
|
|
15148
14985
|
page: z81.int(),
|
|
15149
14986
|
pages: z81.int(),
|
|
@@ -15152,333 +14989,374 @@ var PaginatedTicketListSchema = z81.object({
|
|
|
15152
14989
|
has_previous: z81.boolean(),
|
|
15153
14990
|
next_page: z81.int().nullable().optional(),
|
|
15154
14991
|
previous_page: z81.int().nullable().optional(),
|
|
15155
|
-
results: z81.array(
|
|
14992
|
+
results: z81.array(PublicDocumentListSchema)
|
|
15156
14993
|
});
|
|
15157
14994
|
|
|
15158
|
-
// src/cfg/generated/_utils/schemas/
|
|
14995
|
+
// src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
|
|
14996
|
+
import { z as z83 } from "zod";
|
|
14997
|
+
|
|
14998
|
+
// src/cfg/generated/_utils/schemas/Ticket.schema.ts
|
|
15159
14999
|
import { z as z82 } from "zod";
|
|
15160
|
-
var
|
|
15161
|
-
|
|
15162
|
-
|
|
15163
|
-
|
|
15000
|
+
var TicketSchema = z82.object({
|
|
15001
|
+
uuid: z82.uuid(),
|
|
15002
|
+
user: z82.int(),
|
|
15003
|
+
subject: z82.string().max(255),
|
|
15004
|
+
status: z82.nativeEnum(TicketStatus).optional(),
|
|
15005
|
+
created_at: z82.iso.datetime(),
|
|
15006
|
+
unanswered_messages_count: z82.int()
|
|
15164
15007
|
});
|
|
15165
15008
|
|
|
15166
|
-
// src/cfg/generated/_utils/schemas/
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15009
|
+
// src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
|
|
15010
|
+
var PaginatedTicketListSchema = z83.object({
|
|
15011
|
+
count: z83.int(),
|
|
15012
|
+
page: z83.int(),
|
|
15013
|
+
pages: z83.int(),
|
|
15014
|
+
page_size: z83.int(),
|
|
15015
|
+
has_next: z83.boolean(),
|
|
15016
|
+
has_previous: z83.boolean(),
|
|
15017
|
+
next_page: z83.int().nullable().optional(),
|
|
15018
|
+
previous_page: z83.int().nullable().optional(),
|
|
15019
|
+
results: z83.array(TicketSchema)
|
|
15173
15020
|
});
|
|
15174
15021
|
|
|
15175
|
-
// src/cfg/generated/_utils/schemas/
|
|
15022
|
+
// src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
|
|
15176
15023
|
import { z as z84 } from "zod";
|
|
15177
|
-
var
|
|
15178
|
-
message_id: z84.uuid().optional(),
|
|
15024
|
+
var PatchedArchiveItemChunkRequestSchema = z84.object({
|
|
15179
15025
|
content: z84.string().min(1).optional(),
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
processing_time_ms: z84.int().optional(),
|
|
15183
|
-
model_used: z84.string().min(1).optional(),
|
|
15184
|
-
sources: z84.array(ChatSourceRequestSchema).nullable().optional()
|
|
15026
|
+
chunk_index: z84.int().min(0).max(2147483647).optional(),
|
|
15027
|
+
chunk_type: z84.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
|
|
15185
15028
|
});
|
|
15186
15029
|
|
|
15187
|
-
// src/cfg/generated/_utils/schemas/
|
|
15030
|
+
// src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
|
|
15188
15031
|
import { z as z85 } from "zod";
|
|
15189
|
-
var
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
model_name: z85.string().min(1).max(100).optional(),
|
|
15195
|
-
temperature: z85.number().optional(),
|
|
15196
|
-
max_context_chunks: z85.int().min(0).max(2147483647).optional()
|
|
15032
|
+
var PatchedArchiveItemRequestSchema = z85.object({
|
|
15033
|
+
relative_path: z85.string().min(1).max(1024).optional(),
|
|
15034
|
+
item_name: z85.string().min(1).max(255).optional(),
|
|
15035
|
+
item_type: z85.string().min(1).max(100).optional(),
|
|
15036
|
+
file_size: z85.int().min(0).max(2147483647).optional()
|
|
15197
15037
|
});
|
|
15198
15038
|
|
|
15199
|
-
// src/cfg/generated/_utils/schemas/
|
|
15039
|
+
// src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
|
|
15200
15040
|
import { z as z86 } from "zod";
|
|
15201
|
-
var
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15041
|
+
var PatchedChatResponseRequestSchema = z86.object({
|
|
15042
|
+
message_id: z86.uuid().optional(),
|
|
15043
|
+
content: z86.string().min(1).optional(),
|
|
15044
|
+
tokens_used: z86.int().optional(),
|
|
15045
|
+
cost_usd: z86.number().optional(),
|
|
15046
|
+
processing_time_ms: z86.int().optional(),
|
|
15047
|
+
model_used: z86.string().min(1).optional(),
|
|
15048
|
+
sources: z86.array(ChatSourceRequestSchema).nullable().optional()
|
|
15205
15049
|
});
|
|
15206
15050
|
|
|
15207
|
-
// src/cfg/generated/_utils/schemas/
|
|
15051
|
+
// src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
|
|
15208
15052
|
import { z as z87 } from "zod";
|
|
15209
|
-
var
|
|
15210
|
-
title: z87.string().
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15053
|
+
var PatchedChatSessionRequestSchema = z87.object({
|
|
15054
|
+
title: z87.string().max(255).optional(),
|
|
15055
|
+
is_active: z87.boolean().optional(),
|
|
15056
|
+
messages_count: z87.int().min(0).max(2147483647).optional(),
|
|
15057
|
+
total_tokens_used: z87.int().min(0).max(2147483647).optional(),
|
|
15058
|
+
model_name: z87.string().min(1).max(100).optional(),
|
|
15059
|
+
temperature: z87.number().optional(),
|
|
15060
|
+
max_context_chunks: z87.int().min(0).max(2147483647).optional()
|
|
15214
15061
|
});
|
|
15215
15062
|
|
|
15216
|
-
// src/cfg/generated/_utils/schemas/
|
|
15063
|
+
// src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
|
|
15217
15064
|
import { z as z88 } from "zod";
|
|
15218
|
-
var
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
|
|
15222
|
-
company_site: z88.string().max(200).nullable().optional(),
|
|
15223
|
-
contact_type: z88.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
|
|
15224
|
-
contact_value: z88.string().max(200).nullable().optional(),
|
|
15225
|
-
subject: z88.string().max(200).nullable().optional(),
|
|
15226
|
-
message: z88.string().min(1).optional(),
|
|
15227
|
-
extra: z88.string().nullable().optional(),
|
|
15228
|
-
site_url: z88.url().optional()
|
|
15065
|
+
var PatchedDocumentArchiveRequestSchema = z88.object({
|
|
15066
|
+
title: z88.string().min(1).max(512).optional(),
|
|
15067
|
+
description: z88.string().optional(),
|
|
15068
|
+
is_public: z88.boolean().optional()
|
|
15229
15069
|
});
|
|
15230
15070
|
|
|
15231
|
-
// src/cfg/generated/_utils/schemas/
|
|
15071
|
+
// src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
|
|
15232
15072
|
import { z as z89 } from "zod";
|
|
15233
|
-
var
|
|
15234
|
-
|
|
15073
|
+
var PatchedDocumentRequestSchema = z89.object({
|
|
15074
|
+
title: z89.string().min(1).max(512).optional(),
|
|
15075
|
+
file_type: z89.string().min(1).max(100).optional(),
|
|
15076
|
+
file_size: z89.int().min(0).max(2147483647).optional(),
|
|
15077
|
+
metadata: z89.string().nullable().optional()
|
|
15235
15078
|
});
|
|
15236
15079
|
|
|
15237
|
-
// src/cfg/generated/_utils/schemas/
|
|
15080
|
+
// src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
|
|
15238
15081
|
import { z as z90 } from "zod";
|
|
15239
|
-
var
|
|
15240
|
-
|
|
15241
|
-
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15082
|
+
var PatchedLeadSubmissionRequestSchema = z90.object({
|
|
15083
|
+
name: z90.string().min(1).max(200).optional(),
|
|
15084
|
+
email: z90.email().optional(),
|
|
15085
|
+
company: z90.string().max(200).nullable().optional(),
|
|
15086
|
+
company_site: z90.string().max(200).nullable().optional(),
|
|
15087
|
+
contact_type: z90.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
|
|
15088
|
+
contact_value: z90.string().max(200).nullable().optional(),
|
|
15089
|
+
subject: z90.string().max(200).nullable().optional(),
|
|
15090
|
+
message: z90.string().min(1).optional(),
|
|
15091
|
+
extra: z90.string().nullable().optional(),
|
|
15092
|
+
site_url: z90.url().optional()
|
|
15248
15093
|
});
|
|
15249
15094
|
|
|
15250
|
-
// src/cfg/generated/_utils/schemas/
|
|
15095
|
+
// src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
|
|
15251
15096
|
import { z as z91 } from "zod";
|
|
15252
|
-
var
|
|
15253
|
-
|
|
15254
|
-
subject: z91.string().min(1).max(255).optional(),
|
|
15255
|
-
status: z91.nativeEnum(PatchedTicketRequestStatus).optional()
|
|
15097
|
+
var PatchedMessageRequestSchema = z91.object({
|
|
15098
|
+
text: z91.string().min(1).optional()
|
|
15256
15099
|
});
|
|
15257
15100
|
|
|
15258
|
-
// src/cfg/generated/_utils/schemas/
|
|
15101
|
+
// src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
|
|
15259
15102
|
import { z as z92 } from "zod";
|
|
15260
|
-
var
|
|
15261
|
-
|
|
15103
|
+
var PatchedNewsletterCampaignRequestSchema = z92.object({
|
|
15104
|
+
newsletter: z92.int().optional(),
|
|
15105
|
+
subject: z92.string().min(1).max(255).optional(),
|
|
15106
|
+
email_title: z92.string().min(1).max(255).optional(),
|
|
15107
|
+
main_text: z92.string().min(1).optional(),
|
|
15108
|
+
main_html_content: z92.string().optional(),
|
|
15109
|
+
button_text: z92.string().max(100).optional(),
|
|
15110
|
+
button_url: z92.url().optional(),
|
|
15111
|
+
secondary_text: z92.string().optional()
|
|
15262
15112
|
});
|
|
15263
15113
|
|
|
15264
|
-
// src/cfg/generated/_utils/schemas/
|
|
15114
|
+
// src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
|
|
15265
15115
|
import { z as z93 } from "zod";
|
|
15266
|
-
var
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
phone: z93.string().max(20).optional(),
|
|
15271
|
-
position: z93.string().max(100).optional()
|
|
15116
|
+
var PatchedTicketRequestSchema = z93.object({
|
|
15117
|
+
user: z93.int().optional(),
|
|
15118
|
+
subject: z93.string().min(1).max(255).optional(),
|
|
15119
|
+
status: z93.nativeEnum(PatchedTicketRequestStatus).optional()
|
|
15272
15120
|
});
|
|
15273
15121
|
|
|
15274
|
-
// src/cfg/generated/_utils/schemas/
|
|
15122
|
+
// src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
|
|
15275
15123
|
import { z as z94 } from "zod";
|
|
15276
|
-
var
|
|
15277
|
-
|
|
15278
|
-
internal_payment_id: z94.string(),
|
|
15279
|
-
amount_usd: z94.string(),
|
|
15280
|
-
currency_code: z94.string(),
|
|
15281
|
-
currency_name: z94.string(),
|
|
15282
|
-
currency_token: z94.string(),
|
|
15283
|
-
currency_network: z94.string(),
|
|
15284
|
-
pay_amount: z94.string().nullable(),
|
|
15285
|
-
actual_amount: z94.string().nullable(),
|
|
15286
|
-
actual_amount_usd: z94.string().nullable(),
|
|
15287
|
-
status: z94.nativeEnum(PaymentDetailStatus),
|
|
15288
|
-
status_display: z94.string(),
|
|
15289
|
-
pay_address: z94.string().nullable(),
|
|
15290
|
-
qr_code_url: z94.string(),
|
|
15291
|
-
payment_url: z94.url().nullable(),
|
|
15292
|
-
transaction_hash: z94.string().nullable(),
|
|
15293
|
-
explorer_link: z94.string(),
|
|
15294
|
-
confirmations_count: z94.int(),
|
|
15295
|
-
expires_at: z94.iso.datetime().nullable(),
|
|
15296
|
-
completed_at: z94.iso.datetime().nullable(),
|
|
15297
|
-
created_at: z94.iso.datetime(),
|
|
15298
|
-
is_completed: z94.boolean(),
|
|
15299
|
-
is_failed: z94.boolean(),
|
|
15300
|
-
is_expired: z94.boolean(),
|
|
15301
|
-
description: z94.string()
|
|
15124
|
+
var PatchedUnsubscribeRequestSchema = z94.object({
|
|
15125
|
+
subscription_id: z94.int().optional()
|
|
15302
15126
|
});
|
|
15303
15127
|
|
|
15304
|
-
// src/cfg/generated/_utils/schemas/
|
|
15128
|
+
// src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
|
|
15305
15129
|
import { z as z95 } from "zod";
|
|
15306
|
-
var
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
updated_at: z95.iso.datetime()
|
|
15130
|
+
var PatchedUserProfileUpdateRequestSchema = z95.object({
|
|
15131
|
+
first_name: z95.string().max(50).optional(),
|
|
15132
|
+
last_name: z95.string().max(50).optional(),
|
|
15133
|
+
company: z95.string().max(100).optional(),
|
|
15134
|
+
phone: z95.string().max(20).optional(),
|
|
15135
|
+
position: z95.string().max(100).optional()
|
|
15313
15136
|
});
|
|
15314
15137
|
|
|
15315
|
-
// src/cfg/generated/_utils/schemas/
|
|
15138
|
+
// src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
|
|
15316
15139
|
import { z as z96 } from "zod";
|
|
15317
|
-
var
|
|
15318
|
-
|
|
15319
|
-
|
|
15140
|
+
var PaymentDetailSchema = z96.object({
|
|
15141
|
+
id: z96.uuid(),
|
|
15142
|
+
internal_payment_id: z96.string(),
|
|
15143
|
+
amount_usd: z96.string(),
|
|
15144
|
+
currency_code: z96.string(),
|
|
15145
|
+
currency_name: z96.string(),
|
|
15146
|
+
currency_token: z96.string(),
|
|
15147
|
+
currency_network: z96.string(),
|
|
15148
|
+
pay_amount: z96.string().nullable(),
|
|
15149
|
+
actual_amount: z96.string().nullable(),
|
|
15150
|
+
actual_amount_usd: z96.string().nullable(),
|
|
15151
|
+
status: z96.nativeEnum(PaymentDetailStatus),
|
|
15152
|
+
status_display: z96.string(),
|
|
15153
|
+
pay_address: z96.string().nullable(),
|
|
15154
|
+
qr_code_url: z96.string().nullable(),
|
|
15155
|
+
payment_url: z96.url().nullable(),
|
|
15156
|
+
transaction_hash: z96.string().nullable(),
|
|
15157
|
+
explorer_link: z96.string().nullable(),
|
|
15158
|
+
confirmations_count: z96.int(),
|
|
15159
|
+
expires_at: z96.iso.datetime().nullable(),
|
|
15160
|
+
completed_at: z96.iso.datetime().nullable(),
|
|
15161
|
+
created_at: z96.iso.datetime(),
|
|
15162
|
+
is_completed: z96.boolean(),
|
|
15163
|
+
is_failed: z96.boolean(),
|
|
15164
|
+
is_expired: z96.boolean(),
|
|
15165
|
+
description: z96.string()
|
|
15320
15166
|
});
|
|
15321
15167
|
|
|
15322
|
-
// src/cfg/generated/_utils/schemas/
|
|
15168
|
+
// src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
|
|
15323
15169
|
import { z as z97 } from "zod";
|
|
15324
|
-
var
|
|
15325
|
-
|
|
15326
|
-
|
|
15170
|
+
var PublicDocumentSchema = z97.object({
|
|
15171
|
+
id: z97.uuid(),
|
|
15172
|
+
title: z97.string().max(512),
|
|
15173
|
+
content: z97.string(),
|
|
15174
|
+
category: PublicCategorySchema,
|
|
15175
|
+
created_at: z97.iso.datetime(),
|
|
15176
|
+
updated_at: z97.iso.datetime()
|
|
15327
15177
|
});
|
|
15328
15178
|
|
|
15329
|
-
// src/cfg/generated/_utils/schemas/
|
|
15179
|
+
// src/cfg/generated/_utils/schemas/QueueAction.schema.ts
|
|
15330
15180
|
import { z as z98 } from "zod";
|
|
15331
|
-
var
|
|
15332
|
-
|
|
15333
|
-
|
|
15334
|
-
redis_connected: z98.boolean(),
|
|
15335
|
-
timestamp: z98.string(),
|
|
15336
|
-
error: z98.string().optional()
|
|
15181
|
+
var QueueActionSchema = z98.object({
|
|
15182
|
+
action: z98.nativeEnum(QueueActionAction),
|
|
15183
|
+
queue_names: z98.array(z98.string()).optional()
|
|
15337
15184
|
});
|
|
15338
15185
|
|
|
15339
|
-
// src/cfg/generated/_utils/schemas/
|
|
15186
|
+
// src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
|
|
15340
15187
|
import { z as z99 } from "zod";
|
|
15341
|
-
var
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
error: z99.string().optional()
|
|
15188
|
+
var QueueActionRequestSchema = z99.object({
|
|
15189
|
+
action: z99.nativeEnum(QueueActionRequestAction),
|
|
15190
|
+
queue_names: z99.array(z99.string().min(1)).optional()
|
|
15345
15191
|
});
|
|
15346
15192
|
|
|
15347
|
-
// src/cfg/generated/_utils/schemas/
|
|
15193
|
+
// src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
|
|
15348
15194
|
import { z as z100 } from "zod";
|
|
15349
|
-
var
|
|
15350
|
-
|
|
15195
|
+
var QueueStatusSchema = z100.object({
|
|
15196
|
+
queues: z100.record(z100.string(), z100.any()),
|
|
15197
|
+
workers: z100.int(),
|
|
15198
|
+
redis_connected: z100.boolean(),
|
|
15199
|
+
timestamp: z100.string(),
|
|
15200
|
+
error: z100.string().optional()
|
|
15351
15201
|
});
|
|
15352
15202
|
|
|
15353
|
-
// src/cfg/generated/_utils/schemas/
|
|
15203
|
+
// src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
|
|
15354
15204
|
import { z as z101 } from "zod";
|
|
15355
|
-
var
|
|
15356
|
-
|
|
15357
|
-
|
|
15358
|
-
sent_count: z101.int().optional(),
|
|
15205
|
+
var QuickHealthSchema = z101.object({
|
|
15206
|
+
status: z101.string(),
|
|
15207
|
+
timestamp: z101.iso.datetime(),
|
|
15359
15208
|
error: z101.string().optional()
|
|
15360
15209
|
});
|
|
15361
15210
|
|
|
15362
|
-
// src/cfg/generated/_utils/schemas/
|
|
15211
|
+
// src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
|
|
15363
15212
|
import { z as z102 } from "zod";
|
|
15364
|
-
var
|
|
15365
|
-
|
|
15366
|
-
email: z102.email()
|
|
15213
|
+
var SendCampaignRequestSchema = z102.object({
|
|
15214
|
+
campaign_id: z102.int()
|
|
15367
15215
|
});
|
|
15368
15216
|
|
|
15369
|
-
// src/cfg/generated/_utils/schemas/
|
|
15217
|
+
// src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
|
|
15370
15218
|
import { z as z103 } from "zod";
|
|
15371
|
-
var
|
|
15219
|
+
var SendCampaignResponseSchema = z103.object({
|
|
15372
15220
|
success: z103.boolean(),
|
|
15373
|
-
message: z103.string(),
|
|
15374
|
-
|
|
15221
|
+
message: z103.string().optional(),
|
|
15222
|
+
sent_count: z103.int().optional(),
|
|
15223
|
+
error: z103.string().optional()
|
|
15375
15224
|
});
|
|
15376
15225
|
|
|
15377
|
-
// src/cfg/generated/_utils/schemas/
|
|
15226
|
+
// src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
|
|
15378
15227
|
import { z as z104 } from "zod";
|
|
15379
|
-
var
|
|
15380
|
-
|
|
15381
|
-
|
|
15228
|
+
var SubscribeRequestSchema = z104.object({
|
|
15229
|
+
newsletter_id: z104.int(),
|
|
15230
|
+
email: z104.email()
|
|
15382
15231
|
});
|
|
15383
15232
|
|
|
15384
|
-
// src/cfg/generated/_utils/schemas/
|
|
15233
|
+
// src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
|
|
15385
15234
|
import { z as z105 } from "zod";
|
|
15386
|
-
var
|
|
15387
|
-
|
|
15388
|
-
|
|
15389
|
-
|
|
15390
|
-
error: z105.string().optional()
|
|
15235
|
+
var SubscribeResponseSchema = z105.object({
|
|
15236
|
+
success: z105.boolean(),
|
|
15237
|
+
message: z105.string(),
|
|
15238
|
+
subscription_id: z105.int().optional()
|
|
15391
15239
|
});
|
|
15392
15240
|
|
|
15393
|
-
// src/cfg/generated/_utils/schemas/
|
|
15241
|
+
// src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
|
|
15394
15242
|
import { z as z106 } from "zod";
|
|
15395
|
-
var
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
message: z106.string().min(1).optional()
|
|
15243
|
+
var SuccessResponseSchema = z106.object({
|
|
15244
|
+
success: z106.boolean(),
|
|
15245
|
+
message: z106.string()
|
|
15399
15246
|
});
|
|
15400
15247
|
|
|
15401
|
-
// src/cfg/generated/_utils/schemas/
|
|
15248
|
+
// src/cfg/generated/_utils/schemas/TaskStatistics.schema.ts
|
|
15402
15249
|
import { z as z107 } from "zod";
|
|
15403
|
-
var
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15250
|
+
var TaskStatisticsSchema = z107.object({
|
|
15251
|
+
statistics: z107.record(z107.string(), z107.any()),
|
|
15252
|
+
recent_tasks: z107.array(z107.record(z107.string(), z107.any())),
|
|
15253
|
+
timestamp: z107.string(),
|
|
15254
|
+
error: z107.string().optional()
|
|
15407
15255
|
});
|
|
15408
15256
|
|
|
15409
|
-
// src/cfg/generated/_utils/schemas/
|
|
15257
|
+
// src/cfg/generated/_utils/schemas/TestEmailRequest.schema.ts
|
|
15410
15258
|
import { z as z108 } from "zod";
|
|
15411
|
-
var
|
|
15412
|
-
|
|
15413
|
-
|
|
15259
|
+
var TestEmailRequestSchema = z108.object({
|
|
15260
|
+
email: z108.email(),
|
|
15261
|
+
subject: z108.string().min(1).max(255).optional(),
|
|
15262
|
+
message: z108.string().min(1).optional()
|
|
15414
15263
|
});
|
|
15415
15264
|
|
|
15416
|
-
// src/cfg/generated/_utils/schemas/
|
|
15265
|
+
// src/cfg/generated/_utils/schemas/TicketRequest.schema.ts
|
|
15417
15266
|
import { z as z109 } from "zod";
|
|
15418
|
-
var
|
|
15419
|
-
|
|
15267
|
+
var TicketRequestSchema = z109.object({
|
|
15268
|
+
user: z109.int(),
|
|
15269
|
+
subject: z109.string().min(1).max(255),
|
|
15270
|
+
status: z109.nativeEnum(TicketRequestStatus).optional()
|
|
15420
15271
|
});
|
|
15421
15272
|
|
|
15422
|
-
// src/cfg/generated/_utils/schemas/
|
|
15273
|
+
// src/cfg/generated/_utils/schemas/TokenRefresh.schema.ts
|
|
15423
15274
|
import { z as z110 } from "zod";
|
|
15424
|
-
var
|
|
15425
|
-
|
|
15275
|
+
var TokenRefreshSchema = z110.object({
|
|
15276
|
+
access: z110.string(),
|
|
15277
|
+
refresh: z110.string()
|
|
15426
15278
|
});
|
|
15427
15279
|
|
|
15428
|
-
// src/cfg/generated/_utils/schemas/
|
|
15280
|
+
// src/cfg/generated/_utils/schemas/TokenRefreshRequest.schema.ts
|
|
15429
15281
|
import { z as z111 } from "zod";
|
|
15430
|
-
var
|
|
15431
|
-
|
|
15282
|
+
var TokenRefreshRequestSchema = z111.object({
|
|
15283
|
+
refresh: z111.string().min(1)
|
|
15432
15284
|
});
|
|
15433
15285
|
|
|
15434
|
-
// src/cfg/generated/_utils/schemas/
|
|
15286
|
+
// src/cfg/generated/_utils/schemas/Transaction.schema.ts
|
|
15435
15287
|
import { z as z112 } from "zod";
|
|
15436
|
-
var
|
|
15437
|
-
|
|
15438
|
-
|
|
15439
|
-
|
|
15440
|
-
|
|
15441
|
-
|
|
15288
|
+
var TransactionSchema = z112.object({
|
|
15289
|
+
id: z112.uuid(),
|
|
15290
|
+
transaction_type: z112.nativeEnum(TransactionTransactionType),
|
|
15291
|
+
type_display: z112.string(),
|
|
15292
|
+
amount_usd: z112.string(),
|
|
15293
|
+
amount_display: z112.string(),
|
|
15294
|
+
balance_after: z112.string(),
|
|
15295
|
+
payment_id: z112.string().nullable(),
|
|
15296
|
+
description: z112.string(),
|
|
15297
|
+
created_at: z112.iso.datetime()
|
|
15442
15298
|
});
|
|
15443
15299
|
|
|
15444
|
-
// src/cfg/generated/_utils/schemas/
|
|
15300
|
+
// src/cfg/generated/_utils/schemas/Unsubscribe.schema.ts
|
|
15445
15301
|
import { z as z113 } from "zod";
|
|
15446
|
-
var
|
|
15447
|
-
|
|
15448
|
-
failed_count: z113.int(),
|
|
15449
|
-
total_tokens: z113.int(),
|
|
15450
|
-
total_cost: z113.number(),
|
|
15451
|
-
success_rate: z113.number(),
|
|
15452
|
-
errors: z113.array(z113.string())
|
|
15302
|
+
var UnsubscribeSchema = z113.object({
|
|
15303
|
+
subscription_id: z113.int()
|
|
15453
15304
|
});
|
|
15454
15305
|
|
|
15455
|
-
// src/cfg/generated/_utils/schemas/
|
|
15306
|
+
// src/cfg/generated/_utils/schemas/UnsubscribeRequest.schema.ts
|
|
15456
15307
|
import { z as z114 } from "zod";
|
|
15457
|
-
var
|
|
15458
|
-
|
|
15459
|
-
vectorized_chunks: z114.int(),
|
|
15460
|
-
pending_chunks: z114.int(),
|
|
15461
|
-
vectorization_rate: z114.number(),
|
|
15462
|
-
total_tokens: z114.int(),
|
|
15463
|
-
total_cost: z114.number(),
|
|
15464
|
-
avg_tokens_per_chunk: z114.number(),
|
|
15465
|
-
avg_cost_per_chunk: z114.number()
|
|
15308
|
+
var UnsubscribeRequestSchema = z114.object({
|
|
15309
|
+
subscription_id: z114.int()
|
|
15466
15310
|
});
|
|
15467
15311
|
|
|
15468
|
-
// src/cfg/generated/_utils/schemas/
|
|
15312
|
+
// src/cfg/generated/_utils/schemas/UserProfileUpdateRequest.schema.ts
|
|
15469
15313
|
import { z as z115 } from "zod";
|
|
15470
|
-
var
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15314
|
+
var UserProfileUpdateRequestSchema = z115.object({
|
|
15315
|
+
first_name: z115.string().max(50).optional(),
|
|
15316
|
+
last_name: z115.string().max(50).optional(),
|
|
15317
|
+
company: z115.string().max(100).optional(),
|
|
15318
|
+
phone: z115.string().max(20).optional(),
|
|
15319
|
+
position: z115.string().max(100).optional()
|
|
15474
15320
|
});
|
|
15475
15321
|
|
|
15476
|
-
// src/cfg/generated/_utils/schemas/
|
|
15322
|
+
// src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts
|
|
15477
15323
|
import { z as z116 } from "zod";
|
|
15478
|
-
var
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
|
|
15324
|
+
var VectorizationResultSchema = z116.object({
|
|
15325
|
+
vectorized_count: z116.int(),
|
|
15326
|
+
failed_count: z116.int(),
|
|
15327
|
+
total_tokens: z116.int(),
|
|
15328
|
+
total_cost: z116.number(),
|
|
15329
|
+
success_rate: z116.number(),
|
|
15330
|
+
errors: z116.array(z116.string())
|
|
15331
|
+
});
|
|
15332
|
+
|
|
15333
|
+
// src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts
|
|
15334
|
+
import { z as z117 } from "zod";
|
|
15335
|
+
var VectorizationStatisticsSchema = z117.object({
|
|
15336
|
+
total_chunks: z117.int(),
|
|
15337
|
+
vectorized_chunks: z117.int(),
|
|
15338
|
+
pending_chunks: z117.int(),
|
|
15339
|
+
vectorization_rate: z117.number(),
|
|
15340
|
+
total_tokens: z117.int(),
|
|
15341
|
+
total_cost: z117.number(),
|
|
15342
|
+
avg_tokens_per_chunk: z117.number(),
|
|
15343
|
+
avg_cost_per_chunk: z117.number()
|
|
15344
|
+
});
|
|
15345
|
+
|
|
15346
|
+
// src/cfg/generated/_utils/schemas/WorkerAction.schema.ts
|
|
15347
|
+
import { z as z118 } from "zod";
|
|
15348
|
+
var WorkerActionSchema = z118.object({
|
|
15349
|
+
action: z118.nativeEnum(WorkerActionAction),
|
|
15350
|
+
processes: z118.int().min(1).max(10).optional(),
|
|
15351
|
+
threads: z118.int().min(1).max(20).optional()
|
|
15352
|
+
});
|
|
15353
|
+
|
|
15354
|
+
// src/cfg/generated/_utils/schemas/WorkerActionRequest.schema.ts
|
|
15355
|
+
import { z as z119 } from "zod";
|
|
15356
|
+
var WorkerActionRequestSchema = z119.object({
|
|
15357
|
+
action: z119.nativeEnum(WorkerActionRequestAction),
|
|
15358
|
+
processes: z119.int().min(1).max(10).optional(),
|
|
15359
|
+
threads: z119.int().min(1).max(20).optional()
|
|
15482
15360
|
});
|
|
15483
15361
|
|
|
15484
15362
|
// src/cfg/generated/_utils/fetchers/index.ts
|
|
@@ -15568,11 +15446,11 @@ __export(fetchers_exports, {
|
|
|
15568
15446
|
getNewsletterNewslettersRetrieve: () => getNewsletterNewslettersRetrieve,
|
|
15569
15447
|
getNewsletterSubscriptionsList: () => getNewsletterSubscriptionsList,
|
|
15570
15448
|
getPaymentsBalanceRetrieve: () => getPaymentsBalanceRetrieve,
|
|
15571
|
-
|
|
15449
|
+
getPaymentsCurrenciesList: () => getPaymentsCurrenciesList,
|
|
15572
15450
|
getPaymentsPaymentsList: () => getPaymentsPaymentsList,
|
|
15573
15451
|
getPaymentsPaymentsRetrieve: () => getPaymentsPaymentsRetrieve,
|
|
15574
15452
|
getPaymentsPaymentsStatusRetrieve: () => getPaymentsPaymentsStatusRetrieve,
|
|
15575
|
-
|
|
15453
|
+
getPaymentsTransactionsList: () => getPaymentsTransactionsList,
|
|
15576
15454
|
getSupportTicketsList: () => getSupportTicketsList,
|
|
15577
15455
|
getSupportTicketsMessagesList: () => getSupportTicketsMessagesList,
|
|
15578
15456
|
getSupportTicketsMessagesRetrieve: () => getSupportTicketsMessagesRetrieve,
|
|
@@ -16149,11 +16027,11 @@ async function createNewsletterTestCreate(data, client) {
|
|
|
16149
16027
|
async function getPaymentsBalanceRetrieve(client) {
|
|
16150
16028
|
const api2 = client || getAPIInstance();
|
|
16151
16029
|
const response = await api2.cfg_payments.balanceRetrieve();
|
|
16152
|
-
return response;
|
|
16030
|
+
return BalanceSchema.parse(response);
|
|
16153
16031
|
}
|
|
16154
|
-
async function
|
|
16032
|
+
async function getPaymentsCurrenciesList(client) {
|
|
16155
16033
|
const api2 = client || getAPIInstance();
|
|
16156
|
-
const response = await api2.cfg_payments.
|
|
16034
|
+
const response = await api2.cfg_payments.currenciesList();
|
|
16157
16035
|
return response;
|
|
16158
16036
|
}
|
|
16159
16037
|
async function getPaymentsPaymentsList(params, client) {
|
|
@@ -16181,9 +16059,9 @@ async function createPaymentsPaymentsCreateCreate(client) {
|
|
|
16181
16059
|
const response = await api2.cfg_payments.paymentsCreateCreate();
|
|
16182
16060
|
return PaymentListSchema.parse(response);
|
|
16183
16061
|
}
|
|
16184
|
-
async function
|
|
16062
|
+
async function getPaymentsTransactionsList(params, client) {
|
|
16185
16063
|
const api2 = client || getAPIInstance();
|
|
16186
|
-
const response = await api2.cfg_payments.
|
|
16064
|
+
const response = await api2.cfg_payments.transactionsList(params?.limit, params?.offset, params?.type);
|
|
16187
16065
|
return response;
|
|
16188
16066
|
}
|
|
16189
16067
|
|
|
@@ -16402,11 +16280,11 @@ __export(hooks_exports, {
|
|
|
16402
16280
|
usePartialUpdateSupportTicketsMessagesPartialUpdate: () => usePartialUpdateSupportTicketsMessagesPartialUpdate,
|
|
16403
16281
|
usePartialUpdateSupportTicketsPartialUpdate: () => usePartialUpdateSupportTicketsPartialUpdate,
|
|
16404
16282
|
usePaymentsBalanceRetrieve: () => usePaymentsBalanceRetrieve,
|
|
16405
|
-
|
|
16283
|
+
usePaymentsCurrenciesList: () => usePaymentsCurrenciesList,
|
|
16406
16284
|
usePaymentsPaymentsList: () => usePaymentsPaymentsList,
|
|
16407
16285
|
usePaymentsPaymentsRetrieve: () => usePaymentsPaymentsRetrieve,
|
|
16408
16286
|
usePaymentsPaymentsStatusRetrieve: () => usePaymentsPaymentsStatusRetrieve,
|
|
16409
|
-
|
|
16287
|
+
usePaymentsTransactionsList: () => usePaymentsTransactionsList,
|
|
16410
16288
|
useSupportTicketsList: () => useSupportTicketsList,
|
|
16411
16289
|
useSupportTicketsMessagesList: () => useSupportTicketsMessagesList,
|
|
16412
16290
|
useSupportTicketsMessagesRetrieve: () => useSupportTicketsMessagesRetrieve,
|
|
@@ -17170,10 +17048,10 @@ function usePaymentsBalanceRetrieve(client) {
|
|
|
17170
17048
|
() => getPaymentsBalanceRetrieve(client)
|
|
17171
17049
|
);
|
|
17172
17050
|
}
|
|
17173
|
-
function
|
|
17051
|
+
function usePaymentsCurrenciesList(client) {
|
|
17174
17052
|
return useSWR10(
|
|
17175
|
-
"cfg-payments-
|
|
17176
|
-
() =>
|
|
17053
|
+
"cfg-payments-currencies",
|
|
17054
|
+
() => getPaymentsCurrenciesList(client)
|
|
17177
17055
|
);
|
|
17178
17056
|
}
|
|
17179
17057
|
function usePaymentsPaymentsList(params, client) {
|
|
@@ -17210,10 +17088,10 @@ function useCreatePaymentsPaymentsCreateCreate() {
|
|
|
17210
17088
|
return result;
|
|
17211
17089
|
};
|
|
17212
17090
|
}
|
|
17213
|
-
function
|
|
17091
|
+
function usePaymentsTransactionsList(params, client) {
|
|
17214
17092
|
return useSWR10(
|
|
17215
|
-
"cfg-payments-
|
|
17216
|
-
() =>
|
|
17093
|
+
params ? ["cfg-payments-transactions", params] : "cfg-payments-transactions",
|
|
17094
|
+
() => getPaymentsTransactionsList(params, client)
|
|
17217
17095
|
);
|
|
17218
17096
|
}
|
|
17219
17097
|
|
|
@@ -18953,7 +18831,7 @@ function CurrenciesProvider({ children }) {
|
|
|
18953
18831
|
error: currenciesError,
|
|
18954
18832
|
isLoading: isLoadingCurrencies,
|
|
18955
18833
|
mutate: mutateCurrencies
|
|
18956
|
-
} =
|
|
18834
|
+
} = usePaymentsCurrenciesList(api);
|
|
18957
18835
|
const refreshCurrencies = async () => {
|
|
18958
18836
|
await mutateCurrencies();
|
|
18959
18837
|
};
|
|
@@ -19036,7 +18914,7 @@ function OverviewProvider({ children }) {
|
|
|
19036
18914
|
error: transactionsError,
|
|
19037
18915
|
isLoading: isLoadingTransactions,
|
|
19038
18916
|
mutate: mutateTransactions
|
|
19039
|
-
} =
|
|
18917
|
+
} = usePaymentsTransactionsList({}, api);
|
|
19040
18918
|
const createPaymentMutation = useCreatePaymentsPaymentsCreateCreate();
|
|
19041
18919
|
const isLoadingOverview = isLoadingBalance || isLoadingPayments || isLoadingTransactions;
|
|
19042
18920
|
const overviewError = balanceError || paymentsError || transactionsError;
|
|
@@ -19099,7 +18977,7 @@ function RootPaymentsProvider({ children }) {
|
|
|
19099
18977
|
error: currenciesError,
|
|
19100
18978
|
isLoading: isLoadingCurrencies,
|
|
19101
18979
|
mutate: mutateCurrencies
|
|
19102
|
-
} =
|
|
18980
|
+
} = usePaymentsCurrenciesList(api);
|
|
19103
18981
|
const refreshCurrencies = async () => {
|
|
19104
18982
|
await mutateCurrencies();
|
|
19105
18983
|
};
|
|
@@ -19553,11 +19431,11 @@ export {
|
|
|
19553
19431
|
getNewsletterNewslettersRetrieve,
|
|
19554
19432
|
getNewsletterSubscriptionsList,
|
|
19555
19433
|
getPaymentsBalanceRetrieve,
|
|
19556
|
-
|
|
19434
|
+
getPaymentsCurrenciesList,
|
|
19557
19435
|
getPaymentsPaymentsList,
|
|
19558
19436
|
getPaymentsPaymentsRetrieve,
|
|
19559
19437
|
getPaymentsPaymentsStatusRetrieve,
|
|
19560
|
-
|
|
19438
|
+
getPaymentsTransactionsList,
|
|
19561
19439
|
getSupportTicketsList,
|
|
19562
19440
|
getSupportTicketsMessagesList,
|
|
19563
19441
|
getSupportTicketsMessagesRetrieve,
|