@seekora-ai/admin-api 1.0.24 → 1.0.25
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/README.md +41 -2
- package/api.ts +5179 -3044
- package/dist/api.d.ts +1647 -60
- package/dist/api.js +982 -2
- package/dist/esm/api.d.ts +1647 -60
- package/dist/esm/api.js +975 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.25.tgz +0 -0
- package/seekora-ai-admin-api-1.0.24.tgz +0 -0
package/dist/esm/api.d.ts
CHANGED
|
@@ -522,6 +522,56 @@ export interface DataTypesConfigurationSchemaResponseWrapper {
|
|
|
522
522
|
*/
|
|
523
523
|
'status'?: number;
|
|
524
524
|
}
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @export
|
|
528
|
+
* @interface DataTypesConsumptionHistoryResponse
|
|
529
|
+
*/
|
|
530
|
+
export interface DataTypesConsumptionHistoryResponse {
|
|
531
|
+
/**
|
|
532
|
+
*
|
|
533
|
+
* @type {Array<DataTypesCreditConsumption>}
|
|
534
|
+
* @memberof DataTypesConsumptionHistoryResponse
|
|
535
|
+
*/
|
|
536
|
+
'consumptions'?: Array<DataTypesCreditConsumption>;
|
|
537
|
+
/**
|
|
538
|
+
*
|
|
539
|
+
* @type {DataTypesPaginationInfo}
|
|
540
|
+
* @memberof DataTypesConsumptionHistoryResponse
|
|
541
|
+
*/
|
|
542
|
+
'pagination'?: DataTypesPaginationInfo;
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @type {DataTypesConsumptionSummary}
|
|
546
|
+
* @memberof DataTypesConsumptionHistoryResponse
|
|
547
|
+
*/
|
|
548
|
+
'summary'?: DataTypesConsumptionSummary;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @export
|
|
553
|
+
* @interface DataTypesConsumptionSummary
|
|
554
|
+
*/
|
|
555
|
+
export interface DataTypesConsumptionSummary {
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {number}
|
|
559
|
+
* @memberof DataTypesConsumptionSummary
|
|
560
|
+
*/
|
|
561
|
+
'total_consumptions'?: number;
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {number}
|
|
565
|
+
* @memberof DataTypesConsumptionSummary
|
|
566
|
+
*/
|
|
567
|
+
'total_credits_used'?: number;
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @type {number}
|
|
571
|
+
* @memberof DataTypesConsumptionSummary
|
|
572
|
+
*/
|
|
573
|
+
'unique_endpoints'?: number;
|
|
574
|
+
}
|
|
525
575
|
/**
|
|
526
576
|
*
|
|
527
577
|
* @export
|
|
@@ -1131,92 +1181,869 @@ export interface DataTypesCreateUserResponse {
|
|
|
1131
1181
|
* @export
|
|
1132
1182
|
* @interface DataTypesCreateUserResponseWrapper
|
|
1133
1183
|
*/
|
|
1134
|
-
export interface DataTypesCreateUserResponseWrapper {
|
|
1184
|
+
export interface DataTypesCreateUserResponseWrapper {
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @type {DataTypesCreateUserResponse}
|
|
1188
|
+
* @memberof DataTypesCreateUserResponseWrapper
|
|
1189
|
+
*/
|
|
1190
|
+
'data'?: DataTypesCreateUserResponse;
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @type {string}
|
|
1194
|
+
* @memberof DataTypesCreateUserResponseWrapper
|
|
1195
|
+
*/
|
|
1196
|
+
'message'?: string;
|
|
1197
|
+
/**
|
|
1198
|
+
*
|
|
1199
|
+
* @type {number}
|
|
1200
|
+
* @memberof DataTypesCreateUserResponseWrapper
|
|
1201
|
+
*/
|
|
1202
|
+
'status'?: number;
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
*
|
|
1206
|
+
* @export
|
|
1207
|
+
* @interface DataTypesCreditAdjustmentResponse
|
|
1208
|
+
*/
|
|
1209
|
+
export interface DataTypesCreditAdjustmentResponse {
|
|
1210
|
+
/**
|
|
1211
|
+
*
|
|
1212
|
+
* @type {string}
|
|
1213
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1214
|
+
*/
|
|
1215
|
+
'adjusted_at'?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
*
|
|
1218
|
+
* @type {number}
|
|
1219
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1220
|
+
*/
|
|
1221
|
+
'adjusted_by'?: number;
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @type {number}
|
|
1225
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1226
|
+
*/
|
|
1227
|
+
'adjustment_amount'?: number;
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @type {number}
|
|
1231
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1232
|
+
*/
|
|
1233
|
+
'balance_after'?: number;
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @type {number}
|
|
1237
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1238
|
+
*/
|
|
1239
|
+
'balance_before'?: number;
|
|
1240
|
+
/**
|
|
1241
|
+
*
|
|
1242
|
+
* @type {string}
|
|
1243
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1244
|
+
*/
|
|
1245
|
+
'description'?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
*
|
|
1248
|
+
* @type {number}
|
|
1249
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1250
|
+
*/
|
|
1251
|
+
'organization_id'?: number;
|
|
1252
|
+
/**
|
|
1253
|
+
*
|
|
1254
|
+
* @type {string}
|
|
1255
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1256
|
+
*/
|
|
1257
|
+
'reason'?: string;
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
* @type {number}
|
|
1261
|
+
* @memberof DataTypesCreditAdjustmentResponse
|
|
1262
|
+
*/
|
|
1263
|
+
'store_id'?: number;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
*
|
|
1267
|
+
* @export
|
|
1268
|
+
* @interface DataTypesCreditBalance
|
|
1269
|
+
*/
|
|
1270
|
+
export interface DataTypesCreditBalance {
|
|
1271
|
+
/**
|
|
1272
|
+
* Calculated: CurrentBalance - ReservedCredits
|
|
1273
|
+
* @type {number}
|
|
1274
|
+
* @memberof DataTypesCreditBalance
|
|
1275
|
+
*/
|
|
1276
|
+
'available_balance'?: number;
|
|
1277
|
+
/**
|
|
1278
|
+
*
|
|
1279
|
+
* @type {number}
|
|
1280
|
+
* @memberof DataTypesCreditBalance
|
|
1281
|
+
*/
|
|
1282
|
+
'balance_id'?: number;
|
|
1283
|
+
/**
|
|
1284
|
+
*
|
|
1285
|
+
* @type {string}
|
|
1286
|
+
* @memberof DataTypesCreditBalance
|
|
1287
|
+
*/
|
|
1288
|
+
'created_at'?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
*
|
|
1291
|
+
* @type {number}
|
|
1292
|
+
* @memberof DataTypesCreditBalance
|
|
1293
|
+
*/
|
|
1294
|
+
'created_by'?: number;
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @type {number}
|
|
1298
|
+
* @memberof DataTypesCreditBalance
|
|
1299
|
+
*/
|
|
1300
|
+
'credits_expiring_in_30_days'?: number;
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @type {number}
|
|
1304
|
+
* @memberof DataTypesCreditBalance
|
|
1305
|
+
*/
|
|
1306
|
+
'credits_expiring_in_7_days'?: number;
|
|
1307
|
+
/**
|
|
1308
|
+
* Available credits
|
|
1309
|
+
* @type {number}
|
|
1310
|
+
* @memberof DataTypesCreditBalance
|
|
1311
|
+
*/
|
|
1312
|
+
'current_balance'?: number;
|
|
1313
|
+
/**
|
|
1314
|
+
* New fields for credit lifecycle management
|
|
1315
|
+
* @type {number}
|
|
1316
|
+
* @memberof DataTypesCreditBalance
|
|
1317
|
+
*/
|
|
1318
|
+
'expired_credits_last_30_days'?: number;
|
|
1319
|
+
/**
|
|
1320
|
+
*
|
|
1321
|
+
* @type {string}
|
|
1322
|
+
* @memberof DataTypesCreditBalance
|
|
1323
|
+
*/
|
|
1324
|
+
'last_updated'?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
*
|
|
1327
|
+
* @type {number}
|
|
1328
|
+
* @memberof DataTypesCreditBalance
|
|
1329
|
+
*/
|
|
1330
|
+
'lifetime_credits_purchased'?: number;
|
|
1331
|
+
/**
|
|
1332
|
+
*
|
|
1333
|
+
* @type {number}
|
|
1334
|
+
* @memberof DataTypesCreditBalance
|
|
1335
|
+
*/
|
|
1336
|
+
'lifetime_credits_used'?: number;
|
|
1337
|
+
/**
|
|
1338
|
+
*
|
|
1339
|
+
* @type {number}
|
|
1340
|
+
* @memberof DataTypesCreditBalance
|
|
1341
|
+
*/
|
|
1342
|
+
'low_credit_threshold'?: number;
|
|
1343
|
+
/**
|
|
1344
|
+
*
|
|
1345
|
+
* @type {number}
|
|
1346
|
+
* @memberof DataTypesCreditBalance
|
|
1347
|
+
*/
|
|
1348
|
+
'never_expiring_credits'?: number;
|
|
1349
|
+
/**
|
|
1350
|
+
*
|
|
1351
|
+
* @type {number}
|
|
1352
|
+
* @memberof DataTypesCreditBalance
|
|
1353
|
+
*/
|
|
1354
|
+
'org_id'?: number;
|
|
1355
|
+
/**
|
|
1356
|
+
*
|
|
1357
|
+
* @type {number}
|
|
1358
|
+
* @memberof DataTypesCreditBalance
|
|
1359
|
+
*/
|
|
1360
|
+
'reserved_credits'?: number;
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
* @type {number}
|
|
1364
|
+
* @memberof DataTypesCreditBalance
|
|
1365
|
+
*/
|
|
1366
|
+
'store_id'?: number;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
*
|
|
1370
|
+
* @export
|
|
1371
|
+
* @interface DataTypesCreditConsumption
|
|
1372
|
+
*/
|
|
1373
|
+
export interface DataTypesCreditConsumption {
|
|
1374
|
+
/**
|
|
1375
|
+
*
|
|
1376
|
+
* @type {string}
|
|
1377
|
+
* @memberof DataTypesCreditConsumption
|
|
1378
|
+
*/
|
|
1379
|
+
'api_endpoint'?: string;
|
|
1380
|
+
/**
|
|
1381
|
+
*
|
|
1382
|
+
* @type {string}
|
|
1383
|
+
* @memberof DataTypesCreditConsumption
|
|
1384
|
+
*/
|
|
1385
|
+
'consumed_at'?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
*
|
|
1388
|
+
* @type {number}
|
|
1389
|
+
* @memberof DataTypesCreditConsumption
|
|
1390
|
+
*/
|
|
1391
|
+
'consumption_id'?: number;
|
|
1392
|
+
/**
|
|
1393
|
+
*
|
|
1394
|
+
* @type {number}
|
|
1395
|
+
* @memberof DataTypesCreditConsumption
|
|
1396
|
+
*/
|
|
1397
|
+
'credits_consumed'?: number;
|
|
1398
|
+
/**
|
|
1399
|
+
*
|
|
1400
|
+
* @type {number}
|
|
1401
|
+
* @memberof DataTypesCreditConsumption
|
|
1402
|
+
*/
|
|
1403
|
+
'execution_time_ms'?: number;
|
|
1404
|
+
/**
|
|
1405
|
+
*
|
|
1406
|
+
* @type {{ [key: string]: any; }}
|
|
1407
|
+
* @memberof DataTypesCreditConsumption
|
|
1408
|
+
*/
|
|
1409
|
+
'fifo_details'?: {
|
|
1410
|
+
[key: string]: any;
|
|
1411
|
+
};
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {string}
|
|
1415
|
+
* @memberof DataTypesCreditConsumption
|
|
1416
|
+
*/
|
|
1417
|
+
'http_method'?: string;
|
|
1418
|
+
/**
|
|
1419
|
+
*
|
|
1420
|
+
* @type {number}
|
|
1421
|
+
* @memberof DataTypesCreditConsumption
|
|
1422
|
+
*/
|
|
1423
|
+
'org_id'?: number;
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
* @type {string}
|
|
1427
|
+
* @memberof DataTypesCreditConsumption
|
|
1428
|
+
*/
|
|
1429
|
+
'request_id'?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
*
|
|
1432
|
+
* @type {number}
|
|
1433
|
+
* @memberof DataTypesCreditConsumption
|
|
1434
|
+
*/
|
|
1435
|
+
'response_status'?: number;
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @type {number}
|
|
1439
|
+
* @memberof DataTypesCreditConsumption
|
|
1440
|
+
*/
|
|
1441
|
+
'store_id'?: number;
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @export
|
|
1446
|
+
* @interface DataTypesCreditConsumptionResult
|
|
1447
|
+
*/
|
|
1448
|
+
export interface DataTypesCreditConsumptionResult {
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {number}
|
|
1452
|
+
* @memberof DataTypesCreditConsumptionResult
|
|
1453
|
+
*/
|
|
1454
|
+
'balance_after'?: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* FIFO consumption breakdown
|
|
1457
|
+
* @type {{ [key: string]: any; }}
|
|
1458
|
+
* @memberof DataTypesCreditConsumptionResult
|
|
1459
|
+
*/
|
|
1460
|
+
'consumption_details'?: {
|
|
1461
|
+
[key: string]: any;
|
|
1462
|
+
};
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {number}
|
|
1466
|
+
* @memberof DataTypesCreditConsumptionResult
|
|
1467
|
+
*/
|
|
1468
|
+
'credits_consumed'?: number;
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @type {string}
|
|
1472
|
+
* @memberof DataTypesCreditConsumptionResult
|
|
1473
|
+
*/
|
|
1474
|
+
'error'?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @type {boolean}
|
|
1478
|
+
* @memberof DataTypesCreditConsumptionResult
|
|
1479
|
+
*/
|
|
1480
|
+
'success'?: boolean;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {number}
|
|
1484
|
+
* @memberof DataTypesCreditConsumptionResult
|
|
1485
|
+
*/
|
|
1486
|
+
'transaction_id'?: number;
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
*
|
|
1490
|
+
* @export
|
|
1491
|
+
* @interface DataTypesCreditPlan
|
|
1492
|
+
*/
|
|
1493
|
+
export interface DataTypesCreditPlan {
|
|
1494
|
+
/**
|
|
1495
|
+
*
|
|
1496
|
+
* @type {number}
|
|
1497
|
+
* @memberof DataTypesCreditPlan
|
|
1498
|
+
*/
|
|
1499
|
+
'bonus_credits'?: number;
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @type {string}
|
|
1503
|
+
* @memberof DataTypesCreditPlan
|
|
1504
|
+
*/
|
|
1505
|
+
'created_at'?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {number}
|
|
1509
|
+
* @memberof DataTypesCreditPlan
|
|
1510
|
+
*/
|
|
1511
|
+
'created_by'?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @type {number}
|
|
1515
|
+
* @memberof DataTypesCreditPlan
|
|
1516
|
+
*/
|
|
1517
|
+
'credit_amount': number;
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @type {string}
|
|
1521
|
+
* @memberof DataTypesCreditPlan
|
|
1522
|
+
*/
|
|
1523
|
+
'description'?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
*
|
|
1526
|
+
* @type {{ [key: string]: any; }}
|
|
1527
|
+
* @memberof DataTypesCreditPlan
|
|
1528
|
+
*/
|
|
1529
|
+
'features'?: {
|
|
1530
|
+
[key: string]: any;
|
|
1531
|
+
};
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* @type {boolean}
|
|
1535
|
+
* @memberof DataTypesCreditPlan
|
|
1536
|
+
*/
|
|
1537
|
+
'is_active'?: boolean;
|
|
1538
|
+
/**
|
|
1539
|
+
*
|
|
1540
|
+
* @type {boolean}
|
|
1541
|
+
* @memberof DataTypesCreditPlan
|
|
1542
|
+
*/
|
|
1543
|
+
'is_recurring'?: boolean;
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
* @type {string}
|
|
1547
|
+
* @memberof DataTypesCreditPlan
|
|
1548
|
+
*/
|
|
1549
|
+
'modified_at'?: string;
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* @type {number}
|
|
1553
|
+
* @memberof DataTypesCreditPlan
|
|
1554
|
+
*/
|
|
1555
|
+
'modified_by'?: number;
|
|
1556
|
+
/**
|
|
1557
|
+
*
|
|
1558
|
+
* @type {number}
|
|
1559
|
+
* @memberof DataTypesCreditPlan
|
|
1560
|
+
*/
|
|
1561
|
+
'plan_id'?: number;
|
|
1562
|
+
/**
|
|
1563
|
+
*
|
|
1564
|
+
* @type {string}
|
|
1565
|
+
* @memberof DataTypesCreditPlan
|
|
1566
|
+
*/
|
|
1567
|
+
'plan_name': string;
|
|
1568
|
+
/**
|
|
1569
|
+
*
|
|
1570
|
+
* @type {number}
|
|
1571
|
+
* @memberof DataTypesCreditPlan
|
|
1572
|
+
*/
|
|
1573
|
+
'price': number;
|
|
1574
|
+
/**
|
|
1575
|
+
*
|
|
1576
|
+
* @type {number}
|
|
1577
|
+
* @memberof DataTypesCreditPlan
|
|
1578
|
+
*/
|
|
1579
|
+
'validity_days'?: number;
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @export
|
|
1584
|
+
* @interface DataTypesCreditTransaction
|
|
1585
|
+
*/
|
|
1586
|
+
export interface DataTypesCreditTransaction {
|
|
1587
|
+
/**
|
|
1588
|
+
*
|
|
1589
|
+
* @type {number}
|
|
1590
|
+
* @memberof DataTypesCreditTransaction
|
|
1591
|
+
*/
|
|
1592
|
+
'amount': number;
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
* @type {number}
|
|
1596
|
+
* @memberof DataTypesCreditTransaction
|
|
1597
|
+
*/
|
|
1598
|
+
'balance_after'?: number;
|
|
1599
|
+
/**
|
|
1600
|
+
*
|
|
1601
|
+
* @type {number}
|
|
1602
|
+
* @memberof DataTypesCreditTransaction
|
|
1603
|
+
*/
|
|
1604
|
+
'balance_before'?: number;
|
|
1605
|
+
/**
|
|
1606
|
+
*
|
|
1607
|
+
* @type {string}
|
|
1608
|
+
* @memberof DataTypesCreditTransaction
|
|
1609
|
+
*/
|
|
1610
|
+
'created_at'?: string;
|
|
1611
|
+
/**
|
|
1612
|
+
*
|
|
1613
|
+
* @type {number}
|
|
1614
|
+
* @memberof DataTypesCreditTransaction
|
|
1615
|
+
*/
|
|
1616
|
+
'created_by'?: number;
|
|
1617
|
+
/**
|
|
1618
|
+
*
|
|
1619
|
+
* @type {string}
|
|
1620
|
+
* @memberof DataTypesCreditTransaction
|
|
1621
|
+
*/
|
|
1622
|
+
'description'?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @type {{ [key: string]: any; }}
|
|
1626
|
+
* @memberof DataTypesCreditTransaction
|
|
1627
|
+
*/
|
|
1628
|
+
'metadata'?: {
|
|
1629
|
+
[key: string]: any;
|
|
1630
|
+
};
|
|
1631
|
+
/**
|
|
1632
|
+
*
|
|
1633
|
+
* @type {number}
|
|
1634
|
+
* @memberof DataTypesCreditTransaction
|
|
1635
|
+
*/
|
|
1636
|
+
'org_id'?: number;
|
|
1637
|
+
/**
|
|
1638
|
+
*
|
|
1639
|
+
* @type {string}
|
|
1640
|
+
* @memberof DataTypesCreditTransaction
|
|
1641
|
+
*/
|
|
1642
|
+
'reference_id'?: string;
|
|
1643
|
+
/**
|
|
1644
|
+
*
|
|
1645
|
+
* @type {string}
|
|
1646
|
+
* @memberof DataTypesCreditTransaction
|
|
1647
|
+
*/
|
|
1648
|
+
'reference_type'?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
*
|
|
1651
|
+
* @type {number}
|
|
1652
|
+
* @memberof DataTypesCreditTransaction
|
|
1653
|
+
*/
|
|
1654
|
+
'store_id'?: number;
|
|
1655
|
+
/**
|
|
1656
|
+
*
|
|
1657
|
+
* @type {number}
|
|
1658
|
+
* @memberof DataTypesCreditTransaction
|
|
1659
|
+
*/
|
|
1660
|
+
'transaction_id'?: number;
|
|
1661
|
+
/**
|
|
1662
|
+
*
|
|
1663
|
+
* @type {string}
|
|
1664
|
+
* @memberof DataTypesCreditTransaction
|
|
1665
|
+
*/
|
|
1666
|
+
'transaction_type': DataTypesCreditTransactionTransactionTypeEnum;
|
|
1667
|
+
}
|
|
1668
|
+
export declare const DataTypesCreditTransactionTransactionTypeEnum: {
|
|
1669
|
+
readonly Purchase: "purchase";
|
|
1670
|
+
readonly Consume: "consume";
|
|
1671
|
+
readonly Refund: "refund";
|
|
1672
|
+
readonly Bonus: "bonus";
|
|
1673
|
+
readonly Expire: "expire";
|
|
1674
|
+
};
|
|
1675
|
+
export type DataTypesCreditTransactionTransactionTypeEnum = typeof DataTypesCreditTransactionTransactionTypeEnum[keyof typeof DataTypesCreditTransactionTransactionTypeEnum];
|
|
1676
|
+
/**
|
|
1677
|
+
*
|
|
1678
|
+
* @export
|
|
1679
|
+
* @interface DataTypesDetailedCreditBalanceResponse
|
|
1680
|
+
*/
|
|
1681
|
+
export interface DataTypesDetailedCreditBalanceResponse {
|
|
1682
|
+
/**
|
|
1683
|
+
*
|
|
1684
|
+
* @type {DataTypesCreditBalance}
|
|
1685
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1686
|
+
*/
|
|
1687
|
+
'balance'?: DataTypesCreditBalance;
|
|
1688
|
+
/**
|
|
1689
|
+
* CreditService.CreditExpiryBreakdown
|
|
1690
|
+
* @type {object}
|
|
1691
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1692
|
+
*/
|
|
1693
|
+
'expiry_breakdown'?: object;
|
|
1694
|
+
/**
|
|
1695
|
+
*
|
|
1696
|
+
* @type {boolean}
|
|
1697
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1698
|
+
*/
|
|
1699
|
+
'is_low_balance'?: boolean;
|
|
1700
|
+
/**
|
|
1701
|
+
*
|
|
1702
|
+
* @type {string}
|
|
1703
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1704
|
+
*/
|
|
1705
|
+
'last_updated'?: string;
|
|
1706
|
+
/**
|
|
1707
|
+
*
|
|
1708
|
+
* @type {string}
|
|
1709
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1710
|
+
*/
|
|
1711
|
+
'message'?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
* @type {Array<DataTypesCreditTransaction>}
|
|
1715
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1716
|
+
*/
|
|
1717
|
+
'recent_transactions'?: Array<DataTypesCreditTransaction>;
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @type {number}
|
|
1721
|
+
* @memberof DataTypesDetailedCreditBalanceResponse
|
|
1722
|
+
*/
|
|
1723
|
+
'warning_threshold'?: number;
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
*
|
|
1727
|
+
* @export
|
|
1728
|
+
* @interface DataTypesErrorMeta
|
|
1729
|
+
*/
|
|
1730
|
+
export interface DataTypesErrorMeta {
|
|
1731
|
+
/**
|
|
1732
|
+
*
|
|
1733
|
+
* @type {string}
|
|
1734
|
+
* @memberof DataTypesErrorMeta
|
|
1735
|
+
*/
|
|
1736
|
+
'message'?: string;
|
|
1737
|
+
/**
|
|
1738
|
+
*
|
|
1739
|
+
* @type {string}
|
|
1740
|
+
* @memberof DataTypesErrorMeta
|
|
1741
|
+
*/
|
|
1742
|
+
'path'?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
*
|
|
1745
|
+
* @type {string}
|
|
1746
|
+
* @memberof DataTypesErrorMeta
|
|
1747
|
+
*/
|
|
1748
|
+
'requestId'?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof DataTypesErrorMeta
|
|
1753
|
+
*/
|
|
1754
|
+
'timestamp'?: string;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
*
|
|
1758
|
+
* @export
|
|
1759
|
+
* @interface DataTypesErrorMetaResponse
|
|
1760
|
+
*/
|
|
1761
|
+
export interface DataTypesErrorMetaResponse {
|
|
1762
|
+
/**
|
|
1763
|
+
*
|
|
1764
|
+
* @type {DataTypesErrorMeta}
|
|
1765
|
+
* @memberof DataTypesErrorMetaResponse
|
|
1766
|
+
*/
|
|
1767
|
+
'data'?: DataTypesErrorMeta;
|
|
1768
|
+
/**
|
|
1769
|
+
*
|
|
1770
|
+
* @type {string}
|
|
1771
|
+
* @memberof DataTypesErrorMetaResponse
|
|
1772
|
+
*/
|
|
1773
|
+
'message'?: string;
|
|
1774
|
+
/**
|
|
1775
|
+
*
|
|
1776
|
+
* @type {number}
|
|
1777
|
+
* @memberof DataTypesErrorMetaResponse
|
|
1778
|
+
*/
|
|
1779
|
+
'status'?: number;
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @export
|
|
1784
|
+
* @interface DataTypesFieldMetadata
|
|
1785
|
+
*/
|
|
1786
|
+
export interface DataTypesFieldMetadata {
|
|
1787
|
+
/**
|
|
1788
|
+
*
|
|
1789
|
+
* @type {object}
|
|
1790
|
+
* @memberof DataTypesFieldMetadata
|
|
1791
|
+
*/
|
|
1792
|
+
'default'?: object;
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @type {string}
|
|
1796
|
+
* @memberof DataTypesFieldMetadata
|
|
1797
|
+
*/
|
|
1798
|
+
'description'?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* Available fields from index schema
|
|
1801
|
+
* @type {Array<string>}
|
|
1802
|
+
* @memberof DataTypesFieldMetadata
|
|
1803
|
+
*/
|
|
1804
|
+
'field_options'?: Array<string>;
|
|
1805
|
+
/**
|
|
1806
|
+
* Field grouping for UI
|
|
1807
|
+
* @type {string}
|
|
1808
|
+
* @memberof DataTypesFieldMetadata
|
|
1809
|
+
*/
|
|
1810
|
+
'group'?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* For int fields
|
|
1813
|
+
* @type {number}
|
|
1814
|
+
* @memberof DataTypesFieldMetadata
|
|
1815
|
+
*/
|
|
1816
|
+
'max'?: number;
|
|
1817
|
+
/**
|
|
1818
|
+
* For int fields
|
|
1819
|
+
* @type {number}
|
|
1820
|
+
* @memberof DataTypesFieldMetadata
|
|
1821
|
+
*/
|
|
1822
|
+
'min'?: number;
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof DataTypesFieldMetadata
|
|
1827
|
+
*/
|
|
1828
|
+
'name'?: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* For select/multi-select fields
|
|
1831
|
+
* @type {Array<string>}
|
|
1832
|
+
* @memberof DataTypesFieldMetadata
|
|
1833
|
+
*/
|
|
1834
|
+
'options'?: Array<string>;
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @type {boolean}
|
|
1838
|
+
* @memberof DataTypesFieldMetadata
|
|
1839
|
+
*/
|
|
1840
|
+
'required'?: boolean;
|
|
1841
|
+
/**
|
|
1842
|
+
* \"string\", \"int\", \"bool\", \"select\", \"multi-select\"
|
|
1843
|
+
* @type {string}
|
|
1844
|
+
* @memberof DataTypesFieldMetadata
|
|
1845
|
+
*/
|
|
1846
|
+
'type'?: string;
|
|
1847
|
+
}
|
|
1848
|
+
/**
|
|
1849
|
+
*
|
|
1850
|
+
* @export
|
|
1851
|
+
* @interface DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
1852
|
+
*/
|
|
1853
|
+
export interface DataTypesGenericResponseArrayDataTypesCreditPlan {
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @type {Array<DataTypesCreditPlan>}
|
|
1857
|
+
* @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
1858
|
+
*/
|
|
1859
|
+
'data'?: Array<DataTypesCreditPlan>;
|
|
1860
|
+
/**
|
|
1861
|
+
*
|
|
1862
|
+
* @type {string}
|
|
1863
|
+
* @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
1864
|
+
*/
|
|
1865
|
+
'message'?: string;
|
|
1866
|
+
/**
|
|
1867
|
+
*
|
|
1868
|
+
* @type {number}
|
|
1869
|
+
* @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
1870
|
+
*/
|
|
1871
|
+
'status'?: number;
|
|
1872
|
+
}
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @export
|
|
1876
|
+
* @interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
1877
|
+
*/
|
|
1878
|
+
export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
|
|
1879
|
+
/**
|
|
1880
|
+
*
|
|
1881
|
+
* @type {DataTypesConsumptionHistoryResponse}
|
|
1882
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
1883
|
+
*/
|
|
1884
|
+
'data'?: DataTypesConsumptionHistoryResponse;
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @type {string}
|
|
1888
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
1889
|
+
*/
|
|
1890
|
+
'message'?: string;
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {number}
|
|
1894
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
1895
|
+
*/
|
|
1896
|
+
'status'?: number;
|
|
1897
|
+
}
|
|
1898
|
+
/**
|
|
1899
|
+
*
|
|
1900
|
+
* @export
|
|
1901
|
+
* @interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
1902
|
+
*/
|
|
1903
|
+
export interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse {
|
|
1904
|
+
/**
|
|
1905
|
+
*
|
|
1906
|
+
* @type {DataTypesCreditAdjustmentResponse}
|
|
1907
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
1908
|
+
*/
|
|
1909
|
+
'data'?: DataTypesCreditAdjustmentResponse;
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @type {string}
|
|
1913
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
1914
|
+
*/
|
|
1915
|
+
'message'?: string;
|
|
1916
|
+
/**
|
|
1917
|
+
*
|
|
1918
|
+
* @type {number}
|
|
1919
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
1920
|
+
*/
|
|
1921
|
+
'status'?: number;
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
*
|
|
1925
|
+
* @export
|
|
1926
|
+
* @interface DataTypesGenericResponseDataTypesCreditBalance
|
|
1927
|
+
*/
|
|
1928
|
+
export interface DataTypesGenericResponseDataTypesCreditBalance {
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @type {DataTypesCreditBalance}
|
|
1932
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
1933
|
+
*/
|
|
1934
|
+
'data'?: DataTypesCreditBalance;
|
|
1935
|
+
/**
|
|
1936
|
+
*
|
|
1937
|
+
* @type {string}
|
|
1938
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
1939
|
+
*/
|
|
1940
|
+
'message'?: string;
|
|
1941
|
+
/**
|
|
1942
|
+
*
|
|
1943
|
+
* @type {number}
|
|
1944
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
1945
|
+
*/
|
|
1946
|
+
'status'?: number;
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
*
|
|
1950
|
+
* @export
|
|
1951
|
+
* @interface DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
1952
|
+
*/
|
|
1953
|
+
export interface DataTypesGenericResponseDataTypesCreditConsumptionResult {
|
|
1954
|
+
/**
|
|
1955
|
+
*
|
|
1956
|
+
* @type {DataTypesCreditConsumptionResult}
|
|
1957
|
+
* @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
1958
|
+
*/
|
|
1959
|
+
'data'?: DataTypesCreditConsumptionResult;
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @type {string}
|
|
1963
|
+
* @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
1964
|
+
*/
|
|
1965
|
+
'message'?: string;
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @type {number}
|
|
1969
|
+
* @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
1970
|
+
*/
|
|
1971
|
+
'status'?: number;
|
|
1972
|
+
}
|
|
1973
|
+
/**
|
|
1974
|
+
*
|
|
1975
|
+
* @export
|
|
1976
|
+
* @interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
1977
|
+
*/
|
|
1978
|
+
export interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse {
|
|
1135
1979
|
/**
|
|
1136
1980
|
*
|
|
1137
|
-
* @type {
|
|
1138
|
-
* @memberof
|
|
1981
|
+
* @type {DataTypesDetailedCreditBalanceResponse}
|
|
1982
|
+
* @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
1139
1983
|
*/
|
|
1140
|
-
'data'?:
|
|
1984
|
+
'data'?: DataTypesDetailedCreditBalanceResponse;
|
|
1141
1985
|
/**
|
|
1142
1986
|
*
|
|
1143
1987
|
* @type {string}
|
|
1144
|
-
* @memberof
|
|
1988
|
+
* @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
1145
1989
|
*/
|
|
1146
1990
|
'message'?: string;
|
|
1147
1991
|
/**
|
|
1148
1992
|
*
|
|
1149
1993
|
* @type {number}
|
|
1150
|
-
* @memberof
|
|
1994
|
+
* @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
1151
1995
|
*/
|
|
1152
1996
|
'status'?: number;
|
|
1153
1997
|
}
|
|
1154
1998
|
/**
|
|
1155
1999
|
*
|
|
1156
2000
|
* @export
|
|
1157
|
-
* @interface
|
|
2001
|
+
* @interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
1158
2002
|
*/
|
|
1159
|
-
export interface
|
|
2003
|
+
export interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse {
|
|
1160
2004
|
/**
|
|
1161
2005
|
*
|
|
1162
|
-
* @type {
|
|
1163
|
-
* @memberof
|
|
2006
|
+
* @type {DataTypesPaginatedTransactionsResponse}
|
|
2007
|
+
* @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
1164
2008
|
*/
|
|
1165
|
-
'
|
|
2009
|
+
'data'?: DataTypesPaginatedTransactionsResponse;
|
|
1166
2010
|
/**
|
|
1167
2011
|
*
|
|
1168
2012
|
* @type {string}
|
|
1169
|
-
* @memberof
|
|
1170
|
-
*/
|
|
1171
|
-
'description'?: string;
|
|
1172
|
-
/**
|
|
1173
|
-
* Available fields from index schema
|
|
1174
|
-
* @type {Array<string>}
|
|
1175
|
-
* @memberof DataTypesFieldMetadata
|
|
1176
|
-
*/
|
|
1177
|
-
'field_options'?: Array<string>;
|
|
1178
|
-
/**
|
|
1179
|
-
* Field grouping for UI
|
|
1180
|
-
* @type {string}
|
|
1181
|
-
* @memberof DataTypesFieldMetadata
|
|
2013
|
+
* @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
1182
2014
|
*/
|
|
1183
|
-
'
|
|
2015
|
+
'message'?: string;
|
|
1184
2016
|
/**
|
|
1185
|
-
*
|
|
2017
|
+
*
|
|
1186
2018
|
* @type {number}
|
|
1187
|
-
* @memberof
|
|
2019
|
+
* @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
1188
2020
|
*/
|
|
1189
|
-
'
|
|
2021
|
+
'status'?: number;
|
|
2022
|
+
}
|
|
2023
|
+
/**
|
|
2024
|
+
*
|
|
2025
|
+
* @export
|
|
2026
|
+
* @interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
2027
|
+
*/
|
|
2028
|
+
export interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse {
|
|
1190
2029
|
/**
|
|
1191
|
-
*
|
|
1192
|
-
* @type {
|
|
1193
|
-
* @memberof
|
|
2030
|
+
*
|
|
2031
|
+
* @type {DataTypesPurchaseCreditsResponse}
|
|
2032
|
+
* @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
1194
2033
|
*/
|
|
1195
|
-
'
|
|
2034
|
+
'data'?: DataTypesPurchaseCreditsResponse;
|
|
1196
2035
|
/**
|
|
1197
2036
|
*
|
|
1198
2037
|
* @type {string}
|
|
1199
|
-
* @memberof
|
|
1200
|
-
*/
|
|
1201
|
-
'name'?: string;
|
|
1202
|
-
/**
|
|
1203
|
-
* For select/multi-select fields
|
|
1204
|
-
* @type {Array<string>}
|
|
1205
|
-
* @memberof DataTypesFieldMetadata
|
|
2038
|
+
* @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
1206
2039
|
*/
|
|
1207
|
-
'
|
|
2040
|
+
'message'?: string;
|
|
1208
2041
|
/**
|
|
1209
2042
|
*
|
|
1210
|
-
* @type {
|
|
1211
|
-
* @memberof
|
|
1212
|
-
*/
|
|
1213
|
-
'required'?: boolean;
|
|
1214
|
-
/**
|
|
1215
|
-
* \"string\", \"int\", \"bool\", \"select\", \"multi-select\"
|
|
1216
|
-
* @type {string}
|
|
1217
|
-
* @memberof DataTypesFieldMetadata
|
|
2043
|
+
* @type {number}
|
|
2044
|
+
* @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
1218
2045
|
*/
|
|
1219
|
-
'
|
|
2046
|
+
'status'?: number;
|
|
1220
2047
|
}
|
|
1221
2048
|
/**
|
|
1222
2049
|
*
|
|
@@ -1987,6 +2814,74 @@ export interface DataTypesLoginResponseWrapper {
|
|
|
1987
2814
|
*/
|
|
1988
2815
|
'status'?: number;
|
|
1989
2816
|
}
|
|
2817
|
+
/**
|
|
2818
|
+
*
|
|
2819
|
+
* @export
|
|
2820
|
+
* @interface DataTypesManualConsumeCreditsRequest
|
|
2821
|
+
*/
|
|
2822
|
+
export interface DataTypesManualConsumeCreditsRequest {
|
|
2823
|
+
/**
|
|
2824
|
+
*
|
|
2825
|
+
* @type {number}
|
|
2826
|
+
* @memberof DataTypesManualConsumeCreditsRequest
|
|
2827
|
+
*/
|
|
2828
|
+
'credits': number;
|
|
2829
|
+
/**
|
|
2830
|
+
*
|
|
2831
|
+
* @type {string}
|
|
2832
|
+
* @memberof DataTypesManualConsumeCreditsRequest
|
|
2833
|
+
*/
|
|
2834
|
+
'endpoint': string;
|
|
2835
|
+
/**
|
|
2836
|
+
*
|
|
2837
|
+
* @type {string}
|
|
2838
|
+
* @memberof DataTypesManualConsumeCreditsRequest
|
|
2839
|
+
*/
|
|
2840
|
+
'method': string;
|
|
2841
|
+
/**
|
|
2842
|
+
*
|
|
2843
|
+
* @type {string}
|
|
2844
|
+
* @memberof DataTypesManualConsumeCreditsRequest
|
|
2845
|
+
*/
|
|
2846
|
+
'request_id'?: string;
|
|
2847
|
+
/**
|
|
2848
|
+
*
|
|
2849
|
+
* @type {number}
|
|
2850
|
+
* @memberof DataTypesManualConsumeCreditsRequest
|
|
2851
|
+
*/
|
|
2852
|
+
'store_id': number;
|
|
2853
|
+
}
|
|
2854
|
+
/**
|
|
2855
|
+
*
|
|
2856
|
+
* @export
|
|
2857
|
+
* @interface DataTypesManualCreditAdjustmentRequest
|
|
2858
|
+
*/
|
|
2859
|
+
export interface DataTypesManualCreditAdjustmentRequest {
|
|
2860
|
+
/**
|
|
2861
|
+
* Can be positive or negative
|
|
2862
|
+
* @type {number}
|
|
2863
|
+
* @memberof DataTypesManualCreditAdjustmentRequest
|
|
2864
|
+
*/
|
|
2865
|
+
'amount': number;
|
|
2866
|
+
/**
|
|
2867
|
+
*
|
|
2868
|
+
* @type {string}
|
|
2869
|
+
* @memberof DataTypesManualCreditAdjustmentRequest
|
|
2870
|
+
*/
|
|
2871
|
+
'description'?: string;
|
|
2872
|
+
/**
|
|
2873
|
+
*
|
|
2874
|
+
* @type {string}
|
|
2875
|
+
* @memberof DataTypesManualCreditAdjustmentRequest
|
|
2876
|
+
*/
|
|
2877
|
+
'reason': string;
|
|
2878
|
+
/**
|
|
2879
|
+
*
|
|
2880
|
+
* @type {number}
|
|
2881
|
+
* @memberof DataTypesManualCreditAdjustmentRequest
|
|
2882
|
+
*/
|
|
2883
|
+
'store_id': number;
|
|
2884
|
+
}
|
|
1990
2885
|
/**
|
|
1991
2886
|
*
|
|
1992
2887
|
* @export
|
|
@@ -2988,6 +3883,64 @@ export interface DataTypesOrganizationsListResponse {
|
|
|
2988
3883
|
*/
|
|
2989
3884
|
'status'?: number;
|
|
2990
3885
|
}
|
|
3886
|
+
/**
|
|
3887
|
+
*
|
|
3888
|
+
* @export
|
|
3889
|
+
* @interface DataTypesPaginatedTransactionsResponse
|
|
3890
|
+
*/
|
|
3891
|
+
export interface DataTypesPaginatedTransactionsResponse {
|
|
3892
|
+
/**
|
|
3893
|
+
*
|
|
3894
|
+
* @type {{ [key: string]: any; }}
|
|
3895
|
+
* @memberof DataTypesPaginatedTransactionsResponse
|
|
3896
|
+
*/
|
|
3897
|
+
'filters'?: {
|
|
3898
|
+
[key: string]: any;
|
|
3899
|
+
};
|
|
3900
|
+
/**
|
|
3901
|
+
*
|
|
3902
|
+
* @type {DataTypesPaginationInfo}
|
|
3903
|
+
* @memberof DataTypesPaginatedTransactionsResponse
|
|
3904
|
+
*/
|
|
3905
|
+
'pagination'?: DataTypesPaginationInfo;
|
|
3906
|
+
/**
|
|
3907
|
+
*
|
|
3908
|
+
* @type {Array<DataTypesCreditTransaction>}
|
|
3909
|
+
* @memberof DataTypesPaginatedTransactionsResponse
|
|
3910
|
+
*/
|
|
3911
|
+
'transactions'?: Array<DataTypesCreditTransaction>;
|
|
3912
|
+
}
|
|
3913
|
+
/**
|
|
3914
|
+
*
|
|
3915
|
+
* @export
|
|
3916
|
+
* @interface DataTypesPaginationInfo
|
|
3917
|
+
*/
|
|
3918
|
+
export interface DataTypesPaginationInfo {
|
|
3919
|
+
/**
|
|
3920
|
+
*
|
|
3921
|
+
* @type {number}
|
|
3922
|
+
* @memberof DataTypesPaginationInfo
|
|
3923
|
+
*/
|
|
3924
|
+
'limit'?: number;
|
|
3925
|
+
/**
|
|
3926
|
+
*
|
|
3927
|
+
* @type {number}
|
|
3928
|
+
* @memberof DataTypesPaginationInfo
|
|
3929
|
+
*/
|
|
3930
|
+
'page'?: number;
|
|
3931
|
+
/**
|
|
3932
|
+
*
|
|
3933
|
+
* @type {number}
|
|
3934
|
+
* @memberof DataTypesPaginationInfo
|
|
3935
|
+
*/
|
|
3936
|
+
'total'?: number;
|
|
3937
|
+
/**
|
|
3938
|
+
*
|
|
3939
|
+
* @type {number}
|
|
3940
|
+
* @memberof DataTypesPaginationInfo
|
|
3941
|
+
*/
|
|
3942
|
+
'total_pages'?: number;
|
|
3943
|
+
}
|
|
2991
3944
|
/**
|
|
2992
3945
|
*
|
|
2993
3946
|
* @export
|
|
@@ -3493,6 +4446,74 @@ export interface DataTypesPublicSearchRequest {
|
|
|
3493
4446
|
*/
|
|
3494
4447
|
'suggestions_limit'?: number;
|
|
3495
4448
|
}
|
|
4449
|
+
/**
|
|
4450
|
+
*
|
|
4451
|
+
* @export
|
|
4452
|
+
* @interface DataTypesPurchaseCreditsRequest
|
|
4453
|
+
*/
|
|
4454
|
+
export interface DataTypesPurchaseCreditsRequest {
|
|
4455
|
+
/**
|
|
4456
|
+
*
|
|
4457
|
+
* @type {string}
|
|
4458
|
+
* @memberof DataTypesPurchaseCreditsRequest
|
|
4459
|
+
*/
|
|
4460
|
+
'payment_method': string;
|
|
4461
|
+
/**
|
|
4462
|
+
*
|
|
4463
|
+
* @type {number}
|
|
4464
|
+
* @memberof DataTypesPurchaseCreditsRequest
|
|
4465
|
+
*/
|
|
4466
|
+
'plan_id': number;
|
|
4467
|
+
/**
|
|
4468
|
+
*
|
|
4469
|
+
* @type {number}
|
|
4470
|
+
* @memberof DataTypesPurchaseCreditsRequest
|
|
4471
|
+
*/
|
|
4472
|
+
'store_id': number;
|
|
4473
|
+
}
|
|
4474
|
+
/**
|
|
4475
|
+
*
|
|
4476
|
+
* @export
|
|
4477
|
+
* @interface DataTypesPurchaseCreditsResponse
|
|
4478
|
+
*/
|
|
4479
|
+
export interface DataTypesPurchaseCreditsResponse {
|
|
4480
|
+
/**
|
|
4481
|
+
*
|
|
4482
|
+
* @type {string}
|
|
4483
|
+
* @memberof DataTypesPurchaseCreditsResponse
|
|
4484
|
+
*/
|
|
4485
|
+
'message'?: string;
|
|
4486
|
+
/**
|
|
4487
|
+
*
|
|
4488
|
+
* @type {number}
|
|
4489
|
+
* @memberof DataTypesPurchaseCreditsResponse
|
|
4490
|
+
*/
|
|
4491
|
+
'payment_id'?: number;
|
|
4492
|
+
/**
|
|
4493
|
+
*
|
|
4494
|
+
* @type {number}
|
|
4495
|
+
* @memberof DataTypesPurchaseCreditsResponse
|
|
4496
|
+
*/
|
|
4497
|
+
'plan_id'?: number;
|
|
4498
|
+
/**
|
|
4499
|
+
*
|
|
4500
|
+
* @type {string}
|
|
4501
|
+
* @memberof DataTypesPurchaseCreditsResponse
|
|
4502
|
+
*/
|
|
4503
|
+
'purchase_date'?: string;
|
|
4504
|
+
/**
|
|
4505
|
+
*
|
|
4506
|
+
* @type {boolean}
|
|
4507
|
+
* @memberof DataTypesPurchaseCreditsResponse
|
|
4508
|
+
*/
|
|
4509
|
+
'success'?: boolean;
|
|
4510
|
+
/**
|
|
4511
|
+
*
|
|
4512
|
+
* @type {DataTypesCreditBalance}
|
|
4513
|
+
* @memberof DataTypesPurchaseCreditsResponse
|
|
4514
|
+
*/
|
|
4515
|
+
'updated_balance'?: DataTypesCreditBalance;
|
|
4516
|
+
}
|
|
3496
4517
|
/**
|
|
3497
4518
|
*
|
|
3498
4519
|
* @export
|
|
@@ -5068,28 +6089,107 @@ export interface DataTypesUpdateIndexSchemaRequest {
|
|
|
5068
6089
|
export interface DataTypesUpdateIndexSchemaRequestFieldsInner {
|
|
5069
6090
|
/**
|
|
5070
6091
|
*
|
|
5071
|
-
* @type {boolean}
|
|
5072
|
-
* @memberof DataTypesUpdateIndexSchemaRequestFieldsInner
|
|
6092
|
+
* @type {boolean}
|
|
6093
|
+
* @memberof DataTypesUpdateIndexSchemaRequestFieldsInner
|
|
6094
|
+
*/
|
|
6095
|
+
'facet'?: boolean;
|
|
6096
|
+
/**
|
|
6097
|
+
*
|
|
6098
|
+
* @type {boolean}
|
|
6099
|
+
* @memberof DataTypesUpdateIndexSchemaRequestFieldsInner
|
|
6100
|
+
*/
|
|
6101
|
+
'index'?: boolean;
|
|
6102
|
+
/**
|
|
6103
|
+
*
|
|
6104
|
+
* @type {string}
|
|
6105
|
+
* @memberof DataTypesUpdateIndexSchemaRequestFieldsInner
|
|
6106
|
+
*/
|
|
6107
|
+
'name': string;
|
|
6108
|
+
/**
|
|
6109
|
+
*
|
|
6110
|
+
* @type {boolean}
|
|
6111
|
+
* @memberof DataTypesUpdateIndexSchemaRequestFieldsInner
|
|
6112
|
+
*/
|
|
6113
|
+
'sort'?: boolean;
|
|
6114
|
+
}
|
|
6115
|
+
/**
|
|
6116
|
+
*
|
|
6117
|
+
* @export
|
|
6118
|
+
* @interface DataTypesUpdateOrganizationRequest
|
|
6119
|
+
*/
|
|
6120
|
+
export interface DataTypesUpdateOrganizationRequest {
|
|
6121
|
+
/**
|
|
6122
|
+
*
|
|
6123
|
+
* @type {string}
|
|
6124
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6125
|
+
*/
|
|
6126
|
+
'Address'?: string;
|
|
6127
|
+
/**
|
|
6128
|
+
*
|
|
6129
|
+
* @type {string}
|
|
6130
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6131
|
+
*/
|
|
6132
|
+
'City'?: string;
|
|
6133
|
+
/**
|
|
6134
|
+
*
|
|
6135
|
+
* @type {string}
|
|
6136
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6137
|
+
*/
|
|
6138
|
+
'Country'?: string;
|
|
6139
|
+
/**
|
|
6140
|
+
*
|
|
6141
|
+
* @type {string}
|
|
6142
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6143
|
+
*/
|
|
6144
|
+
'EmailID'?: string;
|
|
6145
|
+
/**
|
|
6146
|
+
*
|
|
6147
|
+
* @type {string}
|
|
6148
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6149
|
+
*/
|
|
6150
|
+
'Footer'?: string;
|
|
6151
|
+
/**
|
|
6152
|
+
*
|
|
6153
|
+
* @type {string}
|
|
6154
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6155
|
+
*/
|
|
6156
|
+
'Note'?: string;
|
|
6157
|
+
/**
|
|
6158
|
+
*
|
|
6159
|
+
* @type {string}
|
|
6160
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6161
|
+
*/
|
|
6162
|
+
'OrgName': string;
|
|
6163
|
+
/**
|
|
6164
|
+
*
|
|
6165
|
+
* @type {string}
|
|
6166
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
6167
|
+
*/
|
|
6168
|
+
'PhoneNo'?: string;
|
|
6169
|
+
/**
|
|
6170
|
+
*
|
|
6171
|
+
* @type {string}
|
|
6172
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
5073
6173
|
*/
|
|
5074
|
-
'
|
|
6174
|
+
'RegistrationNo'?: string;
|
|
5075
6175
|
/**
|
|
5076
6176
|
*
|
|
5077
|
-
* @type {
|
|
5078
|
-
* @memberof
|
|
6177
|
+
* @type {string}
|
|
6178
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
5079
6179
|
*/
|
|
5080
|
-
'
|
|
6180
|
+
'TIN'?: string;
|
|
5081
6181
|
/**
|
|
5082
6182
|
*
|
|
5083
6183
|
* @type {string}
|
|
5084
|
-
* @memberof
|
|
6184
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
5085
6185
|
*/
|
|
5086
|
-
'
|
|
6186
|
+
'Website'?: string;
|
|
5087
6187
|
/**
|
|
5088
6188
|
*
|
|
5089
|
-
* @type {
|
|
5090
|
-
* @memberof
|
|
6189
|
+
* @type {string}
|
|
6190
|
+
* @memberof DataTypesUpdateOrganizationRequest
|
|
5091
6191
|
*/
|
|
5092
|
-
'
|
|
6192
|
+
'ZipCode'?: string;
|
|
5093
6193
|
}
|
|
5094
6194
|
/**
|
|
5095
6195
|
*
|
|
@@ -5936,6 +7036,36 @@ export declare class APICallsApi extends BaseAPI {
|
|
|
5936
7036
|
* @export
|
|
5937
7037
|
*/
|
|
5938
7038
|
export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7039
|
+
/**
|
|
7040
|
+
* Retrieves the organization details of the currently logged-in user
|
|
7041
|
+
* @summary Retrieve user\'s organization
|
|
7042
|
+
* @param {*} [options] Override http request option.
|
|
7043
|
+
* @throws {RequiredError}
|
|
7044
|
+
*/
|
|
7045
|
+
accountSettingsOrganizationGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7046
|
+
/**
|
|
7047
|
+
* Removes the logo of the currently logged-in user\'s organization
|
|
7048
|
+
* @summary Delete user\'s organization logo
|
|
7049
|
+
* @param {*} [options] Override http request option.
|
|
7050
|
+
* @throws {RequiredError}
|
|
7051
|
+
*/
|
|
7052
|
+
accountSettingsOrganizationLogoDelete: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7053
|
+
/**
|
|
7054
|
+
* Updates the logo of the currently logged-in user\'s organization
|
|
7055
|
+
* @summary Update user\'s organization logo
|
|
7056
|
+
* @param {File} logo Organization logo file
|
|
7057
|
+
* @param {*} [options] Override http request option.
|
|
7058
|
+
* @throws {RequiredError}
|
|
7059
|
+
*/
|
|
7060
|
+
accountSettingsOrganizationLogoPut: (logo: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7061
|
+
/**
|
|
7062
|
+
* Updates the organization details of the currently logged-in user
|
|
7063
|
+
* @summary Update user\'s organization
|
|
7064
|
+
* @param {DataTypesUpdateOrganizationRequest} organization Organization update request
|
|
7065
|
+
* @param {*} [options] Override http request option.
|
|
7066
|
+
* @throws {RequiredError}
|
|
7067
|
+
*/
|
|
7068
|
+
accountSettingsOrganizationPut: (organization: DataTypesUpdateOrganizationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5939
7069
|
/**
|
|
5940
7070
|
* Updates the password of the currently logged-in user
|
|
5941
7071
|
* @summary Update user password
|
|
@@ -5965,6 +7095,36 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
|
|
|
5965
7095
|
* @export
|
|
5966
7096
|
*/
|
|
5967
7097
|
export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
|
|
7098
|
+
/**
|
|
7099
|
+
* Retrieves the organization details of the currently logged-in user
|
|
7100
|
+
* @summary Retrieve user\'s organization
|
|
7101
|
+
* @param {*} [options] Override http request option.
|
|
7102
|
+
* @throws {RequiredError}
|
|
7103
|
+
*/
|
|
7104
|
+
accountSettingsOrganizationGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrganizationResponse>>;
|
|
7105
|
+
/**
|
|
7106
|
+
* Removes the logo of the currently logged-in user\'s organization
|
|
7107
|
+
* @summary Delete user\'s organization logo
|
|
7108
|
+
* @param {*} [options] Override http request option.
|
|
7109
|
+
* @throws {RequiredError}
|
|
7110
|
+
*/
|
|
7111
|
+
accountSettingsOrganizationLogoDelete(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrganizationResponse>>;
|
|
7112
|
+
/**
|
|
7113
|
+
* Updates the logo of the currently logged-in user\'s organization
|
|
7114
|
+
* @summary Update user\'s organization logo
|
|
7115
|
+
* @param {File} logo Organization logo file
|
|
7116
|
+
* @param {*} [options] Override http request option.
|
|
7117
|
+
* @throws {RequiredError}
|
|
7118
|
+
*/
|
|
7119
|
+
accountSettingsOrganizationLogoPut(logo: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrganizationResponse>>;
|
|
7120
|
+
/**
|
|
7121
|
+
* Updates the organization details of the currently logged-in user
|
|
7122
|
+
* @summary Update user\'s organization
|
|
7123
|
+
* @param {DataTypesUpdateOrganizationRequest} organization Organization update request
|
|
7124
|
+
* @param {*} [options] Override http request option.
|
|
7125
|
+
* @throws {RequiredError}
|
|
7126
|
+
*/
|
|
7127
|
+
accountSettingsOrganizationPut(organization: DataTypesUpdateOrganizationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrganizationResponse>>;
|
|
5968
7128
|
/**
|
|
5969
7129
|
* Updates the password of the currently logged-in user
|
|
5970
7130
|
* @summary Update user password
|
|
@@ -5994,6 +7154,36 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
|
|
|
5994
7154
|
* @export
|
|
5995
7155
|
*/
|
|
5996
7156
|
export declare const AccountSettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7157
|
+
/**
|
|
7158
|
+
* Retrieves the organization details of the currently logged-in user
|
|
7159
|
+
* @summary Retrieve user\'s organization
|
|
7160
|
+
* @param {*} [options] Override http request option.
|
|
7161
|
+
* @throws {RequiredError}
|
|
7162
|
+
*/
|
|
7163
|
+
accountSettingsOrganizationGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrganizationResponse>;
|
|
7164
|
+
/**
|
|
7165
|
+
* Removes the logo of the currently logged-in user\'s organization
|
|
7166
|
+
* @summary Delete user\'s organization logo
|
|
7167
|
+
* @param {*} [options] Override http request option.
|
|
7168
|
+
* @throws {RequiredError}
|
|
7169
|
+
*/
|
|
7170
|
+
accountSettingsOrganizationLogoDelete(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrganizationResponse>;
|
|
7171
|
+
/**
|
|
7172
|
+
* Updates the logo of the currently logged-in user\'s organization
|
|
7173
|
+
* @summary Update user\'s organization logo
|
|
7174
|
+
* @param {File} logo Organization logo file
|
|
7175
|
+
* @param {*} [options] Override http request option.
|
|
7176
|
+
* @throws {RequiredError}
|
|
7177
|
+
*/
|
|
7178
|
+
accountSettingsOrganizationLogoPut(logo: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrganizationResponse>;
|
|
7179
|
+
/**
|
|
7180
|
+
* Updates the organization details of the currently logged-in user
|
|
7181
|
+
* @summary Update user\'s organization
|
|
7182
|
+
* @param {DataTypesUpdateOrganizationRequest} organization Organization update request
|
|
7183
|
+
* @param {*} [options] Override http request option.
|
|
7184
|
+
* @throws {RequiredError}
|
|
7185
|
+
*/
|
|
7186
|
+
accountSettingsOrganizationPut(organization: DataTypesUpdateOrganizationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrganizationResponse>;
|
|
5997
7187
|
/**
|
|
5998
7188
|
* Updates the password of the currently logged-in user
|
|
5999
7189
|
* @summary Update user password
|
|
@@ -6025,6 +7215,40 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
|
|
|
6025
7215
|
* @extends {BaseAPI}
|
|
6026
7216
|
*/
|
|
6027
7217
|
export declare class AccountSettingsApi extends BaseAPI {
|
|
7218
|
+
/**
|
|
7219
|
+
* Retrieves the organization details of the currently logged-in user
|
|
7220
|
+
* @summary Retrieve user\'s organization
|
|
7221
|
+
* @param {*} [options] Override http request option.
|
|
7222
|
+
* @throws {RequiredError}
|
|
7223
|
+
* @memberof AccountSettingsApi
|
|
7224
|
+
*/
|
|
7225
|
+
accountSettingsOrganizationGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrganizationResponse, any>>;
|
|
7226
|
+
/**
|
|
7227
|
+
* Removes the logo of the currently logged-in user\'s organization
|
|
7228
|
+
* @summary Delete user\'s organization logo
|
|
7229
|
+
* @param {*} [options] Override http request option.
|
|
7230
|
+
* @throws {RequiredError}
|
|
7231
|
+
* @memberof AccountSettingsApi
|
|
7232
|
+
*/
|
|
7233
|
+
accountSettingsOrganizationLogoDelete(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrganizationResponse, any>>;
|
|
7234
|
+
/**
|
|
7235
|
+
* Updates the logo of the currently logged-in user\'s organization
|
|
7236
|
+
* @summary Update user\'s organization logo
|
|
7237
|
+
* @param {File} logo Organization logo file
|
|
7238
|
+
* @param {*} [options] Override http request option.
|
|
7239
|
+
* @throws {RequiredError}
|
|
7240
|
+
* @memberof AccountSettingsApi
|
|
7241
|
+
*/
|
|
7242
|
+
accountSettingsOrganizationLogoPut(logo: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrganizationResponse, any>>;
|
|
7243
|
+
/**
|
|
7244
|
+
* Updates the organization details of the currently logged-in user
|
|
7245
|
+
* @summary Update user\'s organization
|
|
7246
|
+
* @param {DataTypesUpdateOrganizationRequest} organization Organization update request
|
|
7247
|
+
* @param {*} [options] Override http request option.
|
|
7248
|
+
* @throws {RequiredError}
|
|
7249
|
+
* @memberof AccountSettingsApi
|
|
7250
|
+
*/
|
|
7251
|
+
accountSettingsOrganizationPut(organization: DataTypesUpdateOrganizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrganizationResponse, any>>;
|
|
6028
7252
|
/**
|
|
6029
7253
|
* Updates the password of the currently logged-in user
|
|
6030
7254
|
* @summary Update user password
|
|
@@ -6699,6 +7923,369 @@ export declare class ConnectorsApi extends BaseAPI {
|
|
|
6699
7923
|
*/
|
|
6700
7924
|
v1ConnectorsTasksTaskIdRunPost(taskId: string, initiatedBy: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesTriggerTaskRunResponse, any>>;
|
|
6701
7925
|
}
|
|
7926
|
+
/**
|
|
7927
|
+
* CreditsApi - axios parameter creator
|
|
7928
|
+
* @export
|
|
7929
|
+
*/
|
|
7930
|
+
export declare const CreditsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7931
|
+
/**
|
|
7932
|
+
* Manually adjust credits for an organization (admin only) - supports both positive and negative adjustments
|
|
7933
|
+
* @summary Manually adjust organization credits
|
|
7934
|
+
* @param {DataTypesManualCreditAdjustmentRequest} request Credit adjustment details
|
|
7935
|
+
* @param {*} [options] Override http request option.
|
|
7936
|
+
* @throws {RequiredError}
|
|
7937
|
+
*/
|
|
7938
|
+
apiCreditsAdminAdjustPost: (request: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7939
|
+
/**
|
|
7940
|
+
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
7941
|
+
* @summary Get detailed organization credit balance
|
|
7942
|
+
* @param {number} [limit] Number of recent transactions to include
|
|
7943
|
+
* @param {*} [options] Override http request option.
|
|
7944
|
+
* @throws {RequiredError}
|
|
7945
|
+
*/
|
|
7946
|
+
apiCreditsBalanceDetailedGet: (limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7947
|
+
/**
|
|
7948
|
+
* Get current credit balance and summary for the authenticated user\'s organization
|
|
7949
|
+
* @summary Get organization credit balance
|
|
7950
|
+
* @param {*} [options] Override http request option.
|
|
7951
|
+
* @throws {RequiredError}
|
|
7952
|
+
*/
|
|
7953
|
+
apiCreditsBalanceGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7954
|
+
/**
|
|
7955
|
+
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
7956
|
+
* @summary Get store credit balance (legacy)
|
|
7957
|
+
* @param {number} storeId Store ID
|
|
7958
|
+
* @param {*} [options] Override http request option.
|
|
7959
|
+
* @deprecated
|
|
7960
|
+
* @throws {RequiredError}
|
|
7961
|
+
*/
|
|
7962
|
+
apiCreditsBalanceStoreStoreIdGet: (storeId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7963
|
+
/**
|
|
7964
|
+
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
7965
|
+
* @summary Manually consume credits
|
|
7966
|
+
* @param {DataTypesManualConsumeCreditsRequest} request Manual consumption request
|
|
7967
|
+
* @param {*} [options] Override http request option.
|
|
7968
|
+
* @throws {RequiredError}
|
|
7969
|
+
*/
|
|
7970
|
+
apiCreditsConsumePost: (request: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7971
|
+
/**
|
|
7972
|
+
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
7973
|
+
* @summary Get FIFO consumption history
|
|
7974
|
+
* @param {number} [page] Page number
|
|
7975
|
+
* @param {number} [limit] Items per page
|
|
7976
|
+
* @param {string} [endpoint] Filter by API endpoint
|
|
7977
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
7978
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
7979
|
+
* @param {*} [options] Override http request option.
|
|
7980
|
+
* @throws {RequiredError}
|
|
7981
|
+
*/
|
|
7982
|
+
apiCreditsConsumptionHistoryGet: (page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7983
|
+
/**
|
|
7984
|
+
* Get all active credit plans available for purchase with detailed pricing and features
|
|
7985
|
+
* @summary Get available credit plans
|
|
7986
|
+
* @param {*} [options] Override http request option.
|
|
7987
|
+
* @throws {RequiredError}
|
|
7988
|
+
*/
|
|
7989
|
+
apiCreditsPlansGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7990
|
+
/**
|
|
7991
|
+
* Purchase credits using a credit plan with payment processing
|
|
7992
|
+
* @summary Purchase credits
|
|
7993
|
+
* @param {DataTypesPurchaseCreditsRequest} request Purchase request with payment details
|
|
7994
|
+
* @param {*} [options] Override http request option.
|
|
7995
|
+
* @throws {RequiredError}
|
|
7996
|
+
*/
|
|
7997
|
+
apiCreditsPurchasePost: (request: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7998
|
+
/**
|
|
7999
|
+
* Get paginated credit transaction history for the authenticated organization
|
|
8000
|
+
* @summary Get organization credit transactions
|
|
8001
|
+
* @param {number} [page] Page number
|
|
8002
|
+
* @param {number} [limit] Items per page
|
|
8003
|
+
* @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
8004
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8005
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8006
|
+
* @param {*} [options] Override http request option.
|
|
8007
|
+
* @throws {RequiredError}
|
|
8008
|
+
*/
|
|
8009
|
+
apiCreditsTransactionsGet: (page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8010
|
+
};
|
|
8011
|
+
/**
|
|
8012
|
+
* CreditsApi - functional programming interface
|
|
8013
|
+
* @export
|
|
8014
|
+
*/
|
|
8015
|
+
export declare const CreditsApiFp: (configuration?: Configuration) => {
|
|
8016
|
+
/**
|
|
8017
|
+
* Manually adjust credits for an organization (admin only) - supports both positive and negative adjustments
|
|
8018
|
+
* @summary Manually adjust organization credits
|
|
8019
|
+
* @param {DataTypesManualCreditAdjustmentRequest} request Credit adjustment details
|
|
8020
|
+
* @param {*} [options] Override http request option.
|
|
8021
|
+
* @throws {RequiredError}
|
|
8022
|
+
*/
|
|
8023
|
+
apiCreditsAdminAdjustPost(request: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>>;
|
|
8024
|
+
/**
|
|
8025
|
+
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
8026
|
+
* @summary Get detailed organization credit balance
|
|
8027
|
+
* @param {number} [limit] Number of recent transactions to include
|
|
8028
|
+
* @param {*} [options] Override http request option.
|
|
8029
|
+
* @throws {RequiredError}
|
|
8030
|
+
*/
|
|
8031
|
+
apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>>;
|
|
8032
|
+
/**
|
|
8033
|
+
* Get current credit balance and summary for the authenticated user\'s organization
|
|
8034
|
+
* @summary Get organization credit balance
|
|
8035
|
+
* @param {*} [options] Override http request option.
|
|
8036
|
+
* @throws {RequiredError}
|
|
8037
|
+
*/
|
|
8038
|
+
apiCreditsBalanceGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>>;
|
|
8039
|
+
/**
|
|
8040
|
+
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
8041
|
+
* @summary Get store credit balance (legacy)
|
|
8042
|
+
* @param {number} storeId Store ID
|
|
8043
|
+
* @param {*} [options] Override http request option.
|
|
8044
|
+
* @deprecated
|
|
8045
|
+
* @throws {RequiredError}
|
|
8046
|
+
*/
|
|
8047
|
+
apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>>;
|
|
8048
|
+
/**
|
|
8049
|
+
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
8050
|
+
* @summary Manually consume credits
|
|
8051
|
+
* @param {DataTypesManualConsumeCreditsRequest} request Manual consumption request
|
|
8052
|
+
* @param {*} [options] Override http request option.
|
|
8053
|
+
* @throws {RequiredError}
|
|
8054
|
+
*/
|
|
8055
|
+
apiCreditsConsumePost(request: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>>;
|
|
8056
|
+
/**
|
|
8057
|
+
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
8058
|
+
* @summary Get FIFO consumption history
|
|
8059
|
+
* @param {number} [page] Page number
|
|
8060
|
+
* @param {number} [limit] Items per page
|
|
8061
|
+
* @param {string} [endpoint] Filter by API endpoint
|
|
8062
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8063
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8064
|
+
* @param {*} [options] Override http request option.
|
|
8065
|
+
* @throws {RequiredError}
|
|
8066
|
+
*/
|
|
8067
|
+
apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>>;
|
|
8068
|
+
/**
|
|
8069
|
+
* Get all active credit plans available for purchase with detailed pricing and features
|
|
8070
|
+
* @summary Get available credit plans
|
|
8071
|
+
* @param {*} [options] Override http request option.
|
|
8072
|
+
* @throws {RequiredError}
|
|
8073
|
+
*/
|
|
8074
|
+
apiCreditsPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>>;
|
|
8075
|
+
/**
|
|
8076
|
+
* Purchase credits using a credit plan with payment processing
|
|
8077
|
+
* @summary Purchase credits
|
|
8078
|
+
* @param {DataTypesPurchaseCreditsRequest} request Purchase request with payment details
|
|
8079
|
+
* @param {*} [options] Override http request option.
|
|
8080
|
+
* @throws {RequiredError}
|
|
8081
|
+
*/
|
|
8082
|
+
apiCreditsPurchasePost(request: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>>;
|
|
8083
|
+
/**
|
|
8084
|
+
* Get paginated credit transaction history for the authenticated organization
|
|
8085
|
+
* @summary Get organization credit transactions
|
|
8086
|
+
* @param {number} [page] Page number
|
|
8087
|
+
* @param {number} [limit] Items per page
|
|
8088
|
+
* @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
8089
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8090
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8091
|
+
* @param {*} [options] Override http request option.
|
|
8092
|
+
* @throws {RequiredError}
|
|
8093
|
+
*/
|
|
8094
|
+
apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse>>;
|
|
8095
|
+
};
|
|
8096
|
+
/**
|
|
8097
|
+
* CreditsApi - factory interface
|
|
8098
|
+
* @export
|
|
8099
|
+
*/
|
|
8100
|
+
export declare const CreditsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
8101
|
+
/**
|
|
8102
|
+
* Manually adjust credits for an organization (admin only) - supports both positive and negative adjustments
|
|
8103
|
+
* @summary Manually adjust organization credits
|
|
8104
|
+
* @param {DataTypesManualCreditAdjustmentRequest} request Credit adjustment details
|
|
8105
|
+
* @param {*} [options] Override http request option.
|
|
8106
|
+
* @throws {RequiredError}
|
|
8107
|
+
*/
|
|
8108
|
+
apiCreditsAdminAdjustPost(request: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>;
|
|
8109
|
+
/**
|
|
8110
|
+
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
8111
|
+
* @summary Get detailed organization credit balance
|
|
8112
|
+
* @param {number} [limit] Number of recent transactions to include
|
|
8113
|
+
* @param {*} [options] Override http request option.
|
|
8114
|
+
* @throws {RequiredError}
|
|
8115
|
+
*/
|
|
8116
|
+
apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>;
|
|
8117
|
+
/**
|
|
8118
|
+
* Get current credit balance and summary for the authenticated user\'s organization
|
|
8119
|
+
* @summary Get organization credit balance
|
|
8120
|
+
* @param {*} [options] Override http request option.
|
|
8121
|
+
* @throws {RequiredError}
|
|
8122
|
+
*/
|
|
8123
|
+
apiCreditsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>;
|
|
8124
|
+
/**
|
|
8125
|
+
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
8126
|
+
* @summary Get store credit balance (legacy)
|
|
8127
|
+
* @param {number} storeId Store ID
|
|
8128
|
+
* @param {*} [options] Override http request option.
|
|
8129
|
+
* @deprecated
|
|
8130
|
+
* @throws {RequiredError}
|
|
8131
|
+
*/
|
|
8132
|
+
apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>;
|
|
8133
|
+
/**
|
|
8134
|
+
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
8135
|
+
* @summary Manually consume credits
|
|
8136
|
+
* @param {DataTypesManualConsumeCreditsRequest} request Manual consumption request
|
|
8137
|
+
* @param {*} [options] Override http request option.
|
|
8138
|
+
* @throws {RequiredError}
|
|
8139
|
+
*/
|
|
8140
|
+
apiCreditsConsumePost(request: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>;
|
|
8141
|
+
/**
|
|
8142
|
+
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
8143
|
+
* @summary Get FIFO consumption history
|
|
8144
|
+
* @param {number} [page] Page number
|
|
8145
|
+
* @param {number} [limit] Items per page
|
|
8146
|
+
* @param {string} [endpoint] Filter by API endpoint
|
|
8147
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8148
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8149
|
+
* @param {*} [options] Override http request option.
|
|
8150
|
+
* @throws {RequiredError}
|
|
8151
|
+
*/
|
|
8152
|
+
apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>;
|
|
8153
|
+
/**
|
|
8154
|
+
* Get all active credit plans available for purchase with detailed pricing and features
|
|
8155
|
+
* @summary Get available credit plans
|
|
8156
|
+
* @param {*} [options] Override http request option.
|
|
8157
|
+
* @throws {RequiredError}
|
|
8158
|
+
*/
|
|
8159
|
+
apiCreditsPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>;
|
|
8160
|
+
/**
|
|
8161
|
+
* Purchase credits using a credit plan with payment processing
|
|
8162
|
+
* @summary Purchase credits
|
|
8163
|
+
* @param {DataTypesPurchaseCreditsRequest} request Purchase request with payment details
|
|
8164
|
+
* @param {*} [options] Override http request option.
|
|
8165
|
+
* @throws {RequiredError}
|
|
8166
|
+
*/
|
|
8167
|
+
apiCreditsPurchasePost(request: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>;
|
|
8168
|
+
/**
|
|
8169
|
+
* Get paginated credit transaction history for the authenticated organization
|
|
8170
|
+
* @summary Get organization credit transactions
|
|
8171
|
+
* @param {number} [page] Page number
|
|
8172
|
+
* @param {number} [limit] Items per page
|
|
8173
|
+
* @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
8174
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8175
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8176
|
+
* @param {*} [options] Override http request option.
|
|
8177
|
+
* @throws {RequiredError}
|
|
8178
|
+
*/
|
|
8179
|
+
apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse>;
|
|
8180
|
+
};
|
|
8181
|
+
/**
|
|
8182
|
+
* CreditsApi - object-oriented interface
|
|
8183
|
+
* @export
|
|
8184
|
+
* @class CreditsApi
|
|
8185
|
+
* @extends {BaseAPI}
|
|
8186
|
+
*/
|
|
8187
|
+
export declare class CreditsApi extends BaseAPI {
|
|
8188
|
+
/**
|
|
8189
|
+
* Manually adjust credits for an organization (admin only) - supports both positive and negative adjustments
|
|
8190
|
+
* @summary Manually adjust organization credits
|
|
8191
|
+
* @param {DataTypesManualCreditAdjustmentRequest} request Credit adjustment details
|
|
8192
|
+
* @param {*} [options] Override http request option.
|
|
8193
|
+
* @throws {RequiredError}
|
|
8194
|
+
* @memberof CreditsApi
|
|
8195
|
+
*/
|
|
8196
|
+
apiCreditsAdminAdjustPost(request: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesCreditAdjustmentResponse, any>>;
|
|
8197
|
+
/**
|
|
8198
|
+
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
8199
|
+
* @summary Get detailed organization credit balance
|
|
8200
|
+
* @param {number} [limit] Number of recent transactions to include
|
|
8201
|
+
* @param {*} [options] Override http request option.
|
|
8202
|
+
* @throws {RequiredError}
|
|
8203
|
+
* @memberof CreditsApi
|
|
8204
|
+
*/
|
|
8205
|
+
apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse, any>>;
|
|
8206
|
+
/**
|
|
8207
|
+
* Get current credit balance and summary for the authenticated user\'s organization
|
|
8208
|
+
* @summary Get organization credit balance
|
|
8209
|
+
* @param {*} [options] Override http request option.
|
|
8210
|
+
* @throws {RequiredError}
|
|
8211
|
+
* @memberof CreditsApi
|
|
8212
|
+
*/
|
|
8213
|
+
apiCreditsBalanceGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesCreditBalance, any>>;
|
|
8214
|
+
/**
|
|
8215
|
+
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
8216
|
+
* @summary Get store credit balance (legacy)
|
|
8217
|
+
* @param {number} storeId Store ID
|
|
8218
|
+
* @param {*} [options] Override http request option.
|
|
8219
|
+
* @deprecated
|
|
8220
|
+
* @throws {RequiredError}
|
|
8221
|
+
* @memberof CreditsApi
|
|
8222
|
+
*/
|
|
8223
|
+
apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesCreditBalance, any>>;
|
|
8224
|
+
/**
|
|
8225
|
+
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
8226
|
+
* @summary Manually consume credits
|
|
8227
|
+
* @param {DataTypesManualConsumeCreditsRequest} request Manual consumption request
|
|
8228
|
+
* @param {*} [options] Override http request option.
|
|
8229
|
+
* @throws {RequiredError}
|
|
8230
|
+
* @memberof CreditsApi
|
|
8231
|
+
*/
|
|
8232
|
+
apiCreditsConsumePost(request: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesCreditConsumptionResult, any>>;
|
|
8233
|
+
/**
|
|
8234
|
+
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
8235
|
+
* @summary Get FIFO consumption history
|
|
8236
|
+
* @param {number} [page] Page number
|
|
8237
|
+
* @param {number} [limit] Items per page
|
|
8238
|
+
* @param {string} [endpoint] Filter by API endpoint
|
|
8239
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8240
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8241
|
+
* @param {*} [options] Override http request option.
|
|
8242
|
+
* @throws {RequiredError}
|
|
8243
|
+
* @memberof CreditsApi
|
|
8244
|
+
*/
|
|
8245
|
+
apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesConsumptionHistoryResponse, any>>;
|
|
8246
|
+
/**
|
|
8247
|
+
* Get all active credit plans available for purchase with detailed pricing and features
|
|
8248
|
+
* @summary Get available credit plans
|
|
8249
|
+
* @param {*} [options] Override http request option.
|
|
8250
|
+
* @throws {RequiredError}
|
|
8251
|
+
* @memberof CreditsApi
|
|
8252
|
+
*/
|
|
8253
|
+
apiCreditsPlansGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayDataTypesCreditPlan, any>>;
|
|
8254
|
+
/**
|
|
8255
|
+
* Purchase credits using a credit plan with payment processing
|
|
8256
|
+
* @summary Purchase credits
|
|
8257
|
+
* @param {DataTypesPurchaseCreditsRequest} request Purchase request with payment details
|
|
8258
|
+
* @param {*} [options] Override http request option.
|
|
8259
|
+
* @throws {RequiredError}
|
|
8260
|
+
* @memberof CreditsApi
|
|
8261
|
+
*/
|
|
8262
|
+
apiCreditsPurchasePost(request: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesPurchaseCreditsResponse, any>>;
|
|
8263
|
+
/**
|
|
8264
|
+
* Get paginated credit transaction history for the authenticated organization
|
|
8265
|
+
* @summary Get organization credit transactions
|
|
8266
|
+
* @param {number} [page] Page number
|
|
8267
|
+
* @param {number} [limit] Items per page
|
|
8268
|
+
* @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
8269
|
+
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
8270
|
+
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
8271
|
+
* @param {*} [options] Override http request option.
|
|
8272
|
+
* @throws {RequiredError}
|
|
8273
|
+
* @memberof CreditsApi
|
|
8274
|
+
*/
|
|
8275
|
+
apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse, any>>;
|
|
8276
|
+
}
|
|
8277
|
+
/**
|
|
8278
|
+
* @export
|
|
8279
|
+
*/
|
|
8280
|
+
export declare const ApiCreditsTransactionsGetTypeEnum: {
|
|
8281
|
+
readonly Purchase: "purchase";
|
|
8282
|
+
readonly Consume: "consume";
|
|
8283
|
+
readonly Refund: "refund";
|
|
8284
|
+
readonly Bonus: "bonus";
|
|
8285
|
+
readonly Expire: "expire";
|
|
8286
|
+
readonly Manual: "manual";
|
|
8287
|
+
};
|
|
8288
|
+
export type ApiCreditsTransactionsGetTypeEnum = typeof ApiCreditsTransactionsGetTypeEnum[keyof typeof ApiCreditsTransactionsGetTypeEnum];
|
|
6702
8289
|
/**
|
|
6703
8290
|
* LimitsApi - axios parameter creator
|
|
6704
8291
|
* @export
|