@djangocfg/api 1.0.2 → 1.0.3
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 +1572 -2035
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +299 -144
- package/dist/index.d.ts +299 -144
- package/dist/index.mjs +1570 -1744
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/contexts/payments/ApiKeysContext.tsx +2 -2
- package/src/cfg/contexts/payments/CurrenciesContext.tsx +0 -26
- package/src/cfg/contexts/payments/OverviewContext.tsx +79 -0
- package/src/cfg/contexts/payments/RootPaymentsContext.tsx +137 -0
- package/src/cfg/contexts/payments/index.ts +13 -0
- package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +12 -10
- package/src/cfg/generated/_utils/hooks/cfg__payments.ts +12 -10
- package/src/cfg/generated/_utils/schemas/APIKeyValidationResponse.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/AdminPaymentDetail.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/AdminPaymentList.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/CurrencyList.schema.ts +2 -0
- package/src/cfg/generated/_utils/schemas/CurrencyRates.schema.ts +26 -0
- package/src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/Network.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/Payment.schema.ts +1 -0
- package/src/cfg/generated/_utils/schemas/PaymentCreate.schema.ts +0 -1
- package/src/cfg/generated/_utils/schemas/PaymentCreateRequest.schema.ts +0 -1
- package/src/cfg/generated/_utils/schemas/PaymentsMetrics.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/ProviderCurrency.schema.ts +1 -1
- package/src/cfg/generated/_utils/schemas/SupportedCurrencies.schema.ts +25 -0
- package/src/cfg/generated/_utils/schemas/index.ts +2 -0
- package/src/cfg/generated/cfg__payments/client.ts +24 -44
- package/src/cfg/generated/cfg__payments/models.ts +46 -12
- package/src/cfg/generated/enums.ts +34 -22
- package/src/cfg/generated/index.ts +2 -3
- package/src/cfg/generated/schema.ts +90 -74
- package/src/index.ts +20 -1
package/dist/index.mjs
CHANGED
|
@@ -1341,8 +1341,9 @@ var CfgPayments = class {
|
|
|
1341
1341
|
return response;
|
|
1342
1342
|
}
|
|
1343
1343
|
/**
|
|
1344
|
-
*
|
|
1345
|
-
*
|
|
1344
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1345
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1346
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1346
1347
|
*/
|
|
1347
1348
|
async apiKeysList(...args) {
|
|
1348
1349
|
const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
|
|
@@ -1356,40 +1357,45 @@ var CfgPayments = class {
|
|
|
1356
1357
|
return response;
|
|
1357
1358
|
}
|
|
1358
1359
|
/**
|
|
1359
|
-
*
|
|
1360
|
-
*
|
|
1360
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1361
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1362
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1361
1363
|
*/
|
|
1362
1364
|
async apiKeysCreate(data) {
|
|
1363
1365
|
const response = await this.client.request("POST", "/cfg/payments/api-keys/", { body: data });
|
|
1364
1366
|
return response;
|
|
1365
1367
|
}
|
|
1366
1368
|
/**
|
|
1367
|
-
*
|
|
1368
|
-
*
|
|
1369
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1370
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1371
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1369
1372
|
*/
|
|
1370
1373
|
async apiKeysRetrieve(id) {
|
|
1371
1374
|
const response = await this.client.request("GET", `/cfg/payments/api-keys/${id}/`);
|
|
1372
1375
|
return response;
|
|
1373
1376
|
}
|
|
1374
1377
|
/**
|
|
1375
|
-
*
|
|
1376
|
-
*
|
|
1378
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1379
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1380
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1377
1381
|
*/
|
|
1378
1382
|
async apiKeysUpdate(id, data) {
|
|
1379
1383
|
const response = await this.client.request("PUT", `/cfg/payments/api-keys/${id}/`, { body: data });
|
|
1380
1384
|
return response;
|
|
1381
1385
|
}
|
|
1382
1386
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
*
|
|
1387
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1388
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1389
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1385
1390
|
*/
|
|
1386
1391
|
async apiKeysPartialUpdate(id, data) {
|
|
1387
1392
|
const response = await this.client.request("PATCH", `/cfg/payments/api-keys/${id}/`, { body: data });
|
|
1388
1393
|
return response;
|
|
1389
1394
|
}
|
|
1390
1395
|
/**
|
|
1391
|
-
*
|
|
1392
|
-
*
|
|
1396
|
+
* API Key ViewSet: /api/api-keys/ User-specific access to API keys with
|
|
1397
|
+
* filtering and stats. - Regular users: can only see/manage their own API
|
|
1398
|
+
* keys - Staff/Admin: can see/manage all API keys
|
|
1393
1399
|
*/
|
|
1394
1400
|
async apiKeysDestroy(id) {
|
|
1395
1401
|
const response = await this.client.request("DELETE", `/cfg/payments/api-keys/${id}/`);
|
|
@@ -1593,19 +1599,10 @@ var CfgPayments = class {
|
|
|
1593
1599
|
return response;
|
|
1594
1600
|
}
|
|
1595
1601
|
/**
|
|
1596
|
-
* Get exchange rates
|
|
1597
|
-
*
|
|
1598
|
-
* Get current exchange rates for specified currencies
|
|
1602
|
+
* Get current exchange rates.
|
|
1599
1603
|
*/
|
|
1600
|
-
async currenciesRatesRetrieve(
|
|
1601
|
-
const
|
|
1602
|
-
let params;
|
|
1603
|
-
if (isParamsObject) {
|
|
1604
|
-
params = args[0];
|
|
1605
|
-
} else {
|
|
1606
|
-
params = { base_currency: args[0], currencies: args[1] };
|
|
1607
|
-
}
|
|
1608
|
-
const response = await this.client.request("GET", "/cfg/payments/currencies/rates/", { params });
|
|
1604
|
+
async currenciesRatesRetrieve() {
|
|
1605
|
+
const response = await this.client.request("GET", "/cfg/payments/currencies/rates/");
|
|
1609
1606
|
return response;
|
|
1610
1607
|
}
|
|
1611
1608
|
/**
|
|
@@ -1624,19 +1621,10 @@ var CfgPayments = class {
|
|
|
1624
1621
|
return response;
|
|
1625
1622
|
}
|
|
1626
1623
|
/**
|
|
1627
|
-
* Get supported currencies
|
|
1628
|
-
*
|
|
1629
|
-
* Get list of supported currencies from payment providers
|
|
1624
|
+
* Get supported currencies from providers.
|
|
1630
1625
|
*/
|
|
1631
|
-
async currenciesSupportedRetrieve(
|
|
1632
|
-
const
|
|
1633
|
-
let params;
|
|
1634
|
-
if (isParamsObject) {
|
|
1635
|
-
params = args[0];
|
|
1636
|
-
} else {
|
|
1637
|
-
params = { currency_type: args[0], provider: args[1] };
|
|
1638
|
-
}
|
|
1639
|
-
const response = await this.client.request("GET", "/cfg/payments/currencies/supported/", { params });
|
|
1626
|
+
async currenciesSupportedRetrieve() {
|
|
1627
|
+
const response = await this.client.request("GET", "/cfg/payments/currencies/supported/");
|
|
1640
1628
|
return response;
|
|
1641
1629
|
}
|
|
1642
1630
|
/**
|
|
@@ -5745,6 +5733,19 @@ var OPENAPI_SCHEMA = {
|
|
|
5745
5733
|
"type_display": {
|
|
5746
5734
|
"readOnly": true,
|
|
5747
5735
|
"type": "string"
|
|
5736
|
+
},
|
|
5737
|
+
"usd_rate": {
|
|
5738
|
+
"description": "Current USD exchange rate (1 unit = X USD)",
|
|
5739
|
+
"format": "double",
|
|
5740
|
+
"readOnly": true,
|
|
5741
|
+
"type": "number"
|
|
5742
|
+
},
|
|
5743
|
+
"usd_rate_updated_at": {
|
|
5744
|
+
"description": "When USD rate was last updated",
|
|
5745
|
+
"format": "date-time",
|
|
5746
|
+
"nullable": true,
|
|
5747
|
+
"readOnly": true,
|
|
5748
|
+
"type": "string"
|
|
5748
5749
|
}
|
|
5749
5750
|
},
|
|
5750
5751
|
"required": [
|
|
@@ -5754,10 +5755,41 @@ var OPENAPI_SCHEMA = {
|
|
|
5754
5755
|
"is_active",
|
|
5755
5756
|
"name",
|
|
5756
5757
|
"symbol",
|
|
5757
|
-
"type_display"
|
|
5758
|
+
"type_display",
|
|
5759
|
+
"usd_rate",
|
|
5760
|
+
"usd_rate_updated_at"
|
|
5758
5761
|
],
|
|
5759
5762
|
"type": "object"
|
|
5760
5763
|
},
|
|
5764
|
+
"CurrencyRates": {
|
|
5765
|
+
"description": "Currency rates serializer for getting exchange rates.\n\nFetches current exchange rates through CurrencyService.",
|
|
5766
|
+
"properties": {
|
|
5767
|
+
"base_currency": {
|
|
5768
|
+
"default": "USD",
|
|
5769
|
+
"description": "Base currency for rates (default: USD)",
|
|
5770
|
+
"maxLength": 10,
|
|
5771
|
+
"type": "string"
|
|
5772
|
+
},
|
|
5773
|
+
"currencies": {
|
|
5774
|
+
"description": "Specific currencies to get rates for (optional)",
|
|
5775
|
+
"items": {
|
|
5776
|
+
"maxLength": 10,
|
|
5777
|
+
"type": "string"
|
|
5778
|
+
},
|
|
5779
|
+
"type": "array"
|
|
5780
|
+
},
|
|
5781
|
+
"provider": {
|
|
5782
|
+
"default": "nowpayments",
|
|
5783
|
+
"description": "Provider for exchange rates\n\n* `nowpayments` - NowPayments",
|
|
5784
|
+
"enum": [
|
|
5785
|
+
"nowpayments"
|
|
5786
|
+
],
|
|
5787
|
+
"type": "string",
|
|
5788
|
+
"x-spec-enum-id": "47694db6bd068cb3"
|
|
5789
|
+
}
|
|
5790
|
+
},
|
|
5791
|
+
"type": "object"
|
|
5792
|
+
},
|
|
5761
5793
|
"Document": {
|
|
5762
5794
|
"description": "Document response serializer.",
|
|
5763
5795
|
"properties": {
|
|
@@ -7146,6 +7178,7 @@ var OPENAPI_SCHEMA = {
|
|
|
7146
7178
|
"$ref": "#/components/schemas/CurrencyList"
|
|
7147
7179
|
}
|
|
7148
7180
|
],
|
|
7181
|
+
"nullable": true,
|
|
7149
7182
|
"readOnly": true
|
|
7150
7183
|
},
|
|
7151
7184
|
"id": {
|
|
@@ -10136,6 +10169,12 @@ var OPENAPI_SCHEMA = {
|
|
|
10136
10169
|
"Payment": {
|
|
10137
10170
|
"description": "Complete payment serializer with full details.\n\nUsed for detail views and updates.",
|
|
10138
10171
|
"properties": {
|
|
10172
|
+
"amount_crypto": {
|
|
10173
|
+
"description": "Calculate crypto amount from USD amount and currency rate.",
|
|
10174
|
+
"format": "double",
|
|
10175
|
+
"readOnly": true,
|
|
10176
|
+
"type": "number"
|
|
10177
|
+
},
|
|
10139
10178
|
"amount_display": {
|
|
10140
10179
|
"description": "Get formatted amount display.",
|
|
10141
10180
|
"readOnly": true,
|
|
@@ -10289,6 +10328,7 @@ var OPENAPI_SCHEMA = {
|
|
|
10289
10328
|
}
|
|
10290
10329
|
},
|
|
10291
10330
|
"required": [
|
|
10331
|
+
"amount_crypto",
|
|
10292
10332
|
"amount_display",
|
|
10293
10333
|
"amount_usd",
|
|
10294
10334
|
"completed_at",
|
|
@@ -10376,15 +10416,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10376
10416
|
},
|
|
10377
10417
|
"metadata": {
|
|
10378
10418
|
"description": "Additional metadata"
|
|
10379
|
-
},
|
|
10380
|
-
"provider": {
|
|
10381
|
-
"default": "nowpayments",
|
|
10382
|
-
"description": "Payment provider\n\n* `nowpayments` - NowPayments",
|
|
10383
|
-
"enum": [
|
|
10384
|
-
"nowpayments"
|
|
10385
|
-
],
|
|
10386
|
-
"type": "string",
|
|
10387
|
-
"x-spec-enum-id": "47694db6bd068cb3"
|
|
10388
10419
|
}
|
|
10389
10420
|
},
|
|
10390
10421
|
"required": [
|
|
@@ -10435,15 +10466,6 @@ var OPENAPI_SCHEMA = {
|
|
|
10435
10466
|
},
|
|
10436
10467
|
"metadata": {
|
|
10437
10468
|
"description": "Additional metadata"
|
|
10438
|
-
},
|
|
10439
|
-
"provider": {
|
|
10440
|
-
"default": "nowpayments",
|
|
10441
|
-
"description": "Payment provider\n\n* `nowpayments` - NowPayments",
|
|
10442
|
-
"enum": [
|
|
10443
|
-
"nowpayments"
|
|
10444
|
-
],
|
|
10445
|
-
"type": "string",
|
|
10446
|
-
"x-spec-enum-id": "47694db6bd068cb3"
|
|
10447
10469
|
}
|
|
10448
10470
|
},
|
|
10449
10471
|
"required": [
|
|
@@ -10884,6 +10906,7 @@ var OPENAPI_SCHEMA = {
|
|
|
10884
10906
|
"$ref": "#/components/schemas/Network"
|
|
10885
10907
|
}
|
|
10886
10908
|
],
|
|
10909
|
+
"nullable": true,
|
|
10887
10910
|
"readOnly": true
|
|
10888
10911
|
},
|
|
10889
10912
|
"provider": {
|
|
@@ -11857,6 +11880,32 @@ var OPENAPI_SCHEMA = {
|
|
|
11857
11880
|
],
|
|
11858
11881
|
"type": "object"
|
|
11859
11882
|
},
|
|
11883
|
+
"SupportedCurrencies": {
|
|
11884
|
+
"description": "Supported currencies serializer for provider capabilities.\n\nGets supported currencies from providers through CurrencyService.",
|
|
11885
|
+
"properties": {
|
|
11886
|
+
"currency_type": {
|
|
11887
|
+
"default": "all",
|
|
11888
|
+
"description": "Filter by currency type\n\n* `all` - All\n* `crypto` - Cryptocurrency\n* `fiat` - Fiat Currency",
|
|
11889
|
+
"enum": [
|
|
11890
|
+
"all",
|
|
11891
|
+
"crypto",
|
|
11892
|
+
"fiat"
|
|
11893
|
+
],
|
|
11894
|
+
"type": "string",
|
|
11895
|
+
"x-spec-enum-id": "aaea9f89fe6374a5"
|
|
11896
|
+
},
|
|
11897
|
+
"provider": {
|
|
11898
|
+
"default": "nowpayments",
|
|
11899
|
+
"description": "Provider to get supported currencies from\n\n* `nowpayments` - NowPayments",
|
|
11900
|
+
"enum": [
|
|
11901
|
+
"nowpayments"
|
|
11902
|
+
],
|
|
11903
|
+
"type": "string",
|
|
11904
|
+
"x-spec-enum-id": "47694db6bd068cb3"
|
|
11905
|
+
}
|
|
11906
|
+
},
|
|
11907
|
+
"type": "object"
|
|
11908
|
+
},
|
|
11860
11909
|
"SupportedProviders": {
|
|
11861
11910
|
"description": "Serializer for supported providers response.",
|
|
11862
11911
|
"properties": {
|
|
@@ -19414,7 +19463,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19414
19463
|
},
|
|
19415
19464
|
"/cfg/payments/api-keys/": {
|
|
19416
19465
|
"get": {
|
|
19417
|
-
"description": "
|
|
19466
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19418
19467
|
"operationId": "cfg_payments_api_keys_list",
|
|
19419
19468
|
"parameters": [
|
|
19420
19469
|
{
|
|
@@ -19494,7 +19543,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19494
19543
|
"x-async-capable": false
|
|
19495
19544
|
},
|
|
19496
19545
|
"post": {
|
|
19497
|
-
"description": "
|
|
19546
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19498
19547
|
"operationId": "cfg_payments_api_keys_create",
|
|
19499
19548
|
"requestBody": {
|
|
19500
19549
|
"content": {
|
|
@@ -19846,7 +19895,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19846
19895
|
},
|
|
19847
19896
|
"/cfg/payments/api-keys/{id}/": {
|
|
19848
19897
|
"delete": {
|
|
19849
|
-
"description": "
|
|
19898
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19850
19899
|
"operationId": "cfg_payments_api_keys_destroy",
|
|
19851
19900
|
"parameters": [
|
|
19852
19901
|
{
|
|
@@ -19879,7 +19928,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19879
19928
|
"x-async-capable": false
|
|
19880
19929
|
},
|
|
19881
19930
|
"get": {
|
|
19882
|
-
"description": "
|
|
19931
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19883
19932
|
"operationId": "cfg_payments_api_keys_retrieve",
|
|
19884
19933
|
"parameters": [
|
|
19885
19934
|
{
|
|
@@ -19919,7 +19968,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19919
19968
|
"x-async-capable": false
|
|
19920
19969
|
},
|
|
19921
19970
|
"patch": {
|
|
19922
|
-
"description": "
|
|
19971
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19923
19972
|
"operationId": "cfg_payments_api_keys_partial_update",
|
|
19924
19973
|
"parameters": [
|
|
19925
19974
|
{
|
|
@@ -19978,7 +20027,7 @@ var OPENAPI_SCHEMA = {
|
|
|
19978
20027
|
"x-async-capable": false
|
|
19979
20028
|
},
|
|
19980
20029
|
"put": {
|
|
19981
|
-
"description": "
|
|
20030
|
+
"description": "API Key ViewSet: /api/api-keys/\n\nUser-specific access to API keys with filtering and stats.\n- Regular users: can only see/manage their own API keys\n- Staff/Admin: can see/manage all API keys",
|
|
19982
20031
|
"operationId": "cfg_payments_api_keys_update",
|
|
19983
20032
|
"parameters": [
|
|
19984
20033
|
{
|
|
@@ -20554,25 +20603,177 @@ var OPENAPI_SCHEMA = {
|
|
|
20554
20603
|
},
|
|
20555
20604
|
"/cfg/payments/currencies/rates/": {
|
|
20556
20605
|
"get": {
|
|
20557
|
-
"description": "Get current exchange rates
|
|
20606
|
+
"description": "Get current exchange rates.",
|
|
20558
20607
|
"operationId": "cfg_payments_currencies_rates_retrieve",
|
|
20608
|
+
"responses": {
|
|
20609
|
+
"200": {
|
|
20610
|
+
"content": {
|
|
20611
|
+
"application/json": {
|
|
20612
|
+
"schema": {
|
|
20613
|
+
"$ref": "#/components/schemas/CurrencyRates"
|
|
20614
|
+
}
|
|
20615
|
+
}
|
|
20616
|
+
},
|
|
20617
|
+
"description": ""
|
|
20618
|
+
}
|
|
20619
|
+
},
|
|
20620
|
+
"security": [
|
|
20621
|
+
{
|
|
20622
|
+
"jwtAuth": []
|
|
20623
|
+
},
|
|
20624
|
+
{
|
|
20625
|
+
"cookieAuth": []
|
|
20626
|
+
}
|
|
20627
|
+
],
|
|
20628
|
+
"tags": [
|
|
20629
|
+
"payments"
|
|
20630
|
+
],
|
|
20631
|
+
"x-async-capable": false
|
|
20632
|
+
}
|
|
20633
|
+
},
|
|
20634
|
+
"/cfg/payments/currencies/stable/": {
|
|
20635
|
+
"get": {
|
|
20636
|
+
"description": "Get only stablecoins.\n\nGET /api/currencies/stable/",
|
|
20637
|
+
"operationId": "cfg_payments_currencies_stable_retrieve",
|
|
20638
|
+
"responses": {
|
|
20639
|
+
"200": {
|
|
20640
|
+
"content": {
|
|
20641
|
+
"application/json": {
|
|
20642
|
+
"schema": {
|
|
20643
|
+
"$ref": "#/components/schemas/Currency"
|
|
20644
|
+
}
|
|
20645
|
+
}
|
|
20646
|
+
},
|
|
20647
|
+
"description": ""
|
|
20648
|
+
}
|
|
20649
|
+
},
|
|
20650
|
+
"security": [
|
|
20651
|
+
{
|
|
20652
|
+
"jwtAuth": []
|
|
20653
|
+
},
|
|
20654
|
+
{
|
|
20655
|
+
"cookieAuth": []
|
|
20656
|
+
}
|
|
20657
|
+
],
|
|
20658
|
+
"tags": [
|
|
20659
|
+
"payments"
|
|
20660
|
+
],
|
|
20661
|
+
"x-async-capable": false
|
|
20662
|
+
}
|
|
20663
|
+
},
|
|
20664
|
+
"/cfg/payments/currencies/stats/": {
|
|
20665
|
+
"get": {
|
|
20666
|
+
"description": "Get statistics for the current queryset.\n\nReturns counts, aggregates, and breakdowns.",
|
|
20667
|
+
"operationId": "cfg_payments_currencies_stats_retrieve",
|
|
20668
|
+
"responses": {
|
|
20669
|
+
"200": {
|
|
20670
|
+
"content": {
|
|
20671
|
+
"application/json": {
|
|
20672
|
+
"schema": {
|
|
20673
|
+
"$ref": "#/components/schemas/Currency"
|
|
20674
|
+
}
|
|
20675
|
+
}
|
|
20676
|
+
},
|
|
20677
|
+
"description": ""
|
|
20678
|
+
}
|
|
20679
|
+
},
|
|
20680
|
+
"security": [
|
|
20681
|
+
{
|
|
20682
|
+
"jwtAuth": []
|
|
20683
|
+
},
|
|
20684
|
+
{
|
|
20685
|
+
"cookieAuth": []
|
|
20686
|
+
}
|
|
20687
|
+
],
|
|
20688
|
+
"tags": [
|
|
20689
|
+
"payments"
|
|
20690
|
+
],
|
|
20691
|
+
"x-async-capable": false
|
|
20692
|
+
}
|
|
20693
|
+
},
|
|
20694
|
+
"/cfg/payments/currencies/supported/": {
|
|
20695
|
+
"get": {
|
|
20696
|
+
"description": "Get supported currencies from providers.",
|
|
20697
|
+
"operationId": "cfg_payments_currencies_supported_retrieve",
|
|
20698
|
+
"responses": {
|
|
20699
|
+
"200": {
|
|
20700
|
+
"content": {
|
|
20701
|
+
"application/json": {
|
|
20702
|
+
"schema": {
|
|
20703
|
+
"$ref": "#/components/schemas/SupportedCurrencies"
|
|
20704
|
+
}
|
|
20705
|
+
}
|
|
20706
|
+
},
|
|
20707
|
+
"description": ""
|
|
20708
|
+
}
|
|
20709
|
+
},
|
|
20710
|
+
"security": [
|
|
20711
|
+
{
|
|
20712
|
+
"jwtAuth": []
|
|
20713
|
+
},
|
|
20714
|
+
{
|
|
20715
|
+
"cookieAuth": []
|
|
20716
|
+
}
|
|
20717
|
+
],
|
|
20718
|
+
"tags": [
|
|
20719
|
+
"payments"
|
|
20720
|
+
],
|
|
20721
|
+
"x-async-capable": false
|
|
20722
|
+
}
|
|
20723
|
+
},
|
|
20724
|
+
"/cfg/payments/currencies/{id}/": {
|
|
20725
|
+
"get": {
|
|
20726
|
+
"description": "Currency ViewSet: /api/currencies/\n\nRead-only access to currency information with conversion capabilities.",
|
|
20727
|
+
"operationId": "cfg_payments_currencies_retrieve",
|
|
20559
20728
|
"parameters": [
|
|
20560
20729
|
{
|
|
20561
|
-
"description": "
|
|
20562
|
-
"in": "
|
|
20563
|
-
"name": "
|
|
20730
|
+
"description": "A unique integer value identifying this Currency.",
|
|
20731
|
+
"in": "path",
|
|
20732
|
+
"name": "id",
|
|
20564
20733
|
"required": true,
|
|
20565
20734
|
"schema": {
|
|
20566
|
-
"type": "
|
|
20735
|
+
"type": "integer"
|
|
20567
20736
|
}
|
|
20737
|
+
}
|
|
20738
|
+
],
|
|
20739
|
+
"responses": {
|
|
20740
|
+
"200": {
|
|
20741
|
+
"content": {
|
|
20742
|
+
"application/json": {
|
|
20743
|
+
"schema": {
|
|
20744
|
+
"$ref": "#/components/schemas/Currency"
|
|
20745
|
+
}
|
|
20746
|
+
}
|
|
20747
|
+
},
|
|
20748
|
+
"description": ""
|
|
20749
|
+
}
|
|
20750
|
+
},
|
|
20751
|
+
"security": [
|
|
20752
|
+
{
|
|
20753
|
+
"jwtAuth": []
|
|
20568
20754
|
},
|
|
20569
20755
|
{
|
|
20570
|
-
"
|
|
20571
|
-
|
|
20572
|
-
|
|
20756
|
+
"cookieAuth": []
|
|
20757
|
+
}
|
|
20758
|
+
],
|
|
20759
|
+
"tags": [
|
|
20760
|
+
"payments"
|
|
20761
|
+
],
|
|
20762
|
+
"x-async-capable": false
|
|
20763
|
+
}
|
|
20764
|
+
},
|
|
20765
|
+
"/cfg/payments/currencies/{id}/networks/": {
|
|
20766
|
+
"get": {
|
|
20767
|
+
"description": "Get networks for specific currency.\n\nGET /api/currencies/{id}/networks/",
|
|
20768
|
+
"operationId": "cfg_payments_currencies_networks_retrieve",
|
|
20769
|
+
"parameters": [
|
|
20770
|
+
{
|
|
20771
|
+
"description": "A unique integer value identifying this Currency.",
|
|
20772
|
+
"in": "path",
|
|
20773
|
+
"name": "id",
|
|
20573
20774
|
"required": true,
|
|
20574
20775
|
"schema": {
|
|
20575
|
-
"type": "
|
|
20776
|
+
"type": "integer"
|
|
20576
20777
|
}
|
|
20577
20778
|
}
|
|
20578
20779
|
],
|
|
@@ -20596,224 +20797,27 @@ var OPENAPI_SCHEMA = {
|
|
|
20596
20797
|
"cookieAuth": []
|
|
20597
20798
|
}
|
|
20598
20799
|
],
|
|
20599
|
-
"summary": "Get exchange rates",
|
|
20600
20800
|
"tags": [
|
|
20601
20801
|
"payments"
|
|
20602
20802
|
],
|
|
20603
20803
|
"x-async-capable": false
|
|
20604
20804
|
}
|
|
20605
20805
|
},
|
|
20606
|
-
"/cfg/payments/currencies/
|
|
20806
|
+
"/cfg/payments/currencies/{id}/providers/": {
|
|
20607
20807
|
"get": {
|
|
20608
|
-
"description": "Get
|
|
20609
|
-
"operationId": "
|
|
20610
|
-
"
|
|
20611
|
-
|
|
20612
|
-
"
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
}
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
},
|
|
20622
|
-
"security": [
|
|
20623
|
-
{
|
|
20624
|
-
"jwtAuth": []
|
|
20625
|
-
},
|
|
20626
|
-
{
|
|
20627
|
-
"cookieAuth": []
|
|
20628
|
-
}
|
|
20629
|
-
],
|
|
20630
|
-
"tags": [
|
|
20631
|
-
"payments"
|
|
20632
|
-
],
|
|
20633
|
-
"x-async-capable": false
|
|
20634
|
-
}
|
|
20635
|
-
},
|
|
20636
|
-
"/cfg/payments/currencies/stats/": {
|
|
20637
|
-
"get": {
|
|
20638
|
-
"description": "Get statistics for the current queryset.\n\nReturns counts, aggregates, and breakdowns.",
|
|
20639
|
-
"operationId": "cfg_payments_currencies_stats_retrieve",
|
|
20640
|
-
"responses": {
|
|
20641
|
-
"200": {
|
|
20642
|
-
"content": {
|
|
20643
|
-
"application/json": {
|
|
20644
|
-
"schema": {
|
|
20645
|
-
"$ref": "#/components/schemas/Currency"
|
|
20646
|
-
}
|
|
20647
|
-
}
|
|
20648
|
-
},
|
|
20649
|
-
"description": ""
|
|
20650
|
-
}
|
|
20651
|
-
},
|
|
20652
|
-
"security": [
|
|
20653
|
-
{
|
|
20654
|
-
"jwtAuth": []
|
|
20655
|
-
},
|
|
20656
|
-
{
|
|
20657
|
-
"cookieAuth": []
|
|
20658
|
-
}
|
|
20659
|
-
],
|
|
20660
|
-
"tags": [
|
|
20661
|
-
"payments"
|
|
20662
|
-
],
|
|
20663
|
-
"x-async-capable": false
|
|
20664
|
-
}
|
|
20665
|
-
},
|
|
20666
|
-
"/cfg/payments/currencies/supported/": {
|
|
20667
|
-
"get": {
|
|
20668
|
-
"description": "Get list of supported currencies from payment providers",
|
|
20669
|
-
"operationId": "cfg_payments_currencies_supported_retrieve",
|
|
20670
|
-
"parameters": [
|
|
20671
|
-
{
|
|
20672
|
-
"description": "Currency type filter: crypto, fiat, or stablecoin",
|
|
20673
|
-
"in": "query",
|
|
20674
|
-
"name": "currency_type",
|
|
20675
|
-
"schema": {
|
|
20676
|
-
"enum": [
|
|
20677
|
-
"crypto",
|
|
20678
|
-
"fiat",
|
|
20679
|
-
"stablecoin"
|
|
20680
|
-
],
|
|
20681
|
-
"type": "string"
|
|
20682
|
-
}
|
|
20683
|
-
},
|
|
20684
|
-
{
|
|
20685
|
-
"description": "Payment provider name (e.g., nowpayments)",
|
|
20686
|
-
"in": "query",
|
|
20687
|
-
"name": "provider",
|
|
20688
|
-
"schema": {
|
|
20689
|
-
"type": "string"
|
|
20690
|
-
}
|
|
20691
|
-
}
|
|
20692
|
-
],
|
|
20693
|
-
"responses": {
|
|
20694
|
-
"200": {
|
|
20695
|
-
"content": {
|
|
20696
|
-
"application/json": {
|
|
20697
|
-
"schema": {
|
|
20698
|
-
"$ref": "#/components/schemas/Currency"
|
|
20699
|
-
}
|
|
20700
|
-
}
|
|
20701
|
-
},
|
|
20702
|
-
"description": ""
|
|
20703
|
-
}
|
|
20704
|
-
},
|
|
20705
|
-
"security": [
|
|
20706
|
-
{
|
|
20707
|
-
"jwtAuth": []
|
|
20708
|
-
},
|
|
20709
|
-
{
|
|
20710
|
-
"cookieAuth": []
|
|
20711
|
-
}
|
|
20712
|
-
],
|
|
20713
|
-
"summary": "Get supported currencies",
|
|
20714
|
-
"tags": [
|
|
20715
|
-
"payments"
|
|
20716
|
-
],
|
|
20717
|
-
"x-async-capable": false
|
|
20718
|
-
}
|
|
20719
|
-
},
|
|
20720
|
-
"/cfg/payments/currencies/{id}/": {
|
|
20721
|
-
"get": {
|
|
20722
|
-
"description": "Currency ViewSet: /api/currencies/\n\nRead-only access to currency information with conversion capabilities.",
|
|
20723
|
-
"operationId": "cfg_payments_currencies_retrieve",
|
|
20724
|
-
"parameters": [
|
|
20725
|
-
{
|
|
20726
|
-
"description": "A unique integer value identifying this Currency.",
|
|
20727
|
-
"in": "path",
|
|
20728
|
-
"name": "id",
|
|
20729
|
-
"required": true,
|
|
20730
|
-
"schema": {
|
|
20731
|
-
"type": "integer"
|
|
20732
|
-
}
|
|
20733
|
-
}
|
|
20734
|
-
],
|
|
20735
|
-
"responses": {
|
|
20736
|
-
"200": {
|
|
20737
|
-
"content": {
|
|
20738
|
-
"application/json": {
|
|
20739
|
-
"schema": {
|
|
20740
|
-
"$ref": "#/components/schemas/Currency"
|
|
20741
|
-
}
|
|
20742
|
-
}
|
|
20743
|
-
},
|
|
20744
|
-
"description": ""
|
|
20745
|
-
}
|
|
20746
|
-
},
|
|
20747
|
-
"security": [
|
|
20748
|
-
{
|
|
20749
|
-
"jwtAuth": []
|
|
20750
|
-
},
|
|
20751
|
-
{
|
|
20752
|
-
"cookieAuth": []
|
|
20753
|
-
}
|
|
20754
|
-
],
|
|
20755
|
-
"tags": [
|
|
20756
|
-
"payments"
|
|
20757
|
-
],
|
|
20758
|
-
"x-async-capable": false
|
|
20759
|
-
}
|
|
20760
|
-
},
|
|
20761
|
-
"/cfg/payments/currencies/{id}/networks/": {
|
|
20762
|
-
"get": {
|
|
20763
|
-
"description": "Get networks for specific currency.\n\nGET /api/currencies/{id}/networks/",
|
|
20764
|
-
"operationId": "cfg_payments_currencies_networks_retrieve",
|
|
20765
|
-
"parameters": [
|
|
20766
|
-
{
|
|
20767
|
-
"description": "A unique integer value identifying this Currency.",
|
|
20768
|
-
"in": "path",
|
|
20769
|
-
"name": "id",
|
|
20770
|
-
"required": true,
|
|
20771
|
-
"schema": {
|
|
20772
|
-
"type": "integer"
|
|
20773
|
-
}
|
|
20774
|
-
}
|
|
20775
|
-
],
|
|
20776
|
-
"responses": {
|
|
20777
|
-
"200": {
|
|
20778
|
-
"content": {
|
|
20779
|
-
"application/json": {
|
|
20780
|
-
"schema": {
|
|
20781
|
-
"$ref": "#/components/schemas/Currency"
|
|
20782
|
-
}
|
|
20783
|
-
}
|
|
20784
|
-
},
|
|
20785
|
-
"description": ""
|
|
20786
|
-
}
|
|
20787
|
-
},
|
|
20788
|
-
"security": [
|
|
20789
|
-
{
|
|
20790
|
-
"jwtAuth": []
|
|
20791
|
-
},
|
|
20792
|
-
{
|
|
20793
|
-
"cookieAuth": []
|
|
20794
|
-
}
|
|
20795
|
-
],
|
|
20796
|
-
"tags": [
|
|
20797
|
-
"payments"
|
|
20798
|
-
],
|
|
20799
|
-
"x-async-capable": false
|
|
20800
|
-
}
|
|
20801
|
-
},
|
|
20802
|
-
"/cfg/payments/currencies/{id}/providers/": {
|
|
20803
|
-
"get": {
|
|
20804
|
-
"description": "Get providers supporting specific currency.\n\nGET /api/currencies/{id}/providers/",
|
|
20805
|
-
"operationId": "cfg_payments_currencies_providers_retrieve",
|
|
20806
|
-
"parameters": [
|
|
20807
|
-
{
|
|
20808
|
-
"description": "A unique integer value identifying this Currency.",
|
|
20809
|
-
"in": "path",
|
|
20810
|
-
"name": "id",
|
|
20811
|
-
"required": true,
|
|
20812
|
-
"schema": {
|
|
20813
|
-
"type": "integer"
|
|
20814
|
-
}
|
|
20815
|
-
}
|
|
20816
|
-
],
|
|
20808
|
+
"description": "Get providers supporting specific currency.\n\nGET /api/currencies/{id}/providers/",
|
|
20809
|
+
"operationId": "cfg_payments_currencies_providers_retrieve",
|
|
20810
|
+
"parameters": [
|
|
20811
|
+
{
|
|
20812
|
+
"description": "A unique integer value identifying this Currency.",
|
|
20813
|
+
"in": "path",
|
|
20814
|
+
"name": "id",
|
|
20815
|
+
"required": true,
|
|
20816
|
+
"schema": {
|
|
20817
|
+
"type": "integer"
|
|
20818
|
+
}
|
|
20819
|
+
}
|
|
20820
|
+
],
|
|
20817
20821
|
"responses": {
|
|
20818
20822
|
"200": {
|
|
20819
20823
|
"content": {
|
|
@@ -27701,6 +27705,7 @@ __export(enums_exports, {
|
|
|
27701
27705
|
ChatMessageRole: () => ChatMessageRole,
|
|
27702
27706
|
CurrencyCurrencyType: () => CurrencyCurrencyType,
|
|
27703
27707
|
CurrencyListCurrencyType: () => CurrencyListCurrencyType,
|
|
27708
|
+
CurrencyRatesProvider: () => CurrencyRatesProvider,
|
|
27704
27709
|
DocumentArchiveArchiveType: () => DocumentArchiveArchiveType,
|
|
27705
27710
|
DocumentArchiveDetailArchiveType: () => DocumentArchiveDetailArchiveType,
|
|
27706
27711
|
DocumentArchiveDetailProcessingStatus: () => DocumentArchiveDetailProcessingStatus,
|
|
@@ -27722,9 +27727,7 @@ __export(enums_exports, {
|
|
|
27722
27727
|
PatchedSubscriptionRequestTier: () => PatchedSubscriptionRequestTier,
|
|
27723
27728
|
PatchedTicketRequestStatus: () => PatchedTicketRequestStatus,
|
|
27724
27729
|
PaymentCreateCurrencyCode: () => PaymentCreateCurrencyCode,
|
|
27725
|
-
PaymentCreateProvider: () => PaymentCreateProvider,
|
|
27726
27730
|
PaymentCreateRequestCurrencyCode: () => PaymentCreateRequestCurrencyCode,
|
|
27727
|
-
PaymentCreateRequestProvider: () => PaymentCreateRequestProvider,
|
|
27728
27731
|
PaymentListProvider: () => PaymentListProvider,
|
|
27729
27732
|
PaymentListStatus: () => PaymentListStatus,
|
|
27730
27733
|
PaymentProvider: () => PaymentProvider,
|
|
@@ -27738,6 +27741,8 @@ __export(enums_exports, {
|
|
|
27738
27741
|
SubscriptionRequestTier: () => SubscriptionRequestTier,
|
|
27739
27742
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
27740
27743
|
SubscriptionTier: () => SubscriptionTier,
|
|
27744
|
+
SupportedCurrenciesCurrencyType: () => SupportedCurrenciesCurrencyType,
|
|
27745
|
+
SupportedCurrenciesProvider: () => SupportedCurrenciesProvider,
|
|
27741
27746
|
TicketRequestStatus: () => TicketRequestStatus,
|
|
27742
27747
|
TicketStatus: () => TicketStatus,
|
|
27743
27748
|
TransactionTransactionType: () => TransactionTransactionType,
|
|
@@ -27847,11 +27852,15 @@ var CurrencyListCurrencyType = /* @__PURE__ */ ((CurrencyListCurrencyType2) => {
|
|
|
27847
27852
|
CurrencyListCurrencyType2["CRYPTO"] = "crypto";
|
|
27848
27853
|
return CurrencyListCurrencyType2;
|
|
27849
27854
|
})(CurrencyListCurrencyType || {});
|
|
27855
|
+
var CurrencyRatesProvider = /* @__PURE__ */ ((CurrencyRatesProvider2) => {
|
|
27856
|
+
CurrencyRatesProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
27857
|
+
return CurrencyRatesProvider2;
|
|
27858
|
+
})(CurrencyRatesProvider || {});
|
|
27850
27859
|
var DocumentArchiveArchiveType = /* @__PURE__ */ ((DocumentArchiveArchiveType2) => {
|
|
27851
27860
|
DocumentArchiveArchiveType2["ZIP"] = "zip";
|
|
27852
27861
|
DocumentArchiveArchiveType2["TAR"] = "tar";
|
|
27853
|
-
DocumentArchiveArchiveType2["
|
|
27854
|
-
DocumentArchiveArchiveType2["
|
|
27862
|
+
DocumentArchiveArchiveType2["TAR_DOT_GZ"] = "tar.gz";
|
|
27863
|
+
DocumentArchiveArchiveType2["TAR_DOT_BZ2"] = "tar.bz2";
|
|
27855
27864
|
return DocumentArchiveArchiveType2;
|
|
27856
27865
|
})(DocumentArchiveArchiveType || {});
|
|
27857
27866
|
var DocumentArchiveProcessingStatus = /* @__PURE__ */ ((DocumentArchiveProcessingStatus2) => {
|
|
@@ -27865,8 +27874,8 @@ var DocumentArchiveProcessingStatus = /* @__PURE__ */ ((DocumentArchiveProcessin
|
|
|
27865
27874
|
var DocumentArchiveDetailArchiveType = /* @__PURE__ */ ((DocumentArchiveDetailArchiveType2) => {
|
|
27866
27875
|
DocumentArchiveDetailArchiveType2["ZIP"] = "zip";
|
|
27867
27876
|
DocumentArchiveDetailArchiveType2["TAR"] = "tar";
|
|
27868
|
-
DocumentArchiveDetailArchiveType2["
|
|
27869
|
-
DocumentArchiveDetailArchiveType2["
|
|
27877
|
+
DocumentArchiveDetailArchiveType2["TAR_DOT_GZ"] = "tar.gz";
|
|
27878
|
+
DocumentArchiveDetailArchiveType2["TAR_DOT_BZ2"] = "tar.bz2";
|
|
27870
27879
|
return DocumentArchiveDetailArchiveType2;
|
|
27871
27880
|
})(DocumentArchiveDetailArchiveType || {});
|
|
27872
27881
|
var DocumentArchiveDetailProcessingStatus = /* @__PURE__ */ ((DocumentArchiveDetailProcessingStatus2) => {
|
|
@@ -27880,8 +27889,8 @@ var DocumentArchiveDetailProcessingStatus = /* @__PURE__ */ ((DocumentArchiveDet
|
|
|
27880
27889
|
var DocumentArchiveListArchiveType = /* @__PURE__ */ ((DocumentArchiveListArchiveType2) => {
|
|
27881
27890
|
DocumentArchiveListArchiveType2["ZIP"] = "zip";
|
|
27882
27891
|
DocumentArchiveListArchiveType2["TAR"] = "tar";
|
|
27883
|
-
DocumentArchiveListArchiveType2["
|
|
27884
|
-
DocumentArchiveListArchiveType2["
|
|
27892
|
+
DocumentArchiveListArchiveType2["TAR_DOT_GZ"] = "tar.gz";
|
|
27893
|
+
DocumentArchiveListArchiveType2["TAR_DOT_BZ2"] = "tar.bz2";
|
|
27885
27894
|
return DocumentArchiveListArchiveType2;
|
|
27886
27895
|
})(DocumentArchiveListArchiveType || {});
|
|
27887
27896
|
var DocumentArchiveListProcessingStatus = /* @__PURE__ */ ((DocumentArchiveListProcessingStatus2) => {
|
|
@@ -28023,10 +28032,6 @@ var PaymentCreateCurrencyCode = /* @__PURE__ */ ((PaymentCreateCurrencyCode2) =>
|
|
|
28023
28032
|
PaymentCreateCurrencyCode2["DOT"] = "DOT";
|
|
28024
28033
|
return PaymentCreateCurrencyCode2;
|
|
28025
28034
|
})(PaymentCreateCurrencyCode || {});
|
|
28026
|
-
var PaymentCreateProvider = /* @__PURE__ */ ((PaymentCreateProvider2) => {
|
|
28027
|
-
PaymentCreateProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28028
|
-
return PaymentCreateProvider2;
|
|
28029
|
-
})(PaymentCreateProvider || {});
|
|
28030
28035
|
var PaymentCreateRequestCurrencyCode = /* @__PURE__ */ ((PaymentCreateRequestCurrencyCode2) => {
|
|
28031
28036
|
PaymentCreateRequestCurrencyCode2["BTC"] = "BTC";
|
|
28032
28037
|
PaymentCreateRequestCurrencyCode2["ETH"] = "ETH";
|
|
@@ -28038,10 +28043,6 @@ var PaymentCreateRequestCurrencyCode = /* @__PURE__ */ ((PaymentCreateRequestCur
|
|
|
28038
28043
|
PaymentCreateRequestCurrencyCode2["DOT"] = "DOT";
|
|
28039
28044
|
return PaymentCreateRequestCurrencyCode2;
|
|
28040
28045
|
})(PaymentCreateRequestCurrencyCode || {});
|
|
28041
|
-
var PaymentCreateRequestProvider = /* @__PURE__ */ ((PaymentCreateRequestProvider2) => {
|
|
28042
|
-
PaymentCreateRequestProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28043
|
-
return PaymentCreateRequestProvider2;
|
|
28044
|
-
})(PaymentCreateRequestProvider || {});
|
|
28045
28046
|
var PaymentListProvider = /* @__PURE__ */ ((PaymentListProvider2) => {
|
|
28046
28047
|
PaymentListProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28047
28048
|
return PaymentListProvider2;
|
|
@@ -28126,6 +28127,16 @@ var SubscriptionRequestTier = /* @__PURE__ */ ((SubscriptionRequestTier2) => {
|
|
|
28126
28127
|
SubscriptionRequestTier2["ENTERPRISE"] = "enterprise";
|
|
28127
28128
|
return SubscriptionRequestTier2;
|
|
28128
28129
|
})(SubscriptionRequestTier || {});
|
|
28130
|
+
var SupportedCurrenciesProvider = /* @__PURE__ */ ((SupportedCurrenciesProvider2) => {
|
|
28131
|
+
SupportedCurrenciesProvider2["NOWPAYMENTS"] = "nowpayments";
|
|
28132
|
+
return SupportedCurrenciesProvider2;
|
|
28133
|
+
})(SupportedCurrenciesProvider || {});
|
|
28134
|
+
var SupportedCurrenciesCurrencyType = /* @__PURE__ */ ((SupportedCurrenciesCurrencyType2) => {
|
|
28135
|
+
SupportedCurrenciesCurrencyType2["ALL"] = "all";
|
|
28136
|
+
SupportedCurrenciesCurrencyType2["CRYPTO"] = "crypto";
|
|
28137
|
+
SupportedCurrenciesCurrencyType2["FIAT"] = "fiat";
|
|
28138
|
+
return SupportedCurrenciesCurrencyType2;
|
|
28139
|
+
})(SupportedCurrenciesCurrencyType || {});
|
|
28129
28140
|
var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
|
|
28130
28141
|
TicketStatus2["OPEN"] = "open";
|
|
28131
28142
|
TicketStatus2["WAITING_FOR_USER"] = "waiting_for_user";
|
|
@@ -28229,6 +28240,7 @@ __export(schemas_exports, {
|
|
|
28229
28240
|
ChunkRevectorizationRequestRequestSchema: () => ChunkRevectorizationRequestRequestSchema,
|
|
28230
28241
|
CurrencyAnalyticsItemSchema: () => CurrencyAnalyticsItemSchema,
|
|
28231
28242
|
CurrencyListSchema: () => CurrencyListSchema,
|
|
28243
|
+
CurrencyRatesSchema: () => CurrencyRatesSchema,
|
|
28232
28244
|
CurrencySchema: () => CurrencySchema,
|
|
28233
28245
|
DocumentArchiveDetailSchema: () => DocumentArchiveDetailSchema,
|
|
28234
28246
|
DocumentArchiveListSchema: () => DocumentArchiveListSchema,
|
|
@@ -28347,6 +28359,7 @@ __export(schemas_exports, {
|
|
|
28347
28359
|
SubscriptionRequestSchema: () => SubscriptionRequestSchema,
|
|
28348
28360
|
SubscriptionSchema: () => SubscriptionSchema,
|
|
28349
28361
|
SuccessResponseSchema: () => SuccessResponseSchema,
|
|
28362
|
+
SupportedCurrenciesSchema: () => SupportedCurrenciesSchema,
|
|
28350
28363
|
SupportedProvidersSchema: () => SupportedProvidersSchema,
|
|
28351
28364
|
TariffSchema: () => TariffSchema,
|
|
28352
28365
|
TaskStatisticsSchema: () => TaskStatisticsSchema,
|
|
@@ -28450,7 +28463,7 @@ import { z as z8 } from "zod";
|
|
|
28450
28463
|
var APIKeyValidationResponseSchema = z8.object({
|
|
28451
28464
|
success: z8.boolean(),
|
|
28452
28465
|
valid: z8.boolean(),
|
|
28453
|
-
api_key: APIKeyDetailSchema,
|
|
28466
|
+
api_key: APIKeyDetailSchema.nullable(),
|
|
28454
28467
|
message: z8.string(),
|
|
28455
28468
|
error: z8.string().optional(),
|
|
28456
28469
|
error_code: z8.string().optional()
|
|
@@ -28538,7 +28551,7 @@ var AdminPaymentDetailSchema = z15.object({
|
|
|
28538
28551
|
provider_display: z15.string(),
|
|
28539
28552
|
status: z15.string(),
|
|
28540
28553
|
status_display: z15.string(),
|
|
28541
|
-
pay_amount: z15.string()
|
|
28554
|
+
pay_amount: z15.string(),
|
|
28542
28555
|
pay_address: z15.string(),
|
|
28543
28556
|
payment_url: z15.url(),
|
|
28544
28557
|
transaction_hash: z15.string(),
|
|
@@ -28570,7 +28583,7 @@ var AdminPaymentListSchema = z16.object({
|
|
|
28570
28583
|
provider_display: z16.string(),
|
|
28571
28584
|
status: z16.string(),
|
|
28572
28585
|
status_display: z16.string(),
|
|
28573
|
-
pay_amount: z16.string()
|
|
28586
|
+
pay_amount: z16.string(),
|
|
28574
28587
|
pay_address: z16.string(),
|
|
28575
28588
|
transaction_hash: z16.string(),
|
|
28576
28589
|
created_at: z16.iso.datetime(),
|
|
@@ -28963,72 +28976,53 @@ var CurrencyListSchema = z48.object({
|
|
|
28963
28976
|
symbol: z48.string(),
|
|
28964
28977
|
currency_type: z48.nativeEnum(CurrencyListCurrencyType),
|
|
28965
28978
|
type_display: z48.string(),
|
|
28966
|
-
is_active: z48.boolean()
|
|
28979
|
+
is_active: z48.boolean(),
|
|
28980
|
+
usd_rate: z48.number(),
|
|
28981
|
+
usd_rate_updated_at: z48.iso.datetime().nullable()
|
|
28967
28982
|
});
|
|
28968
28983
|
|
|
28969
|
-
// src/cfg/generated/_utils/schemas/
|
|
28984
|
+
// src/cfg/generated/_utils/schemas/CurrencyRates.schema.ts
|
|
28970
28985
|
import { z as z49 } from "zod";
|
|
28971
|
-
var
|
|
28972
|
-
|
|
28973
|
-
|
|
28974
|
-
|
|
28975
|
-
file_size: z49.int().min(0).max(9223372036854776e3).optional(),
|
|
28976
|
-
processing_status: z49.string(),
|
|
28977
|
-
chunks_count: z49.int(),
|
|
28978
|
-
total_tokens: z49.int(),
|
|
28979
|
-
total_cost_usd: z49.number(),
|
|
28980
|
-
created_at: z49.iso.datetime(),
|
|
28981
|
-
updated_at: z49.iso.datetime(),
|
|
28982
|
-
processing_started_at: z49.iso.datetime(),
|
|
28983
|
-
processing_completed_at: z49.iso.datetime(),
|
|
28984
|
-
processing_error: z49.string(),
|
|
28985
|
-
metadata: z49.string().nullable().optional()
|
|
28986
|
+
var CurrencyRatesSchema = z49.object({
|
|
28987
|
+
base_currency: z49.string().max(10).optional(),
|
|
28988
|
+
currencies: z49.array(z49.string().max(10)).optional(),
|
|
28989
|
+
provider: z49.nativeEnum(CurrencyRatesProvider).optional()
|
|
28986
28990
|
});
|
|
28987
28991
|
|
|
28988
|
-
// src/cfg/generated/_utils/schemas/
|
|
28989
|
-
import { z as z51 } from "zod";
|
|
28990
|
-
|
|
28991
|
-
// src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
|
|
28992
|
+
// src/cfg/generated/_utils/schemas/Document.schema.ts
|
|
28992
28993
|
import { z as z50 } from "zod";
|
|
28993
|
-
var
|
|
28994
|
+
var DocumentSchema = z50.object({
|
|
28994
28995
|
id: z50.uuid(),
|
|
28995
|
-
|
|
28996
|
-
|
|
28997
|
-
|
|
28998
|
-
|
|
28996
|
+
title: z50.string().max(512),
|
|
28997
|
+
file_type: z50.string().max(100).optional(),
|
|
28998
|
+
file_size: z50.int().min(0).max(9223372036854776e3).optional(),
|
|
28999
|
+
processing_status: z50.string(),
|
|
29000
|
+
chunks_count: z50.int(),
|
|
29001
|
+
total_tokens: z50.int(),
|
|
29002
|
+
total_cost_usd: z50.number(),
|
|
29003
|
+
created_at: z50.iso.datetime(),
|
|
29004
|
+
updated_at: z50.iso.datetime(),
|
|
29005
|
+
processing_started_at: z50.iso.datetime(),
|
|
29006
|
+
processing_completed_at: z50.iso.datetime(),
|
|
29007
|
+
processing_error: z50.string(),
|
|
29008
|
+
metadata: z50.string().nullable().optional()
|
|
28999
29009
|
});
|
|
29000
29010
|
|
|
29001
29011
|
// src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
|
|
29002
|
-
|
|
29012
|
+
import { z as z52 } from "zod";
|
|
29013
|
+
|
|
29014
|
+
// src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
|
|
29015
|
+
import { z as z51 } from "zod";
|
|
29016
|
+
var DocumentCategorySchema = z51.object({
|
|
29003
29017
|
id: z51.uuid(),
|
|
29004
|
-
|
|
29018
|
+
name: z51.string().max(255),
|
|
29005
29019
|
description: z51.string().optional(),
|
|
29006
|
-
categories: z51.array(DocumentCategorySchema),
|
|
29007
29020
|
is_public: z51.boolean().optional(),
|
|
29008
|
-
|
|
29009
|
-
original_filename: z51.string(),
|
|
29010
|
-
file_size: z51.int(),
|
|
29011
|
-
archive_type: z51.nativeEnum(DocumentArchiveArchiveType),
|
|
29012
|
-
processing_status: z51.nativeEnum(DocumentArchiveProcessingStatus),
|
|
29013
|
-
processed_at: z51.iso.datetime().nullable(),
|
|
29014
|
-
processing_duration_ms: z51.int(),
|
|
29015
|
-
processing_error: z51.string(),
|
|
29016
|
-
total_items: z51.int(),
|
|
29017
|
-
processed_items: z51.int(),
|
|
29018
|
-
total_chunks: z51.int(),
|
|
29019
|
-
vectorized_chunks: z51.int(),
|
|
29020
|
-
total_tokens: z51.int(),
|
|
29021
|
-
total_cost_usd: z51.number(),
|
|
29022
|
-
processing_progress: z51.number(),
|
|
29023
|
-
vectorization_progress: z51.number(),
|
|
29024
|
-
is_processed: z51.boolean(),
|
|
29025
|
-
created_at: z51.iso.datetime(),
|
|
29026
|
-
updated_at: z51.iso.datetime()
|
|
29021
|
+
created_at: z51.iso.datetime()
|
|
29027
29022
|
});
|
|
29028
29023
|
|
|
29029
|
-
// src/cfg/generated/_utils/schemas/
|
|
29030
|
-
|
|
29031
|
-
var DocumentArchiveDetailSchema = z52.object({
|
|
29024
|
+
// src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
|
|
29025
|
+
var DocumentArchiveSchema = z52.object({
|
|
29032
29026
|
id: z52.uuid(),
|
|
29033
29027
|
title: z52.string().max(512),
|
|
29034
29028
|
description: z52.string().optional(),
|
|
@@ -29037,8 +29031,8 @@ var DocumentArchiveDetailSchema = z52.object({
|
|
|
29037
29031
|
archive_file: z52.url(),
|
|
29038
29032
|
original_filename: z52.string(),
|
|
29039
29033
|
file_size: z52.int(),
|
|
29040
|
-
archive_type: z52.nativeEnum(
|
|
29041
|
-
processing_status: z52.nativeEnum(
|
|
29034
|
+
archive_type: z52.nativeEnum(DocumentArchiveArchiveType),
|
|
29035
|
+
processing_status: z52.nativeEnum(DocumentArchiveProcessingStatus),
|
|
29042
29036
|
processed_at: z52.iso.datetime().nullable(),
|
|
29043
29037
|
processing_duration_ms: z52.int(),
|
|
29044
29038
|
processing_error: z52.string(),
|
|
@@ -29052,407 +29046,422 @@ var DocumentArchiveDetailSchema = z52.object({
|
|
|
29052
29046
|
vectorization_progress: z52.number(),
|
|
29053
29047
|
is_processed: z52.boolean(),
|
|
29054
29048
|
created_at: z52.iso.datetime(),
|
|
29055
|
-
updated_at: z52.iso.datetime()
|
|
29056
|
-
items: z52.array(ArchiveItemSchema),
|
|
29057
|
-
file_tree: z52.record(z52.string(), z52.any()),
|
|
29058
|
-
metadata: z52.string().nullable().optional()
|
|
29049
|
+
updated_at: z52.iso.datetime()
|
|
29059
29050
|
});
|
|
29060
29051
|
|
|
29061
|
-
// src/cfg/generated/_utils/schemas/
|
|
29052
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
|
|
29062
29053
|
import { z as z53 } from "zod";
|
|
29063
|
-
var
|
|
29054
|
+
var DocumentArchiveDetailSchema = z53.object({
|
|
29064
29055
|
id: z53.uuid(),
|
|
29065
|
-
title: z53.string(),
|
|
29066
|
-
description: z53.string(),
|
|
29056
|
+
title: z53.string().max(512),
|
|
29057
|
+
description: z53.string().optional(),
|
|
29067
29058
|
categories: z53.array(DocumentCategorySchema),
|
|
29068
|
-
is_public: z53.boolean(),
|
|
29059
|
+
is_public: z53.boolean().optional(),
|
|
29060
|
+
archive_file: z53.url(),
|
|
29069
29061
|
original_filename: z53.string(),
|
|
29070
29062
|
file_size: z53.int(),
|
|
29071
|
-
archive_type: z53.nativeEnum(
|
|
29072
|
-
processing_status: z53.nativeEnum(
|
|
29063
|
+
archive_type: z53.nativeEnum(DocumentArchiveDetailArchiveType),
|
|
29064
|
+
processing_status: z53.nativeEnum(DocumentArchiveDetailProcessingStatus),
|
|
29073
29065
|
processed_at: z53.iso.datetime().nullable(),
|
|
29066
|
+
processing_duration_ms: z53.int(),
|
|
29067
|
+
processing_error: z53.string(),
|
|
29074
29068
|
total_items: z53.int(),
|
|
29069
|
+
processed_items: z53.int(),
|
|
29075
29070
|
total_chunks: z53.int(),
|
|
29071
|
+
vectorized_chunks: z53.int(),
|
|
29072
|
+
total_tokens: z53.int(),
|
|
29076
29073
|
total_cost_usd: z53.number(),
|
|
29077
29074
|
processing_progress: z53.number(),
|
|
29078
|
-
|
|
29075
|
+
vectorization_progress: z53.number(),
|
|
29076
|
+
is_processed: z53.boolean(),
|
|
29077
|
+
created_at: z53.iso.datetime(),
|
|
29078
|
+
updated_at: z53.iso.datetime(),
|
|
29079
|
+
items: z53.array(ArchiveItemSchema),
|
|
29080
|
+
file_tree: z53.record(z53.string(), z53.any()),
|
|
29081
|
+
metadata: z53.string().nullable().optional()
|
|
29079
29082
|
});
|
|
29080
29083
|
|
|
29081
|
-
// src/cfg/generated/_utils/schemas/
|
|
29084
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
|
|
29082
29085
|
import { z as z54 } from "zod";
|
|
29083
|
-
var
|
|
29084
|
-
|
|
29085
|
-
|
|
29086
|
-
|
|
29086
|
+
var DocumentArchiveListSchema = z54.object({
|
|
29087
|
+
id: z54.uuid(),
|
|
29088
|
+
title: z54.string(),
|
|
29089
|
+
description: z54.string(),
|
|
29090
|
+
categories: z54.array(DocumentCategorySchema),
|
|
29091
|
+
is_public: z54.boolean(),
|
|
29092
|
+
original_filename: z54.string(),
|
|
29093
|
+
file_size: z54.int(),
|
|
29094
|
+
archive_type: z54.nativeEnum(DocumentArchiveListArchiveType),
|
|
29095
|
+
processing_status: z54.nativeEnum(DocumentArchiveListProcessingStatus),
|
|
29096
|
+
processed_at: z54.iso.datetime().nullable(),
|
|
29097
|
+
total_items: z54.int(),
|
|
29098
|
+
total_chunks: z54.int(),
|
|
29099
|
+
total_cost_usd: z54.number(),
|
|
29100
|
+
processing_progress: z54.number(),
|
|
29101
|
+
created_at: z54.iso.datetime()
|
|
29087
29102
|
});
|
|
29088
29103
|
|
|
29089
|
-
// src/cfg/generated/_utils/schemas/
|
|
29104
|
+
// src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
|
|
29090
29105
|
import { z as z55 } from "zod";
|
|
29091
|
-
var
|
|
29092
|
-
|
|
29106
|
+
var DocumentArchiveRequestSchema = z55.object({
|
|
29107
|
+
title: z55.string().min(1).max(512),
|
|
29093
29108
|
description: z55.string().optional(),
|
|
29094
29109
|
is_public: z55.boolean().optional()
|
|
29095
29110
|
});
|
|
29096
29111
|
|
|
29097
|
-
// src/cfg/generated/_utils/schemas/
|
|
29112
|
+
// src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
|
|
29098
29113
|
import { z as z56 } from "zod";
|
|
29099
|
-
var
|
|
29100
|
-
|
|
29101
|
-
|
|
29102
|
-
|
|
29103
|
-
metadata: z56.string().optional()
|
|
29114
|
+
var DocumentCategoryRequestSchema = z56.object({
|
|
29115
|
+
name: z56.string().min(1).max(255),
|
|
29116
|
+
description: z56.string().optional(),
|
|
29117
|
+
is_public: z56.boolean().optional()
|
|
29104
29118
|
});
|
|
29105
29119
|
|
|
29106
|
-
// src/cfg/generated/_utils/schemas/
|
|
29120
|
+
// src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
|
|
29107
29121
|
import { z as z57 } from "zod";
|
|
29108
|
-
var
|
|
29109
|
-
|
|
29110
|
-
|
|
29111
|
-
|
|
29112
|
-
|
|
29113
|
-
processing_time_seconds: z57.number().nullable().optional()
|
|
29122
|
+
var DocumentCreateRequestSchema = z57.object({
|
|
29123
|
+
title: z57.string().min(1).max(512),
|
|
29124
|
+
content: z57.string().min(10).max(1e6),
|
|
29125
|
+
file_type: z57.string().min(1).optional(),
|
|
29126
|
+
metadata: z57.string().optional()
|
|
29114
29127
|
});
|
|
29115
29128
|
|
|
29116
|
-
// src/cfg/generated/_utils/schemas/
|
|
29129
|
+
// src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
|
|
29117
29130
|
import { z as z58 } from "zod";
|
|
29118
|
-
var
|
|
29119
|
-
|
|
29120
|
-
|
|
29121
|
-
|
|
29122
|
-
|
|
29131
|
+
var DocumentProcessingStatusSchema = z58.object({
|
|
29132
|
+
id: z58.uuid(),
|
|
29133
|
+
status: z58.string(),
|
|
29134
|
+
progress: z58.string(),
|
|
29135
|
+
error: z58.string().nullable().optional(),
|
|
29136
|
+
processing_time_seconds: z58.number().nullable().optional()
|
|
29123
29137
|
});
|
|
29124
29138
|
|
|
29125
|
-
// src/cfg/generated/_utils/schemas/
|
|
29139
|
+
// src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
|
|
29126
29140
|
import { z as z59 } from "zod";
|
|
29127
|
-
var
|
|
29128
|
-
|
|
29129
|
-
|
|
29130
|
-
|
|
29131
|
-
|
|
29132
|
-
total_tokens: z59.int(),
|
|
29133
|
-
total_cost_usd: z59.number(),
|
|
29134
|
-
avg_processing_time_seconds: z59.number()
|
|
29141
|
+
var DocumentRequestSchema = z59.object({
|
|
29142
|
+
title: z59.string().min(1).max(512),
|
|
29143
|
+
file_type: z59.string().min(1).max(100).optional(),
|
|
29144
|
+
file_size: z59.int().min(0).max(9223372036854776e3).optional(),
|
|
29145
|
+
metadata: z59.string().nullable().optional()
|
|
29135
29146
|
});
|
|
29136
29147
|
|
|
29137
|
-
// src/cfg/generated/_utils/schemas/
|
|
29148
|
+
// src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
|
|
29138
29149
|
import { z as z60 } from "zod";
|
|
29139
|
-
var
|
|
29140
|
-
|
|
29141
|
-
|
|
29142
|
-
|
|
29143
|
-
|
|
29144
|
-
|
|
29145
|
-
|
|
29146
|
-
|
|
29147
|
-
body: z60.string(),
|
|
29148
|
-
status: z60.nativeEnum(EmailLogStatus),
|
|
29149
|
-
created_at: z60.iso.datetime(),
|
|
29150
|
-
sent_at: z60.iso.datetime().nullable(),
|
|
29151
|
-
error_message: z60.string().nullable()
|
|
29150
|
+
var DocumentStatsSchema = z60.object({
|
|
29151
|
+
total_documents: z60.int(),
|
|
29152
|
+
completed_documents: z60.int(),
|
|
29153
|
+
processing_success_rate: z60.number(),
|
|
29154
|
+
total_chunks: z60.int(),
|
|
29155
|
+
total_tokens: z60.int(),
|
|
29156
|
+
total_cost_usd: z60.number(),
|
|
29157
|
+
avg_processing_time_seconds: z60.number()
|
|
29152
29158
|
});
|
|
29153
29159
|
|
|
29154
|
-
// src/cfg/generated/_utils/schemas/
|
|
29160
|
+
// src/cfg/generated/_utils/schemas/EmailLog.schema.ts
|
|
29155
29161
|
import { z as z61 } from "zod";
|
|
29156
|
-
var
|
|
29157
|
-
|
|
29158
|
-
|
|
29159
|
-
|
|
29160
|
-
|
|
29161
|
-
|
|
29162
|
-
|
|
29163
|
-
|
|
29164
|
-
|
|
29165
|
-
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29169
|
-
reason: z61.string().optional(),
|
|
29170
|
-
last_checked: z61.iso.datetime().nullable().optional(),
|
|
29171
|
-
has_parameters: z61.boolean().optional(),
|
|
29172
|
-
required_auth: z61.boolean().optional(),
|
|
29173
|
-
rate_limited: z61.boolean().optional()
|
|
29162
|
+
var EmailLogSchema = z61.object({
|
|
29163
|
+
id: z61.uuid(),
|
|
29164
|
+
user: z61.int().nullable(),
|
|
29165
|
+
user_email: z61.string(),
|
|
29166
|
+
newsletter: z61.int().nullable(),
|
|
29167
|
+
newsletter_title: z61.string(),
|
|
29168
|
+
recipient: z61.string(),
|
|
29169
|
+
subject: z61.string(),
|
|
29170
|
+
body: z61.string(),
|
|
29171
|
+
status: z61.nativeEnum(EmailLogStatus),
|
|
29172
|
+
created_at: z61.iso.datetime(),
|
|
29173
|
+
sent_at: z61.iso.datetime().nullable(),
|
|
29174
|
+
error_message: z61.string().nullable()
|
|
29174
29175
|
});
|
|
29175
29176
|
|
|
29176
|
-
// src/cfg/generated/_utils/schemas/
|
|
29177
|
+
// src/cfg/generated/_utils/schemas/Endpoint.schema.ts
|
|
29177
29178
|
import { z as z62 } from "zod";
|
|
29178
|
-
var
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
|
|
29179
|
+
var EndpointSchema = z62.object({
|
|
29180
|
+
url: z62.string(),
|
|
29181
|
+
url_pattern: z62.string().nullable().optional(),
|
|
29182
|
+
url_name: z62.string().nullable().optional(),
|
|
29183
|
+
namespace: z62.string().optional(),
|
|
29184
|
+
group: z62.string(),
|
|
29185
|
+
view: z62.string().optional(),
|
|
29186
|
+
status: z62.string(),
|
|
29187
|
+
status_code: z62.int().nullable().optional(),
|
|
29188
|
+
response_time_ms: z62.number().nullable().optional(),
|
|
29189
|
+
is_healthy: z62.boolean().nullable().optional(),
|
|
29190
|
+
error: z62.string().optional(),
|
|
29191
|
+
error_type: z62.string().optional(),
|
|
29192
|
+
reason: z62.string().optional(),
|
|
29193
|
+
last_checked: z62.iso.datetime().nullable().optional(),
|
|
29194
|
+
has_parameters: z62.boolean().optional(),
|
|
29195
|
+
required_auth: z62.boolean().optional(),
|
|
29196
|
+
rate_limited: z62.boolean().optional()
|
|
29185
29197
|
});
|
|
29186
29198
|
|
|
29187
|
-
// src/cfg/generated/_utils/schemas/
|
|
29199
|
+
// src/cfg/generated/_utils/schemas/EndpointGroup.schema.ts
|
|
29188
29200
|
import { z as z63 } from "zod";
|
|
29189
|
-
var
|
|
29190
|
-
|
|
29191
|
-
|
|
29192
|
-
|
|
29193
|
-
|
|
29194
|
-
|
|
29195
|
-
|
|
29196
|
-
errors: z63.int(),
|
|
29197
|
-
skipped: z63.int(),
|
|
29198
|
-
endpoints: z63.array(EndpointSchema)
|
|
29201
|
+
var EndpointGroupSchema = z63.object({
|
|
29202
|
+
id: z63.int(),
|
|
29203
|
+
name: z63.string(),
|
|
29204
|
+
description: z63.string(),
|
|
29205
|
+
is_enabled: z63.boolean(),
|
|
29206
|
+
created_at: z63.iso.datetime(),
|
|
29207
|
+
updated_at: z63.iso.datetime()
|
|
29199
29208
|
});
|
|
29200
29209
|
|
|
29201
|
-
// src/cfg/generated/_utils/schemas/
|
|
29210
|
+
// src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
|
|
29202
29211
|
import { z as z64 } from "zod";
|
|
29203
|
-
var
|
|
29204
|
-
|
|
29205
|
-
|
|
29212
|
+
var EndpointsStatusSchema = z64.object({
|
|
29213
|
+
status: z64.string(),
|
|
29214
|
+
timestamp: z64.iso.datetime(),
|
|
29215
|
+
total_endpoints: z64.int(),
|
|
29216
|
+
healthy: z64.int(),
|
|
29217
|
+
unhealthy: z64.int(),
|
|
29218
|
+
warnings: z64.int(),
|
|
29219
|
+
errors: z64.int(),
|
|
29220
|
+
skipped: z64.int(),
|
|
29221
|
+
endpoints: z64.array(EndpointSchema)
|
|
29206
29222
|
});
|
|
29207
29223
|
|
|
29208
|
-
// src/cfg/generated/_utils/schemas/
|
|
29224
|
+
// src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
|
|
29209
29225
|
import { z as z65 } from "zod";
|
|
29210
|
-
var
|
|
29211
|
-
|
|
29212
|
-
|
|
29213
|
-
service: z65.string(),
|
|
29214
|
-
version: z65.string(),
|
|
29215
|
-
checks: z65.record(z65.string(), z65.any()),
|
|
29216
|
-
environment: z65.record(z65.string(), z65.any())
|
|
29226
|
+
var ErrorResponseSchema = z65.object({
|
|
29227
|
+
success: z65.boolean().optional(),
|
|
29228
|
+
message: z65.string()
|
|
29217
29229
|
});
|
|
29218
29230
|
|
|
29219
|
-
// src/cfg/generated/_utils/schemas/
|
|
29231
|
+
// src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
|
|
29220
29232
|
import { z as z66 } from "zod";
|
|
29221
|
-
var
|
|
29222
|
-
|
|
29223
|
-
|
|
29224
|
-
|
|
29225
|
-
|
|
29226
|
-
|
|
29227
|
-
|
|
29228
|
-
subject: z66.string().max(200).nullable().optional(),
|
|
29229
|
-
message: z66.string(),
|
|
29230
|
-
extra: z66.string().nullable().optional(),
|
|
29231
|
-
site_url: z66.url()
|
|
29233
|
+
var HealthCheckSchema = z66.object({
|
|
29234
|
+
status: z66.string(),
|
|
29235
|
+
timestamp: z66.iso.datetime(),
|
|
29236
|
+
service: z66.string(),
|
|
29237
|
+
version: z66.string(),
|
|
29238
|
+
checks: z66.record(z66.string(), z66.any()),
|
|
29239
|
+
environment: z66.record(z66.string(), z66.any())
|
|
29232
29240
|
});
|
|
29233
29241
|
|
|
29234
|
-
// src/cfg/generated/_utils/schemas/
|
|
29242
|
+
// src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
|
|
29235
29243
|
import { z as z67 } from "zod";
|
|
29236
|
-
var
|
|
29237
|
-
|
|
29238
|
-
|
|
29239
|
-
|
|
29244
|
+
var LeadSubmissionSchema = z67.object({
|
|
29245
|
+
name: z67.string().max(200),
|
|
29246
|
+
email: z67.email(),
|
|
29247
|
+
company: z67.string().max(200).nullable().optional(),
|
|
29248
|
+
company_site: z67.string().max(200).nullable().optional(),
|
|
29249
|
+
contact_type: z67.nativeEnum(LeadSubmissionContactType).optional(),
|
|
29250
|
+
contact_value: z67.string().max(200).nullable().optional(),
|
|
29251
|
+
subject: z67.string().max(200).nullable().optional(),
|
|
29252
|
+
message: z67.string(),
|
|
29253
|
+
extra: z67.string().nullable().optional(),
|
|
29254
|
+
site_url: z67.url()
|
|
29240
29255
|
});
|
|
29241
29256
|
|
|
29242
|
-
// src/cfg/generated/_utils/schemas/
|
|
29257
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
|
|
29243
29258
|
import { z as z68 } from "zod";
|
|
29244
|
-
var
|
|
29245
|
-
|
|
29246
|
-
|
|
29247
|
-
|
|
29248
|
-
company_site: z68.string().max(200).nullable().optional(),
|
|
29249
|
-
contact_type: z68.nativeEnum(LeadSubmissionRequestContactType).optional(),
|
|
29250
|
-
contact_value: z68.string().max(200).nullable().optional(),
|
|
29251
|
-
subject: z68.string().max(200).nullable().optional(),
|
|
29252
|
-
message: z68.string().min(1),
|
|
29253
|
-
extra: z68.string().nullable().optional(),
|
|
29254
|
-
site_url: z68.url()
|
|
29259
|
+
var LeadSubmissionErrorSchema = z68.object({
|
|
29260
|
+
success: z68.boolean(),
|
|
29261
|
+
error: z68.string(),
|
|
29262
|
+
details: z68.record(z68.string(), z68.any()).optional()
|
|
29255
29263
|
});
|
|
29256
29264
|
|
|
29257
|
-
// src/cfg/generated/_utils/schemas/
|
|
29265
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
|
|
29258
29266
|
import { z as z69 } from "zod";
|
|
29259
|
-
var
|
|
29260
|
-
|
|
29261
|
-
|
|
29262
|
-
|
|
29267
|
+
var LeadSubmissionRequestSchema = z69.object({
|
|
29268
|
+
name: z69.string().min(1).max(200),
|
|
29269
|
+
email: z69.email(),
|
|
29270
|
+
company: z69.string().max(200).nullable().optional(),
|
|
29271
|
+
company_site: z69.string().max(200).nullable().optional(),
|
|
29272
|
+
contact_type: z69.nativeEnum(LeadSubmissionRequestContactType).optional(),
|
|
29273
|
+
contact_value: z69.string().max(200).nullable().optional(),
|
|
29274
|
+
subject: z69.string().max(200).nullable().optional(),
|
|
29275
|
+
message: z69.string().min(1),
|
|
29276
|
+
extra: z69.string().nullable().optional(),
|
|
29277
|
+
site_url: z69.url()
|
|
29278
|
+
});
|
|
29279
|
+
|
|
29280
|
+
// src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
|
|
29281
|
+
import { z as z70 } from "zod";
|
|
29282
|
+
var LeadSubmissionResponseSchema = z70.object({
|
|
29283
|
+
success: z70.boolean(),
|
|
29284
|
+
message: z70.string(),
|
|
29285
|
+
lead_id: z70.int()
|
|
29263
29286
|
});
|
|
29264
29287
|
|
|
29265
29288
|
// src/cfg/generated/_utils/schemas/Message.schema.ts
|
|
29266
|
-
import { z as
|
|
29289
|
+
import { z as z72 } from "zod";
|
|
29267
29290
|
|
|
29268
29291
|
// src/cfg/generated/_utils/schemas/Sender.schema.ts
|
|
29269
|
-
import { z as
|
|
29270
|
-
var SenderSchema =
|
|
29271
|
-
id:
|
|
29272
|
-
display_username:
|
|
29273
|
-
email:
|
|
29274
|
-
avatar:
|
|
29275
|
-
initials:
|
|
29276
|
-
is_staff:
|
|
29277
|
-
is_superuser:
|
|
29292
|
+
import { z as z71 } from "zod";
|
|
29293
|
+
var SenderSchema = z71.object({
|
|
29294
|
+
id: z71.int(),
|
|
29295
|
+
display_username: z71.string(),
|
|
29296
|
+
email: z71.email(),
|
|
29297
|
+
avatar: z71.string().nullable(),
|
|
29298
|
+
initials: z71.string(),
|
|
29299
|
+
is_staff: z71.boolean(),
|
|
29300
|
+
is_superuser: z71.boolean()
|
|
29278
29301
|
});
|
|
29279
29302
|
|
|
29280
29303
|
// src/cfg/generated/_utils/schemas/Message.schema.ts
|
|
29281
|
-
var MessageSchema =
|
|
29282
|
-
uuid:
|
|
29283
|
-
ticket:
|
|
29304
|
+
var MessageSchema = z72.object({
|
|
29305
|
+
uuid: z72.uuid(),
|
|
29306
|
+
ticket: z72.uuid(),
|
|
29284
29307
|
sender: SenderSchema,
|
|
29285
|
-
is_from_author:
|
|
29286
|
-
text:
|
|
29287
|
-
created_at:
|
|
29308
|
+
is_from_author: z72.boolean(),
|
|
29309
|
+
text: z72.string(),
|
|
29310
|
+
created_at: z72.iso.datetime()
|
|
29288
29311
|
});
|
|
29289
29312
|
|
|
29290
29313
|
// src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
|
|
29291
|
-
import { z as z72 } from "zod";
|
|
29292
|
-
var MessageCreateSchema = z72.object({
|
|
29293
|
-
text: z72.string()
|
|
29294
|
-
});
|
|
29295
|
-
|
|
29296
|
-
// src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
|
|
29297
29314
|
import { z as z73 } from "zod";
|
|
29298
|
-
var
|
|
29299
|
-
text: z73.string()
|
|
29315
|
+
var MessageCreateSchema = z73.object({
|
|
29316
|
+
text: z73.string()
|
|
29300
29317
|
});
|
|
29301
29318
|
|
|
29302
|
-
// src/cfg/generated/_utils/schemas/
|
|
29319
|
+
// src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
|
|
29303
29320
|
import { z as z74 } from "zod";
|
|
29304
|
-
var
|
|
29321
|
+
var MessageCreateRequestSchema = z74.object({
|
|
29305
29322
|
text: z74.string().min(1)
|
|
29306
29323
|
});
|
|
29307
29324
|
|
|
29308
|
-
// src/cfg/generated/_utils/schemas/
|
|
29325
|
+
// src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
|
|
29309
29326
|
import { z as z75 } from "zod";
|
|
29310
|
-
var
|
|
29311
|
-
|
|
29312
|
-
currency: CurrencyListSchema,
|
|
29313
|
-
name: z75.string(),
|
|
29314
|
-
code: z75.string(),
|
|
29315
|
-
is_active: z75.boolean(),
|
|
29316
|
-
created_at: z75.iso.datetime(),
|
|
29317
|
-
updated_at: z75.iso.datetime()
|
|
29327
|
+
var MessageRequestSchema = z75.object({
|
|
29328
|
+
text: z75.string().min(1)
|
|
29318
29329
|
});
|
|
29319
29330
|
|
|
29320
|
-
// src/cfg/generated/_utils/schemas/
|
|
29331
|
+
// src/cfg/generated/_utils/schemas/Network.schema.ts
|
|
29321
29332
|
import { z as z76 } from "zod";
|
|
29322
|
-
var
|
|
29333
|
+
var NetworkSchema = z76.object({
|
|
29323
29334
|
id: z76.int(),
|
|
29324
|
-
|
|
29325
|
-
|
|
29326
|
-
|
|
29327
|
-
|
|
29335
|
+
currency: CurrencyListSchema.nullable(),
|
|
29336
|
+
name: z76.string(),
|
|
29337
|
+
code: z76.string(),
|
|
29338
|
+
is_active: z76.boolean(),
|
|
29328
29339
|
created_at: z76.iso.datetime(),
|
|
29329
|
-
updated_at: z76.iso.datetime()
|
|
29330
|
-
subscribers_count: z76.int()
|
|
29340
|
+
updated_at: z76.iso.datetime()
|
|
29331
29341
|
});
|
|
29332
29342
|
|
|
29333
|
-
// src/cfg/generated/_utils/schemas/
|
|
29343
|
+
// src/cfg/generated/_utils/schemas/Newsletter.schema.ts
|
|
29334
29344
|
import { z as z77 } from "zod";
|
|
29335
|
-
var
|
|
29345
|
+
var NewsletterSchema = z77.object({
|
|
29336
29346
|
id: z77.int(),
|
|
29337
|
-
|
|
29338
|
-
|
|
29339
|
-
|
|
29340
|
-
|
|
29341
|
-
main_text: z77.string(),
|
|
29342
|
-
main_html_content: z77.string().optional(),
|
|
29343
|
-
button_text: z77.string().max(100).optional(),
|
|
29344
|
-
button_url: z77.url().optional(),
|
|
29345
|
-
secondary_text: z77.string().optional(),
|
|
29346
|
-
status: z77.nativeEnum(NewsletterCampaignStatus),
|
|
29347
|
+
title: z77.string().max(255),
|
|
29348
|
+
description: z77.string().optional(),
|
|
29349
|
+
is_active: z77.boolean().optional(),
|
|
29350
|
+
auto_subscribe: z77.boolean().optional(),
|
|
29347
29351
|
created_at: z77.iso.datetime(),
|
|
29348
|
-
|
|
29349
|
-
|
|
29352
|
+
updated_at: z77.iso.datetime(),
|
|
29353
|
+
subscribers_count: z77.int()
|
|
29350
29354
|
});
|
|
29351
29355
|
|
|
29352
|
-
// src/cfg/generated/_utils/schemas/
|
|
29356
|
+
// src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
|
|
29353
29357
|
import { z as z78 } from "zod";
|
|
29354
|
-
var
|
|
29358
|
+
var NewsletterCampaignSchema = z78.object({
|
|
29359
|
+
id: z78.int(),
|
|
29355
29360
|
newsletter: z78.int(),
|
|
29356
|
-
|
|
29357
|
-
|
|
29358
|
-
|
|
29361
|
+
newsletter_title: z78.string(),
|
|
29362
|
+
subject: z78.string().max(255),
|
|
29363
|
+
email_title: z78.string().max(255),
|
|
29364
|
+
main_text: z78.string(),
|
|
29359
29365
|
main_html_content: z78.string().optional(),
|
|
29360
29366
|
button_text: z78.string().max(100).optional(),
|
|
29361
29367
|
button_url: z78.url().optional(),
|
|
29362
|
-
secondary_text: z78.string().optional()
|
|
29368
|
+
secondary_text: z78.string().optional(),
|
|
29369
|
+
status: z78.nativeEnum(NewsletterCampaignStatus),
|
|
29370
|
+
created_at: z78.iso.datetime(),
|
|
29371
|
+
sent_at: z78.iso.datetime().nullable(),
|
|
29372
|
+
recipient_count: z78.int()
|
|
29363
29373
|
});
|
|
29364
29374
|
|
|
29365
|
-
// src/cfg/generated/_utils/schemas/
|
|
29375
|
+
// src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
|
|
29366
29376
|
import { z as z79 } from "zod";
|
|
29367
|
-
var
|
|
29368
|
-
id: z79.int(),
|
|
29377
|
+
var NewsletterCampaignRequestSchema = z79.object({
|
|
29369
29378
|
newsletter: z79.int(),
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
|
|
29376
|
-
|
|
29379
|
+
subject: z79.string().min(1).max(255),
|
|
29380
|
+
email_title: z79.string().min(1).max(255),
|
|
29381
|
+
main_text: z79.string().min(1),
|
|
29382
|
+
main_html_content: z79.string().optional(),
|
|
29383
|
+
button_text: z79.string().max(100).optional(),
|
|
29384
|
+
button_url: z79.url().optional(),
|
|
29385
|
+
secondary_text: z79.string().optional()
|
|
29377
29386
|
});
|
|
29378
29387
|
|
|
29379
|
-
// src/cfg/generated/_utils/schemas/
|
|
29388
|
+
// src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
|
|
29380
29389
|
import { z as z80 } from "zod";
|
|
29381
|
-
var
|
|
29382
|
-
|
|
29390
|
+
var NewsletterSubscriptionSchema = z80.object({
|
|
29391
|
+
id: z80.int(),
|
|
29392
|
+
newsletter: z80.int(),
|
|
29393
|
+
newsletter_title: z80.string(),
|
|
29394
|
+
user: z80.int().nullable().optional(),
|
|
29395
|
+
user_email: z80.string(),
|
|
29396
|
+
email: z80.email(),
|
|
29397
|
+
is_active: z80.boolean().optional(),
|
|
29398
|
+
subscribed_at: z80.iso.datetime(),
|
|
29399
|
+
unsubscribed_at: z80.iso.datetime().nullable()
|
|
29383
29400
|
});
|
|
29384
29401
|
|
|
29385
|
-
// src/cfg/generated/_utils/schemas/
|
|
29402
|
+
// src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
|
|
29386
29403
|
import { z as z81 } from "zod";
|
|
29387
|
-
var
|
|
29388
|
-
|
|
29389
|
-
channel: z81.nativeEnum(OTPRequestRequestChannel).optional(),
|
|
29390
|
-
source_url: z81.url().optional()
|
|
29404
|
+
var OTPErrorResponseSchema = z81.object({
|
|
29405
|
+
error: z81.string()
|
|
29391
29406
|
});
|
|
29392
29407
|
|
|
29393
|
-
// src/cfg/generated/_utils/schemas/
|
|
29408
|
+
// src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
|
|
29394
29409
|
import { z as z82 } from "zod";
|
|
29395
|
-
var
|
|
29396
|
-
|
|
29410
|
+
var OTPRequestRequestSchema = z82.object({
|
|
29411
|
+
identifier: z82.string().min(1),
|
|
29412
|
+
channel: z82.nativeEnum(OTPRequestRequestChannel).optional(),
|
|
29413
|
+
source_url: z82.url().optional()
|
|
29397
29414
|
});
|
|
29398
29415
|
|
|
29399
|
-
// src/cfg/generated/_utils/schemas/
|
|
29416
|
+
// src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
|
|
29400
29417
|
import { z as z83 } from "zod";
|
|
29401
|
-
var
|
|
29402
|
-
|
|
29403
|
-
|
|
29404
|
-
|
|
29405
|
-
|
|
29418
|
+
var OTPRequestResponseSchema = z83.object({
|
|
29419
|
+
message: z83.string()
|
|
29420
|
+
});
|
|
29421
|
+
|
|
29422
|
+
// src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
|
|
29423
|
+
import { z as z84 } from "zod";
|
|
29424
|
+
var OTPVerifyRequestSchema = z84.object({
|
|
29425
|
+
identifier: z84.string().min(1),
|
|
29426
|
+
otp: z84.string().min(6).max(6),
|
|
29427
|
+
channel: z84.nativeEnum(OTPVerifyRequestChannel).optional(),
|
|
29428
|
+
source_url: z84.url().optional()
|
|
29406
29429
|
});
|
|
29407
29430
|
|
|
29408
29431
|
// src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
|
|
29409
|
-
import { z as
|
|
29432
|
+
import { z as z86 } from "zod";
|
|
29410
29433
|
|
|
29411
29434
|
// src/cfg/generated/_utils/schemas/User.schema.ts
|
|
29412
|
-
import { z as
|
|
29413
|
-
var UserSchema =
|
|
29414
|
-
id:
|
|
29415
|
-
email:
|
|
29416
|
-
first_name:
|
|
29417
|
-
last_name:
|
|
29418
|
-
full_name:
|
|
29419
|
-
initials:
|
|
29420
|
-
display_username:
|
|
29421
|
-
company:
|
|
29422
|
-
phone:
|
|
29423
|
-
position:
|
|
29424
|
-
avatar:
|
|
29425
|
-
is_staff:
|
|
29426
|
-
is_superuser:
|
|
29427
|
-
date_joined:
|
|
29428
|
-
last_login:
|
|
29429
|
-
unanswered_messages_count:
|
|
29435
|
+
import { z as z85 } from "zod";
|
|
29436
|
+
var UserSchema = z85.object({
|
|
29437
|
+
id: z85.int(),
|
|
29438
|
+
email: z85.email(),
|
|
29439
|
+
first_name: z85.string().max(50).optional(),
|
|
29440
|
+
last_name: z85.string().max(50).optional(),
|
|
29441
|
+
full_name: z85.string(),
|
|
29442
|
+
initials: z85.string(),
|
|
29443
|
+
display_username: z85.string(),
|
|
29444
|
+
company: z85.string().max(100).optional(),
|
|
29445
|
+
phone: z85.string().max(20).optional(),
|
|
29446
|
+
position: z85.string().max(100).optional(),
|
|
29447
|
+
avatar: z85.url().nullable(),
|
|
29448
|
+
is_staff: z85.boolean(),
|
|
29449
|
+
is_superuser: z85.boolean(),
|
|
29450
|
+
date_joined: z85.iso.datetime(),
|
|
29451
|
+
last_login: z85.iso.datetime().nullable(),
|
|
29452
|
+
unanswered_messages_count: z85.int()
|
|
29430
29453
|
});
|
|
29431
29454
|
|
|
29432
29455
|
// src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
|
|
29433
|
-
var OTPVerifyResponseSchema =
|
|
29434
|
-
refresh:
|
|
29435
|
-
access:
|
|
29456
|
+
var OTPVerifyResponseSchema = z86.object({
|
|
29457
|
+
refresh: z86.string(),
|
|
29458
|
+
access: z86.string(),
|
|
29436
29459
|
user: UserSchema
|
|
29437
29460
|
});
|
|
29438
29461
|
|
|
29439
29462
|
// src/cfg/generated/_utils/schemas/PaginatedAPIKeyListList.schema.ts
|
|
29440
|
-
import { z as z86 } from "zod";
|
|
29441
|
-
var PaginatedAPIKeyListListSchema = z86.object({
|
|
29442
|
-
count: z86.int(),
|
|
29443
|
-
page: z86.int(),
|
|
29444
|
-
pages: z86.int(),
|
|
29445
|
-
page_size: z86.int(),
|
|
29446
|
-
has_next: z86.boolean(),
|
|
29447
|
-
has_previous: z86.boolean(),
|
|
29448
|
-
next_page: z86.int().nullable().optional(),
|
|
29449
|
-
previous_page: z86.int().nullable().optional(),
|
|
29450
|
-
results: z86.array(APIKeyListSchema)
|
|
29451
|
-
});
|
|
29452
|
-
|
|
29453
|
-
// src/cfg/generated/_utils/schemas/PaginatedAdminPaymentListList.schema.ts
|
|
29454
29463
|
import { z as z87 } from "zod";
|
|
29455
|
-
var
|
|
29464
|
+
var PaginatedAPIKeyListListSchema = z87.object({
|
|
29456
29465
|
count: z87.int(),
|
|
29457
29466
|
page: z87.int(),
|
|
29458
29467
|
pages: z87.int(),
|
|
@@ -29461,12 +29470,12 @@ var PaginatedAdminPaymentListListSchema = z87.object({
|
|
|
29461
29470
|
has_previous: z87.boolean(),
|
|
29462
29471
|
next_page: z87.int().nullable().optional(),
|
|
29463
29472
|
previous_page: z87.int().nullable().optional(),
|
|
29464
|
-
results: z87.array(
|
|
29473
|
+
results: z87.array(APIKeyListSchema)
|
|
29465
29474
|
});
|
|
29466
29475
|
|
|
29467
|
-
// src/cfg/generated/_utils/schemas/
|
|
29476
|
+
// src/cfg/generated/_utils/schemas/PaginatedAdminPaymentListList.schema.ts
|
|
29468
29477
|
import { z as z88 } from "zod";
|
|
29469
|
-
var
|
|
29478
|
+
var PaginatedAdminPaymentListListSchema = z88.object({
|
|
29470
29479
|
count: z88.int(),
|
|
29471
29480
|
page: z88.int(),
|
|
29472
29481
|
pages: z88.int(),
|
|
@@ -29475,12 +29484,12 @@ var PaginatedAdminPaymentStatsListSchema = z88.object({
|
|
|
29475
29484
|
has_previous: z88.boolean(),
|
|
29476
29485
|
next_page: z88.int().nullable().optional(),
|
|
29477
29486
|
previous_page: z88.int().nullable().optional(),
|
|
29478
|
-
results: z88.array(
|
|
29487
|
+
results: z88.array(AdminPaymentListSchema)
|
|
29479
29488
|
});
|
|
29480
29489
|
|
|
29481
|
-
// src/cfg/generated/_utils/schemas/
|
|
29490
|
+
// src/cfg/generated/_utils/schemas/PaginatedAdminPaymentStatsList.schema.ts
|
|
29482
29491
|
import { z as z89 } from "zod";
|
|
29483
|
-
var
|
|
29492
|
+
var PaginatedAdminPaymentStatsListSchema = z89.object({
|
|
29484
29493
|
count: z89.int(),
|
|
29485
29494
|
page: z89.int(),
|
|
29486
29495
|
pages: z89.int(),
|
|
@@ -29489,12 +29498,12 @@ var PaginatedAdminUserListSchema = z89.object({
|
|
|
29489
29498
|
has_previous: z89.boolean(),
|
|
29490
29499
|
next_page: z89.int().nullable().optional(),
|
|
29491
29500
|
previous_page: z89.int().nullable().optional(),
|
|
29492
|
-
results: z89.array(
|
|
29501
|
+
results: z89.array(AdminPaymentStatsSchema)
|
|
29493
29502
|
});
|
|
29494
29503
|
|
|
29495
|
-
// src/cfg/generated/_utils/schemas/
|
|
29504
|
+
// src/cfg/generated/_utils/schemas/PaginatedAdminUserList.schema.ts
|
|
29496
29505
|
import { z as z90 } from "zod";
|
|
29497
|
-
var
|
|
29506
|
+
var PaginatedAdminUserListSchema = z90.object({
|
|
29498
29507
|
count: z90.int(),
|
|
29499
29508
|
page: z90.int(),
|
|
29500
29509
|
pages: z90.int(),
|
|
@@ -29503,12 +29512,12 @@ var PaginatedArchiveItemChunkListSchema = z90.object({
|
|
|
29503
29512
|
has_previous: z90.boolean(),
|
|
29504
29513
|
next_page: z90.int().nullable().optional(),
|
|
29505
29514
|
previous_page: z90.int().nullable().optional(),
|
|
29506
|
-
results: z90.array(
|
|
29515
|
+
results: z90.array(AdminUserSchema)
|
|
29507
29516
|
});
|
|
29508
29517
|
|
|
29509
|
-
// src/cfg/generated/_utils/schemas/
|
|
29518
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
|
|
29510
29519
|
import { z as z91 } from "zod";
|
|
29511
|
-
var
|
|
29520
|
+
var PaginatedArchiveItemChunkListSchema = z91.object({
|
|
29512
29521
|
count: z91.int(),
|
|
29513
29522
|
page: z91.int(),
|
|
29514
29523
|
pages: z91.int(),
|
|
@@ -29517,12 +29526,12 @@ var PaginatedArchiveItemListSchema = z91.object({
|
|
|
29517
29526
|
has_previous: z91.boolean(),
|
|
29518
29527
|
next_page: z91.int().nullable().optional(),
|
|
29519
29528
|
previous_page: z91.int().nullable().optional(),
|
|
29520
|
-
results: z91.array(
|
|
29529
|
+
results: z91.array(ArchiveItemChunkSchema)
|
|
29521
29530
|
});
|
|
29522
29531
|
|
|
29523
|
-
// src/cfg/generated/_utils/schemas/
|
|
29532
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
|
|
29524
29533
|
import { z as z92 } from "zod";
|
|
29525
|
-
var
|
|
29534
|
+
var PaginatedArchiveItemListSchema = z92.object({
|
|
29526
29535
|
count: z92.int(),
|
|
29527
29536
|
page: z92.int(),
|
|
29528
29537
|
pages: z92.int(),
|
|
@@ -29531,12 +29540,12 @@ var PaginatedArchiveSearchResultListSchema = z92.object({
|
|
|
29531
29540
|
has_previous: z92.boolean(),
|
|
29532
29541
|
next_page: z92.int().nullable().optional(),
|
|
29533
29542
|
previous_page: z92.int().nullable().optional(),
|
|
29534
|
-
results: z92.array(
|
|
29543
|
+
results: z92.array(ArchiveItemSchema)
|
|
29535
29544
|
});
|
|
29536
29545
|
|
|
29537
|
-
// src/cfg/generated/_utils/schemas/
|
|
29546
|
+
// src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
|
|
29538
29547
|
import { z as z93 } from "zod";
|
|
29539
|
-
var
|
|
29548
|
+
var PaginatedArchiveSearchResultListSchema = z93.object({
|
|
29540
29549
|
count: z93.int(),
|
|
29541
29550
|
page: z93.int(),
|
|
29542
29551
|
pages: z93.int(),
|
|
@@ -29545,12 +29554,12 @@ var PaginatedChatResponseListSchema = z93.object({
|
|
|
29545
29554
|
has_previous: z93.boolean(),
|
|
29546
29555
|
next_page: z93.int().nullable().optional(),
|
|
29547
29556
|
previous_page: z93.int().nullable().optional(),
|
|
29548
|
-
results: z93.array(
|
|
29557
|
+
results: z93.array(ArchiveSearchResultSchema)
|
|
29549
29558
|
});
|
|
29550
29559
|
|
|
29551
|
-
// src/cfg/generated/_utils/schemas/
|
|
29560
|
+
// src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
|
|
29552
29561
|
import { z as z94 } from "zod";
|
|
29553
|
-
var
|
|
29562
|
+
var PaginatedChatResponseListSchema = z94.object({
|
|
29554
29563
|
count: z94.int(),
|
|
29555
29564
|
page: z94.int(),
|
|
29556
29565
|
pages: z94.int(),
|
|
@@ -29559,12 +29568,12 @@ var PaginatedChatSessionListSchema = z94.object({
|
|
|
29559
29568
|
has_previous: z94.boolean(),
|
|
29560
29569
|
next_page: z94.int().nullable().optional(),
|
|
29561
29570
|
previous_page: z94.int().nullable().optional(),
|
|
29562
|
-
results: z94.array(
|
|
29571
|
+
results: z94.array(ChatResponseSchema)
|
|
29563
29572
|
});
|
|
29564
29573
|
|
|
29565
|
-
// src/cfg/generated/_utils/schemas/
|
|
29574
|
+
// src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
|
|
29566
29575
|
import { z as z95 } from "zod";
|
|
29567
|
-
var
|
|
29576
|
+
var PaginatedChatSessionListSchema = z95.object({
|
|
29568
29577
|
count: z95.int(),
|
|
29569
29578
|
page: z95.int(),
|
|
29570
29579
|
pages: z95.int(),
|
|
@@ -29573,12 +29582,12 @@ var PaginatedCurrencyListListSchema = z95.object({
|
|
|
29573
29582
|
has_previous: z95.boolean(),
|
|
29574
29583
|
next_page: z95.int().nullable().optional(),
|
|
29575
29584
|
previous_page: z95.int().nullable().optional(),
|
|
29576
|
-
results: z95.array(
|
|
29585
|
+
results: z95.array(ChatSessionSchema)
|
|
29577
29586
|
});
|
|
29578
29587
|
|
|
29579
|
-
// src/cfg/generated/_utils/schemas/
|
|
29588
|
+
// src/cfg/generated/_utils/schemas/PaginatedCurrencyListList.schema.ts
|
|
29580
29589
|
import { z as z96 } from "zod";
|
|
29581
|
-
var
|
|
29590
|
+
var PaginatedCurrencyListListSchema = z96.object({
|
|
29582
29591
|
count: z96.int(),
|
|
29583
29592
|
page: z96.int(),
|
|
29584
29593
|
pages: z96.int(),
|
|
@@ -29587,12 +29596,12 @@ var PaginatedDocumentArchiveListListSchema = z96.object({
|
|
|
29587
29596
|
has_previous: z96.boolean(),
|
|
29588
29597
|
next_page: z96.int().nullable().optional(),
|
|
29589
29598
|
previous_page: z96.int().nullable().optional(),
|
|
29590
|
-
results: z96.array(
|
|
29599
|
+
results: z96.array(CurrencyListSchema)
|
|
29591
29600
|
});
|
|
29592
29601
|
|
|
29593
|
-
// src/cfg/generated/_utils/schemas/
|
|
29602
|
+
// src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
|
|
29594
29603
|
import { z as z97 } from "zod";
|
|
29595
|
-
var
|
|
29604
|
+
var PaginatedDocumentArchiveListListSchema = z97.object({
|
|
29596
29605
|
count: z97.int(),
|
|
29597
29606
|
page: z97.int(),
|
|
29598
29607
|
pages: z97.int(),
|
|
@@ -29601,12 +29610,12 @@ var PaginatedDocumentListSchema = z97.object({
|
|
|
29601
29610
|
has_previous: z97.boolean(),
|
|
29602
29611
|
next_page: z97.int().nullable().optional(),
|
|
29603
29612
|
previous_page: z97.int().nullable().optional(),
|
|
29604
|
-
results: z97.array(
|
|
29613
|
+
results: z97.array(DocumentArchiveListSchema)
|
|
29605
29614
|
});
|
|
29606
29615
|
|
|
29607
|
-
// src/cfg/generated/_utils/schemas/
|
|
29616
|
+
// src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
|
|
29608
29617
|
import { z as z98 } from "zod";
|
|
29609
|
-
var
|
|
29618
|
+
var PaginatedDocumentListSchema = z98.object({
|
|
29610
29619
|
count: z98.int(),
|
|
29611
29620
|
page: z98.int(),
|
|
29612
29621
|
pages: z98.int(),
|
|
@@ -29615,12 +29624,12 @@ var PaginatedEmailLogListSchema = z98.object({
|
|
|
29615
29624
|
has_previous: z98.boolean(),
|
|
29616
29625
|
next_page: z98.int().nullable().optional(),
|
|
29617
29626
|
previous_page: z98.int().nullable().optional(),
|
|
29618
|
-
results: z98.array(
|
|
29627
|
+
results: z98.array(DocumentSchema)
|
|
29619
29628
|
});
|
|
29620
29629
|
|
|
29621
|
-
// src/cfg/generated/_utils/schemas/
|
|
29630
|
+
// src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
|
|
29622
29631
|
import { z as z99 } from "zod";
|
|
29623
|
-
var
|
|
29632
|
+
var PaginatedEmailLogListSchema = z99.object({
|
|
29624
29633
|
count: z99.int(),
|
|
29625
29634
|
page: z99.int(),
|
|
29626
29635
|
pages: z99.int(),
|
|
@@ -29629,12 +29638,12 @@ var PaginatedEndpointGroupListSchema = z99.object({
|
|
|
29629
29638
|
has_previous: z99.boolean(),
|
|
29630
29639
|
next_page: z99.int().nullable().optional(),
|
|
29631
29640
|
previous_page: z99.int().nullable().optional(),
|
|
29632
|
-
results: z99.array(
|
|
29641
|
+
results: z99.array(EmailLogSchema)
|
|
29633
29642
|
});
|
|
29634
29643
|
|
|
29635
|
-
// src/cfg/generated/_utils/schemas/
|
|
29644
|
+
// src/cfg/generated/_utils/schemas/PaginatedEndpointGroupList.schema.ts
|
|
29636
29645
|
import { z as z100 } from "zod";
|
|
29637
|
-
var
|
|
29646
|
+
var PaginatedEndpointGroupListSchema = z100.object({
|
|
29638
29647
|
count: z100.int(),
|
|
29639
29648
|
page: z100.int(),
|
|
29640
29649
|
pages: z100.int(),
|
|
@@ -29643,12 +29652,12 @@ var PaginatedLeadSubmissionListSchema = z100.object({
|
|
|
29643
29652
|
has_previous: z100.boolean(),
|
|
29644
29653
|
next_page: z100.int().nullable().optional(),
|
|
29645
29654
|
previous_page: z100.int().nullable().optional(),
|
|
29646
|
-
results: z100.array(
|
|
29655
|
+
results: z100.array(EndpointGroupSchema)
|
|
29647
29656
|
});
|
|
29648
29657
|
|
|
29649
|
-
// src/cfg/generated/_utils/schemas/
|
|
29658
|
+
// src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
|
|
29650
29659
|
import { z as z101 } from "zod";
|
|
29651
|
-
var
|
|
29660
|
+
var PaginatedLeadSubmissionListSchema = z101.object({
|
|
29652
29661
|
count: z101.int(),
|
|
29653
29662
|
page: z101.int(),
|
|
29654
29663
|
pages: z101.int(),
|
|
@@ -29657,12 +29666,12 @@ var PaginatedMessageListSchema = z101.object({
|
|
|
29657
29666
|
has_previous: z101.boolean(),
|
|
29658
29667
|
next_page: z101.int().nullable().optional(),
|
|
29659
29668
|
previous_page: z101.int().nullable().optional(),
|
|
29660
|
-
results: z101.array(
|
|
29669
|
+
results: z101.array(LeadSubmissionSchema)
|
|
29661
29670
|
});
|
|
29662
29671
|
|
|
29663
|
-
// src/cfg/generated/_utils/schemas/
|
|
29672
|
+
// src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
|
|
29664
29673
|
import { z as z102 } from "zod";
|
|
29665
|
-
var
|
|
29674
|
+
var PaginatedMessageListSchema = z102.object({
|
|
29666
29675
|
count: z102.int(),
|
|
29667
29676
|
page: z102.int(),
|
|
29668
29677
|
pages: z102.int(),
|
|
@@ -29671,12 +29680,12 @@ var PaginatedNetworkListSchema = z102.object({
|
|
|
29671
29680
|
has_previous: z102.boolean(),
|
|
29672
29681
|
next_page: z102.int().nullable().optional(),
|
|
29673
29682
|
previous_page: z102.int().nullable().optional(),
|
|
29674
|
-
results: z102.array(
|
|
29683
|
+
results: z102.array(MessageSchema)
|
|
29675
29684
|
});
|
|
29676
29685
|
|
|
29677
|
-
// src/cfg/generated/_utils/schemas/
|
|
29686
|
+
// src/cfg/generated/_utils/schemas/PaginatedNetworkList.schema.ts
|
|
29678
29687
|
import { z as z103 } from "zod";
|
|
29679
|
-
var
|
|
29688
|
+
var PaginatedNetworkListSchema = z103.object({
|
|
29680
29689
|
count: z103.int(),
|
|
29681
29690
|
page: z103.int(),
|
|
29682
29691
|
pages: z103.int(),
|
|
@@ -29685,12 +29694,12 @@ var PaginatedNewsletterCampaignListSchema = z103.object({
|
|
|
29685
29694
|
has_previous: z103.boolean(),
|
|
29686
29695
|
next_page: z103.int().nullable().optional(),
|
|
29687
29696
|
previous_page: z103.int().nullable().optional(),
|
|
29688
|
-
results: z103.array(
|
|
29697
|
+
results: z103.array(NetworkSchema)
|
|
29689
29698
|
});
|
|
29690
29699
|
|
|
29691
|
-
// src/cfg/generated/_utils/schemas/
|
|
29700
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
|
|
29692
29701
|
import { z as z104 } from "zod";
|
|
29693
|
-
var
|
|
29702
|
+
var PaginatedNewsletterCampaignListSchema = z104.object({
|
|
29694
29703
|
count: z104.int(),
|
|
29695
29704
|
page: z104.int(),
|
|
29696
29705
|
pages: z104.int(),
|
|
@@ -29699,12 +29708,12 @@ var PaginatedNewsletterListSchema = z104.object({
|
|
|
29699
29708
|
has_previous: z104.boolean(),
|
|
29700
29709
|
next_page: z104.int().nullable().optional(),
|
|
29701
29710
|
previous_page: z104.int().nullable().optional(),
|
|
29702
|
-
results: z104.array(
|
|
29711
|
+
results: z104.array(NewsletterCampaignSchema)
|
|
29703
29712
|
});
|
|
29704
29713
|
|
|
29705
|
-
// src/cfg/generated/_utils/schemas/
|
|
29714
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
|
|
29706
29715
|
import { z as z105 } from "zod";
|
|
29707
|
-
var
|
|
29716
|
+
var PaginatedNewsletterListSchema = z105.object({
|
|
29708
29717
|
count: z105.int(),
|
|
29709
29718
|
page: z105.int(),
|
|
29710
29719
|
pages: z105.int(),
|
|
@@ -29713,1056 +29722,1076 @@ var PaginatedNewsletterSubscriptionListSchema = z105.object({
|
|
|
29713
29722
|
has_previous: z105.boolean(),
|
|
29714
29723
|
next_page: z105.int().nullable().optional(),
|
|
29715
29724
|
previous_page: z105.int().nullable().optional(),
|
|
29716
|
-
results: z105.array(
|
|
29725
|
+
results: z105.array(NewsletterSchema)
|
|
29726
|
+
});
|
|
29727
|
+
|
|
29728
|
+
// src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
|
|
29729
|
+
import { z as z106 } from "zod";
|
|
29730
|
+
var PaginatedNewsletterSubscriptionListSchema = z106.object({
|
|
29731
|
+
count: z106.int(),
|
|
29732
|
+
page: z106.int(),
|
|
29733
|
+
pages: z106.int(),
|
|
29734
|
+
page_size: z106.int(),
|
|
29735
|
+
has_next: z106.boolean(),
|
|
29736
|
+
has_previous: z106.boolean(),
|
|
29737
|
+
next_page: z106.int().nullable().optional(),
|
|
29738
|
+
previous_page: z106.int().nullable().optional(),
|
|
29739
|
+
results: z106.array(NewsletterSubscriptionSchema)
|
|
29717
29740
|
});
|
|
29718
29741
|
|
|
29719
29742
|
// src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
|
|
29720
|
-
import { z as
|
|
29743
|
+
import { z as z108 } from "zod";
|
|
29721
29744
|
|
|
29722
29745
|
// src/cfg/generated/_utils/schemas/PaymentList.schema.ts
|
|
29723
|
-
import { z as
|
|
29724
|
-
var PaymentListSchema =
|
|
29725
|
-
id:
|
|
29726
|
-
amount_usd:
|
|
29727
|
-
currency:
|
|
29728
|
-
provider:
|
|
29729
|
-
status:
|
|
29730
|
-
status_display:
|
|
29731
|
-
amount_display:
|
|
29732
|
-
created_at:
|
|
29733
|
-
expires_at:
|
|
29746
|
+
import { z as z107 } from "zod";
|
|
29747
|
+
var PaymentListSchema = z107.object({
|
|
29748
|
+
id: z107.uuid(),
|
|
29749
|
+
amount_usd: z107.number(),
|
|
29750
|
+
currency: z107.int(),
|
|
29751
|
+
provider: z107.nativeEnum(PaymentListProvider),
|
|
29752
|
+
status: z107.nativeEnum(PaymentListStatus),
|
|
29753
|
+
status_display: z107.string(),
|
|
29754
|
+
amount_display: z107.string(),
|
|
29755
|
+
created_at: z107.iso.datetime(),
|
|
29756
|
+
expires_at: z107.iso.datetime().nullable()
|
|
29734
29757
|
});
|
|
29735
29758
|
|
|
29736
29759
|
// src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
|
|
29737
|
-
var PaginatedPaymentListListSchema =
|
|
29738
|
-
count:
|
|
29739
|
-
page:
|
|
29740
|
-
pages:
|
|
29741
|
-
page_size:
|
|
29742
|
-
has_next:
|
|
29743
|
-
has_previous:
|
|
29744
|
-
next_page:
|
|
29745
|
-
previous_page:
|
|
29746
|
-
results:
|
|
29760
|
+
var PaginatedPaymentListListSchema = z108.object({
|
|
29761
|
+
count: z108.int(),
|
|
29762
|
+
page: z108.int(),
|
|
29763
|
+
pages: z108.int(),
|
|
29764
|
+
page_size: z108.int(),
|
|
29765
|
+
has_next: z108.boolean(),
|
|
29766
|
+
has_previous: z108.boolean(),
|
|
29767
|
+
next_page: z108.int().nullable().optional(),
|
|
29768
|
+
previous_page: z108.int().nullable().optional(),
|
|
29769
|
+
results: z108.array(PaymentListSchema)
|
|
29747
29770
|
});
|
|
29748
29771
|
|
|
29749
29772
|
// src/cfg/generated/_utils/schemas/PaginatedProviderCurrencyList.schema.ts
|
|
29750
|
-
import { z as
|
|
29773
|
+
import { z as z110 } from "zod";
|
|
29751
29774
|
|
|
29752
29775
|
// src/cfg/generated/_utils/schemas/ProviderCurrency.schema.ts
|
|
29753
|
-
import { z as
|
|
29754
|
-
var ProviderCurrencySchema =
|
|
29755
|
-
id:
|
|
29776
|
+
import { z as z109 } from "zod";
|
|
29777
|
+
var ProviderCurrencySchema = z109.object({
|
|
29778
|
+
id: z109.int(),
|
|
29756
29779
|
currency: CurrencyListSchema,
|
|
29757
|
-
network: NetworkSchema,
|
|
29758
|
-
provider:
|
|
29759
|
-
provider_currency_code:
|
|
29760
|
-
provider_min_amount_usd:
|
|
29761
|
-
provider_max_amount_usd:
|
|
29762
|
-
provider_fee_percentage:
|
|
29763
|
-
provider_fixed_fee_usd:
|
|
29764
|
-
is_enabled:
|
|
29765
|
-
created_at:
|
|
29766
|
-
updated_at:
|
|
29780
|
+
network: NetworkSchema.nullable(),
|
|
29781
|
+
provider: z109.string(),
|
|
29782
|
+
provider_currency_code: z109.string(),
|
|
29783
|
+
provider_min_amount_usd: z109.number(),
|
|
29784
|
+
provider_max_amount_usd: z109.number(),
|
|
29785
|
+
provider_fee_percentage: z109.number(),
|
|
29786
|
+
provider_fixed_fee_usd: z109.number(),
|
|
29787
|
+
is_enabled: z109.boolean(),
|
|
29788
|
+
created_at: z109.iso.datetime(),
|
|
29789
|
+
updated_at: z109.iso.datetime()
|
|
29767
29790
|
});
|
|
29768
29791
|
|
|
29769
29792
|
// src/cfg/generated/_utils/schemas/PaginatedProviderCurrencyList.schema.ts
|
|
29770
|
-
var PaginatedProviderCurrencyListSchema =
|
|
29771
|
-
count:
|
|
29772
|
-
page:
|
|
29773
|
-
pages:
|
|
29774
|
-
page_size:
|
|
29775
|
-
has_next:
|
|
29776
|
-
has_previous:
|
|
29777
|
-
next_page:
|
|
29778
|
-
previous_page:
|
|
29779
|
-
results:
|
|
29793
|
+
var PaginatedProviderCurrencyListSchema = z110.object({
|
|
29794
|
+
count: z110.int(),
|
|
29795
|
+
page: z110.int(),
|
|
29796
|
+
pages: z110.int(),
|
|
29797
|
+
page_size: z110.int(),
|
|
29798
|
+
has_next: z110.boolean(),
|
|
29799
|
+
has_previous: z110.boolean(),
|
|
29800
|
+
next_page: z110.int().nullable().optional(),
|
|
29801
|
+
previous_page: z110.int().nullable().optional(),
|
|
29802
|
+
results: z110.array(ProviderCurrencySchema)
|
|
29780
29803
|
});
|
|
29781
29804
|
|
|
29782
29805
|
// src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
|
|
29783
|
-
import { z as
|
|
29806
|
+
import { z as z112 } from "zod";
|
|
29784
29807
|
|
|
29785
29808
|
// src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
|
|
29786
|
-
import { z as
|
|
29787
|
-
var PublicCategorySchema =
|
|
29788
|
-
id:
|
|
29789
|
-
name:
|
|
29790
|
-
description:
|
|
29809
|
+
import { z as z111 } from "zod";
|
|
29810
|
+
var PublicCategorySchema = z111.object({
|
|
29811
|
+
id: z111.uuid(),
|
|
29812
|
+
name: z111.string().max(255),
|
|
29813
|
+
description: z111.string().optional()
|
|
29791
29814
|
});
|
|
29792
29815
|
|
|
29793
29816
|
// src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
|
|
29794
|
-
var PaginatedPublicCategoryListSchema =
|
|
29795
|
-
count:
|
|
29796
|
-
page:
|
|
29797
|
-
pages:
|
|
29798
|
-
page_size:
|
|
29799
|
-
has_next:
|
|
29800
|
-
has_previous:
|
|
29801
|
-
next_page:
|
|
29802
|
-
previous_page:
|
|
29803
|
-
results:
|
|
29817
|
+
var PaginatedPublicCategoryListSchema = z112.object({
|
|
29818
|
+
count: z112.int(),
|
|
29819
|
+
page: z112.int(),
|
|
29820
|
+
pages: z112.int(),
|
|
29821
|
+
page_size: z112.int(),
|
|
29822
|
+
has_next: z112.boolean(),
|
|
29823
|
+
has_previous: z112.boolean(),
|
|
29824
|
+
next_page: z112.int().nullable().optional(),
|
|
29825
|
+
previous_page: z112.int().nullable().optional(),
|
|
29826
|
+
results: z112.array(PublicCategorySchema)
|
|
29804
29827
|
});
|
|
29805
29828
|
|
|
29806
29829
|
// src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
|
|
29807
|
-
import { z as
|
|
29830
|
+
import { z as z114 } from "zod";
|
|
29808
29831
|
|
|
29809
29832
|
// src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
|
|
29810
|
-
import { z as
|
|
29811
|
-
var PublicDocumentListSchema =
|
|
29812
|
-
id:
|
|
29813
|
-
title:
|
|
29833
|
+
import { z as z113 } from "zod";
|
|
29834
|
+
var PublicDocumentListSchema = z113.object({
|
|
29835
|
+
id: z113.uuid(),
|
|
29836
|
+
title: z113.string().max(512),
|
|
29814
29837
|
category: PublicCategorySchema,
|
|
29815
|
-
created_at:
|
|
29816
|
-
updated_at:
|
|
29838
|
+
created_at: z113.iso.datetime(),
|
|
29839
|
+
updated_at: z113.iso.datetime()
|
|
29817
29840
|
});
|
|
29818
29841
|
|
|
29819
29842
|
// src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
|
|
29820
|
-
var PaginatedPublicDocumentListListSchema =
|
|
29821
|
-
count:
|
|
29822
|
-
page:
|
|
29823
|
-
pages:
|
|
29824
|
-
page_size:
|
|
29825
|
-
has_next:
|
|
29826
|
-
has_previous:
|
|
29827
|
-
next_page:
|
|
29828
|
-
previous_page:
|
|
29829
|
-
results:
|
|
29843
|
+
var PaginatedPublicDocumentListListSchema = z114.object({
|
|
29844
|
+
count: z114.int(),
|
|
29845
|
+
page: z114.int(),
|
|
29846
|
+
pages: z114.int(),
|
|
29847
|
+
page_size: z114.int(),
|
|
29848
|
+
has_next: z114.boolean(),
|
|
29849
|
+
has_previous: z114.boolean(),
|
|
29850
|
+
next_page: z114.int().nullable().optional(),
|
|
29851
|
+
previous_page: z114.int().nullable().optional(),
|
|
29852
|
+
results: z114.array(PublicDocumentListSchema)
|
|
29830
29853
|
});
|
|
29831
29854
|
|
|
29832
29855
|
// src/cfg/generated/_utils/schemas/PaginatedRecentPaymentList.schema.ts
|
|
29833
|
-
import { z as
|
|
29856
|
+
import { z as z116 } from "zod";
|
|
29834
29857
|
|
|
29835
29858
|
// src/cfg/generated/_utils/schemas/RecentPayment.schema.ts
|
|
29836
|
-
import { z as
|
|
29837
|
-
var RecentPaymentSchema =
|
|
29838
|
-
id:
|
|
29839
|
-
internal_payment_id:
|
|
29840
|
-
amount_usd:
|
|
29841
|
-
amount_display:
|
|
29842
|
-
currency_code:
|
|
29843
|
-
status:
|
|
29844
|
-
status_display:
|
|
29845
|
-
status_color:
|
|
29846
|
-
provider:
|
|
29847
|
-
created_at:
|
|
29848
|
-
completed_at:
|
|
29849
|
-
is_pending:
|
|
29850
|
-
is_completed:
|
|
29851
|
-
is_failed:
|
|
29859
|
+
import { z as z115 } from "zod";
|
|
29860
|
+
var RecentPaymentSchema = z115.object({
|
|
29861
|
+
id: z115.uuid(),
|
|
29862
|
+
internal_payment_id: z115.string(),
|
|
29863
|
+
amount_usd: z115.number(),
|
|
29864
|
+
amount_display: z115.string(),
|
|
29865
|
+
currency_code: z115.string(),
|
|
29866
|
+
status: z115.string(),
|
|
29867
|
+
status_display: z115.string(),
|
|
29868
|
+
status_color: z115.string(),
|
|
29869
|
+
provider: z115.string(),
|
|
29870
|
+
created_at: z115.iso.datetime(),
|
|
29871
|
+
completed_at: z115.iso.datetime().nullable(),
|
|
29872
|
+
is_pending: z115.boolean(),
|
|
29873
|
+
is_completed: z115.boolean(),
|
|
29874
|
+
is_failed: z115.boolean()
|
|
29852
29875
|
});
|
|
29853
29876
|
|
|
29854
29877
|
// src/cfg/generated/_utils/schemas/PaginatedRecentPaymentList.schema.ts
|
|
29855
|
-
var PaginatedRecentPaymentListSchema =
|
|
29856
|
-
count:
|
|
29857
|
-
page:
|
|
29858
|
-
pages:
|
|
29859
|
-
page_size:
|
|
29860
|
-
has_next:
|
|
29861
|
-
has_previous:
|
|
29862
|
-
next_page:
|
|
29863
|
-
previous_page:
|
|
29864
|
-
results:
|
|
29878
|
+
var PaginatedRecentPaymentListSchema = z116.object({
|
|
29879
|
+
count: z116.int(),
|
|
29880
|
+
page: z116.int(),
|
|
29881
|
+
pages: z116.int(),
|
|
29882
|
+
page_size: z116.int(),
|
|
29883
|
+
has_next: z116.boolean(),
|
|
29884
|
+
has_previous: z116.boolean(),
|
|
29885
|
+
next_page: z116.int().nullable().optional(),
|
|
29886
|
+
previous_page: z116.int().nullable().optional(),
|
|
29887
|
+
results: z116.array(RecentPaymentSchema)
|
|
29865
29888
|
});
|
|
29866
29889
|
|
|
29867
29890
|
// src/cfg/generated/_utils/schemas/PaginatedRecentTransactionList.schema.ts
|
|
29868
|
-
import { z as
|
|
29891
|
+
import { z as z118 } from "zod";
|
|
29869
29892
|
|
|
29870
29893
|
// src/cfg/generated/_utils/schemas/RecentTransaction.schema.ts
|
|
29871
|
-
import { z as
|
|
29872
|
-
var RecentTransactionSchema =
|
|
29873
|
-
id:
|
|
29874
|
-
transaction_type:
|
|
29875
|
-
amount_usd:
|
|
29876
|
-
amount_display:
|
|
29877
|
-
balance_after:
|
|
29878
|
-
description:
|
|
29879
|
-
created_at:
|
|
29880
|
-
payment_id:
|
|
29881
|
-
is_credit:
|
|
29882
|
-
is_debit:
|
|
29883
|
-
type_color:
|
|
29894
|
+
import { z as z117 } from "zod";
|
|
29895
|
+
var RecentTransactionSchema = z117.object({
|
|
29896
|
+
id: z117.uuid(),
|
|
29897
|
+
transaction_type: z117.string(),
|
|
29898
|
+
amount_usd: z117.number(),
|
|
29899
|
+
amount_display: z117.string(),
|
|
29900
|
+
balance_after: z117.number(),
|
|
29901
|
+
description: z117.string(),
|
|
29902
|
+
created_at: z117.iso.datetime(),
|
|
29903
|
+
payment_id: z117.string().nullable(),
|
|
29904
|
+
is_credit: z117.boolean(),
|
|
29905
|
+
is_debit: z117.boolean(),
|
|
29906
|
+
type_color: z117.string()
|
|
29884
29907
|
});
|
|
29885
29908
|
|
|
29886
29909
|
// src/cfg/generated/_utils/schemas/PaginatedRecentTransactionList.schema.ts
|
|
29887
|
-
var PaginatedRecentTransactionListSchema =
|
|
29888
|
-
count:
|
|
29889
|
-
page:
|
|
29890
|
-
pages:
|
|
29891
|
-
page_size:
|
|
29892
|
-
has_next:
|
|
29893
|
-
has_previous:
|
|
29894
|
-
next_page:
|
|
29895
|
-
previous_page:
|
|
29896
|
-
results:
|
|
29910
|
+
var PaginatedRecentTransactionListSchema = z118.object({
|
|
29911
|
+
count: z118.int(),
|
|
29912
|
+
page: z118.int(),
|
|
29913
|
+
pages: z118.int(),
|
|
29914
|
+
page_size: z118.int(),
|
|
29915
|
+
has_next: z118.boolean(),
|
|
29916
|
+
has_previous: z118.boolean(),
|
|
29917
|
+
next_page: z118.int().nullable().optional(),
|
|
29918
|
+
previous_page: z118.int().nullable().optional(),
|
|
29919
|
+
results: z118.array(RecentTransactionSchema)
|
|
29897
29920
|
});
|
|
29898
29921
|
|
|
29899
29922
|
// src/cfg/generated/_utils/schemas/PaginatedSubscriptionListList.schema.ts
|
|
29900
|
-
import { z as
|
|
29923
|
+
import { z as z120 } from "zod";
|
|
29901
29924
|
|
|
29902
29925
|
// src/cfg/generated/_utils/schemas/SubscriptionList.schema.ts
|
|
29903
|
-
import { z as
|
|
29904
|
-
var SubscriptionListSchema =
|
|
29905
|
-
id:
|
|
29906
|
-
user:
|
|
29907
|
-
tariff_name:
|
|
29908
|
-
status:
|
|
29909
|
-
status_display:
|
|
29910
|
-
is_active:
|
|
29911
|
-
is_expired:
|
|
29912
|
-
expires_at:
|
|
29913
|
-
created_at:
|
|
29926
|
+
import { z as z119 } from "zod";
|
|
29927
|
+
var SubscriptionListSchema = z119.object({
|
|
29928
|
+
id: z119.uuid(),
|
|
29929
|
+
user: z119.string(),
|
|
29930
|
+
tariff_name: z119.string(),
|
|
29931
|
+
status: z119.nativeEnum(SubscriptionListStatus),
|
|
29932
|
+
status_display: z119.string(),
|
|
29933
|
+
is_active: z119.boolean(),
|
|
29934
|
+
is_expired: z119.boolean(),
|
|
29935
|
+
expires_at: z119.iso.datetime(),
|
|
29936
|
+
created_at: z119.iso.datetime()
|
|
29914
29937
|
});
|
|
29915
29938
|
|
|
29916
29939
|
// src/cfg/generated/_utils/schemas/PaginatedSubscriptionListList.schema.ts
|
|
29917
|
-
var PaginatedSubscriptionListListSchema =
|
|
29918
|
-
count:
|
|
29919
|
-
page:
|
|
29920
|
-
pages:
|
|
29921
|
-
page_size:
|
|
29922
|
-
has_next:
|
|
29923
|
-
has_previous:
|
|
29924
|
-
next_page:
|
|
29925
|
-
previous_page:
|
|
29926
|
-
results:
|
|
29940
|
+
var PaginatedSubscriptionListListSchema = z120.object({
|
|
29941
|
+
count: z120.int(),
|
|
29942
|
+
page: z120.int(),
|
|
29943
|
+
pages: z120.int(),
|
|
29944
|
+
page_size: z120.int(),
|
|
29945
|
+
has_next: z120.boolean(),
|
|
29946
|
+
has_previous: z120.boolean(),
|
|
29947
|
+
next_page: z120.int().nullable().optional(),
|
|
29948
|
+
previous_page: z120.int().nullable().optional(),
|
|
29949
|
+
results: z120.array(SubscriptionListSchema)
|
|
29927
29950
|
});
|
|
29928
29951
|
|
|
29929
29952
|
// src/cfg/generated/_utils/schemas/PaginatedTariffList.schema.ts
|
|
29930
|
-
import { z as
|
|
29953
|
+
import { z as z122 } from "zod";
|
|
29931
29954
|
|
|
29932
29955
|
// src/cfg/generated/_utils/schemas/Tariff.schema.ts
|
|
29933
|
-
import { z as
|
|
29934
|
-
var TariffSchema =
|
|
29935
|
-
id:
|
|
29936
|
-
name:
|
|
29937
|
-
description:
|
|
29938
|
-
monthly_price_usd:
|
|
29939
|
-
requests_per_month:
|
|
29940
|
-
requests_per_hour:
|
|
29941
|
-
is_active:
|
|
29942
|
-
endpoint_groups:
|
|
29943
|
-
endpoint_groups_count:
|
|
29944
|
-
created_at:
|
|
29945
|
-
updated_at:
|
|
29956
|
+
import { z as z121 } from "zod";
|
|
29957
|
+
var TariffSchema = z121.object({
|
|
29958
|
+
id: z121.int(),
|
|
29959
|
+
name: z121.string(),
|
|
29960
|
+
description: z121.string(),
|
|
29961
|
+
monthly_price_usd: z121.number(),
|
|
29962
|
+
requests_per_month: z121.int(),
|
|
29963
|
+
requests_per_hour: z121.int(),
|
|
29964
|
+
is_active: z121.boolean(),
|
|
29965
|
+
endpoint_groups: z121.array(EndpointGroupSchema),
|
|
29966
|
+
endpoint_groups_count: z121.int(),
|
|
29967
|
+
created_at: z121.iso.datetime(),
|
|
29968
|
+
updated_at: z121.iso.datetime()
|
|
29946
29969
|
});
|
|
29947
29970
|
|
|
29948
29971
|
// src/cfg/generated/_utils/schemas/PaginatedTariffList.schema.ts
|
|
29949
|
-
var PaginatedTariffListSchema =
|
|
29950
|
-
count:
|
|
29951
|
-
page:
|
|
29952
|
-
pages:
|
|
29953
|
-
page_size:
|
|
29954
|
-
has_next:
|
|
29955
|
-
has_previous:
|
|
29956
|
-
next_page:
|
|
29957
|
-
previous_page:
|
|
29958
|
-
results:
|
|
29972
|
+
var PaginatedTariffListSchema = z122.object({
|
|
29973
|
+
count: z122.int(),
|
|
29974
|
+
page: z122.int(),
|
|
29975
|
+
pages: z122.int(),
|
|
29976
|
+
page_size: z122.int(),
|
|
29977
|
+
has_next: z122.boolean(),
|
|
29978
|
+
has_previous: z122.boolean(),
|
|
29979
|
+
next_page: z122.int().nullable().optional(),
|
|
29980
|
+
previous_page: z122.int().nullable().optional(),
|
|
29981
|
+
results: z122.array(TariffSchema)
|
|
29959
29982
|
});
|
|
29960
29983
|
|
|
29961
29984
|
// src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
|
|
29962
|
-
import { z as
|
|
29985
|
+
import { z as z124 } from "zod";
|
|
29963
29986
|
|
|
29964
29987
|
// src/cfg/generated/_utils/schemas/Ticket.schema.ts
|
|
29965
|
-
import { z as
|
|
29966
|
-
var TicketSchema =
|
|
29967
|
-
uuid:
|
|
29968
|
-
user:
|
|
29969
|
-
subject:
|
|
29970
|
-
status:
|
|
29971
|
-
created_at:
|
|
29972
|
-
unanswered_messages_count:
|
|
29988
|
+
import { z as z123 } from "zod";
|
|
29989
|
+
var TicketSchema = z123.object({
|
|
29990
|
+
uuid: z123.uuid(),
|
|
29991
|
+
user: z123.int(),
|
|
29992
|
+
subject: z123.string().max(255),
|
|
29993
|
+
status: z123.nativeEnum(TicketStatus).optional(),
|
|
29994
|
+
created_at: z123.iso.datetime(),
|
|
29995
|
+
unanswered_messages_count: z123.int()
|
|
29973
29996
|
});
|
|
29974
29997
|
|
|
29975
29998
|
// src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
|
|
29976
|
-
var PaginatedTicketListSchema =
|
|
29977
|
-
count:
|
|
29978
|
-
page:
|
|
29979
|
-
pages:
|
|
29980
|
-
page_size:
|
|
29981
|
-
has_next:
|
|
29982
|
-
has_previous:
|
|
29983
|
-
next_page:
|
|
29984
|
-
previous_page:
|
|
29985
|
-
results:
|
|
29999
|
+
var PaginatedTicketListSchema = z124.object({
|
|
30000
|
+
count: z124.int(),
|
|
30001
|
+
page: z124.int(),
|
|
30002
|
+
pages: z124.int(),
|
|
30003
|
+
page_size: z124.int(),
|
|
30004
|
+
has_next: z124.boolean(),
|
|
30005
|
+
has_previous: z124.boolean(),
|
|
30006
|
+
next_page: z124.int().nullable().optional(),
|
|
30007
|
+
previous_page: z124.int().nullable().optional(),
|
|
30008
|
+
results: z124.array(TicketSchema)
|
|
29986
30009
|
});
|
|
29987
30010
|
|
|
29988
30011
|
// src/cfg/generated/_utils/schemas/PaginatedTransactionList.schema.ts
|
|
29989
|
-
import { z as
|
|
30012
|
+
import { z as z126 } from "zod";
|
|
29990
30013
|
|
|
29991
30014
|
// src/cfg/generated/_utils/schemas/Transaction.schema.ts
|
|
29992
|
-
import { z as
|
|
29993
|
-
var TransactionSchema =
|
|
29994
|
-
id:
|
|
29995
|
-
user:
|
|
29996
|
-
amount_usd:
|
|
29997
|
-
amount_display:
|
|
29998
|
-
transaction_type:
|
|
29999
|
-
type_color:
|
|
30000
|
-
description:
|
|
30001
|
-
payment_id:
|
|
30002
|
-
metadata:
|
|
30003
|
-
is_credit:
|
|
30004
|
-
is_debit:
|
|
30005
|
-
created_at:
|
|
30015
|
+
import { z as z125 } from "zod";
|
|
30016
|
+
var TransactionSchema = z125.object({
|
|
30017
|
+
id: z125.uuid(),
|
|
30018
|
+
user: z125.string(),
|
|
30019
|
+
amount_usd: z125.number(),
|
|
30020
|
+
amount_display: z125.string(),
|
|
30021
|
+
transaction_type: z125.nativeEnum(TransactionTransactionType),
|
|
30022
|
+
type_color: z125.string(),
|
|
30023
|
+
description: z125.string(),
|
|
30024
|
+
payment_id: z125.string().nullable(),
|
|
30025
|
+
metadata: z125.string(),
|
|
30026
|
+
is_credit: z125.boolean(),
|
|
30027
|
+
is_debit: z125.boolean(),
|
|
30028
|
+
created_at: z125.iso.datetime()
|
|
30006
30029
|
});
|
|
30007
30030
|
|
|
30008
30031
|
// src/cfg/generated/_utils/schemas/PaginatedTransactionList.schema.ts
|
|
30009
|
-
var PaginatedTransactionListSchema =
|
|
30010
|
-
count:
|
|
30011
|
-
page:
|
|
30012
|
-
pages:
|
|
30013
|
-
page_size:
|
|
30014
|
-
has_next:
|
|
30015
|
-
has_previous:
|
|
30016
|
-
next_page:
|
|
30017
|
-
previous_page:
|
|
30018
|
-
results:
|
|
30032
|
+
var PaginatedTransactionListSchema = z126.object({
|
|
30033
|
+
count: z126.int(),
|
|
30034
|
+
page: z126.int(),
|
|
30035
|
+
pages: z126.int(),
|
|
30036
|
+
page_size: z126.int(),
|
|
30037
|
+
has_next: z126.boolean(),
|
|
30038
|
+
has_previous: z126.boolean(),
|
|
30039
|
+
next_page: z126.int().nullable().optional(),
|
|
30040
|
+
previous_page: z126.int().nullable().optional(),
|
|
30041
|
+
results: z126.array(TransactionSchema)
|
|
30019
30042
|
});
|
|
30020
30043
|
|
|
30021
30044
|
// src/cfg/generated/_utils/schemas/PaginatedUserBalanceList.schema.ts
|
|
30022
|
-
import { z as
|
|
30045
|
+
import { z as z128 } from "zod";
|
|
30023
30046
|
|
|
30024
30047
|
// src/cfg/generated/_utils/schemas/UserBalance.schema.ts
|
|
30025
|
-
import { z as
|
|
30026
|
-
var UserBalanceSchema =
|
|
30027
|
-
user:
|
|
30028
|
-
balance_usd:
|
|
30029
|
-
balance_display:
|
|
30030
|
-
is_empty:
|
|
30031
|
-
has_transactions:
|
|
30032
|
-
created_at:
|
|
30033
|
-
updated_at:
|
|
30048
|
+
import { z as z127 } from "zod";
|
|
30049
|
+
var UserBalanceSchema = z127.object({
|
|
30050
|
+
user: z127.string(),
|
|
30051
|
+
balance_usd: z127.number(),
|
|
30052
|
+
balance_display: z127.string(),
|
|
30053
|
+
is_empty: z127.boolean(),
|
|
30054
|
+
has_transactions: z127.boolean(),
|
|
30055
|
+
created_at: z127.iso.datetime(),
|
|
30056
|
+
updated_at: z127.iso.datetime()
|
|
30034
30057
|
});
|
|
30035
30058
|
|
|
30036
30059
|
// src/cfg/generated/_utils/schemas/PaginatedUserBalanceList.schema.ts
|
|
30037
|
-
var PaginatedUserBalanceListSchema =
|
|
30038
|
-
count:
|
|
30039
|
-
page:
|
|
30040
|
-
pages:
|
|
30041
|
-
page_size:
|
|
30042
|
-
has_next:
|
|
30043
|
-
has_previous:
|
|
30044
|
-
next_page:
|
|
30045
|
-
previous_page:
|
|
30046
|
-
results:
|
|
30060
|
+
var PaginatedUserBalanceListSchema = z128.object({
|
|
30061
|
+
count: z128.int(),
|
|
30062
|
+
page: z128.int(),
|
|
30063
|
+
pages: z128.int(),
|
|
30064
|
+
page_size: z128.int(),
|
|
30065
|
+
has_next: z128.boolean(),
|
|
30066
|
+
has_previous: z128.boolean(),
|
|
30067
|
+
next_page: z128.int().nullable().optional(),
|
|
30068
|
+
previous_page: z128.int().nullable().optional(),
|
|
30069
|
+
results: z128.array(UserBalanceSchema)
|
|
30047
30070
|
});
|
|
30048
30071
|
|
|
30049
30072
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookEventListList.schema.ts
|
|
30050
|
-
import { z as
|
|
30073
|
+
import { z as z131 } from "zod";
|
|
30051
30074
|
|
|
30052
30075
|
// src/cfg/generated/_utils/schemas/WebhookEventList.schema.ts
|
|
30053
|
-
import { z as
|
|
30076
|
+
import { z as z130 } from "zod";
|
|
30054
30077
|
|
|
30055
30078
|
// src/cfg/generated/_utils/schemas/WebhookEvent.schema.ts
|
|
30056
|
-
import { z as
|
|
30057
|
-
var WebhookEventSchema =
|
|
30058
|
-
id:
|
|
30059
|
-
provider:
|
|
30060
|
-
event_type:
|
|
30061
|
-
status:
|
|
30062
|
-
timestamp:
|
|
30063
|
-
payload_size:
|
|
30064
|
-
response_time:
|
|
30065
|
-
retry_count:
|
|
30066
|
-
error_message:
|
|
30067
|
-
payload_preview:
|
|
30068
|
-
response_status_code:
|
|
30069
|
-
webhook_url:
|
|
30079
|
+
import { z as z129 } from "zod";
|
|
30080
|
+
var WebhookEventSchema = z129.object({
|
|
30081
|
+
id: z129.int(),
|
|
30082
|
+
provider: z129.string().max(50),
|
|
30083
|
+
event_type: z129.string().max(100),
|
|
30084
|
+
status: z129.nativeEnum(WebhookEventStatus),
|
|
30085
|
+
timestamp: z129.iso.datetime(),
|
|
30086
|
+
payload_size: z129.int(),
|
|
30087
|
+
response_time: z129.int(),
|
|
30088
|
+
retry_count: z129.int().optional(),
|
|
30089
|
+
error_message: z129.string().max(500).optional(),
|
|
30090
|
+
payload_preview: z129.string().max(200).optional(),
|
|
30091
|
+
response_status_code: z129.int().optional(),
|
|
30092
|
+
webhook_url: z129.url().optional()
|
|
30070
30093
|
});
|
|
30071
30094
|
|
|
30072
30095
|
// src/cfg/generated/_utils/schemas/WebhookEventList.schema.ts
|
|
30073
|
-
var WebhookEventListSchema =
|
|
30074
|
-
events:
|
|
30075
|
-
total:
|
|
30076
|
-
page:
|
|
30077
|
-
per_page:
|
|
30078
|
-
has_next:
|
|
30079
|
-
has_previous:
|
|
30096
|
+
var WebhookEventListSchema = z130.object({
|
|
30097
|
+
events: z130.array(WebhookEventSchema),
|
|
30098
|
+
total: z130.int(),
|
|
30099
|
+
page: z130.int(),
|
|
30100
|
+
per_page: z130.int(),
|
|
30101
|
+
has_next: z130.boolean(),
|
|
30102
|
+
has_previous: z130.boolean()
|
|
30080
30103
|
});
|
|
30081
30104
|
|
|
30082
30105
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookEventListList.schema.ts
|
|
30083
|
-
var PaginatedWebhookEventListListSchema =
|
|
30084
|
-
count:
|
|
30085
|
-
page:
|
|
30086
|
-
pages:
|
|
30087
|
-
page_size:
|
|
30088
|
-
has_next:
|
|
30089
|
-
has_previous:
|
|
30090
|
-
next_page:
|
|
30091
|
-
previous_page:
|
|
30092
|
-
results:
|
|
30106
|
+
var PaginatedWebhookEventListListSchema = z131.object({
|
|
30107
|
+
count: z131.int(),
|
|
30108
|
+
page: z131.int(),
|
|
30109
|
+
pages: z131.int(),
|
|
30110
|
+
page_size: z131.int(),
|
|
30111
|
+
has_next: z131.boolean(),
|
|
30112
|
+
has_previous: z131.boolean(),
|
|
30113
|
+
next_page: z131.int().nullable().optional(),
|
|
30114
|
+
previous_page: z131.int().nullable().optional(),
|
|
30115
|
+
results: z131.array(WebhookEventListSchema)
|
|
30093
30116
|
});
|
|
30094
30117
|
|
|
30095
30118
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookStatsList.schema.ts
|
|
30096
|
-
import { z as
|
|
30119
|
+
import { z as z133 } from "zod";
|
|
30097
30120
|
|
|
30098
30121
|
// src/cfg/generated/_utils/schemas/WebhookStats.schema.ts
|
|
30099
|
-
import { z as
|
|
30100
|
-
var WebhookStatsSchema =
|
|
30101
|
-
total:
|
|
30102
|
-
successful:
|
|
30103
|
-
failed:
|
|
30104
|
-
pending:
|
|
30105
|
-
success_rate:
|
|
30106
|
-
providers:
|
|
30107
|
-
last_24h:
|
|
30108
|
-
avg_response_time:
|
|
30109
|
-
max_response_time:
|
|
30122
|
+
import { z as z132 } from "zod";
|
|
30123
|
+
var WebhookStatsSchema = z132.object({
|
|
30124
|
+
total: z132.int(),
|
|
30125
|
+
successful: z132.int(),
|
|
30126
|
+
failed: z132.int(),
|
|
30127
|
+
pending: z132.int(),
|
|
30128
|
+
success_rate: z132.number(),
|
|
30129
|
+
providers: z132.record(z132.string(), z132.any()),
|
|
30130
|
+
last_24h: z132.record(z132.string(), z132.any()),
|
|
30131
|
+
avg_response_time: z132.number(),
|
|
30132
|
+
max_response_time: z132.int()
|
|
30110
30133
|
});
|
|
30111
30134
|
|
|
30112
30135
|
// src/cfg/generated/_utils/schemas/PaginatedWebhookStatsList.schema.ts
|
|
30113
|
-
var PaginatedWebhookStatsListSchema =
|
|
30114
|
-
count:
|
|
30115
|
-
page:
|
|
30116
|
-
pages:
|
|
30117
|
-
page_size:
|
|
30118
|
-
has_next:
|
|
30119
|
-
has_previous:
|
|
30120
|
-
next_page:
|
|
30121
|
-
previous_page:
|
|
30122
|
-
results:
|
|
30136
|
+
var PaginatedWebhookStatsListSchema = z133.object({
|
|
30137
|
+
count: z133.int(),
|
|
30138
|
+
page: z133.int(),
|
|
30139
|
+
pages: z133.int(),
|
|
30140
|
+
page_size: z133.int(),
|
|
30141
|
+
has_next: z133.boolean(),
|
|
30142
|
+
has_previous: z133.boolean(),
|
|
30143
|
+
next_page: z133.int().nullable().optional(),
|
|
30144
|
+
previous_page: z133.int().nullable().optional(),
|
|
30145
|
+
results: z133.array(WebhookStatsSchema)
|
|
30123
30146
|
});
|
|
30124
30147
|
|
|
30125
30148
|
// src/cfg/generated/_utils/schemas/PatchedAPIKeyUpdateRequest.schema.ts
|
|
30126
|
-
import { z as
|
|
30127
|
-
var PatchedAPIKeyUpdateRequestSchema =
|
|
30128
|
-
name:
|
|
30129
|
-
is_active:
|
|
30149
|
+
import { z as z134 } from "zod";
|
|
30150
|
+
var PatchedAPIKeyUpdateRequestSchema = z134.object({
|
|
30151
|
+
name: z134.string().min(1).max(100).optional(),
|
|
30152
|
+
is_active: z134.boolean().optional()
|
|
30130
30153
|
});
|
|
30131
30154
|
|
|
30132
30155
|
// src/cfg/generated/_utils/schemas/PatchedAdminPaymentUpdateRequest.schema.ts
|
|
30133
|
-
import { z as
|
|
30134
|
-
var PatchedAdminPaymentUpdateRequestSchema =
|
|
30135
|
-
status:
|
|
30136
|
-
description:
|
|
30137
|
-
callback_url:
|
|
30138
|
-
cancel_url:
|
|
30139
|
-
provider_data:
|
|
30140
|
-
webhook_data:
|
|
30156
|
+
import { z as z135 } from "zod";
|
|
30157
|
+
var PatchedAdminPaymentUpdateRequestSchema = z135.object({
|
|
30158
|
+
status: z135.nativeEnum(PatchedAdminPaymentUpdateRequestStatus).optional(),
|
|
30159
|
+
description: z135.string().optional(),
|
|
30160
|
+
callback_url: z135.url().nullable().optional(),
|
|
30161
|
+
cancel_url: z135.url().nullable().optional(),
|
|
30162
|
+
provider_data: z135.string().optional(),
|
|
30163
|
+
webhook_data: z135.string().optional()
|
|
30141
30164
|
});
|
|
30142
30165
|
|
|
30143
30166
|
// src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
|
|
30144
|
-
import { z as
|
|
30145
|
-
var PatchedArchiveItemChunkRequestSchema =
|
|
30146
|
-
content:
|
|
30147
|
-
chunk_index:
|
|
30148
|
-
chunk_type:
|
|
30167
|
+
import { z as z136 } from "zod";
|
|
30168
|
+
var PatchedArchiveItemChunkRequestSchema = z136.object({
|
|
30169
|
+
content: z136.string().min(1).optional(),
|
|
30170
|
+
chunk_index: z136.int().min(0).max(9223372036854776e3).optional(),
|
|
30171
|
+
chunk_type: z136.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
|
|
30149
30172
|
});
|
|
30150
30173
|
|
|
30151
30174
|
// src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
|
|
30152
|
-
import { z as
|
|
30153
|
-
var PatchedArchiveItemRequestSchema =
|
|
30154
|
-
relative_path:
|
|
30155
|
-
item_name:
|
|
30156
|
-
item_type:
|
|
30157
|
-
file_size:
|
|
30175
|
+
import { z as z137 } from "zod";
|
|
30176
|
+
var PatchedArchiveItemRequestSchema = z137.object({
|
|
30177
|
+
relative_path: z137.string().min(1).max(1024).optional(),
|
|
30178
|
+
item_name: z137.string().min(1).max(255).optional(),
|
|
30179
|
+
item_type: z137.string().min(1).max(100).optional(),
|
|
30180
|
+
file_size: z137.int().min(0).max(9223372036854776e3).optional()
|
|
30158
30181
|
});
|
|
30159
30182
|
|
|
30160
30183
|
// src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
|
|
30161
|
-
import { z as
|
|
30162
|
-
var PatchedChatResponseRequestSchema =
|
|
30163
|
-
message_id:
|
|
30164
|
-
content:
|
|
30165
|
-
tokens_used:
|
|
30166
|
-
cost_usd:
|
|
30167
|
-
processing_time_ms:
|
|
30168
|
-
model_used:
|
|
30169
|
-
sources:
|
|
30184
|
+
import { z as z138 } from "zod";
|
|
30185
|
+
var PatchedChatResponseRequestSchema = z138.object({
|
|
30186
|
+
message_id: z138.uuid().optional(),
|
|
30187
|
+
content: z138.string().min(1).optional(),
|
|
30188
|
+
tokens_used: z138.int().optional(),
|
|
30189
|
+
cost_usd: z138.number().optional(),
|
|
30190
|
+
processing_time_ms: z138.int().optional(),
|
|
30191
|
+
model_used: z138.string().min(1).optional(),
|
|
30192
|
+
sources: z138.array(ChatSourceRequestSchema).nullable().optional()
|
|
30170
30193
|
});
|
|
30171
30194
|
|
|
30172
30195
|
// src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
|
|
30173
|
-
import { z as
|
|
30174
|
-
var PatchedChatSessionRequestSchema =
|
|
30175
|
-
title:
|
|
30176
|
-
is_active:
|
|
30177
|
-
messages_count:
|
|
30178
|
-
total_tokens_used:
|
|
30179
|
-
model_name:
|
|
30180
|
-
temperature:
|
|
30181
|
-
max_context_chunks:
|
|
30196
|
+
import { z as z139 } from "zod";
|
|
30197
|
+
var PatchedChatSessionRequestSchema = z139.object({
|
|
30198
|
+
title: z139.string().max(255).optional(),
|
|
30199
|
+
is_active: z139.boolean().optional(),
|
|
30200
|
+
messages_count: z139.int().min(0).max(9223372036854776e3).optional(),
|
|
30201
|
+
total_tokens_used: z139.int().min(0).max(9223372036854776e3).optional(),
|
|
30202
|
+
model_name: z139.string().min(1).max(100).optional(),
|
|
30203
|
+
temperature: z139.number().optional(),
|
|
30204
|
+
max_context_chunks: z139.int().min(0).max(9223372036854776e3).optional()
|
|
30182
30205
|
});
|
|
30183
30206
|
|
|
30184
30207
|
// src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
|
|
30185
|
-
import { z as
|
|
30186
|
-
var PatchedDocumentArchiveRequestSchema =
|
|
30187
|
-
title:
|
|
30188
|
-
description:
|
|
30189
|
-
is_public:
|
|
30208
|
+
import { z as z140 } from "zod";
|
|
30209
|
+
var PatchedDocumentArchiveRequestSchema = z140.object({
|
|
30210
|
+
title: z140.string().min(1).max(512).optional(),
|
|
30211
|
+
description: z140.string().optional(),
|
|
30212
|
+
is_public: z140.boolean().optional()
|
|
30190
30213
|
});
|
|
30191
30214
|
|
|
30192
30215
|
// src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
|
|
30193
|
-
import { z as
|
|
30194
|
-
var PatchedDocumentRequestSchema =
|
|
30195
|
-
title:
|
|
30196
|
-
file_type:
|
|
30197
|
-
file_size:
|
|
30198
|
-
metadata:
|
|
30216
|
+
import { z as z141 } from "zod";
|
|
30217
|
+
var PatchedDocumentRequestSchema = z141.object({
|
|
30218
|
+
title: z141.string().min(1).max(512).optional(),
|
|
30219
|
+
file_type: z141.string().min(1).max(100).optional(),
|
|
30220
|
+
file_size: z141.int().min(0).max(9223372036854776e3).optional(),
|
|
30221
|
+
metadata: z141.string().nullable().optional()
|
|
30199
30222
|
});
|
|
30200
30223
|
|
|
30201
30224
|
// src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
|
|
30202
|
-
import { z as
|
|
30203
|
-
var PatchedLeadSubmissionRequestSchema =
|
|
30204
|
-
name:
|
|
30205
|
-
email:
|
|
30206
|
-
company:
|
|
30207
|
-
company_site:
|
|
30208
|
-
contact_type:
|
|
30209
|
-
contact_value:
|
|
30210
|
-
subject:
|
|
30211
|
-
message:
|
|
30212
|
-
extra:
|
|
30213
|
-
site_url:
|
|
30225
|
+
import { z as z142 } from "zod";
|
|
30226
|
+
var PatchedLeadSubmissionRequestSchema = z142.object({
|
|
30227
|
+
name: z142.string().min(1).max(200).optional(),
|
|
30228
|
+
email: z142.email().optional(),
|
|
30229
|
+
company: z142.string().max(200).nullable().optional(),
|
|
30230
|
+
company_site: z142.string().max(200).nullable().optional(),
|
|
30231
|
+
contact_type: z142.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
|
|
30232
|
+
contact_value: z142.string().max(200).nullable().optional(),
|
|
30233
|
+
subject: z142.string().max(200).nullable().optional(),
|
|
30234
|
+
message: z142.string().min(1).optional(),
|
|
30235
|
+
extra: z142.string().nullable().optional(),
|
|
30236
|
+
site_url: z142.url().optional()
|
|
30214
30237
|
});
|
|
30215
30238
|
|
|
30216
30239
|
// src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
|
|
30217
|
-
import { z as
|
|
30218
|
-
var PatchedMessageRequestSchema =
|
|
30219
|
-
text:
|
|
30240
|
+
import { z as z143 } from "zod";
|
|
30241
|
+
var PatchedMessageRequestSchema = z143.object({
|
|
30242
|
+
text: z143.string().min(1).optional()
|
|
30220
30243
|
});
|
|
30221
30244
|
|
|
30222
30245
|
// src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
|
|
30223
|
-
import { z as
|
|
30224
|
-
var PatchedNewsletterCampaignRequestSchema =
|
|
30225
|
-
newsletter:
|
|
30226
|
-
subject:
|
|
30227
|
-
email_title:
|
|
30228
|
-
main_text:
|
|
30229
|
-
main_html_content:
|
|
30230
|
-
button_text:
|
|
30231
|
-
button_url:
|
|
30232
|
-
secondary_text:
|
|
30246
|
+
import { z as z144 } from "zod";
|
|
30247
|
+
var PatchedNewsletterCampaignRequestSchema = z144.object({
|
|
30248
|
+
newsletter: z144.int().optional(),
|
|
30249
|
+
subject: z144.string().min(1).max(255).optional(),
|
|
30250
|
+
email_title: z144.string().min(1).max(255).optional(),
|
|
30251
|
+
main_text: z144.string().min(1).optional(),
|
|
30252
|
+
main_html_content: z144.string().optional(),
|
|
30253
|
+
button_text: z144.string().max(100).optional(),
|
|
30254
|
+
button_url: z144.url().optional(),
|
|
30255
|
+
secondary_text: z144.string().optional()
|
|
30233
30256
|
});
|
|
30234
30257
|
|
|
30235
30258
|
// src/cfg/generated/_utils/schemas/PatchedPaymentRequest.schema.ts
|
|
30236
|
-
import { z as
|
|
30237
|
-
var PatchedPaymentRequestSchema =
|
|
30238
|
-
amount_usd:
|
|
30239
|
-
currency:
|
|
30240
|
-
network:
|
|
30241
|
-
provider:
|
|
30242
|
-
status:
|
|
30243
|
-
callback_url:
|
|
30244
|
-
cancel_url:
|
|
30245
|
-
description:
|
|
30246
|
-
expires_at:
|
|
30259
|
+
import { z as z145 } from "zod";
|
|
30260
|
+
var PatchedPaymentRequestSchema = z145.object({
|
|
30261
|
+
amount_usd: z145.number().min(1).max(5e4).optional(),
|
|
30262
|
+
currency: z145.int().optional(),
|
|
30263
|
+
network: z145.int().nullable().optional(),
|
|
30264
|
+
provider: z145.nativeEnum(PatchedPaymentRequestProvider).optional(),
|
|
30265
|
+
status: z145.nativeEnum(PatchedPaymentRequestStatus).optional(),
|
|
30266
|
+
callback_url: z145.url().nullable().optional(),
|
|
30267
|
+
cancel_url: z145.url().nullable().optional(),
|
|
30268
|
+
description: z145.string().optional(),
|
|
30269
|
+
expires_at: z145.iso.datetime().nullable().optional()
|
|
30247
30270
|
});
|
|
30248
30271
|
|
|
30249
30272
|
// src/cfg/generated/_utils/schemas/PatchedSubscriptionRequest.schema.ts
|
|
30250
|
-
import { z as
|
|
30251
|
-
var PatchedSubscriptionRequestSchema =
|
|
30252
|
-
status:
|
|
30253
|
-
tier:
|
|
30254
|
-
expires_at:
|
|
30273
|
+
import { z as z146 } from "zod";
|
|
30274
|
+
var PatchedSubscriptionRequestSchema = z146.object({
|
|
30275
|
+
status: z146.nativeEnum(PatchedSubscriptionRequestStatus).optional(),
|
|
30276
|
+
tier: z146.nativeEnum(PatchedSubscriptionRequestTier).optional(),
|
|
30277
|
+
expires_at: z146.iso.datetime().optional()
|
|
30255
30278
|
});
|
|
30256
30279
|
|
|
30257
30280
|
// src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
|
|
30258
|
-
import { z as
|
|
30259
|
-
var PatchedTicketRequestSchema =
|
|
30260
|
-
user:
|
|
30261
|
-
subject:
|
|
30262
|
-
status:
|
|
30281
|
+
import { z as z147 } from "zod";
|
|
30282
|
+
var PatchedTicketRequestSchema = z147.object({
|
|
30283
|
+
user: z147.int().optional(),
|
|
30284
|
+
subject: z147.string().min(1).max(255).optional(),
|
|
30285
|
+
status: z147.nativeEnum(PatchedTicketRequestStatus).optional()
|
|
30263
30286
|
});
|
|
30264
30287
|
|
|
30265
30288
|
// src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
|
|
30266
|
-
import { z as
|
|
30267
|
-
var PatchedUnsubscribeRequestSchema =
|
|
30268
|
-
subscription_id:
|
|
30289
|
+
import { z as z148 } from "zod";
|
|
30290
|
+
var PatchedUnsubscribeRequestSchema = z148.object({
|
|
30291
|
+
subscription_id: z148.int().optional()
|
|
30269
30292
|
});
|
|
30270
30293
|
|
|
30271
30294
|
// src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
|
|
30272
|
-
import { z as
|
|
30273
|
-
var PatchedUserProfileUpdateRequestSchema =
|
|
30274
|
-
first_name:
|
|
30275
|
-
last_name:
|
|
30276
|
-
company:
|
|
30277
|
-
phone:
|
|
30278
|
-
position:
|
|
30295
|
+
import { z as z149 } from "zod";
|
|
30296
|
+
var PatchedUserProfileUpdateRequestSchema = z149.object({
|
|
30297
|
+
first_name: z149.string().max(50).optional(),
|
|
30298
|
+
last_name: z149.string().max(50).optional(),
|
|
30299
|
+
company: z149.string().max(100).optional(),
|
|
30300
|
+
phone: z149.string().max(20).optional(),
|
|
30301
|
+
position: z149.string().max(100).optional()
|
|
30279
30302
|
});
|
|
30280
30303
|
|
|
30281
30304
|
// src/cfg/generated/_utils/schemas/Payment.schema.ts
|
|
30282
|
-
import { z as
|
|
30283
|
-
var PaymentSchema =
|
|
30284
|
-
id:
|
|
30285
|
-
user:
|
|
30286
|
-
amount_usd:
|
|
30287
|
-
|
|
30288
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
|
|
30292
|
-
|
|
30293
|
-
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
|
-
|
|
30297
|
-
|
|
30298
|
-
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
|
|
30306
|
-
|
|
30307
|
-
|
|
30308
|
-
|
|
30305
|
+
import { z as z150 } from "zod";
|
|
30306
|
+
var PaymentSchema = z150.object({
|
|
30307
|
+
id: z150.uuid(),
|
|
30308
|
+
user: z150.string(),
|
|
30309
|
+
amount_usd: z150.number().min(1).max(5e4),
|
|
30310
|
+
amount_crypto: z150.number(),
|
|
30311
|
+
currency: z150.int(),
|
|
30312
|
+
network: z150.int().nullable().optional(),
|
|
30313
|
+
provider: z150.nativeEnum(PaymentProvider).optional(),
|
|
30314
|
+
status: z150.nativeEnum(PaymentStatus).optional(),
|
|
30315
|
+
status_display: z150.string(),
|
|
30316
|
+
amount_display: z150.string(),
|
|
30317
|
+
provider_payment_id: z150.string().nullable(),
|
|
30318
|
+
payment_url: z150.url().nullable(),
|
|
30319
|
+
pay_address: z150.string().nullable(),
|
|
30320
|
+
callback_url: z150.url().nullable().optional(),
|
|
30321
|
+
cancel_url: z150.url().nullable().optional(),
|
|
30322
|
+
description: z150.string().optional(),
|
|
30323
|
+
transaction_hash: z150.string().nullable(),
|
|
30324
|
+
confirmations_count: z150.int(),
|
|
30325
|
+
created_at: z150.iso.datetime(),
|
|
30326
|
+
updated_at: z150.iso.datetime(),
|
|
30327
|
+
expires_at: z150.iso.datetime().nullable().optional(),
|
|
30328
|
+
completed_at: z150.iso.datetime().nullable(),
|
|
30329
|
+
is_pending: z150.boolean(),
|
|
30330
|
+
is_completed: z150.boolean(),
|
|
30331
|
+
is_failed: z150.boolean(),
|
|
30332
|
+
is_expired: z150.boolean()
|
|
30309
30333
|
});
|
|
30310
30334
|
|
|
30311
30335
|
// src/cfg/generated/_utils/schemas/PaymentAnalyticsResponse.schema.ts
|
|
30312
|
-
import { z as
|
|
30336
|
+
import { z as z152 } from "zod";
|
|
30313
30337
|
|
|
30314
30338
|
// src/cfg/generated/_utils/schemas/ProviderAnalyticsItem.schema.ts
|
|
30315
|
-
import { z as
|
|
30316
|
-
var ProviderAnalyticsItemSchema =
|
|
30317
|
-
provider:
|
|
30318
|
-
provider_display:
|
|
30319
|
-
total_payments:
|
|
30320
|
-
total_amount:
|
|
30321
|
-
completed_payments:
|
|
30322
|
-
success_rate:
|
|
30339
|
+
import { z as z151 } from "zod";
|
|
30340
|
+
var ProviderAnalyticsItemSchema = z151.object({
|
|
30341
|
+
provider: z151.string(),
|
|
30342
|
+
provider_display: z151.string(),
|
|
30343
|
+
total_payments: z151.int(),
|
|
30344
|
+
total_amount: z151.number(),
|
|
30345
|
+
completed_payments: z151.int(),
|
|
30346
|
+
success_rate: z151.number()
|
|
30323
30347
|
});
|
|
30324
30348
|
|
|
30325
30349
|
// src/cfg/generated/_utils/schemas/PaymentAnalyticsResponse.schema.ts
|
|
30326
|
-
var PaymentAnalyticsResponseSchema =
|
|
30327
|
-
currency_analytics:
|
|
30328
|
-
provider_analytics:
|
|
30350
|
+
var PaymentAnalyticsResponseSchema = z152.object({
|
|
30351
|
+
currency_analytics: z152.array(CurrencyAnalyticsItemSchema),
|
|
30352
|
+
provider_analytics: z152.array(ProviderAnalyticsItemSchema)
|
|
30329
30353
|
});
|
|
30330
30354
|
|
|
30331
30355
|
// src/cfg/generated/_utils/schemas/PaymentCreate.schema.ts
|
|
30332
|
-
import { z as z152 } from "zod";
|
|
30333
|
-
var PaymentCreateSchema = z152.object({
|
|
30334
|
-
amount_usd: z152.number().min(1).max(5e4),
|
|
30335
|
-
currency_code: z152.nativeEnum(PaymentCreateCurrencyCode),
|
|
30336
|
-
provider: z152.nativeEnum(PaymentCreateProvider).optional(),
|
|
30337
|
-
callback_url: z152.url().optional(),
|
|
30338
|
-
cancel_url: z152.url().optional(),
|
|
30339
|
-
description: z152.string().max(500).optional(),
|
|
30340
|
-
metadata: z152.string().optional()
|
|
30341
|
-
});
|
|
30342
|
-
|
|
30343
|
-
// src/cfg/generated/_utils/schemas/PaymentCreateRequest.schema.ts
|
|
30344
30356
|
import { z as z153 } from "zod";
|
|
30345
|
-
var
|
|
30357
|
+
var PaymentCreateSchema = z153.object({
|
|
30346
30358
|
amount_usd: z153.number().min(1).max(5e4),
|
|
30347
|
-
currency_code: z153.nativeEnum(
|
|
30348
|
-
provider: z153.nativeEnum(PaymentCreateRequestProvider).optional(),
|
|
30359
|
+
currency_code: z153.nativeEnum(PaymentCreateCurrencyCode),
|
|
30349
30360
|
callback_url: z153.url().optional(),
|
|
30350
30361
|
cancel_url: z153.url().optional(),
|
|
30351
30362
|
description: z153.string().max(500).optional(),
|
|
30352
30363
|
metadata: z153.string().optional()
|
|
30353
30364
|
});
|
|
30354
30365
|
|
|
30355
|
-
// src/cfg/generated/_utils/schemas/
|
|
30366
|
+
// src/cfg/generated/_utils/schemas/PaymentCreateRequest.schema.ts
|
|
30356
30367
|
import { z as z154 } from "zod";
|
|
30357
|
-
var
|
|
30358
|
-
|
|
30359
|
-
|
|
30360
|
-
|
|
30361
|
-
|
|
30362
|
-
|
|
30363
|
-
|
|
30364
|
-
average_payment_usd: z154.number(),
|
|
30365
|
-
success_rate: z154.number(),
|
|
30366
|
-
last_payment_at: z154.iso.datetime().nullable(),
|
|
30367
|
-
payments_this_month: z154.int(),
|
|
30368
|
-
amount_this_month: z154.number(),
|
|
30369
|
-
top_currency: z154.string().nullable(),
|
|
30370
|
-
top_currency_count: z154.int()
|
|
30368
|
+
var PaymentCreateRequestSchema = z154.object({
|
|
30369
|
+
amount_usd: z154.number().min(1).max(5e4),
|
|
30370
|
+
currency_code: z154.nativeEnum(PaymentCreateRequestCurrencyCode),
|
|
30371
|
+
callback_url: z154.url().optional(),
|
|
30372
|
+
cancel_url: z154.url().optional(),
|
|
30373
|
+
description: z154.string().max(500).optional(),
|
|
30374
|
+
metadata: z154.string().optional()
|
|
30371
30375
|
});
|
|
30372
30376
|
|
|
30373
|
-
// src/cfg/generated/_utils/schemas/
|
|
30377
|
+
// src/cfg/generated/_utils/schemas/PaymentOverview.schema.ts
|
|
30374
30378
|
import { z as z155 } from "zod";
|
|
30375
|
-
var
|
|
30376
|
-
|
|
30377
|
-
|
|
30378
|
-
|
|
30379
|
-
|
|
30380
|
-
|
|
30381
|
-
|
|
30382
|
-
|
|
30383
|
-
|
|
30384
|
-
|
|
30379
|
+
var PaymentOverviewSchema = z155.object({
|
|
30380
|
+
total_payments: z155.int(),
|
|
30381
|
+
completed_payments: z155.int(),
|
|
30382
|
+
pending_payments: z155.int(),
|
|
30383
|
+
failed_payments: z155.int(),
|
|
30384
|
+
total_amount_usd: z155.number(),
|
|
30385
|
+
completed_amount_usd: z155.number(),
|
|
30386
|
+
average_payment_usd: z155.number(),
|
|
30387
|
+
success_rate: z155.number(),
|
|
30388
|
+
last_payment_at: z155.iso.datetime().nullable(),
|
|
30389
|
+
payments_this_month: z155.int(),
|
|
30390
|
+
amount_this_month: z155.number(),
|
|
30391
|
+
top_currency: z155.string().nullable(),
|
|
30392
|
+
top_currency_count: z155.int()
|
|
30385
30393
|
});
|
|
30386
30394
|
|
|
30387
|
-
// src/cfg/generated/_utils/schemas/
|
|
30395
|
+
// src/cfg/generated/_utils/schemas/PaymentRequest.schema.ts
|
|
30388
30396
|
import { z as z156 } from "zod";
|
|
30389
|
-
var
|
|
30390
|
-
|
|
30391
|
-
|
|
30392
|
-
|
|
30393
|
-
|
|
30394
|
-
|
|
30397
|
+
var PaymentRequestSchema = z156.object({
|
|
30398
|
+
amount_usd: z156.number().min(1).max(5e4),
|
|
30399
|
+
currency: z156.int(),
|
|
30400
|
+
network: z156.int().nullable().optional(),
|
|
30401
|
+
provider: z156.nativeEnum(PaymentRequestProvider).optional(),
|
|
30402
|
+
status: z156.nativeEnum(PaymentRequestStatus).optional(),
|
|
30403
|
+
callback_url: z156.url().nullable().optional(),
|
|
30404
|
+
cancel_url: z156.url().nullable().optional(),
|
|
30405
|
+
description: z156.string().optional(),
|
|
30406
|
+
expires_at: z156.iso.datetime().nullable().optional()
|
|
30407
|
+
});
|
|
30408
|
+
|
|
30409
|
+
// src/cfg/generated/_utils/schemas/PaymentsChartResponse.schema.ts
|
|
30410
|
+
import { z as z157 } from "zod";
|
|
30411
|
+
var PaymentsChartResponseSchema = z157.object({
|
|
30412
|
+
series: z157.array(ChartSeriesSchema),
|
|
30413
|
+
period: z157.string(),
|
|
30414
|
+
total_amount: z157.number(),
|
|
30415
|
+
total_payments: z157.int(),
|
|
30416
|
+
success_rate: z157.number()
|
|
30395
30417
|
});
|
|
30396
30418
|
|
|
30397
30419
|
// src/cfg/generated/_utils/schemas/PaymentsDashboardOverview.schema.ts
|
|
30398
|
-
import { z as
|
|
30420
|
+
import { z as z160 } from "zod";
|
|
30399
30421
|
|
|
30400
30422
|
// src/cfg/generated/_utils/schemas/PaymentsMetrics.schema.ts
|
|
30401
|
-
import { z as
|
|
30423
|
+
import { z as z159 } from "zod";
|
|
30402
30424
|
|
|
30403
30425
|
// src/cfg/generated/_utils/schemas/SubscriptionOverview.schema.ts
|
|
30404
|
-
import { z as
|
|
30405
|
-
var SubscriptionOverviewSchema =
|
|
30406
|
-
tier:
|
|
30407
|
-
tier_display:
|
|
30408
|
-
status:
|
|
30409
|
-
status_display:
|
|
30410
|
-
status_color:
|
|
30411
|
-
is_active:
|
|
30412
|
-
is_expired:
|
|
30413
|
-
days_remaining:
|
|
30414
|
-
requests_per_hour:
|
|
30415
|
-
requests_per_day:
|
|
30416
|
-
total_requests:
|
|
30417
|
-
usage_percentage:
|
|
30418
|
-
monthly_cost_usd:
|
|
30419
|
-
cost_display:
|
|
30420
|
-
starts_at:
|
|
30421
|
-
expires_at:
|
|
30422
|
-
last_request_at:
|
|
30423
|
-
endpoint_groups_count:
|
|
30424
|
-
endpoint_groups:
|
|
30426
|
+
import { z as z158 } from "zod";
|
|
30427
|
+
var SubscriptionOverviewSchema = z158.object({
|
|
30428
|
+
tier: z158.string(),
|
|
30429
|
+
tier_display: z158.string(),
|
|
30430
|
+
status: z158.string(),
|
|
30431
|
+
status_display: z158.string(),
|
|
30432
|
+
status_color: z158.string(),
|
|
30433
|
+
is_active: z158.boolean(),
|
|
30434
|
+
is_expired: z158.boolean(),
|
|
30435
|
+
days_remaining: z158.int(),
|
|
30436
|
+
requests_per_hour: z158.int(),
|
|
30437
|
+
requests_per_day: z158.int(),
|
|
30438
|
+
total_requests: z158.int(),
|
|
30439
|
+
usage_percentage: z158.number(),
|
|
30440
|
+
monthly_cost_usd: z158.number(),
|
|
30441
|
+
cost_display: z158.string(),
|
|
30442
|
+
starts_at: z158.iso.datetime(),
|
|
30443
|
+
expires_at: z158.iso.datetime(),
|
|
30444
|
+
last_request_at: z158.iso.datetime().nullable(),
|
|
30445
|
+
endpoint_groups_count: z158.int(),
|
|
30446
|
+
endpoint_groups: z158.array(z158.string())
|
|
30425
30447
|
});
|
|
30426
30448
|
|
|
30427
30449
|
// src/cfg/generated/_utils/schemas/PaymentsMetrics.schema.ts
|
|
30428
|
-
var PaymentsMetricsSchema =
|
|
30450
|
+
var PaymentsMetricsSchema = z159.object({
|
|
30429
30451
|
balance: BalanceOverviewSchema,
|
|
30430
|
-
subscription: SubscriptionOverviewSchema,
|
|
30452
|
+
subscription: SubscriptionOverviewSchema.nullable(),
|
|
30431
30453
|
api_keys: APIKeysOverviewSchema,
|
|
30432
30454
|
payments: PaymentOverviewSchema
|
|
30433
30455
|
});
|
|
30434
30456
|
|
|
30435
30457
|
// src/cfg/generated/_utils/schemas/PaymentsDashboardOverview.schema.ts
|
|
30436
|
-
var PaymentsDashboardOverviewSchema =
|
|
30458
|
+
var PaymentsDashboardOverviewSchema = z160.object({
|
|
30437
30459
|
metrics: PaymentsMetricsSchema,
|
|
30438
|
-
recent_payments:
|
|
30439
|
-
recent_transactions:
|
|
30460
|
+
recent_payments: z160.array(RecentPaymentSchema),
|
|
30461
|
+
recent_transactions: z160.array(RecentTransactionSchema),
|
|
30440
30462
|
chart_data: PaymentsChartResponseSchema
|
|
30441
30463
|
});
|
|
30442
30464
|
|
|
30443
30465
|
// src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
|
|
30444
|
-
import { z as
|
|
30445
|
-
var PublicDocumentSchema =
|
|
30446
|
-
id:
|
|
30447
|
-
title:
|
|
30448
|
-
content:
|
|
30466
|
+
import { z as z161 } from "zod";
|
|
30467
|
+
var PublicDocumentSchema = z161.object({
|
|
30468
|
+
id: z161.uuid(),
|
|
30469
|
+
title: z161.string().max(512),
|
|
30470
|
+
content: z161.string(),
|
|
30449
30471
|
category: PublicCategorySchema,
|
|
30450
|
-
created_at:
|
|
30451
|
-
updated_at:
|
|
30472
|
+
created_at: z161.iso.datetime(),
|
|
30473
|
+
updated_at: z161.iso.datetime()
|
|
30452
30474
|
});
|
|
30453
30475
|
|
|
30454
30476
|
// src/cfg/generated/_utils/schemas/QueueAction.schema.ts
|
|
30455
|
-
import { z as
|
|
30456
|
-
var QueueActionSchema =
|
|
30457
|
-
action:
|
|
30458
|
-
queue_names:
|
|
30477
|
+
import { z as z162 } from "zod";
|
|
30478
|
+
var QueueActionSchema = z162.object({
|
|
30479
|
+
action: z162.nativeEnum(QueueActionAction),
|
|
30480
|
+
queue_names: z162.array(z162.string()).optional()
|
|
30459
30481
|
});
|
|
30460
30482
|
|
|
30461
30483
|
// src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
|
|
30462
|
-
import { z as
|
|
30463
|
-
var QueueActionRequestSchema =
|
|
30464
|
-
action:
|
|
30465
|
-
queue_names:
|
|
30484
|
+
import { z as z163 } from "zod";
|
|
30485
|
+
var QueueActionRequestSchema = z163.object({
|
|
30486
|
+
action: z163.nativeEnum(QueueActionRequestAction),
|
|
30487
|
+
queue_names: z163.array(z163.string().min(1)).optional()
|
|
30466
30488
|
});
|
|
30467
30489
|
|
|
30468
30490
|
// src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
|
|
30469
|
-
import { z as
|
|
30470
|
-
var QueueStatusSchema =
|
|
30471
|
-
queues:
|
|
30472
|
-
workers:
|
|
30473
|
-
redis_connected:
|
|
30474
|
-
timestamp:
|
|
30475
|
-
error:
|
|
30491
|
+
import { z as z164 } from "zod";
|
|
30492
|
+
var QueueStatusSchema = z164.object({
|
|
30493
|
+
queues: z164.record(z164.string(), z164.any()),
|
|
30494
|
+
workers: z164.int(),
|
|
30495
|
+
redis_connected: z164.boolean(),
|
|
30496
|
+
timestamp: z164.string(),
|
|
30497
|
+
error: z164.string().optional()
|
|
30476
30498
|
});
|
|
30477
30499
|
|
|
30478
30500
|
// src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
|
|
30479
|
-
import { z as
|
|
30480
|
-
var QuickHealthSchema =
|
|
30481
|
-
status:
|
|
30482
|
-
timestamp:
|
|
30483
|
-
error:
|
|
30501
|
+
import { z as z165 } from "zod";
|
|
30502
|
+
var QuickHealthSchema = z165.object({
|
|
30503
|
+
status: z165.string(),
|
|
30504
|
+
timestamp: z165.iso.datetime(),
|
|
30505
|
+
error: z165.string().optional()
|
|
30484
30506
|
});
|
|
30485
30507
|
|
|
30486
30508
|
// src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
|
|
30487
|
-
import { z as
|
|
30488
|
-
var SendCampaignRequestSchema =
|
|
30489
|
-
campaign_id:
|
|
30509
|
+
import { z as z166 } from "zod";
|
|
30510
|
+
var SendCampaignRequestSchema = z166.object({
|
|
30511
|
+
campaign_id: z166.int()
|
|
30490
30512
|
});
|
|
30491
30513
|
|
|
30492
30514
|
// src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
|
|
30493
|
-
import { z as
|
|
30494
|
-
var SendCampaignResponseSchema =
|
|
30495
|
-
success:
|
|
30496
|
-
message:
|
|
30497
|
-
sent_count:
|
|
30498
|
-
error:
|
|
30515
|
+
import { z as z167 } from "zod";
|
|
30516
|
+
var SendCampaignResponseSchema = z167.object({
|
|
30517
|
+
success: z167.boolean(),
|
|
30518
|
+
message: z167.string().optional(),
|
|
30519
|
+
sent_count: z167.int().optional(),
|
|
30520
|
+
error: z167.string().optional()
|
|
30499
30521
|
});
|
|
30500
30522
|
|
|
30501
30523
|
// src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
|
|
30502
|
-
import { z as
|
|
30503
|
-
var SubscribeRequestSchema =
|
|
30504
|
-
newsletter_id:
|
|
30505
|
-
email:
|
|
30524
|
+
import { z as z168 } from "zod";
|
|
30525
|
+
var SubscribeRequestSchema = z168.object({
|
|
30526
|
+
newsletter_id: z168.int(),
|
|
30527
|
+
email: z168.email()
|
|
30506
30528
|
});
|
|
30507
30529
|
|
|
30508
30530
|
// src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
|
|
30509
|
-
import { z as
|
|
30510
|
-
var SubscribeResponseSchema =
|
|
30511
|
-
success:
|
|
30512
|
-
message:
|
|
30513
|
-
subscription_id:
|
|
30531
|
+
import { z as z169 } from "zod";
|
|
30532
|
+
var SubscribeResponseSchema = z169.object({
|
|
30533
|
+
success: z169.boolean(),
|
|
30534
|
+
message: z169.string(),
|
|
30535
|
+
subscription_id: z169.int().optional()
|
|
30514
30536
|
});
|
|
30515
30537
|
|
|
30516
30538
|
// src/cfg/generated/_utils/schemas/Subscription.schema.ts
|
|
30517
|
-
import { z as
|
|
30518
|
-
var SubscriptionSchema =
|
|
30519
|
-
id:
|
|
30520
|
-
user:
|
|
30539
|
+
import { z as z170 } from "zod";
|
|
30540
|
+
var SubscriptionSchema = z170.object({
|
|
30541
|
+
id: z170.uuid(),
|
|
30542
|
+
user: z170.string(),
|
|
30521
30543
|
tariff: TariffSchema,
|
|
30522
30544
|
endpoint_group: EndpointGroupSchema,
|
|
30523
|
-
status:
|
|
30524
|
-
status_display:
|
|
30525
|
-
status_color:
|
|
30526
|
-
tier:
|
|
30527
|
-
total_requests:
|
|
30528
|
-
usage_percentage:
|
|
30529
|
-
last_request_at:
|
|
30530
|
-
expires_at:
|
|
30531
|
-
is_active:
|
|
30532
|
-
is_expired:
|
|
30533
|
-
created_at:
|
|
30534
|
-
updated_at:
|
|
30545
|
+
status: z170.nativeEnum(SubscriptionStatus).optional(),
|
|
30546
|
+
status_display: z170.string(),
|
|
30547
|
+
status_color: z170.string(),
|
|
30548
|
+
tier: z170.nativeEnum(SubscriptionTier).optional(),
|
|
30549
|
+
total_requests: z170.int(),
|
|
30550
|
+
usage_percentage: z170.number(),
|
|
30551
|
+
last_request_at: z170.iso.datetime().nullable(),
|
|
30552
|
+
expires_at: z170.iso.datetime(),
|
|
30553
|
+
is_active: z170.boolean(),
|
|
30554
|
+
is_expired: z170.boolean(),
|
|
30555
|
+
created_at: z170.iso.datetime(),
|
|
30556
|
+
updated_at: z170.iso.datetime()
|
|
30535
30557
|
});
|
|
30536
30558
|
|
|
30537
30559
|
// src/cfg/generated/_utils/schemas/SubscriptionCreate.schema.ts
|
|
30538
|
-
import { z as z170 } from "zod";
|
|
30539
|
-
var SubscriptionCreateSchema = z170.object({
|
|
30540
|
-
tariff_id: z170.int().min(1),
|
|
30541
|
-
endpoint_group_id: z170.int().min(1).nullable().optional(),
|
|
30542
|
-
duration_days: z170.int().min(1).max(365).optional()
|
|
30543
|
-
});
|
|
30544
|
-
|
|
30545
|
-
// src/cfg/generated/_utils/schemas/SubscriptionCreateRequest.schema.ts
|
|
30546
30560
|
import { z as z171 } from "zod";
|
|
30547
|
-
var
|
|
30561
|
+
var SubscriptionCreateSchema = z171.object({
|
|
30548
30562
|
tariff_id: z171.int().min(1),
|
|
30549
30563
|
endpoint_group_id: z171.int().min(1).nullable().optional(),
|
|
30550
30564
|
duration_days: z171.int().min(1).max(365).optional()
|
|
30551
30565
|
});
|
|
30552
30566
|
|
|
30553
|
-
// src/cfg/generated/_utils/schemas/
|
|
30567
|
+
// src/cfg/generated/_utils/schemas/SubscriptionCreateRequest.schema.ts
|
|
30554
30568
|
import { z as z172 } from "zod";
|
|
30555
|
-
var
|
|
30556
|
-
|
|
30557
|
-
|
|
30558
|
-
|
|
30569
|
+
var SubscriptionCreateRequestSchema = z172.object({
|
|
30570
|
+
tariff_id: z172.int().min(1),
|
|
30571
|
+
endpoint_group_id: z172.int().min(1).nullable().optional(),
|
|
30572
|
+
duration_days: z172.int().min(1).max(365).optional()
|
|
30559
30573
|
});
|
|
30560
30574
|
|
|
30561
|
-
// src/cfg/generated/_utils/schemas/
|
|
30575
|
+
// src/cfg/generated/_utils/schemas/SubscriptionRequest.schema.ts
|
|
30562
30576
|
import { z as z173 } from "zod";
|
|
30563
|
-
var
|
|
30564
|
-
|
|
30565
|
-
|
|
30577
|
+
var SubscriptionRequestSchema = z173.object({
|
|
30578
|
+
status: z173.nativeEnum(SubscriptionRequestStatus).optional(),
|
|
30579
|
+
tier: z173.nativeEnum(SubscriptionRequestTier).optional(),
|
|
30580
|
+
expires_at: z173.iso.datetime()
|
|
30566
30581
|
});
|
|
30567
30582
|
|
|
30568
|
-
// src/cfg/generated/_utils/schemas/
|
|
30583
|
+
// src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
|
|
30569
30584
|
import { z as z174 } from "zod";
|
|
30570
|
-
var
|
|
30585
|
+
var SuccessResponseSchema = z174.object({
|
|
30571
30586
|
success: z174.boolean(),
|
|
30572
|
-
|
|
30573
|
-
total_count: z174.int(),
|
|
30574
|
-
timestamp: z174.iso.datetime()
|
|
30587
|
+
message: z174.string()
|
|
30575
30588
|
});
|
|
30576
30589
|
|
|
30577
|
-
// src/cfg/generated/_utils/schemas/
|
|
30590
|
+
// src/cfg/generated/_utils/schemas/SupportedCurrencies.schema.ts
|
|
30578
30591
|
import { z as z175 } from "zod";
|
|
30579
|
-
var
|
|
30580
|
-
|
|
30581
|
-
|
|
30582
|
-
timestamp: z175.string(),
|
|
30583
|
-
error: z175.string().optional()
|
|
30592
|
+
var SupportedCurrenciesSchema = z175.object({
|
|
30593
|
+
provider: z175.nativeEnum(SupportedCurrenciesProvider).optional(),
|
|
30594
|
+
currency_type: z175.nativeEnum(SupportedCurrenciesCurrencyType).optional()
|
|
30584
30595
|
});
|
|
30585
30596
|
|
|
30586
|
-
// src/cfg/generated/_utils/schemas/
|
|
30597
|
+
// src/cfg/generated/_utils/schemas/SupportedProviders.schema.ts
|
|
30587
30598
|
import { z as z176 } from "zod";
|
|
30588
|
-
var
|
|
30589
|
-
|
|
30590
|
-
|
|
30591
|
-
|
|
30599
|
+
var SupportedProvidersSchema = z176.object({
|
|
30600
|
+
success: z176.boolean(),
|
|
30601
|
+
providers: z176.string(),
|
|
30602
|
+
total_count: z176.int(),
|
|
30603
|
+
timestamp: z176.iso.datetime()
|
|
30592
30604
|
});
|
|
30593
30605
|
|
|
30594
|
-
// src/cfg/generated/_utils/schemas/
|
|
30606
|
+
// src/cfg/generated/_utils/schemas/TaskStatistics.schema.ts
|
|
30595
30607
|
import { z as z177 } from "zod";
|
|
30596
|
-
var
|
|
30597
|
-
|
|
30598
|
-
|
|
30599
|
-
|
|
30608
|
+
var TaskStatisticsSchema = z177.object({
|
|
30609
|
+
statistics: z177.record(z177.string(), z177.any()),
|
|
30610
|
+
recent_tasks: z177.array(z177.record(z177.string(), z177.any())),
|
|
30611
|
+
timestamp: z177.string(),
|
|
30612
|
+
error: z177.string().optional()
|
|
30600
30613
|
});
|
|
30601
30614
|
|
|
30602
|
-
// src/cfg/generated/_utils/schemas/
|
|
30615
|
+
// src/cfg/generated/_utils/schemas/TestEmailRequest.schema.ts
|
|
30603
30616
|
import { z as z178 } from "zod";
|
|
30604
|
-
var
|
|
30605
|
-
|
|
30606
|
-
|
|
30617
|
+
var TestEmailRequestSchema = z178.object({
|
|
30618
|
+
email: z178.email(),
|
|
30619
|
+
subject: z178.string().min(1).max(255).optional(),
|
|
30620
|
+
message: z178.string().min(1).optional()
|
|
30607
30621
|
});
|
|
30608
30622
|
|
|
30609
|
-
// src/cfg/generated/_utils/schemas/
|
|
30623
|
+
// src/cfg/generated/_utils/schemas/TicketRequest.schema.ts
|
|
30610
30624
|
import { z as z179 } from "zod";
|
|
30611
|
-
var
|
|
30612
|
-
|
|
30625
|
+
var TicketRequestSchema = z179.object({
|
|
30626
|
+
user: z179.int(),
|
|
30627
|
+
subject: z179.string().min(1).max(255),
|
|
30628
|
+
status: z179.nativeEnum(TicketRequestStatus).optional()
|
|
30613
30629
|
});
|
|
30614
30630
|
|
|
30615
|
-
// src/cfg/generated/_utils/schemas/
|
|
30631
|
+
// src/cfg/generated/_utils/schemas/TokenRefresh.schema.ts
|
|
30616
30632
|
import { z as z180 } from "zod";
|
|
30617
|
-
var
|
|
30618
|
-
|
|
30633
|
+
var TokenRefreshSchema = z180.object({
|
|
30634
|
+
access: z180.string(),
|
|
30635
|
+
refresh: z180.string()
|
|
30619
30636
|
});
|
|
30620
30637
|
|
|
30621
|
-
// src/cfg/generated/_utils/schemas/
|
|
30638
|
+
// src/cfg/generated/_utils/schemas/TokenRefreshRequest.schema.ts
|
|
30622
30639
|
import { z as z181 } from "zod";
|
|
30623
|
-
var
|
|
30624
|
-
|
|
30640
|
+
var TokenRefreshRequestSchema = z181.object({
|
|
30641
|
+
refresh: z181.string().min(1)
|
|
30625
30642
|
});
|
|
30626
30643
|
|
|
30627
|
-
// src/cfg/generated/_utils/schemas/
|
|
30644
|
+
// src/cfg/generated/_utils/schemas/Unsubscribe.schema.ts
|
|
30628
30645
|
import { z as z182 } from "zod";
|
|
30629
|
-
var
|
|
30630
|
-
|
|
30631
|
-
last_name: z182.string().max(50).optional(),
|
|
30632
|
-
company: z182.string().max(100).optional(),
|
|
30633
|
-
phone: z182.string().max(20).optional(),
|
|
30634
|
-
position: z182.string().max(100).optional()
|
|
30646
|
+
var UnsubscribeSchema = z182.object({
|
|
30647
|
+
subscription_id: z182.int()
|
|
30635
30648
|
});
|
|
30636
30649
|
|
|
30637
|
-
// src/cfg/generated/_utils/schemas/
|
|
30650
|
+
// src/cfg/generated/_utils/schemas/UnsubscribeRequest.schema.ts
|
|
30638
30651
|
import { z as z183 } from "zod";
|
|
30639
|
-
var
|
|
30640
|
-
|
|
30641
|
-
failed_count: z183.int(),
|
|
30642
|
-
total_tokens: z183.int(),
|
|
30643
|
-
total_cost: z183.number(),
|
|
30644
|
-
success_rate: z183.number(),
|
|
30645
|
-
errors: z183.array(z183.string())
|
|
30652
|
+
var UnsubscribeRequestSchema = z183.object({
|
|
30653
|
+
subscription_id: z183.int()
|
|
30646
30654
|
});
|
|
30647
30655
|
|
|
30648
|
-
// src/cfg/generated/_utils/schemas/
|
|
30656
|
+
// src/cfg/generated/_utils/schemas/UserProfileUpdateRequest.schema.ts
|
|
30649
30657
|
import { z as z184 } from "zod";
|
|
30650
|
-
var
|
|
30651
|
-
|
|
30652
|
-
|
|
30653
|
-
|
|
30654
|
-
|
|
30655
|
-
|
|
30656
|
-
total_cost: z184.number(),
|
|
30657
|
-
avg_tokens_per_chunk: z184.number(),
|
|
30658
|
-
avg_cost_per_chunk: z184.number()
|
|
30658
|
+
var UserProfileUpdateRequestSchema = z184.object({
|
|
30659
|
+
first_name: z184.string().max(50).optional(),
|
|
30660
|
+
last_name: z184.string().max(50).optional(),
|
|
30661
|
+
company: z184.string().max(100).optional(),
|
|
30662
|
+
phone: z184.string().max(20).optional(),
|
|
30663
|
+
position: z184.string().max(100).optional()
|
|
30659
30664
|
});
|
|
30660
30665
|
|
|
30661
|
-
// src/cfg/generated/_utils/schemas/
|
|
30666
|
+
// src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts
|
|
30667
|
+
import { z as z185 } from "zod";
|
|
30668
|
+
var VectorizationResultSchema = z185.object({
|
|
30669
|
+
vectorized_count: z185.int(),
|
|
30670
|
+
failed_count: z185.int(),
|
|
30671
|
+
total_tokens: z185.int(),
|
|
30672
|
+
total_cost: z185.number(),
|
|
30673
|
+
success_rate: z185.number(),
|
|
30674
|
+
errors: z185.array(z185.string())
|
|
30675
|
+
});
|
|
30676
|
+
|
|
30677
|
+
// src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts
|
|
30662
30678
|
import { z as z186 } from "zod";
|
|
30679
|
+
var VectorizationStatisticsSchema = z186.object({
|
|
30680
|
+
total_chunks: z186.int(),
|
|
30681
|
+
vectorized_chunks: z186.int(),
|
|
30682
|
+
pending_chunks: z186.int(),
|
|
30683
|
+
vectorization_rate: z186.number(),
|
|
30684
|
+
total_tokens: z186.int(),
|
|
30685
|
+
total_cost: z186.number(),
|
|
30686
|
+
avg_tokens_per_chunk: z186.number(),
|
|
30687
|
+
avg_cost_per_chunk: z186.number()
|
|
30688
|
+
});
|
|
30689
|
+
|
|
30690
|
+
// src/cfg/generated/_utils/schemas/WebhookEventListRequest.schema.ts
|
|
30691
|
+
import { z as z188 } from "zod";
|
|
30663
30692
|
|
|
30664
30693
|
// src/cfg/generated/_utils/schemas/WebhookEventRequest.schema.ts
|
|
30665
|
-
import { z as
|
|
30666
|
-
var WebhookEventRequestSchema =
|
|
30667
|
-
provider:
|
|
30668
|
-
event_type:
|
|
30669
|
-
status:
|
|
30670
|
-
timestamp:
|
|
30671
|
-
payload_size:
|
|
30672
|
-
response_time:
|
|
30673
|
-
retry_count:
|
|
30674
|
-
error_message:
|
|
30675
|
-
payload_preview:
|
|
30676
|
-
response_status_code:
|
|
30677
|
-
webhook_url:
|
|
30694
|
+
import { z as z187 } from "zod";
|
|
30695
|
+
var WebhookEventRequestSchema = z187.object({
|
|
30696
|
+
provider: z187.string().min(1).max(50),
|
|
30697
|
+
event_type: z187.string().min(1).max(100),
|
|
30698
|
+
status: z187.nativeEnum(WebhookEventRequestStatus),
|
|
30699
|
+
timestamp: z187.iso.datetime(),
|
|
30700
|
+
payload_size: z187.int(),
|
|
30701
|
+
response_time: z187.int(),
|
|
30702
|
+
retry_count: z187.int().optional(),
|
|
30703
|
+
error_message: z187.string().max(500).optional(),
|
|
30704
|
+
payload_preview: z187.string().max(200).optional(),
|
|
30705
|
+
response_status_code: z187.int().optional(),
|
|
30706
|
+
webhook_url: z187.url().optional()
|
|
30678
30707
|
});
|
|
30679
30708
|
|
|
30680
30709
|
// src/cfg/generated/_utils/schemas/WebhookEventListRequest.schema.ts
|
|
30681
|
-
var WebhookEventListRequestSchema =
|
|
30682
|
-
events:
|
|
30683
|
-
total:
|
|
30684
|
-
page:
|
|
30685
|
-
per_page:
|
|
30686
|
-
has_next:
|
|
30687
|
-
has_previous:
|
|
30710
|
+
var WebhookEventListRequestSchema = z188.object({
|
|
30711
|
+
events: z188.array(WebhookEventRequestSchema),
|
|
30712
|
+
total: z188.int(),
|
|
30713
|
+
page: z188.int(),
|
|
30714
|
+
per_page: z188.int(),
|
|
30715
|
+
has_next: z188.boolean(),
|
|
30716
|
+
has_previous: z188.boolean()
|
|
30688
30717
|
});
|
|
30689
30718
|
|
|
30690
30719
|
// src/cfg/generated/_utils/schemas/WebhookHealth.schema.ts
|
|
30691
|
-
import { z as
|
|
30692
|
-
var WebhookHealthSchema =
|
|
30693
|
-
status:
|
|
30694
|
-
timestamp:
|
|
30695
|
-
providers:
|
|
30720
|
+
import { z as z189 } from "zod";
|
|
30721
|
+
var WebhookHealthSchema = z189.object({
|
|
30722
|
+
status: z189.string().max(20),
|
|
30723
|
+
timestamp: z189.iso.datetime(),
|
|
30724
|
+
providers: z189.string()
|
|
30696
30725
|
});
|
|
30697
30726
|
|
|
30698
30727
|
// src/cfg/generated/_utils/schemas/WebhookProviderStats.schema.ts
|
|
30699
|
-
import { z as
|
|
30700
|
-
var WebhookProviderStatsSchema =
|
|
30701
|
-
total:
|
|
30702
|
-
successful:
|
|
30703
|
-
failed:
|
|
30704
|
-
pending:
|
|
30705
|
-
success_rate:
|
|
30728
|
+
import { z as z190 } from "zod";
|
|
30729
|
+
var WebhookProviderStatsSchema = z190.object({
|
|
30730
|
+
total: z190.int(),
|
|
30731
|
+
successful: z190.int(),
|
|
30732
|
+
failed: z190.int(),
|
|
30733
|
+
pending: z190.int().optional(),
|
|
30734
|
+
success_rate: z190.number()
|
|
30706
30735
|
});
|
|
30707
30736
|
|
|
30708
30737
|
// src/cfg/generated/_utils/schemas/WebhookProviderStatsRequest.schema.ts
|
|
30709
|
-
import { z as
|
|
30710
|
-
var WebhookProviderStatsRequestSchema =
|
|
30711
|
-
total:
|
|
30712
|
-
successful:
|
|
30713
|
-
failed:
|
|
30714
|
-
pending:
|
|
30715
|
-
success_rate:
|
|
30738
|
+
import { z as z191 } from "zod";
|
|
30739
|
+
var WebhookProviderStatsRequestSchema = z191.object({
|
|
30740
|
+
total: z191.int(),
|
|
30741
|
+
successful: z191.int(),
|
|
30742
|
+
failed: z191.int(),
|
|
30743
|
+
pending: z191.int().optional(),
|
|
30744
|
+
success_rate: z191.number()
|
|
30716
30745
|
});
|
|
30717
30746
|
|
|
30718
30747
|
// src/cfg/generated/_utils/schemas/WebhookResponse.schema.ts
|
|
30719
|
-
import { z as
|
|
30720
|
-
var WebhookResponseSchema =
|
|
30721
|
-
success:
|
|
30722
|
-
message:
|
|
30723
|
-
payment_id:
|
|
30724
|
-
provider_payment_id:
|
|
30725
|
-
processed_at:
|
|
30748
|
+
import { z as z192 } from "zod";
|
|
30749
|
+
var WebhookResponseSchema = z192.object({
|
|
30750
|
+
success: z192.boolean(),
|
|
30751
|
+
message: z192.string().max(500),
|
|
30752
|
+
payment_id: z192.string().max(256).optional(),
|
|
30753
|
+
provider_payment_id: z192.string().max(256).optional(),
|
|
30754
|
+
processed_at: z192.iso.datetime().optional()
|
|
30726
30755
|
});
|
|
30727
30756
|
|
|
30728
30757
|
// src/cfg/generated/_utils/schemas/WebhookResponseRequest.schema.ts
|
|
30729
|
-
import { z as
|
|
30730
|
-
var WebhookResponseRequestSchema =
|
|
30731
|
-
success:
|
|
30732
|
-
message:
|
|
30733
|
-
payment_id:
|
|
30734
|
-
provider_payment_id:
|
|
30735
|
-
processed_at:
|
|
30758
|
+
import { z as z193 } from "zod";
|
|
30759
|
+
var WebhookResponseRequestSchema = z193.object({
|
|
30760
|
+
success: z193.boolean(),
|
|
30761
|
+
message: z193.string().min(1).max(500),
|
|
30762
|
+
payment_id: z193.string().min(1).max(256).optional(),
|
|
30763
|
+
provider_payment_id: z193.string().min(1).max(256).optional(),
|
|
30764
|
+
processed_at: z193.iso.datetime().optional()
|
|
30736
30765
|
});
|
|
30737
30766
|
|
|
30738
30767
|
// src/cfg/generated/_utils/schemas/WebhookStatsRequest.schema.ts
|
|
30739
|
-
import { z as
|
|
30740
|
-
var WebhookStatsRequestSchema =
|
|
30741
|
-
total:
|
|
30742
|
-
successful:
|
|
30743
|
-
failed:
|
|
30744
|
-
pending:
|
|
30745
|
-
success_rate:
|
|
30746
|
-
providers:
|
|
30747
|
-
last_24h:
|
|
30748
|
-
avg_response_time:
|
|
30749
|
-
max_response_time:
|
|
30768
|
+
import { z as z194 } from "zod";
|
|
30769
|
+
var WebhookStatsRequestSchema = z194.object({
|
|
30770
|
+
total: z194.int(),
|
|
30771
|
+
successful: z194.int(),
|
|
30772
|
+
failed: z194.int(),
|
|
30773
|
+
pending: z194.int(),
|
|
30774
|
+
success_rate: z194.number(),
|
|
30775
|
+
providers: z194.record(z194.string(), z194.any()),
|
|
30776
|
+
last_24h: z194.record(z194.string(), z194.any()),
|
|
30777
|
+
avg_response_time: z194.number(),
|
|
30778
|
+
max_response_time: z194.int()
|
|
30750
30779
|
});
|
|
30751
30780
|
|
|
30752
30781
|
// src/cfg/generated/_utils/schemas/WorkerAction.schema.ts
|
|
30753
|
-
import { z as
|
|
30754
|
-
var WorkerActionSchema =
|
|
30755
|
-
action:
|
|
30756
|
-
processes:
|
|
30757
|
-
threads:
|
|
30782
|
+
import { z as z195 } from "zod";
|
|
30783
|
+
var WorkerActionSchema = z195.object({
|
|
30784
|
+
action: z195.nativeEnum(WorkerActionAction),
|
|
30785
|
+
processes: z195.int().min(1).max(10).optional(),
|
|
30786
|
+
threads: z195.int().min(1).max(20).optional()
|
|
30758
30787
|
});
|
|
30759
30788
|
|
|
30760
30789
|
// src/cfg/generated/_utils/schemas/WorkerActionRequest.schema.ts
|
|
30761
|
-
import { z as
|
|
30762
|
-
var WorkerActionRequestSchema =
|
|
30763
|
-
action:
|
|
30764
|
-
processes:
|
|
30765
|
-
threads:
|
|
30790
|
+
import { z as z196 } from "zod";
|
|
30791
|
+
var WorkerActionRequestSchema = z196.object({
|
|
30792
|
+
action: z196.nativeEnum(WorkerActionRequestAction),
|
|
30793
|
+
processes: z196.int().min(1).max(10).optional(),
|
|
30794
|
+
threads: z196.int().min(1).max(20).optional()
|
|
30766
30795
|
});
|
|
30767
30796
|
|
|
30768
30797
|
// src/cfg/generated/_utils/fetchers/index.ts
|
|
@@ -31878,10 +31907,10 @@ async function getPaymentsCurrenciesHealthRetrieve(client) {
|
|
|
31878
31907
|
const response = await api2.cfg_payments.currenciesHealthRetrieve();
|
|
31879
31908
|
return CurrencySchema.parse(response);
|
|
31880
31909
|
}
|
|
31881
|
-
async function getPaymentsCurrenciesRatesRetrieve(
|
|
31910
|
+
async function getPaymentsCurrenciesRatesRetrieve(client) {
|
|
31882
31911
|
const api2 = client || getAPIInstance();
|
|
31883
|
-
const response = await api2.cfg_payments.currenciesRatesRetrieve(
|
|
31884
|
-
return
|
|
31912
|
+
const response = await api2.cfg_payments.currenciesRatesRetrieve();
|
|
31913
|
+
return CurrencyRatesSchema.parse(response);
|
|
31885
31914
|
}
|
|
31886
31915
|
async function getPaymentsCurrenciesStableRetrieve(client) {
|
|
31887
31916
|
const api2 = client || getAPIInstance();
|
|
@@ -31893,10 +31922,10 @@ async function getPaymentsCurrenciesStatsRetrieve(client) {
|
|
|
31893
31922
|
const response = await api2.cfg_payments.currenciesStatsRetrieve();
|
|
31894
31923
|
return CurrencySchema.parse(response);
|
|
31895
31924
|
}
|
|
31896
|
-
async function getPaymentsCurrenciesSupportedRetrieve(
|
|
31925
|
+
async function getPaymentsCurrenciesSupportedRetrieve(client) {
|
|
31897
31926
|
const api2 = client || getAPIInstance();
|
|
31898
|
-
const response = await api2.cfg_payments.currenciesSupportedRetrieve(
|
|
31899
|
-
return
|
|
31927
|
+
const response = await api2.cfg_payments.currenciesSupportedRetrieve();
|
|
31928
|
+
return SupportedCurrenciesSchema.parse(response);
|
|
31900
31929
|
}
|
|
31901
31930
|
async function getPaymentsEndpointGroupsList(params, client) {
|
|
31902
31931
|
const api2 = client || getAPIInstance();
|
|
@@ -34044,10 +34073,10 @@ function usePaymentsCurrenciesHealthRetrieve(client) {
|
|
|
34044
34073
|
() => getPaymentsCurrenciesHealthRetrieve(client)
|
|
34045
34074
|
);
|
|
34046
34075
|
}
|
|
34047
|
-
function usePaymentsCurrenciesRatesRetrieve(
|
|
34076
|
+
function usePaymentsCurrenciesRatesRetrieve(client) {
|
|
34048
34077
|
return useSWR11(
|
|
34049
|
-
|
|
34050
|
-
() => getPaymentsCurrenciesRatesRetrieve(
|
|
34078
|
+
"cfg-payments-currencies-rate",
|
|
34079
|
+
() => getPaymentsCurrenciesRatesRetrieve(client)
|
|
34051
34080
|
);
|
|
34052
34081
|
}
|
|
34053
34082
|
function usePaymentsCurrenciesStableRetrieve(client) {
|
|
@@ -34062,10 +34091,10 @@ function usePaymentsCurrenciesStatsRetrieve(client) {
|
|
|
34062
34091
|
() => getPaymentsCurrenciesStatsRetrieve(client)
|
|
34063
34092
|
);
|
|
34064
34093
|
}
|
|
34065
|
-
function usePaymentsCurrenciesSupportedRetrieve(
|
|
34094
|
+
function usePaymentsCurrenciesSupportedRetrieve(client) {
|
|
34066
34095
|
return useSWR11(
|
|
34067
|
-
|
|
34068
|
-
() => getPaymentsCurrenciesSupportedRetrieve(
|
|
34096
|
+
"cfg-payments-currencies-supported",
|
|
34097
|
+
() => getPaymentsCurrenciesSupportedRetrieve(client)
|
|
34069
34098
|
);
|
|
34070
34099
|
}
|
|
34071
34100
|
function usePaymentsEndpointGroupsList(params, client) {
|
|
@@ -36871,24 +36900,11 @@ function CurrenciesProvider({ children }) {
|
|
|
36871
36900
|
const refreshCurrencies = async () => {
|
|
36872
36901
|
await mutateCurrencies();
|
|
36873
36902
|
};
|
|
36874
|
-
const getCurrency = async (id) => {
|
|
36875
|
-
const { data } = usePaymentsCurrenciesRetrieve(id, api);
|
|
36876
|
-
return data;
|
|
36877
|
-
};
|
|
36878
|
-
const getCurrencyRates = async (baseCurrency, currencies2) => {
|
|
36879
|
-
const { data } = usePaymentsCurrenciesRatesRetrieve(
|
|
36880
|
-
{ base_currency: baseCurrency, currencies: currencies2 },
|
|
36881
|
-
api
|
|
36882
|
-
);
|
|
36883
|
-
return data;
|
|
36884
|
-
};
|
|
36885
36903
|
const value = {
|
|
36886
36904
|
currencies,
|
|
36887
36905
|
isLoadingCurrencies,
|
|
36888
36906
|
currenciesError,
|
|
36889
|
-
refreshCurrencies
|
|
36890
|
-
getCurrency,
|
|
36891
|
-
getCurrencyRates
|
|
36907
|
+
refreshCurrencies
|
|
36892
36908
|
};
|
|
36893
36909
|
return /* @__PURE__ */ jsx7(CurrenciesContext.Provider, { value, children });
|
|
36894
36910
|
}
|
|
@@ -36914,7 +36930,7 @@ function ApiKeysProvider({ children }) {
|
|
|
36914
36930
|
const refreshApiKeys = async () => {
|
|
36915
36931
|
await mutateApiKeys();
|
|
36916
36932
|
};
|
|
36917
|
-
const createApiKeyMutation =
|
|
36933
|
+
const createApiKeyMutation = useCreatePaymentsApiKeysCreateCreate();
|
|
36918
36934
|
const deleteApiKeyMutation = useDeletePaymentsApiKeysDestroy();
|
|
36919
36935
|
const getApiKey = async (id) => {
|
|
36920
36936
|
const { data } = usePaymentsApiKeysRetrieve(id, api);
|
|
@@ -36967,6 +36983,19 @@ function OverviewProvider({ children }) {
|
|
|
36967
36983
|
const { data: chartData, mutate: mutateChartData } = usePaymentsOverviewDashboardChartDataRetrieve({}, api);
|
|
36968
36984
|
const { data: recentPayments, mutate: mutateRecentPayments } = usePaymentsOverviewDashboardRecentPaymentsList({}, api);
|
|
36969
36985
|
const { data: recentTransactions, mutate: mutateRecentTransactions } = usePaymentsOverviewDashboardRecentTransactionsList({}, api);
|
|
36986
|
+
const {
|
|
36987
|
+
data: balances,
|
|
36988
|
+
error: balancesError,
|
|
36989
|
+
isLoading: isLoadingBalances,
|
|
36990
|
+
mutate: mutateBalances
|
|
36991
|
+
} = usePaymentsBalancesList({}, api);
|
|
36992
|
+
const {
|
|
36993
|
+
data: balanceSummary,
|
|
36994
|
+
error: summaryError,
|
|
36995
|
+
isLoading: isLoadingSummary,
|
|
36996
|
+
mutate: mutateSummary
|
|
36997
|
+
} = usePaymentsBalancesSummaryRetrieve(api);
|
|
36998
|
+
const createPaymentMutation = useCreatePaymentsPaymentCreate();
|
|
36970
36999
|
const isLoadingOverview = isLoadingOverview1;
|
|
36971
37000
|
const refreshOverview = async () => {
|
|
36972
37001
|
await Promise.all([
|
|
@@ -36980,6 +37009,26 @@ function OverviewProvider({ children }) {
|
|
|
36980
37009
|
mutateRecentTransactions()
|
|
36981
37010
|
]);
|
|
36982
37011
|
};
|
|
37012
|
+
const refreshBalances = async () => {
|
|
37013
|
+
await mutateBalances();
|
|
37014
|
+
};
|
|
37015
|
+
const refreshSummary = async () => {
|
|
37016
|
+
await mutateSummary();
|
|
37017
|
+
};
|
|
37018
|
+
const retrieveBalance = async (id) => {
|
|
37019
|
+
try {
|
|
37020
|
+
const result = await getPaymentsBalancesRetrieve(id, api);
|
|
37021
|
+
return result;
|
|
37022
|
+
} catch (error) {
|
|
37023
|
+
defaultLogger.error("Failed to retrieve balance:", error);
|
|
37024
|
+
return void 0;
|
|
37025
|
+
}
|
|
37026
|
+
};
|
|
37027
|
+
const createPayment = async (data) => {
|
|
37028
|
+
const result = await createPaymentMutation(data, api);
|
|
37029
|
+
await refreshOverview();
|
|
37030
|
+
return result;
|
|
37031
|
+
};
|
|
36983
37032
|
const value = {
|
|
36984
37033
|
overview,
|
|
36985
37034
|
metrics,
|
|
@@ -36989,6 +37038,16 @@ function OverviewProvider({ children }) {
|
|
|
36989
37038
|
chartData,
|
|
36990
37039
|
recentPayments,
|
|
36991
37040
|
recentTransactions,
|
|
37041
|
+
balances,
|
|
37042
|
+
isLoadingBalances,
|
|
37043
|
+
balancesError,
|
|
37044
|
+
refreshBalances,
|
|
37045
|
+
balanceSummary,
|
|
37046
|
+
isLoadingSummary,
|
|
37047
|
+
summaryError,
|
|
37048
|
+
refreshSummary,
|
|
37049
|
+
retrieveBalance,
|
|
37050
|
+
createPayment,
|
|
36992
37051
|
isLoadingOverview,
|
|
36993
37052
|
overviewError,
|
|
36994
37053
|
refreshOverview
|
|
@@ -37003,10 +37062,66 @@ function useOverviewContext() {
|
|
|
37003
37062
|
return context;
|
|
37004
37063
|
}
|
|
37005
37064
|
|
|
37006
|
-
// src/cfg/contexts/
|
|
37065
|
+
// src/cfg/contexts/payments/RootPaymentsContext.tsx
|
|
37007
37066
|
import { createContext as createContext10, useContext as useContext10 } from "react";
|
|
37008
37067
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
37009
|
-
var
|
|
37068
|
+
var RootPaymentsContext = createContext10(void 0);
|
|
37069
|
+
function RootPaymentsProvider({ children }) {
|
|
37070
|
+
const {
|
|
37071
|
+
data: currencies,
|
|
37072
|
+
error: currenciesError,
|
|
37073
|
+
isLoading: isLoadingCurrencies,
|
|
37074
|
+
mutate: mutateCurrencies
|
|
37075
|
+
} = usePaymentsCurrenciesList({ page_size: 1e3 }, api);
|
|
37076
|
+
const {
|
|
37077
|
+
data: providerCurrencies,
|
|
37078
|
+
error: providerCurrenciesError,
|
|
37079
|
+
isLoading: isLoadingProviderCurrencies,
|
|
37080
|
+
mutate: mutateProviderCurrencies
|
|
37081
|
+
} = usePaymentsProviderCurrenciesList({ page_size: 1e3 }, api);
|
|
37082
|
+
const {
|
|
37083
|
+
data: networks,
|
|
37084
|
+
error: networksError,
|
|
37085
|
+
isLoading: isLoadingNetworks,
|
|
37086
|
+
mutate: mutateNetworks
|
|
37087
|
+
} = usePaymentsNetworksList({ page_size: 1e3 }, api);
|
|
37088
|
+
const refreshCurrencies = async () => {
|
|
37089
|
+
await mutateCurrencies();
|
|
37090
|
+
};
|
|
37091
|
+
const refreshProviderCurrencies = async () => {
|
|
37092
|
+
await mutateProviderCurrencies();
|
|
37093
|
+
};
|
|
37094
|
+
const refreshNetworks = async () => {
|
|
37095
|
+
await mutateNetworks();
|
|
37096
|
+
};
|
|
37097
|
+
const value = {
|
|
37098
|
+
currencies,
|
|
37099
|
+
isLoadingCurrencies,
|
|
37100
|
+
currenciesError,
|
|
37101
|
+
refreshCurrencies,
|
|
37102
|
+
providerCurrencies,
|
|
37103
|
+
isLoadingProviderCurrencies,
|
|
37104
|
+
providerCurrenciesError,
|
|
37105
|
+
refreshProviderCurrencies,
|
|
37106
|
+
networks,
|
|
37107
|
+
isLoadingNetworks,
|
|
37108
|
+
networksError,
|
|
37109
|
+
refreshNetworks
|
|
37110
|
+
};
|
|
37111
|
+
return /* @__PURE__ */ jsx10(RootPaymentsContext.Provider, { value, children });
|
|
37112
|
+
}
|
|
37113
|
+
function useRootPaymentsContext() {
|
|
37114
|
+
const context = useContext10(RootPaymentsContext);
|
|
37115
|
+
if (!context) {
|
|
37116
|
+
throw new Error("useRootPaymentsContext must be used within RootPaymentsProvider");
|
|
37117
|
+
}
|
|
37118
|
+
return context;
|
|
37119
|
+
}
|
|
37120
|
+
|
|
37121
|
+
// src/cfg/contexts/knowbase/ChatContext.tsx
|
|
37122
|
+
import { createContext as createContext11, useContext as useContext11 } from "react";
|
|
37123
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
37124
|
+
var KnowbaseChatContext = createContext11(void 0);
|
|
37010
37125
|
function KnowbaseChatProvider({ children }) {
|
|
37011
37126
|
const {
|
|
37012
37127
|
data: chats,
|
|
@@ -37067,10 +37182,10 @@ function KnowbaseChatProvider({ children }) {
|
|
|
37067
37182
|
deleteChat,
|
|
37068
37183
|
sendQuery
|
|
37069
37184
|
};
|
|
37070
|
-
return /* @__PURE__ */
|
|
37185
|
+
return /* @__PURE__ */ jsx11(KnowbaseChatContext.Provider, { value, children });
|
|
37071
37186
|
}
|
|
37072
37187
|
function useKnowbaseChatContext() {
|
|
37073
|
-
const context =
|
|
37188
|
+
const context = useContext11(KnowbaseChatContext);
|
|
37074
37189
|
if (!context) {
|
|
37075
37190
|
throw new Error("useKnowbaseChatContext must be used within KnowbaseChatProvider");
|
|
37076
37191
|
}
|
|
@@ -37078,9 +37193,9 @@ function useKnowbaseChatContext() {
|
|
|
37078
37193
|
}
|
|
37079
37194
|
|
|
37080
37195
|
// src/cfg/contexts/knowbase/DocumentsContext.tsx
|
|
37081
|
-
import { createContext as
|
|
37082
|
-
import { jsx as
|
|
37083
|
-
var KnowbaseDocumentsContext =
|
|
37196
|
+
import { createContext as createContext12, useContext as useContext12 } from "react";
|
|
37197
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
37198
|
+
var KnowbaseDocumentsContext = createContext12(
|
|
37084
37199
|
void 0
|
|
37085
37200
|
);
|
|
37086
37201
|
function KnowbaseDocumentsProvider({ children }) {
|
|
@@ -37199,10 +37314,10 @@ function KnowbaseDocumentsProvider({ children }) {
|
|
|
37199
37314
|
partialUpdateArchive,
|
|
37200
37315
|
deleteArchive
|
|
37201
37316
|
};
|
|
37202
|
-
return /* @__PURE__ */
|
|
37317
|
+
return /* @__PURE__ */ jsx12(KnowbaseDocumentsContext.Provider, { value, children });
|
|
37203
37318
|
}
|
|
37204
37319
|
function useKnowbaseDocumentsContext() {
|
|
37205
|
-
const context =
|
|
37320
|
+
const context = useContext12(KnowbaseDocumentsContext);
|
|
37206
37321
|
if (!context) {
|
|
37207
37322
|
throw new Error("useKnowbaseDocumentsContext must be used within KnowbaseDocumentsProvider");
|
|
37208
37323
|
}
|
|
@@ -37210,9 +37325,9 @@ function useKnowbaseDocumentsContext() {
|
|
|
37210
37325
|
}
|
|
37211
37326
|
|
|
37212
37327
|
// src/cfg/contexts/knowbase/SessionsContext.tsx
|
|
37213
|
-
import { createContext as
|
|
37214
|
-
import { jsx as
|
|
37215
|
-
var KnowbaseSessionsContext =
|
|
37328
|
+
import { createContext as createContext13, useContext as useContext13 } from "react";
|
|
37329
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
37330
|
+
var KnowbaseSessionsContext = createContext13(void 0);
|
|
37216
37331
|
function KnowbaseSessionsProvider({ children }) {
|
|
37217
37332
|
const {
|
|
37218
37333
|
data: sessions,
|
|
@@ -37275,10 +37390,10 @@ function KnowbaseSessionsProvider({ children }) {
|
|
|
37275
37390
|
activateSession,
|
|
37276
37391
|
archiveSession
|
|
37277
37392
|
};
|
|
37278
|
-
return /* @__PURE__ */
|
|
37393
|
+
return /* @__PURE__ */ jsx13(KnowbaseSessionsContext.Provider, { value, children });
|
|
37279
37394
|
}
|
|
37280
37395
|
function useKnowbaseSessionsContext() {
|
|
37281
|
-
const context =
|
|
37396
|
+
const context = useContext13(KnowbaseSessionsContext);
|
|
37282
37397
|
if (!context) {
|
|
37283
37398
|
throw new Error("useKnowbaseSessionsContext must be used within KnowbaseSessionsProvider");
|
|
37284
37399
|
}
|
|
@@ -37341,6 +37456,7 @@ export {
|
|
|
37341
37456
|
PaymentsProvider,
|
|
37342
37457
|
PaymentsService,
|
|
37343
37458
|
REFRESH_TOKEN_KEY,
|
|
37459
|
+
RootPaymentsProvider,
|
|
37344
37460
|
schemas_exports as Schemas,
|
|
37345
37461
|
SubscriptionsService,
|
|
37346
37462
|
SupportProvider,
|
|
@@ -37351,303 +37467,12 @@ export {
|
|
|
37351
37467
|
api,
|
|
37352
37468
|
clearAPITokens,
|
|
37353
37469
|
configureAPI,
|
|
37354
|
-
createAccountsOtpRequestCreate,
|
|
37355
|
-
createAccountsOtpVerifyCreate,
|
|
37356
|
-
createAccountsProfileAvatarCreate,
|
|
37357
|
-
createAccountsTokenRefreshCreate,
|
|
37358
|
-
createKnowbaseAdminChatCreate,
|
|
37359
|
-
createKnowbaseAdminChatQueryCreate,
|
|
37360
|
-
createKnowbaseAdminDocumentsCreate,
|
|
37361
|
-
createKnowbaseAdminDocumentsReprocessCreate,
|
|
37362
|
-
createKnowbaseAdminSessionsActivateCreate,
|
|
37363
|
-
createKnowbaseAdminSessionsArchiveCreate,
|
|
37364
|
-
createKnowbaseAdminSessionsCreate,
|
|
37365
|
-
createKnowbaseSystemArchivesCreate,
|
|
37366
|
-
createKnowbaseSystemArchivesRevectorizeCreate,
|
|
37367
|
-
createKnowbaseSystemArchivesSearchCreate,
|
|
37368
|
-
createKnowbaseSystemChunksCreate,
|
|
37369
|
-
createKnowbaseSystemChunksVectorizeCreate,
|
|
37370
|
-
createKnowbaseSystemItemsCreate,
|
|
37371
|
-
createLeadsCreate,
|
|
37372
|
-
createLeadsSubmitCreate,
|
|
37373
|
-
createNewsletterBulkCreate,
|
|
37374
|
-
createNewsletterCampaignsCreate,
|
|
37375
|
-
createNewsletterCampaignsSendCreate,
|
|
37376
|
-
createNewsletterSubscribeCreate,
|
|
37377
|
-
createNewsletterTestCreate,
|
|
37378
|
-
createNewsletterUnsubscribeCreate,
|
|
37379
|
-
createPaymentsAdminApiPaymentsCancelCreate,
|
|
37380
|
-
createPaymentsAdminApiPaymentsCreate,
|
|
37381
|
-
createPaymentsAdminApiPaymentsRefreshStatusCreate,
|
|
37382
|
-
createPaymentsAdminApiPaymentsRefundCreate,
|
|
37383
|
-
createPaymentsAdminApiWebhookTestTestCreate,
|
|
37384
|
-
createPaymentsAdminApiWebhooksEventsClearAllCreate,
|
|
37385
|
-
createPaymentsAdminApiWebhooksEventsRetryCreate,
|
|
37386
|
-
createPaymentsAdminApiWebhooksEventsRetryFailedCreate,
|
|
37387
|
-
createPaymentsApiKeysCreate,
|
|
37388
|
-
createPaymentsApiKeysCreateCreate,
|
|
37389
|
-
createPaymentsApiKeysPerformActionCreate,
|
|
37390
|
-
createPaymentsApiKeysValidateCreate,
|
|
37391
|
-
createPaymentsApiKeysValidateKeyCreate,
|
|
37392
|
-
createPaymentsCurrenciesConvertCreate,
|
|
37393
|
-
createPaymentsCurrenciesCreate,
|
|
37394
|
-
createPaymentsPaymentCancelCreate,
|
|
37395
|
-
createPaymentsPaymentCheckStatusCreate,
|
|
37396
|
-
createPaymentsPaymentCreate,
|
|
37397
|
-
createPaymentsPaymentCreateCreate,
|
|
37398
|
-
createPaymentsSubscriptionsCreate,
|
|
37399
|
-
createPaymentsSubscriptionsIncrementUsageCreate,
|
|
37400
|
-
createPaymentsSubscriptionsUpdateStatusCreate,
|
|
37401
|
-
createPaymentsUsersApiKeysCreate,
|
|
37402
|
-
createPaymentsUsersApiKeysPerformActionCreate,
|
|
37403
|
-
createPaymentsUsersCancelCreate,
|
|
37404
|
-
createPaymentsUsersCheckStatusCreate,
|
|
37405
|
-
createPaymentsUsersCreate,
|
|
37406
|
-
createPaymentsUsersPaymentCancelCreate,
|
|
37407
|
-
createPaymentsUsersPaymentCheckStatusCreate,
|
|
37408
|
-
createPaymentsUsersPaymentCreate,
|
|
37409
|
-
createPaymentsUsersSubscriptionsCreate,
|
|
37410
|
-
createPaymentsUsersSubscriptionsIncrementUsageCreate,
|
|
37411
|
-
createPaymentsUsersSubscriptionsUpdateStatusCreate,
|
|
37412
|
-
createPaymentsWebhooksCreate,
|
|
37413
|
-
createSupportTicketsCreate,
|
|
37414
|
-
createSupportTicketsMessagesCreate,
|
|
37415
|
-
createTasksApiClearCreate,
|
|
37416
|
-
createTasksApiClearQueuesCreate,
|
|
37417
|
-
createTasksApiPurgeFailedCreate,
|
|
37418
|
-
createTasksApiQueuesManageCreate,
|
|
37419
|
-
createTasksApiSimulateCreate,
|
|
37420
|
-
createTasksApiWorkersManageCreate,
|
|
37421
37470
|
api as default,
|
|
37422
|
-
deleteKnowbaseAdminChatDestroy,
|
|
37423
|
-
deleteKnowbaseAdminDocumentsDestroy,
|
|
37424
|
-
deleteKnowbaseAdminSessionsDestroy,
|
|
37425
|
-
deleteKnowbaseSystemArchivesDestroy,
|
|
37426
|
-
deleteKnowbaseSystemChunksDestroy,
|
|
37427
|
-
deleteKnowbaseSystemItemsDestroy,
|
|
37428
|
-
deleteLeadsDestroy,
|
|
37429
|
-
deleteNewsletterCampaignsDestroy,
|
|
37430
|
-
deletePaymentsAdminApiPaymentsDestroy,
|
|
37431
|
-
deletePaymentsApiKeysDestroy,
|
|
37432
|
-
deletePaymentsPaymentDestroy,
|
|
37433
|
-
deletePaymentsSubscriptionsDestroy,
|
|
37434
|
-
deletePaymentsUsersApiKeysDestroy,
|
|
37435
|
-
deletePaymentsUsersDestroy,
|
|
37436
|
-
deletePaymentsUsersPaymentDestroy,
|
|
37437
|
-
deletePaymentsUsersSubscriptionsDestroy,
|
|
37438
|
-
deleteSupportTicketsDestroy,
|
|
37439
|
-
deleteSupportTicketsMessagesDestroy,
|
|
37440
37471
|
getAPIInstance,
|
|
37441
|
-
getAccountsProfileRetrieve,
|
|
37442
|
-
getEndpointsDrfRetrieve,
|
|
37443
|
-
getHealthDrfQuickRetrieve,
|
|
37444
|
-
getHealthDrfRetrieve,
|
|
37445
|
-
getKnowbaseAdminChatHistoryRetrieve,
|
|
37446
|
-
getKnowbaseAdminChatList,
|
|
37447
|
-
getKnowbaseAdminChatRetrieve,
|
|
37448
|
-
getKnowbaseAdminDocumentsList,
|
|
37449
|
-
getKnowbaseAdminDocumentsRetrieve,
|
|
37450
|
-
getKnowbaseAdminDocumentsStatsRetrieve,
|
|
37451
|
-
getKnowbaseAdminDocumentsStatusRetrieve,
|
|
37452
|
-
getKnowbaseAdminSessionsList,
|
|
37453
|
-
getKnowbaseAdminSessionsRetrieve,
|
|
37454
|
-
getKnowbaseCategoriesList,
|
|
37455
|
-
getKnowbaseCategoriesRetrieve,
|
|
37456
|
-
getKnowbaseDocumentsList,
|
|
37457
|
-
getKnowbaseDocumentsRetrieve,
|
|
37458
|
-
getKnowbaseSystemArchivesFileTreeRetrieve,
|
|
37459
|
-
getKnowbaseSystemArchivesItemsList,
|
|
37460
|
-
getKnowbaseSystemArchivesList,
|
|
37461
|
-
getKnowbaseSystemArchivesRetrieve,
|
|
37462
|
-
getKnowbaseSystemArchivesStatisticsRetrieve,
|
|
37463
|
-
getKnowbaseSystemArchivesVectorizationStatsRetrieve,
|
|
37464
|
-
getKnowbaseSystemChunksContextRetrieve,
|
|
37465
|
-
getKnowbaseSystemChunksList,
|
|
37466
|
-
getKnowbaseSystemChunksRetrieve,
|
|
37467
|
-
getKnowbaseSystemItemsChunksList,
|
|
37468
|
-
getKnowbaseSystemItemsContentRetrieve,
|
|
37469
|
-
getKnowbaseSystemItemsList,
|
|
37470
|
-
getKnowbaseSystemItemsRetrieve,
|
|
37471
|
-
getLeadsList,
|
|
37472
|
-
getLeadsRetrieve,
|
|
37473
|
-
getNewsletterCampaignsList,
|
|
37474
|
-
getNewsletterCampaignsRetrieve,
|
|
37475
|
-
getNewsletterLogsList,
|
|
37476
|
-
getNewsletterNewslettersList,
|
|
37477
|
-
getNewsletterNewslettersRetrieve,
|
|
37478
|
-
getNewsletterSubscriptionsList,
|
|
37479
|
-
getPaymentsAdminApiPaymentsList,
|
|
37480
|
-
getPaymentsAdminApiPaymentsRetrieve,
|
|
37481
|
-
getPaymentsAdminApiPaymentsStatsRetrieve,
|
|
37482
|
-
getPaymentsAdminApiStatsList,
|
|
37483
|
-
getPaymentsAdminApiStatsPaymentsRetrieve,
|
|
37484
|
-
getPaymentsAdminApiStatsRetrieve,
|
|
37485
|
-
getPaymentsAdminApiStatsSystemRetrieve,
|
|
37486
|
-
getPaymentsAdminApiStatsWebhooksRetrieve,
|
|
37487
|
-
getPaymentsAdminApiUsersList,
|
|
37488
|
-
getPaymentsAdminApiUsersRetrieve,
|
|
37489
|
-
getPaymentsAdminApiWebhooksEventsList,
|
|
37490
|
-
getPaymentsAdminApiWebhooksEventsRetrieve,
|
|
37491
|
-
getPaymentsAdminApiWebhooksList,
|
|
37492
|
-
getPaymentsAdminApiWebhooksRetrieve,
|
|
37493
|
-
getPaymentsAdminApiWebhooksStatsRetrieve,
|
|
37494
|
-
getPaymentsApiKeysAnalyticsRetrieve,
|
|
37495
|
-
getPaymentsApiKeysByUserRetrieve,
|
|
37496
|
-
getPaymentsApiKeysExpiringSoonRetrieve,
|
|
37497
|
-
getPaymentsApiKeysHealthRetrieve,
|
|
37498
|
-
getPaymentsApiKeysList,
|
|
37499
|
-
getPaymentsApiKeysRetrieve,
|
|
37500
|
-
getPaymentsApiKeysStatsRetrieve,
|
|
37501
|
-
getPaymentsBalancesAnalyticsRetrieve,
|
|
37502
|
-
getPaymentsBalancesHealthRetrieve,
|
|
37503
|
-
getPaymentsBalancesList,
|
|
37504
|
-
getPaymentsBalancesRetrieve,
|
|
37505
|
-
getPaymentsBalancesStatsRetrieve,
|
|
37506
|
-
getPaymentsBalancesSummaryRetrieve,
|
|
37507
|
-
getPaymentsCurrenciesCryptoRetrieve,
|
|
37508
|
-
getPaymentsCurrenciesFiatRetrieve,
|
|
37509
|
-
getPaymentsCurrenciesHealthRetrieve,
|
|
37510
|
-
getPaymentsCurrenciesList,
|
|
37511
|
-
getPaymentsCurrenciesNetworksRetrieve,
|
|
37512
|
-
getPaymentsCurrenciesProvidersRetrieve,
|
|
37513
|
-
getPaymentsCurrenciesRatesRetrieve,
|
|
37514
|
-
getPaymentsCurrenciesRetrieve,
|
|
37515
|
-
getPaymentsCurrenciesStableRetrieve,
|
|
37516
|
-
getPaymentsCurrenciesStatsRetrieve,
|
|
37517
|
-
getPaymentsCurrenciesSupportedRetrieve,
|
|
37518
|
-
getPaymentsEndpointGroupsAvailableRetrieve,
|
|
37519
|
-
getPaymentsEndpointGroupsHealthRetrieve,
|
|
37520
|
-
getPaymentsEndpointGroupsList,
|
|
37521
|
-
getPaymentsEndpointGroupsRetrieve,
|
|
37522
|
-
getPaymentsEndpointGroupsStatsRetrieve,
|
|
37523
|
-
getPaymentsHealthRetrieve,
|
|
37524
|
-
getPaymentsNetworksByCurrencyRetrieve,
|
|
37525
|
-
getPaymentsNetworksHealthRetrieve,
|
|
37526
|
-
getPaymentsNetworksList,
|
|
37527
|
-
getPaymentsNetworksRetrieve,
|
|
37528
|
-
getPaymentsNetworksStatsRetrieve,
|
|
37529
|
-
getPaymentsOverviewDashboardApiKeysOverviewRetrieve,
|
|
37530
|
-
getPaymentsOverviewDashboardBalanceOverviewRetrieve,
|
|
37531
|
-
getPaymentsOverviewDashboardChartDataRetrieve,
|
|
37532
|
-
getPaymentsOverviewDashboardMetricsRetrieve,
|
|
37533
|
-
getPaymentsOverviewDashboardOverviewRetrieve,
|
|
37534
|
-
getPaymentsOverviewDashboardPaymentAnalyticsRetrieve,
|
|
37535
|
-
getPaymentsOverviewDashboardRecentPaymentsList,
|
|
37536
|
-
getPaymentsOverviewDashboardRecentTransactionsList,
|
|
37537
|
-
getPaymentsOverviewDashboardSubscriptionOverviewRetrieve,
|
|
37538
|
-
getPaymentsPaymentAnalyticsRetrieve,
|
|
37539
|
-
getPaymentsPaymentByProviderRetrieve,
|
|
37540
|
-
getPaymentsPaymentHealthRetrieve,
|
|
37541
|
-
getPaymentsPaymentList,
|
|
37542
|
-
getPaymentsPaymentRetrieve,
|
|
37543
|
-
getPaymentsPaymentStatsRetrieve,
|
|
37544
|
-
getPaymentsPaymentStatusRetrieve,
|
|
37545
|
-
getPaymentsProviderCurrenciesByProviderRetrieve,
|
|
37546
|
-
getPaymentsProviderCurrenciesHealthRetrieve,
|
|
37547
|
-
getPaymentsProviderCurrenciesLimitsRetrieve,
|
|
37548
|
-
getPaymentsProviderCurrenciesList,
|
|
37549
|
-
getPaymentsProviderCurrenciesRetrieve,
|
|
37550
|
-
getPaymentsProviderCurrenciesStatsRetrieve,
|
|
37551
|
-
getPaymentsSubscriptionsAnalyticsRetrieve,
|
|
37552
|
-
getPaymentsSubscriptionsByStatusRetrieve,
|
|
37553
|
-
getPaymentsSubscriptionsByTierRetrieve,
|
|
37554
|
-
getPaymentsSubscriptionsHealthRetrieve,
|
|
37555
|
-
getPaymentsSubscriptionsList,
|
|
37556
|
-
getPaymentsSubscriptionsRetrieve,
|
|
37557
|
-
getPaymentsSubscriptionsStatsRetrieve,
|
|
37558
|
-
getPaymentsTariffsEndpointGroupsRetrieve,
|
|
37559
|
-
getPaymentsTariffsFreeRetrieve,
|
|
37560
|
-
getPaymentsTariffsHealthRetrieve,
|
|
37561
|
-
getPaymentsTariffsList,
|
|
37562
|
-
getPaymentsTariffsPaidRetrieve,
|
|
37563
|
-
getPaymentsTariffsRetrieve,
|
|
37564
|
-
getPaymentsTariffsStatsRetrieve,
|
|
37565
|
-
getPaymentsTransactionsByTypeRetrieve,
|
|
37566
|
-
getPaymentsTransactionsHealthRetrieve,
|
|
37567
|
-
getPaymentsTransactionsList,
|
|
37568
|
-
getPaymentsTransactionsRecentRetrieve,
|
|
37569
|
-
getPaymentsTransactionsRetrieve,
|
|
37570
|
-
getPaymentsTransactionsStatsRetrieve,
|
|
37571
|
-
getPaymentsUsersApiKeysActiveRetrieve,
|
|
37572
|
-
getPaymentsUsersApiKeysHealthRetrieve,
|
|
37573
|
-
getPaymentsUsersApiKeysList,
|
|
37574
|
-
getPaymentsUsersApiKeysRetrieve,
|
|
37575
|
-
getPaymentsUsersApiKeysStatsRetrieve,
|
|
37576
|
-
getPaymentsUsersApiKeysSummaryRetrieve,
|
|
37577
|
-
getPaymentsUsersHealthRetrieve,
|
|
37578
|
-
getPaymentsUsersList,
|
|
37579
|
-
getPaymentsUsersPaymentHealthRetrieve,
|
|
37580
|
-
getPaymentsUsersPaymentList,
|
|
37581
|
-
getPaymentsUsersPaymentRetrieve,
|
|
37582
|
-
getPaymentsUsersPaymentStatsRetrieve,
|
|
37583
|
-
getPaymentsUsersPaymentSummaryRetrieve,
|
|
37584
|
-
getPaymentsUsersRetrieve,
|
|
37585
|
-
getPaymentsUsersStatsRetrieve,
|
|
37586
|
-
getPaymentsUsersSubscriptionsActiveRetrieve,
|
|
37587
|
-
getPaymentsUsersSubscriptionsHealthRetrieve,
|
|
37588
|
-
getPaymentsUsersSubscriptionsList,
|
|
37589
|
-
getPaymentsUsersSubscriptionsRetrieve,
|
|
37590
|
-
getPaymentsUsersSubscriptionsStatsRetrieve,
|
|
37591
|
-
getPaymentsUsersSubscriptionsSummaryRetrieve,
|
|
37592
|
-
getPaymentsUsersSummaryRetrieve,
|
|
37593
|
-
getPaymentsWebhooksHealthRetrieve,
|
|
37594
|
-
getPaymentsWebhooksProvidersRetrieve,
|
|
37595
|
-
getPaymentsWebhooksRetrieve,
|
|
37596
|
-
getPaymentsWebhooksStatsRetrieve,
|
|
37597
|
-
getSupportTicketsList,
|
|
37598
|
-
getSupportTicketsMessagesList,
|
|
37599
|
-
getSupportTicketsMessagesRetrieve,
|
|
37600
|
-
getSupportTicketsRetrieve,
|
|
37601
|
-
getTasksApiQueuesStatusRetrieve,
|
|
37602
|
-
getTasksApiTasksListRetrieve,
|
|
37603
|
-
getTasksApiTasksStatsRetrieve,
|
|
37604
|
-
getTasksApiWorkersListRetrieve,
|
|
37605
37472
|
isAPIConfigured,
|
|
37606
|
-
partialUpdateAccountsProfilePartialPartialUpdate,
|
|
37607
|
-
partialUpdateAccountsProfilePartialUpdate,
|
|
37608
|
-
partialUpdateAccountsProfileUpdatePartialUpdate,
|
|
37609
|
-
partialUpdateKnowbaseAdminChatPartialUpdate,
|
|
37610
|
-
partialUpdateKnowbaseAdminDocumentsPartialUpdate,
|
|
37611
|
-
partialUpdateKnowbaseAdminSessionsPartialUpdate,
|
|
37612
|
-
partialUpdateKnowbaseSystemArchivesPartialUpdate,
|
|
37613
|
-
partialUpdateKnowbaseSystemChunksPartialUpdate,
|
|
37614
|
-
partialUpdateKnowbaseSystemItemsPartialUpdate,
|
|
37615
|
-
partialUpdateLeadsPartialUpdate,
|
|
37616
|
-
partialUpdateNewsletterCampaignsPartialUpdate,
|
|
37617
|
-
partialUpdateNewsletterUnsubscribePartialUpdate,
|
|
37618
|
-
partialUpdatePaymentsAdminApiPaymentsPartialUpdate,
|
|
37619
|
-
partialUpdatePaymentsApiKeysPartialUpdate,
|
|
37620
|
-
partialUpdatePaymentsPaymentPartialUpdate,
|
|
37621
|
-
partialUpdatePaymentsSubscriptionsPartialUpdate,
|
|
37622
|
-
partialUpdatePaymentsUsersApiKeysPartialUpdate,
|
|
37623
|
-
partialUpdatePaymentsUsersPartialUpdate,
|
|
37624
|
-
partialUpdatePaymentsUsersPaymentPartialUpdate,
|
|
37625
|
-
partialUpdatePaymentsUsersSubscriptionsPartialUpdate,
|
|
37626
|
-
partialUpdateSupportTicketsMessagesPartialUpdate,
|
|
37627
|
-
partialUpdateSupportTicketsPartialUpdate,
|
|
37628
37473
|
reconfigureAPI,
|
|
37629
37474
|
resetAPI,
|
|
37630
37475
|
shouldRetry,
|
|
37631
|
-
updateAccountsProfileUpdateUpdate,
|
|
37632
|
-
updateKnowbaseAdminChatUpdate,
|
|
37633
|
-
updateKnowbaseAdminDocumentsUpdate,
|
|
37634
|
-
updateKnowbaseAdminSessionsUpdate,
|
|
37635
|
-
updateKnowbaseSystemArchivesUpdate,
|
|
37636
|
-
updateKnowbaseSystemChunksUpdate,
|
|
37637
|
-
updateKnowbaseSystemItemsUpdate,
|
|
37638
|
-
updateLeadsUpdate,
|
|
37639
|
-
updateNewsletterCampaignsUpdate,
|
|
37640
|
-
updateNewsletterUnsubscribeUpdate,
|
|
37641
|
-
updatePaymentsAdminApiPaymentsUpdate,
|
|
37642
|
-
updatePaymentsApiKeysUpdate,
|
|
37643
|
-
updatePaymentsPaymentUpdate,
|
|
37644
|
-
updatePaymentsSubscriptionsUpdate,
|
|
37645
|
-
updatePaymentsUsersApiKeysUpdate,
|
|
37646
|
-
updatePaymentsUsersPaymentUpdate,
|
|
37647
|
-
updatePaymentsUsersSubscriptionsUpdate,
|
|
37648
|
-
updatePaymentsUsersUpdate,
|
|
37649
|
-
updateSupportTicketsMessagesUpdate,
|
|
37650
|
-
updateSupportTicketsUpdate,
|
|
37651
37476
|
useAccountsContext,
|
|
37652
37477
|
useApiKeysContext,
|
|
37653
37478
|
useBalancesContext,
|
|
@@ -37659,6 +37484,7 @@ export {
|
|
|
37659
37484
|
useNewsletterContext,
|
|
37660
37485
|
useOverviewContext,
|
|
37661
37486
|
usePaymentsContext,
|
|
37487
|
+
useRootPaymentsContext,
|
|
37662
37488
|
useSupportContext,
|
|
37663
37489
|
withRetry
|
|
37664
37490
|
};
|