@epilot/sdk 2.20.27 → 2.20.28
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/apis/chat.d.cts +2 -2
- package/dist/apis/chat.d.ts +2 -2
- package/dist/{chat.d-CQ5eRtNU.d.cts → chat.d-0w0TaT-a.d.cts} +20 -20
- package/dist/{chat.d-CQ5eRtNU.d.ts → chat.d-0w0TaT-a.d.ts} +20 -20
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/package.json +11 -12
- package/definitions/erp-integration-runtime.json +0 -1
- package/definitions/erp-integration.json +0 -7936
package/dist/apis/chat.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-ChU9Acbv.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.cjs';
|
|
3
|
-
import { C as Client } from '../chat.d-
|
|
4
|
-
export { c as ChatWidget, a as Components, d as CreateChatWidgetRequest, E as Error, L as ListChatWidgetsResponse, O as OperationMethods, P as Paths, b as PathsDictionary, e as PublicChatError, f as PublicEvent, U as UpdateChatWidgetRequest, W as WebsiteChatSettings, g as Widget, h as WidgetDesign } from '../chat.d-
|
|
3
|
+
import { C as Client } from '../chat.d-0w0TaT-a.cjs';
|
|
4
|
+
export { c as ChatWidget, a as Components, d as CreateChatWidgetRequest, E as Error, L as ListChatWidgetsResponse, O as OperationMethods, P as Paths, b as PathsDictionary, e as PublicChatError, f as PublicEvent, U as UpdateChatWidgetRequest, W as WebsiteChatSettings, g as Widget, h as WidgetDesign } from '../chat.d-0w0TaT-a.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
package/dist/apis/chat.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-ChU9Acbv.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
|
|
3
|
-
import { C as Client } from '../chat.d-
|
|
4
|
-
export { c as ChatWidget, a as Components, d as CreateChatWidgetRequest, E as Error, L as ListChatWidgetsResponse, O as OperationMethods, P as Paths, b as PathsDictionary, e as PublicChatError, f as PublicEvent, U as UpdateChatWidgetRequest, W as WebsiteChatSettings, g as Widget, h as WidgetDesign } from '../chat.d-
|
|
3
|
+
import { C as Client } from '../chat.d-0w0TaT-a.js';
|
|
4
|
+
export { c as ChatWidget, a as Components, d as CreateChatWidgetRequest, E as Error, L as ListChatWidgetsResponse, O as OperationMethods, P as Paths, b as PathsDictionary, e as PublicChatError, f as PublicEvent, U as UpdateChatWidgetRequest, W as WebsiteChatSettings, g as Widget, h as WidgetDesign } from '../chat.d-0w0TaT-a.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1362,7 +1362,7 @@ interface OperationMethods {
|
|
|
1362
1362
|
'listChatWidgets'(
|
|
1363
1363
|
parameters?: Parameters<Paths.ListChatWidgets.QueryParameters> | null,
|
|
1364
1364
|
data?: any,
|
|
1365
|
-
config?: AxiosRequestConfig
|
|
1365
|
+
config?: AxiosRequestConfig
|
|
1366
1366
|
): OperationResponse<Paths.ListChatWidgets.Responses.$200>
|
|
1367
1367
|
/**
|
|
1368
1368
|
* createChatWidget
|
|
@@ -1370,7 +1370,7 @@ interface OperationMethods {
|
|
|
1370
1370
|
'createChatWidget'(
|
|
1371
1371
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1372
1372
|
data?: Paths.CreateChatWidget.RequestBody,
|
|
1373
|
-
config?: AxiosRequestConfig
|
|
1373
|
+
config?: AxiosRequestConfig
|
|
1374
1374
|
): OperationResponse<Paths.CreateChatWidget.Responses.$201>
|
|
1375
1375
|
/**
|
|
1376
1376
|
* getChatWidget
|
|
@@ -1378,7 +1378,7 @@ interface OperationMethods {
|
|
|
1378
1378
|
'getChatWidget'(
|
|
1379
1379
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1380
1380
|
data?: any,
|
|
1381
|
-
config?: AxiosRequestConfig
|
|
1381
|
+
config?: AxiosRequestConfig
|
|
1382
1382
|
): OperationResponse<Paths.GetChatWidget.Responses.$200>
|
|
1383
1383
|
/**
|
|
1384
1384
|
* updateChatWidget
|
|
@@ -1386,7 +1386,7 @@ interface OperationMethods {
|
|
|
1386
1386
|
'updateChatWidget'(
|
|
1387
1387
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1388
1388
|
data?: Paths.UpdateChatWidget.RequestBody,
|
|
1389
|
-
config?: AxiosRequestConfig
|
|
1389
|
+
config?: AxiosRequestConfig
|
|
1390
1390
|
): OperationResponse<Paths.UpdateChatWidget.Responses.$200>
|
|
1391
1391
|
/**
|
|
1392
1392
|
* deleteChatWidget
|
|
@@ -1394,7 +1394,7 @@ interface OperationMethods {
|
|
|
1394
1394
|
'deleteChatWidget'(
|
|
1395
1395
|
parameters?: Parameters<Paths.DeleteChatWidget.QueryParameters & Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1396
1396
|
data?: any,
|
|
1397
|
-
config?: AxiosRequestConfig
|
|
1397
|
+
config?: AxiosRequestConfig
|
|
1398
1398
|
): OperationResponse<Paths.DeleteChatWidget.Responses.$204>
|
|
1399
1399
|
/**
|
|
1400
1400
|
* getPublicChatWidget - Resolve visitor-facing configuration for an independent widget and its current agent assignment. The widget ID is not an organisation ID or a destination such as website or portal.
|
|
@@ -1402,7 +1402,7 @@ interface OperationMethods {
|
|
|
1402
1402
|
'getPublicChatWidget'(
|
|
1403
1403
|
parameters?: Parameters<Paths.GetPublicChatWidget.PathParameters> | null,
|
|
1404
1404
|
data?: any,
|
|
1405
|
-
config?: AxiosRequestConfig
|
|
1405
|
+
config?: AxiosRequestConfig
|
|
1406
1406
|
): OperationResponse<Paths.GetPublicChatWidget.Responses.$200 | Paths.GetPublicChatWidget.Responses.Default>
|
|
1407
1407
|
/**
|
|
1408
1408
|
* createPublicChatGrant - Called by the host website with its widget_key. Checks the saved website origin allowlist and issues a single-use grant for the iframe to exchange at POST /v1/sessions within 60 seconds. This deadline does not limit the resulting session.
|
|
@@ -1410,7 +1410,7 @@ interface OperationMethods {
|
|
|
1410
1410
|
'createPublicChatGrant'(
|
|
1411
1411
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1412
1412
|
data?: Paths.CreatePublicChatGrant.RequestBody,
|
|
1413
|
-
config?: AxiosRequestConfig
|
|
1413
|
+
config?: AxiosRequestConfig
|
|
1414
1414
|
): OperationResponse<Paths.CreatePublicChatGrant.Responses.$201 | Paths.CreatePublicChatGrant.Responses.Default>
|
|
1415
1415
|
/**
|
|
1416
1416
|
* createAnonymousChatSession - Exchanges an unexpired grant once for an independent 30-minute session. Expired or previously used grants return 401 INVALID_GRANT; the host must bootstrap again.
|
|
@@ -1418,7 +1418,7 @@ interface OperationMethods {
|
|
|
1418
1418
|
'createAnonymousChatSession'(
|
|
1419
1419
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1420
1420
|
data?: Paths.CreateAnonymousChatSession.RequestBody,
|
|
1421
|
-
config?: AxiosRequestConfig
|
|
1421
|
+
config?: AxiosRequestConfig
|
|
1422
1422
|
): OperationResponse<Paths.CreateAnonymousChatSession.Responses.$201 | Paths.CreateAnonymousChatSession.Responses.Default>
|
|
1423
1423
|
/**
|
|
1424
1424
|
* sendAnonymousChatMessage - Creates a turn or replays its persisted result. Reuse request_id and the exact
|
|
@@ -1426,12 +1426,12 @@ interface OperationMethods {
|
|
|
1426
1426
|
* TEMPORARILY_UNAVAILABLE means the request outcome could not be checked; retry the same request ID and payload.
|
|
1427
1427
|
* A running request returns 409 IN_PROGRESS; a changed payload returns 409 REQUEST_CONFLICT.
|
|
1428
1428
|
* A failed admitted request never starts another model execution when retried.
|
|
1429
|
-
*
|
|
1429
|
+
*
|
|
1430
1430
|
*/
|
|
1431
1431
|
'sendAnonymousChatMessage'(
|
|
1432
1432
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1433
1433
|
data?: Paths.SendAnonymousChatMessage.RequestBody,
|
|
1434
|
-
config?: AxiosRequestConfig
|
|
1434
|
+
config?: AxiosRequestConfig
|
|
1435
1435
|
): OperationResponse<Paths.SendAnonymousChatMessage.Responses.$200 | Paths.SendAnonymousChatMessage.Responses.Default>
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
@@ -1443,7 +1443,7 @@ interface PathsDictionary {
|
|
|
1443
1443
|
'get'(
|
|
1444
1444
|
parameters?: Parameters<Paths.ListChatWidgets.QueryParameters> | null,
|
|
1445
1445
|
data?: any,
|
|
1446
|
-
config?: AxiosRequestConfig
|
|
1446
|
+
config?: AxiosRequestConfig
|
|
1447
1447
|
): OperationResponse<Paths.ListChatWidgets.Responses.$200>
|
|
1448
1448
|
/**
|
|
1449
1449
|
* createChatWidget
|
|
@@ -1451,7 +1451,7 @@ interface PathsDictionary {
|
|
|
1451
1451
|
'post'(
|
|
1452
1452
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1453
1453
|
data?: Paths.CreateChatWidget.RequestBody,
|
|
1454
|
-
config?: AxiosRequestConfig
|
|
1454
|
+
config?: AxiosRequestConfig
|
|
1455
1455
|
): OperationResponse<Paths.CreateChatWidget.Responses.$201>
|
|
1456
1456
|
}
|
|
1457
1457
|
['/v1/widgets/{widget_id}']: {
|
|
@@ -1461,7 +1461,7 @@ interface PathsDictionary {
|
|
|
1461
1461
|
'get'(
|
|
1462
1462
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1463
1463
|
data?: any,
|
|
1464
|
-
config?: AxiosRequestConfig
|
|
1464
|
+
config?: AxiosRequestConfig
|
|
1465
1465
|
): OperationResponse<Paths.GetChatWidget.Responses.$200>
|
|
1466
1466
|
/**
|
|
1467
1467
|
* updateChatWidget
|
|
@@ -1469,7 +1469,7 @@ interface PathsDictionary {
|
|
|
1469
1469
|
'put'(
|
|
1470
1470
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1471
1471
|
data?: Paths.UpdateChatWidget.RequestBody,
|
|
1472
|
-
config?: AxiosRequestConfig
|
|
1472
|
+
config?: AxiosRequestConfig
|
|
1473
1473
|
): OperationResponse<Paths.UpdateChatWidget.Responses.$200>
|
|
1474
1474
|
/**
|
|
1475
1475
|
* deleteChatWidget
|
|
@@ -1477,7 +1477,7 @@ interface PathsDictionary {
|
|
|
1477
1477
|
'delete'(
|
|
1478
1478
|
parameters?: Parameters<Paths.DeleteChatWidget.QueryParameters & Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1479
1479
|
data?: any,
|
|
1480
|
-
config?: AxiosRequestConfig
|
|
1480
|
+
config?: AxiosRequestConfig
|
|
1481
1481
|
): OperationResponse<Paths.DeleteChatWidget.Responses.$204>
|
|
1482
1482
|
}
|
|
1483
1483
|
['/v1/widgets/{widget_id}/configuration']: {
|
|
@@ -1487,7 +1487,7 @@ interface PathsDictionary {
|
|
|
1487
1487
|
'get'(
|
|
1488
1488
|
parameters?: Parameters<Paths.GetPublicChatWidget.PathParameters> | null,
|
|
1489
1489
|
data?: any,
|
|
1490
|
-
config?: AxiosRequestConfig
|
|
1490
|
+
config?: AxiosRequestConfig
|
|
1491
1491
|
): OperationResponse<Paths.GetPublicChatWidget.Responses.$200 | Paths.GetPublicChatWidget.Responses.Default>
|
|
1492
1492
|
}
|
|
1493
1493
|
['/v1/bootstrap']: {
|
|
@@ -1497,7 +1497,7 @@ interface PathsDictionary {
|
|
|
1497
1497
|
'post'(
|
|
1498
1498
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1499
1499
|
data?: Paths.CreatePublicChatGrant.RequestBody,
|
|
1500
|
-
config?: AxiosRequestConfig
|
|
1500
|
+
config?: AxiosRequestConfig
|
|
1501
1501
|
): OperationResponse<Paths.CreatePublicChatGrant.Responses.$201 | Paths.CreatePublicChatGrant.Responses.Default>
|
|
1502
1502
|
}
|
|
1503
1503
|
['/v1/sessions']: {
|
|
@@ -1507,7 +1507,7 @@ interface PathsDictionary {
|
|
|
1507
1507
|
'post'(
|
|
1508
1508
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1509
1509
|
data?: Paths.CreateAnonymousChatSession.RequestBody,
|
|
1510
|
-
config?: AxiosRequestConfig
|
|
1510
|
+
config?: AxiosRequestConfig
|
|
1511
1511
|
): OperationResponse<Paths.CreateAnonymousChatSession.Responses.$201 | Paths.CreateAnonymousChatSession.Responses.Default>
|
|
1512
1512
|
}
|
|
1513
1513
|
['/v1/messages']: {
|
|
@@ -1517,12 +1517,12 @@ interface PathsDictionary {
|
|
|
1517
1517
|
* TEMPORARILY_UNAVAILABLE means the request outcome could not be checked; retry the same request ID and payload.
|
|
1518
1518
|
* A running request returns 409 IN_PROGRESS; a changed payload returns 409 REQUEST_CONFLICT.
|
|
1519
1519
|
* A failed admitted request never starts another model execution when retried.
|
|
1520
|
-
*
|
|
1520
|
+
*
|
|
1521
1521
|
*/
|
|
1522
1522
|
'post'(
|
|
1523
1523
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1524
1524
|
data?: Paths.SendAnonymousChatMessage.RequestBody,
|
|
1525
|
-
config?: AxiosRequestConfig
|
|
1525
|
+
config?: AxiosRequestConfig
|
|
1526
1526
|
): OperationResponse<Paths.SendAnonymousChatMessage.Responses.$200 | Paths.SendAnonymousChatMessage.Responses.Default>
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
@@ -1362,7 +1362,7 @@ interface OperationMethods {
|
|
|
1362
1362
|
'listChatWidgets'(
|
|
1363
1363
|
parameters?: Parameters<Paths.ListChatWidgets.QueryParameters> | null,
|
|
1364
1364
|
data?: any,
|
|
1365
|
-
config?: AxiosRequestConfig
|
|
1365
|
+
config?: AxiosRequestConfig
|
|
1366
1366
|
): OperationResponse<Paths.ListChatWidgets.Responses.$200>
|
|
1367
1367
|
/**
|
|
1368
1368
|
* createChatWidget
|
|
@@ -1370,7 +1370,7 @@ interface OperationMethods {
|
|
|
1370
1370
|
'createChatWidget'(
|
|
1371
1371
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1372
1372
|
data?: Paths.CreateChatWidget.RequestBody,
|
|
1373
|
-
config?: AxiosRequestConfig
|
|
1373
|
+
config?: AxiosRequestConfig
|
|
1374
1374
|
): OperationResponse<Paths.CreateChatWidget.Responses.$201>
|
|
1375
1375
|
/**
|
|
1376
1376
|
* getChatWidget
|
|
@@ -1378,7 +1378,7 @@ interface OperationMethods {
|
|
|
1378
1378
|
'getChatWidget'(
|
|
1379
1379
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1380
1380
|
data?: any,
|
|
1381
|
-
config?: AxiosRequestConfig
|
|
1381
|
+
config?: AxiosRequestConfig
|
|
1382
1382
|
): OperationResponse<Paths.GetChatWidget.Responses.$200>
|
|
1383
1383
|
/**
|
|
1384
1384
|
* updateChatWidget
|
|
@@ -1386,7 +1386,7 @@ interface OperationMethods {
|
|
|
1386
1386
|
'updateChatWidget'(
|
|
1387
1387
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1388
1388
|
data?: Paths.UpdateChatWidget.RequestBody,
|
|
1389
|
-
config?: AxiosRequestConfig
|
|
1389
|
+
config?: AxiosRequestConfig
|
|
1390
1390
|
): OperationResponse<Paths.UpdateChatWidget.Responses.$200>
|
|
1391
1391
|
/**
|
|
1392
1392
|
* deleteChatWidget
|
|
@@ -1394,7 +1394,7 @@ interface OperationMethods {
|
|
|
1394
1394
|
'deleteChatWidget'(
|
|
1395
1395
|
parameters?: Parameters<Paths.DeleteChatWidget.QueryParameters & Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1396
1396
|
data?: any,
|
|
1397
|
-
config?: AxiosRequestConfig
|
|
1397
|
+
config?: AxiosRequestConfig
|
|
1398
1398
|
): OperationResponse<Paths.DeleteChatWidget.Responses.$204>
|
|
1399
1399
|
/**
|
|
1400
1400
|
* getPublicChatWidget - Resolve visitor-facing configuration for an independent widget and its current agent assignment. The widget ID is not an organisation ID or a destination such as website or portal.
|
|
@@ -1402,7 +1402,7 @@ interface OperationMethods {
|
|
|
1402
1402
|
'getPublicChatWidget'(
|
|
1403
1403
|
parameters?: Parameters<Paths.GetPublicChatWidget.PathParameters> | null,
|
|
1404
1404
|
data?: any,
|
|
1405
|
-
config?: AxiosRequestConfig
|
|
1405
|
+
config?: AxiosRequestConfig
|
|
1406
1406
|
): OperationResponse<Paths.GetPublicChatWidget.Responses.$200 | Paths.GetPublicChatWidget.Responses.Default>
|
|
1407
1407
|
/**
|
|
1408
1408
|
* createPublicChatGrant - Called by the host website with its widget_key. Checks the saved website origin allowlist and issues a single-use grant for the iframe to exchange at POST /v1/sessions within 60 seconds. This deadline does not limit the resulting session.
|
|
@@ -1410,7 +1410,7 @@ interface OperationMethods {
|
|
|
1410
1410
|
'createPublicChatGrant'(
|
|
1411
1411
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1412
1412
|
data?: Paths.CreatePublicChatGrant.RequestBody,
|
|
1413
|
-
config?: AxiosRequestConfig
|
|
1413
|
+
config?: AxiosRequestConfig
|
|
1414
1414
|
): OperationResponse<Paths.CreatePublicChatGrant.Responses.$201 | Paths.CreatePublicChatGrant.Responses.Default>
|
|
1415
1415
|
/**
|
|
1416
1416
|
* createAnonymousChatSession - Exchanges an unexpired grant once for an independent 30-minute session. Expired or previously used grants return 401 INVALID_GRANT; the host must bootstrap again.
|
|
@@ -1418,7 +1418,7 @@ interface OperationMethods {
|
|
|
1418
1418
|
'createAnonymousChatSession'(
|
|
1419
1419
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1420
1420
|
data?: Paths.CreateAnonymousChatSession.RequestBody,
|
|
1421
|
-
config?: AxiosRequestConfig
|
|
1421
|
+
config?: AxiosRequestConfig
|
|
1422
1422
|
): OperationResponse<Paths.CreateAnonymousChatSession.Responses.$201 | Paths.CreateAnonymousChatSession.Responses.Default>
|
|
1423
1423
|
/**
|
|
1424
1424
|
* sendAnonymousChatMessage - Creates a turn or replays its persisted result. Reuse request_id and the exact
|
|
@@ -1426,12 +1426,12 @@ interface OperationMethods {
|
|
|
1426
1426
|
* TEMPORARILY_UNAVAILABLE means the request outcome could not be checked; retry the same request ID and payload.
|
|
1427
1427
|
* A running request returns 409 IN_PROGRESS; a changed payload returns 409 REQUEST_CONFLICT.
|
|
1428
1428
|
* A failed admitted request never starts another model execution when retried.
|
|
1429
|
-
*
|
|
1429
|
+
*
|
|
1430
1430
|
*/
|
|
1431
1431
|
'sendAnonymousChatMessage'(
|
|
1432
1432
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1433
1433
|
data?: Paths.SendAnonymousChatMessage.RequestBody,
|
|
1434
|
-
config?: AxiosRequestConfig
|
|
1434
|
+
config?: AxiosRequestConfig
|
|
1435
1435
|
): OperationResponse<Paths.SendAnonymousChatMessage.Responses.$200 | Paths.SendAnonymousChatMessage.Responses.Default>
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
@@ -1443,7 +1443,7 @@ interface PathsDictionary {
|
|
|
1443
1443
|
'get'(
|
|
1444
1444
|
parameters?: Parameters<Paths.ListChatWidgets.QueryParameters> | null,
|
|
1445
1445
|
data?: any,
|
|
1446
|
-
config?: AxiosRequestConfig
|
|
1446
|
+
config?: AxiosRequestConfig
|
|
1447
1447
|
): OperationResponse<Paths.ListChatWidgets.Responses.$200>
|
|
1448
1448
|
/**
|
|
1449
1449
|
* createChatWidget
|
|
@@ -1451,7 +1451,7 @@ interface PathsDictionary {
|
|
|
1451
1451
|
'post'(
|
|
1452
1452
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1453
1453
|
data?: Paths.CreateChatWidget.RequestBody,
|
|
1454
|
-
config?: AxiosRequestConfig
|
|
1454
|
+
config?: AxiosRequestConfig
|
|
1455
1455
|
): OperationResponse<Paths.CreateChatWidget.Responses.$201>
|
|
1456
1456
|
}
|
|
1457
1457
|
['/v1/widgets/{widget_id}']: {
|
|
@@ -1461,7 +1461,7 @@ interface PathsDictionary {
|
|
|
1461
1461
|
'get'(
|
|
1462
1462
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1463
1463
|
data?: any,
|
|
1464
|
-
config?: AxiosRequestConfig
|
|
1464
|
+
config?: AxiosRequestConfig
|
|
1465
1465
|
): OperationResponse<Paths.GetChatWidget.Responses.$200>
|
|
1466
1466
|
/**
|
|
1467
1467
|
* updateChatWidget
|
|
@@ -1469,7 +1469,7 @@ interface PathsDictionary {
|
|
|
1469
1469
|
'put'(
|
|
1470
1470
|
parameters?: Parameters<Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1471
1471
|
data?: Paths.UpdateChatWidget.RequestBody,
|
|
1472
|
-
config?: AxiosRequestConfig
|
|
1472
|
+
config?: AxiosRequestConfig
|
|
1473
1473
|
): OperationResponse<Paths.UpdateChatWidget.Responses.$200>
|
|
1474
1474
|
/**
|
|
1475
1475
|
* deleteChatWidget
|
|
@@ -1477,7 +1477,7 @@ interface PathsDictionary {
|
|
|
1477
1477
|
'delete'(
|
|
1478
1478
|
parameters?: Parameters<Paths.DeleteChatWidget.QueryParameters & Paths.V1Widgets$WidgetId.PathParameters> | null,
|
|
1479
1479
|
data?: any,
|
|
1480
|
-
config?: AxiosRequestConfig
|
|
1480
|
+
config?: AxiosRequestConfig
|
|
1481
1481
|
): OperationResponse<Paths.DeleteChatWidget.Responses.$204>
|
|
1482
1482
|
}
|
|
1483
1483
|
['/v1/widgets/{widget_id}/configuration']: {
|
|
@@ -1487,7 +1487,7 @@ interface PathsDictionary {
|
|
|
1487
1487
|
'get'(
|
|
1488
1488
|
parameters?: Parameters<Paths.GetPublicChatWidget.PathParameters> | null,
|
|
1489
1489
|
data?: any,
|
|
1490
|
-
config?: AxiosRequestConfig
|
|
1490
|
+
config?: AxiosRequestConfig
|
|
1491
1491
|
): OperationResponse<Paths.GetPublicChatWidget.Responses.$200 | Paths.GetPublicChatWidget.Responses.Default>
|
|
1492
1492
|
}
|
|
1493
1493
|
['/v1/bootstrap']: {
|
|
@@ -1497,7 +1497,7 @@ interface PathsDictionary {
|
|
|
1497
1497
|
'post'(
|
|
1498
1498
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1499
1499
|
data?: Paths.CreatePublicChatGrant.RequestBody,
|
|
1500
|
-
config?: AxiosRequestConfig
|
|
1500
|
+
config?: AxiosRequestConfig
|
|
1501
1501
|
): OperationResponse<Paths.CreatePublicChatGrant.Responses.$201 | Paths.CreatePublicChatGrant.Responses.Default>
|
|
1502
1502
|
}
|
|
1503
1503
|
['/v1/sessions']: {
|
|
@@ -1507,7 +1507,7 @@ interface PathsDictionary {
|
|
|
1507
1507
|
'post'(
|
|
1508
1508
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1509
1509
|
data?: Paths.CreateAnonymousChatSession.RequestBody,
|
|
1510
|
-
config?: AxiosRequestConfig
|
|
1510
|
+
config?: AxiosRequestConfig
|
|
1511
1511
|
): OperationResponse<Paths.CreateAnonymousChatSession.Responses.$201 | Paths.CreateAnonymousChatSession.Responses.Default>
|
|
1512
1512
|
}
|
|
1513
1513
|
['/v1/messages']: {
|
|
@@ -1517,12 +1517,12 @@ interface PathsDictionary {
|
|
|
1517
1517
|
* TEMPORARILY_UNAVAILABLE means the request outcome could not be checked; retry the same request ID and payload.
|
|
1518
1518
|
* A running request returns 409 IN_PROGRESS; a changed payload returns 409 REQUEST_CONFLICT.
|
|
1519
1519
|
* A failed admitted request never starts another model execution when retried.
|
|
1520
|
-
*
|
|
1520
|
+
*
|
|
1521
1521
|
*/
|
|
1522
1522
|
'post'(
|
|
1523
1523
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1524
1524
|
data?: Paths.SendAnonymousChatMessage.RequestBody,
|
|
1525
|
-
config?: AxiosRequestConfig
|
|
1525
|
+
config?: AxiosRequestConfig
|
|
1526
1526
|
): OperationResponse<Paths.SendAnonymousChatMessage.Responses.$200 | Paths.SendAnonymousChatMessage.Responses.Default>
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ import { C as Client$6 } from './automation.d-2biAmiMc.cjs';
|
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.cjs';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.cjs';
|
|
16
|
-
import { C as Client$a } from './chat.d-
|
|
16
|
+
import { C as Client$a } from './chat.d-0w0TaT-a.cjs';
|
|
17
17
|
import { C as Client$b } from './configuration-hub.d-DhPrjJkE.cjs';
|
|
18
18
|
import { C as Client$c } from './consent.d-C2PROHhX.cjs';
|
|
19
19
|
import { C as Client$d } from './customer-portal.d-DF4g7c3i.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { C as Client$6 } from './automation.d-2biAmiMc.js';
|
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.js';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.js';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.js';
|
|
16
|
-
import { C as Client$a } from './chat.d-
|
|
16
|
+
import { C as Client$a } from './chat.d-0w0TaT-a.js';
|
|
17
17
|
import { C as Client$b } from './configuration-hub.d-DhPrjJkE.js';
|
|
18
18
|
import { C as Client$c } from './consent.d-C2PROHhX.js';
|
|
19
19
|
import { C as Client$d } from './customer-portal.d-DF4g7c3i.js';
|
package/dist/js-yaml-DLCVPJ7G.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/sdk",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.28",
|
|
4
4
|
"description": "JavaScript/TypeScript SDK for epilot APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -328,16 +328,6 @@
|
|
|
328
328
|
},
|
|
329
329
|
"./workflow-definition/openapi.json": "./definitions/workflow-definition.json"
|
|
330
330
|
},
|
|
331
|
-
"scripts": {
|
|
332
|
-
"generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
|
|
333
|
-
"build": "tsup",
|
|
334
|
-
"build:watch": "tsup --watch",
|
|
335
|
-
"test": "vitest run",
|
|
336
|
-
"test:watch": "vitest",
|
|
337
|
-
"lint": "biome check src",
|
|
338
|
-
"lint:fix": "biome check src --fix",
|
|
339
|
-
"prepublishOnly": "npm run build"
|
|
340
|
-
},
|
|
341
331
|
"keywords": [
|
|
342
332
|
"epilot",
|
|
343
333
|
"sdk",
|
|
@@ -534,5 +524,14 @@
|
|
|
534
524
|
"./dist/apis/workflow-definition.d.ts"
|
|
535
525
|
]
|
|
536
526
|
}
|
|
527
|
+
},
|
|
528
|
+
"scripts": {
|
|
529
|
+
"generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
|
|
530
|
+
"build": "tsup",
|
|
531
|
+
"build:watch": "tsup --watch",
|
|
532
|
+
"test": "vitest run",
|
|
533
|
+
"test:watch": "vitest",
|
|
534
|
+
"lint": "biome check src",
|
|
535
|
+
"lint:fix": "biome check src --fix"
|
|
537
536
|
}
|
|
538
|
-
}
|
|
537
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"s":"https://erp-integration-api.sls.epilot.io","o":[["acknowledgeTracking","post","/v1/erp/tracking/acknowledgement",null,1],["triggerErp","post","/v1/erp/trigger",null,1],["processErpUpdatesEvents","post","/v1/erp/updates/events",null,1],["processErpUpdatesEventsV2","post","/v2/erp/updates/events",null,1],["processErpUpdatesEventsV3","post","/v3/erp/updates/events",null,1],["simulateMappingV2","post","/v2/erp/updates/mapping_simulation",null,1],["simulateMapping","post","/v1/erp/updates/mapping_simulation",null,1],["listIntegrations","get","/v1/integrations"],["createIntegration","post","/v1/integrations",null,1],["getIntegration","get","/v1/integrations/{integrationId}",[["integrationId","p",true]]],["updateIntegration","put","/v1/integrations/{integrationId}",[["integrationId","p",true]],1],["deleteIntegration","delete","/v1/integrations/{integrationId}",[["integrationId","p",true]]],["queryEvents","post","/v1/integrations/{integrationId}/events",[["integrationId","p",true]],1],["replayEvents","post","/v1/integrations/{integrationId}/events/replay",[["integrationId","p",true]],1],["listUseCases","get","/v1/integrations/{integrationId}/use-cases",[["integrationId","p",true]]],["createUseCase","post","/v1/integrations/{integrationId}/use-cases",[["integrationId","p",true]],1],["getUseCase","get","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]]],["updateUseCase","put","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]],1],["deleteUseCase","delete","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]]],["listUseCaseHistory","get","/v1/integrations/{integrationId}/use-cases/{useCaseId}/history",[["integrationId","p",true],["useCaseId","p",true],["cursor","q"]]],["listIntegrationsV2","get","/v2/integrations"],["createIntegrationV2","post","/v2/integrations",null,1],["getIntegrationV2","get","/v2/integrations/{integrationId}",[["integrationId","p",true]]],["updateIntegrationV2","put","/v2/integrations/{integrationId}",[["integrationId","p",true]],1],["deleteIntegrationV2","delete","/v2/integrations/{integrationId}",[["integrationId","p",true]]],["setIntegrationAppMapping","put","/v1/integrations/{integrationId}/app-mapping",[["integrationId","p",true]],1],["deleteIntegrationAppMapping","delete","/v1/integrations/{integrationId}/app-mapping",[["integrationId","p",true]],1],["queryInboundMonitoringEvents","post","/v1/integrations/{integrationId}/monitoring/inbound-events",[["integrationId","p",true]],1],["getMonitoringStats","post","/v1/integrations/{integrationId}/monitoring/stats",[["integrationId","p",true]],1],["getMonitoringTimeSeries","post","/v1/integrations/{integrationId}/monitoring/timeseries",[["integrationId","p",true]],1],["getOutboundStatus","get","/v1/integrations/{integrationId}/outbound-status",[["integrationId","p",true]]],["queryAccessLogs","post","/v1/integrations/{integrationId}/monitoring/access-logs",[["integrationId","p",true]],1],["queryOutboundMonitoringEvents","post","/v1/integrations/{integrationId}/monitoring/outbound-events",[["integrationId","p",true]],1],["queryMonitoringEventsV2","post","/v2/integrations/{integrationId}/monitoring/events",[["integrationId","p",true]],1],["getMonitoringStatsV2","post","/v2/integrations/{integrationId}/monitoring/stats",[["integrationId","p",true]],1],["getMonitoringTimeSeriesV2","post","/v2/integrations/{integrationId}/monitoring/time-series",[["integrationId","p",true]],1],["getAssociatedMonitoringEvents","get","/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated",[["integrationId","p",true],["eventId","p",true]]],["listSecureProxies","get","/v1/integrations/secure-proxies"],["secureProxy","post","/v1/secure-proxy",null,1],["managedCallExecute","post","/v1/managed-call/{slug}/execute",[["slug","p",true]],1],["generateTypesPreview","post","/v1/integrations/{integrationId}/generate-types-preview",[["integrationId","p",true]]],["generateTypes","post","/v1/integrations/{integrationId}/generate-types",[["integrationId","p",true]],1],["commitTypes","post","/v1/integrations/{integrationId}/commit-types",[["integrationId","p",true]],1]],"v":"3.0.3"}
|