@uniformdev/next-app-router 20.72.3-alpha.23 → 20.72.3-alpha.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/dist/cache.js +47 -5
- package/dist/cache.mjs +47 -5
- package/dist/component.js +47 -5
- package/dist/component.mjs +47 -5
- package/dist/handler.js +47 -5
- package/dist/handler.mjs +47 -5
- package/dist/index.esm.js +47 -5
- package/dist/index.js +47 -5
- package/dist/index.mjs +47 -5
- package/dist/middleware.js +47 -5
- package/dist/middleware.mjs +47 -5
- package/package.json +8 -8
package/dist/cache.js
CHANGED
|
@@ -1460,6 +1460,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1460
1460
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1461
1461
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1462
1462
|
var _url22;
|
|
1463
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1464
|
+
constructor(options) {
|
|
1465
|
+
super(options);
|
|
1466
|
+
}
|
|
1467
|
+
/**
|
|
1468
|
+
* Lists notifications for the current user.
|
|
1469
|
+
*
|
|
1470
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1471
|
+
*/
|
|
1472
|
+
async list(options) {
|
|
1473
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1474
|
+
return await this.apiClient(fetchUri);
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* Creates a notification for one or more recipients.
|
|
1478
|
+
*
|
|
1479
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1480
|
+
*/
|
|
1481
|
+
async create(body) {
|
|
1482
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1483
|
+
return await this.apiClient(fetchUri, {
|
|
1484
|
+
method: "POST",
|
|
1485
|
+
body: JSON.stringify(body)
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* Updates the read state of the current user's notifications.
|
|
1490
|
+
*
|
|
1491
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1492
|
+
*/
|
|
1493
|
+
async setReadState(body) {
|
|
1494
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1495
|
+
await this.apiClient(fetchUri, {
|
|
1496
|
+
method: "PATCH",
|
|
1497
|
+
body: JSON.stringify(body),
|
|
1498
|
+
expectNoContent: true
|
|
1499
|
+
});
|
|
1500
|
+
}
|
|
1501
|
+
};
|
|
1502
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1503
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1504
|
+
var _url32;
|
|
1463
1505
|
var _projectsUrl;
|
|
1464
1506
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1465
1507
|
constructor(options) {
|
|
@@ -1467,7 +1509,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1467
1509
|
}
|
|
1468
1510
|
/** Fetches single Project */
|
|
1469
1511
|
async get(options) {
|
|
1470
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1512
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
1471
1513
|
return await this.apiClient(fetchUri);
|
|
1472
1514
|
}
|
|
1473
1515
|
/**
|
|
@@ -1485,7 +1527,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1485
1527
|
}
|
|
1486
1528
|
/** Updates or creates (based on id) a Project */
|
|
1487
1529
|
async save(body) {
|
|
1488
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1530
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1489
1531
|
return await this.apiClient(fetchUri, {
|
|
1490
1532
|
method: "PUT",
|
|
1491
1533
|
body: JSON.stringify({ ...body })
|
|
@@ -1497,7 +1539,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1497
1539
|
}
|
|
1498
1540
|
/** Deletes a Project */
|
|
1499
1541
|
async remove(body) {
|
|
1500
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1542
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1501
1543
|
await this.apiClient(fetchUri, {
|
|
1502
1544
|
method: "DELETE",
|
|
1503
1545
|
body: JSON.stringify({ ...body }),
|
|
@@ -1509,9 +1551,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1509
1551
|
return this.remove(body);
|
|
1510
1552
|
}
|
|
1511
1553
|
};
|
|
1512
|
-
|
|
1554
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
1513
1555
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1514
|
-
__privateAdd3(_ProjectClient,
|
|
1556
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
1515
1557
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1516
1558
|
var ROUTE_URL = "/api/v1/route";
|
|
1517
1559
|
var RouteClient = class extends ApiClient {
|
package/dist/cache.mjs
CHANGED
|
@@ -1447,6 +1447,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1447
1447
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1448
1448
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1449
1449
|
var _url22;
|
|
1450
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1451
|
+
constructor(options) {
|
|
1452
|
+
super(options);
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* Lists notifications for the current user.
|
|
1456
|
+
*
|
|
1457
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1458
|
+
*/
|
|
1459
|
+
async list(options) {
|
|
1460
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1461
|
+
return await this.apiClient(fetchUri);
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* Creates a notification for one or more recipients.
|
|
1465
|
+
*
|
|
1466
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1467
|
+
*/
|
|
1468
|
+
async create(body) {
|
|
1469
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1470
|
+
return await this.apiClient(fetchUri, {
|
|
1471
|
+
method: "POST",
|
|
1472
|
+
body: JSON.stringify(body)
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* Updates the read state of the current user's notifications.
|
|
1477
|
+
*
|
|
1478
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1479
|
+
*/
|
|
1480
|
+
async setReadState(body) {
|
|
1481
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1482
|
+
await this.apiClient(fetchUri, {
|
|
1483
|
+
method: "PATCH",
|
|
1484
|
+
body: JSON.stringify(body),
|
|
1485
|
+
expectNoContent: true
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
1488
|
+
};
|
|
1489
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1490
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1491
|
+
var _url32;
|
|
1450
1492
|
var _projectsUrl;
|
|
1451
1493
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1452
1494
|
constructor(options) {
|
|
@@ -1454,7 +1496,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1454
1496
|
}
|
|
1455
1497
|
/** Fetches single Project */
|
|
1456
1498
|
async get(options) {
|
|
1457
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1499
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
1458
1500
|
return await this.apiClient(fetchUri);
|
|
1459
1501
|
}
|
|
1460
1502
|
/**
|
|
@@ -1472,7 +1514,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1472
1514
|
}
|
|
1473
1515
|
/** Updates or creates (based on id) a Project */
|
|
1474
1516
|
async save(body) {
|
|
1475
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1517
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1476
1518
|
return await this.apiClient(fetchUri, {
|
|
1477
1519
|
method: "PUT",
|
|
1478
1520
|
body: JSON.stringify({ ...body })
|
|
@@ -1484,7 +1526,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1484
1526
|
}
|
|
1485
1527
|
/** Deletes a Project */
|
|
1486
1528
|
async remove(body) {
|
|
1487
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1529
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1488
1530
|
await this.apiClient(fetchUri, {
|
|
1489
1531
|
method: "DELETE",
|
|
1490
1532
|
body: JSON.stringify({ ...body }),
|
|
@@ -1496,9 +1538,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1496
1538
|
return this.remove(body);
|
|
1497
1539
|
}
|
|
1498
1540
|
};
|
|
1499
|
-
|
|
1541
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
1500
1542
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1501
|
-
__privateAdd3(_ProjectClient,
|
|
1543
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
1502
1544
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1503
1545
|
var ROUTE_URL = "/api/v1/route";
|
|
1504
1546
|
var RouteClient = class extends ApiClient {
|
package/dist/component.js
CHANGED
|
@@ -878,6 +878,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
878
878
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
879
879
|
__privateAdd2(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
880
880
|
var _url22;
|
|
881
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
882
|
+
constructor(options) {
|
|
883
|
+
super(options);
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* Lists notifications for the current user.
|
|
887
|
+
*
|
|
888
|
+
* @deprecated This API is experimental and may change without notice.
|
|
889
|
+
*/
|
|
890
|
+
async list(options) {
|
|
891
|
+
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22), options);
|
|
892
|
+
return await this.apiClient(fetchUri);
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* Creates a notification for one or more recipients.
|
|
896
|
+
*
|
|
897
|
+
* @deprecated This API is experimental and may change without notice.
|
|
898
|
+
*/
|
|
899
|
+
async create(body) {
|
|
900
|
+
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
901
|
+
return await this.apiClient(fetchUri, {
|
|
902
|
+
method: "POST",
|
|
903
|
+
body: JSON.stringify(body)
|
|
904
|
+
});
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Updates the read state of the current user's notifications.
|
|
908
|
+
*
|
|
909
|
+
* @deprecated This API is experimental and may change without notice.
|
|
910
|
+
*/
|
|
911
|
+
async setReadState(body) {
|
|
912
|
+
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
913
|
+
await this.apiClient(fetchUri, {
|
|
914
|
+
method: "PATCH",
|
|
915
|
+
body: JSON.stringify(body),
|
|
916
|
+
expectNoContent: true
|
|
917
|
+
});
|
|
918
|
+
}
|
|
919
|
+
};
|
|
920
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
921
|
+
__privateAdd2(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
922
|
+
var _url32;
|
|
881
923
|
var _projectsUrl;
|
|
882
924
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
883
925
|
constructor(options) {
|
|
@@ -885,7 +927,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
885
927
|
}
|
|
886
928
|
/** Fetches single Project */
|
|
887
929
|
async get(options) {
|
|
888
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
930
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url32), { ...options });
|
|
889
931
|
return await this.apiClient(fetchUri);
|
|
890
932
|
}
|
|
891
933
|
/**
|
|
@@ -903,7 +945,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
903
945
|
}
|
|
904
946
|
/** Updates or creates (based on id) a Project */
|
|
905
947
|
async save(body) {
|
|
906
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
948
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url32));
|
|
907
949
|
return await this.apiClient(fetchUri, {
|
|
908
950
|
method: "PUT",
|
|
909
951
|
body: JSON.stringify({ ...body })
|
|
@@ -915,7 +957,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
915
957
|
}
|
|
916
958
|
/** Deletes a Project */
|
|
917
959
|
async remove(body) {
|
|
918
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
960
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url32));
|
|
919
961
|
await this.apiClient(fetchUri, {
|
|
920
962
|
method: "DELETE",
|
|
921
963
|
body: JSON.stringify({ ...body }),
|
|
@@ -927,9 +969,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
927
969
|
return this.remove(body);
|
|
928
970
|
}
|
|
929
971
|
};
|
|
930
|
-
|
|
972
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
931
973
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
932
|
-
__privateAdd2(_ProjectClient,
|
|
974
|
+
__privateAdd2(_ProjectClient, _url32, "/api/v1/project");
|
|
933
975
|
__privateAdd2(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
934
976
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
|
935
977
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
package/dist/component.mjs
CHANGED
|
@@ -863,6 +863,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
863
863
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
864
864
|
__privateAdd2(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
865
865
|
var _url22;
|
|
866
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
867
|
+
constructor(options) {
|
|
868
|
+
super(options);
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* Lists notifications for the current user.
|
|
872
|
+
*
|
|
873
|
+
* @deprecated This API is experimental and may change without notice.
|
|
874
|
+
*/
|
|
875
|
+
async list(options) {
|
|
876
|
+
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22), options);
|
|
877
|
+
return await this.apiClient(fetchUri);
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Creates a notification for one or more recipients.
|
|
881
|
+
*
|
|
882
|
+
* @deprecated This API is experimental and may change without notice.
|
|
883
|
+
*/
|
|
884
|
+
async create(body) {
|
|
885
|
+
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
886
|
+
return await this.apiClient(fetchUri, {
|
|
887
|
+
method: "POST",
|
|
888
|
+
body: JSON.stringify(body)
|
|
889
|
+
});
|
|
890
|
+
}
|
|
891
|
+
/**
|
|
892
|
+
* Updates the read state of the current user's notifications.
|
|
893
|
+
*
|
|
894
|
+
* @deprecated This API is experimental and may change without notice.
|
|
895
|
+
*/
|
|
896
|
+
async setReadState(body) {
|
|
897
|
+
const fetchUri = this.createUrl(__privateGet2(_NotificationsClient2, _url22));
|
|
898
|
+
await this.apiClient(fetchUri, {
|
|
899
|
+
method: "PATCH",
|
|
900
|
+
body: JSON.stringify(body),
|
|
901
|
+
expectNoContent: true
|
|
902
|
+
});
|
|
903
|
+
}
|
|
904
|
+
};
|
|
905
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
906
|
+
__privateAdd2(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
907
|
+
var _url32;
|
|
866
908
|
var _projectsUrl;
|
|
867
909
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
868
910
|
constructor(options) {
|
|
@@ -870,7 +912,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
870
912
|
}
|
|
871
913
|
/** Fetches single Project */
|
|
872
914
|
async get(options) {
|
|
873
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
915
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url32), { ...options });
|
|
874
916
|
return await this.apiClient(fetchUri);
|
|
875
917
|
}
|
|
876
918
|
/**
|
|
@@ -888,7 +930,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
888
930
|
}
|
|
889
931
|
/** Updates or creates (based on id) a Project */
|
|
890
932
|
async save(body) {
|
|
891
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
933
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url32));
|
|
892
934
|
return await this.apiClient(fetchUri, {
|
|
893
935
|
method: "PUT",
|
|
894
936
|
body: JSON.stringify({ ...body })
|
|
@@ -900,7 +942,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
900
942
|
}
|
|
901
943
|
/** Deletes a Project */
|
|
902
944
|
async remove(body) {
|
|
903
|
-
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2,
|
|
945
|
+
const fetchUri = this.createUrl(__privateGet2(_ProjectClient2, _url32));
|
|
904
946
|
await this.apiClient(fetchUri, {
|
|
905
947
|
method: "DELETE",
|
|
906
948
|
body: JSON.stringify({ ...body }),
|
|
@@ -912,9 +954,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
912
954
|
return this.remove(body);
|
|
913
955
|
}
|
|
914
956
|
};
|
|
915
|
-
|
|
957
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
916
958
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
917
|
-
__privateAdd2(_ProjectClient,
|
|
959
|
+
__privateAdd2(_ProjectClient, _url32, "/api/v1/project");
|
|
918
960
|
__privateAdd2(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
919
961
|
var ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
|
|
920
962
|
var ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
|
package/dist/handler.js
CHANGED
|
@@ -1626,6 +1626,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1626
1626
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1627
1627
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1628
1628
|
var _url22;
|
|
1629
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1630
|
+
constructor(options) {
|
|
1631
|
+
super(options);
|
|
1632
|
+
}
|
|
1633
|
+
/**
|
|
1634
|
+
* Lists notifications for the current user.
|
|
1635
|
+
*
|
|
1636
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1637
|
+
*/
|
|
1638
|
+
async list(options) {
|
|
1639
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1640
|
+
return await this.apiClient(fetchUri);
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* Creates a notification for one or more recipients.
|
|
1644
|
+
*
|
|
1645
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1646
|
+
*/
|
|
1647
|
+
async create(body) {
|
|
1648
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1649
|
+
return await this.apiClient(fetchUri, {
|
|
1650
|
+
method: "POST",
|
|
1651
|
+
body: JSON.stringify(body)
|
|
1652
|
+
});
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* Updates the read state of the current user's notifications.
|
|
1656
|
+
*
|
|
1657
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1658
|
+
*/
|
|
1659
|
+
async setReadState(body) {
|
|
1660
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1661
|
+
await this.apiClient(fetchUri, {
|
|
1662
|
+
method: "PATCH",
|
|
1663
|
+
body: JSON.stringify(body),
|
|
1664
|
+
expectNoContent: true
|
|
1665
|
+
});
|
|
1666
|
+
}
|
|
1667
|
+
};
|
|
1668
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1669
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1670
|
+
var _url32;
|
|
1629
1671
|
var _projectsUrl;
|
|
1630
1672
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1631
1673
|
constructor(options) {
|
|
@@ -1633,7 +1675,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1633
1675
|
}
|
|
1634
1676
|
/** Fetches single Project */
|
|
1635
1677
|
async get(options) {
|
|
1636
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1678
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
1637
1679
|
return await this.apiClient(fetchUri);
|
|
1638
1680
|
}
|
|
1639
1681
|
/**
|
|
@@ -1651,7 +1693,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1651
1693
|
}
|
|
1652
1694
|
/** Updates or creates (based on id) a Project */
|
|
1653
1695
|
async save(body) {
|
|
1654
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1696
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1655
1697
|
return await this.apiClient(fetchUri, {
|
|
1656
1698
|
method: "PUT",
|
|
1657
1699
|
body: JSON.stringify({ ...body })
|
|
@@ -1663,7 +1705,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1663
1705
|
}
|
|
1664
1706
|
/** Deletes a Project */
|
|
1665
1707
|
async remove(body) {
|
|
1666
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1708
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1667
1709
|
await this.apiClient(fetchUri, {
|
|
1668
1710
|
method: "DELETE",
|
|
1669
1711
|
body: JSON.stringify({ ...body }),
|
|
@@ -1675,9 +1717,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1675
1717
|
return this.remove(body);
|
|
1676
1718
|
}
|
|
1677
1719
|
};
|
|
1678
|
-
|
|
1720
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
1679
1721
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1680
|
-
__privateAdd3(_ProjectClient,
|
|
1722
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
1681
1723
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1682
1724
|
var isAllowedReferrer = (referrer) => {
|
|
1683
1725
|
return Boolean(
|
package/dist/handler.mjs
CHANGED
|
@@ -1611,6 +1611,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
1611
1611
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
1612
1612
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
1613
1613
|
var _url22;
|
|
1614
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
1615
|
+
constructor(options) {
|
|
1616
|
+
super(options);
|
|
1617
|
+
}
|
|
1618
|
+
/**
|
|
1619
|
+
* Lists notifications for the current user.
|
|
1620
|
+
*
|
|
1621
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1622
|
+
*/
|
|
1623
|
+
async list(options) {
|
|
1624
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
1625
|
+
return await this.apiClient(fetchUri);
|
|
1626
|
+
}
|
|
1627
|
+
/**
|
|
1628
|
+
* Creates a notification for one or more recipients.
|
|
1629
|
+
*
|
|
1630
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1631
|
+
*/
|
|
1632
|
+
async create(body) {
|
|
1633
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1634
|
+
return await this.apiClient(fetchUri, {
|
|
1635
|
+
method: "POST",
|
|
1636
|
+
body: JSON.stringify(body)
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* Updates the read state of the current user's notifications.
|
|
1641
|
+
*
|
|
1642
|
+
* @deprecated This API is experimental and may change without notice.
|
|
1643
|
+
*/
|
|
1644
|
+
async setReadState(body) {
|
|
1645
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
1646
|
+
await this.apiClient(fetchUri, {
|
|
1647
|
+
method: "PATCH",
|
|
1648
|
+
body: JSON.stringify(body),
|
|
1649
|
+
expectNoContent: true
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
};
|
|
1653
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
1654
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
1655
|
+
var _url32;
|
|
1614
1656
|
var _projectsUrl;
|
|
1615
1657
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
1616
1658
|
constructor(options) {
|
|
@@ -1618,7 +1660,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1618
1660
|
}
|
|
1619
1661
|
/** Fetches single Project */
|
|
1620
1662
|
async get(options) {
|
|
1621
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1663
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
1622
1664
|
return await this.apiClient(fetchUri);
|
|
1623
1665
|
}
|
|
1624
1666
|
/**
|
|
@@ -1636,7 +1678,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1636
1678
|
}
|
|
1637
1679
|
/** Updates or creates (based on id) a Project */
|
|
1638
1680
|
async save(body) {
|
|
1639
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1681
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1640
1682
|
return await this.apiClient(fetchUri, {
|
|
1641
1683
|
method: "PUT",
|
|
1642
1684
|
body: JSON.stringify({ ...body })
|
|
@@ -1648,7 +1690,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1648
1690
|
}
|
|
1649
1691
|
/** Deletes a Project */
|
|
1650
1692
|
async remove(body) {
|
|
1651
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
1693
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
1652
1694
|
await this.apiClient(fetchUri, {
|
|
1653
1695
|
method: "DELETE",
|
|
1654
1696
|
body: JSON.stringify({ ...body }),
|
|
@@ -1660,9 +1702,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
1660
1702
|
return this.remove(body);
|
|
1661
1703
|
}
|
|
1662
1704
|
};
|
|
1663
|
-
|
|
1705
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
1664
1706
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
1665
|
-
__privateAdd3(_ProjectClient,
|
|
1707
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
1666
1708
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
1667
1709
|
var isAllowedReferrer = (referrer) => {
|
|
1668
1710
|
return Boolean(
|
package/dist/index.esm.js
CHANGED
|
@@ -2100,6 +2100,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2100
2100
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2101
2101
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2102
2102
|
var _url22;
|
|
2103
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2104
|
+
constructor(options) {
|
|
2105
|
+
super(options);
|
|
2106
|
+
}
|
|
2107
|
+
/**
|
|
2108
|
+
* Lists notifications for the current user.
|
|
2109
|
+
*
|
|
2110
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2111
|
+
*/
|
|
2112
|
+
async list(options) {
|
|
2113
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2114
|
+
return await this.apiClient(fetchUri);
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* Creates a notification for one or more recipients.
|
|
2118
|
+
*
|
|
2119
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2120
|
+
*/
|
|
2121
|
+
async create(body) {
|
|
2122
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2123
|
+
return await this.apiClient(fetchUri, {
|
|
2124
|
+
method: "POST",
|
|
2125
|
+
body: JSON.stringify(body)
|
|
2126
|
+
});
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* Updates the read state of the current user's notifications.
|
|
2130
|
+
*
|
|
2131
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2132
|
+
*/
|
|
2133
|
+
async setReadState(body) {
|
|
2134
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2135
|
+
await this.apiClient(fetchUri, {
|
|
2136
|
+
method: "PATCH",
|
|
2137
|
+
body: JSON.stringify(body),
|
|
2138
|
+
expectNoContent: true
|
|
2139
|
+
});
|
|
2140
|
+
}
|
|
2141
|
+
};
|
|
2142
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2143
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2144
|
+
var _url32;
|
|
2103
2145
|
var _projectsUrl;
|
|
2104
2146
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2105
2147
|
constructor(options) {
|
|
@@ -2107,7 +2149,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2107
2149
|
}
|
|
2108
2150
|
/** Fetches single Project */
|
|
2109
2151
|
async get(options) {
|
|
2110
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2152
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
2111
2153
|
return await this.apiClient(fetchUri);
|
|
2112
2154
|
}
|
|
2113
2155
|
/**
|
|
@@ -2125,7 +2167,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2125
2167
|
}
|
|
2126
2168
|
/** Updates or creates (based on id) a Project */
|
|
2127
2169
|
async save(body) {
|
|
2128
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2170
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2129
2171
|
return await this.apiClient(fetchUri, {
|
|
2130
2172
|
method: "PUT",
|
|
2131
2173
|
body: JSON.stringify({ ...body })
|
|
@@ -2137,7 +2179,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2137
2179
|
}
|
|
2138
2180
|
/** Deletes a Project */
|
|
2139
2181
|
async remove(body) {
|
|
2140
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2182
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2141
2183
|
await this.apiClient(fetchUri, {
|
|
2142
2184
|
method: "DELETE",
|
|
2143
2185
|
body: JSON.stringify({ ...body }),
|
|
@@ -2149,9 +2191,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2149
2191
|
return this.remove(body);
|
|
2150
2192
|
}
|
|
2151
2193
|
};
|
|
2152
|
-
|
|
2194
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
2153
2195
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2154
|
-
__privateAdd3(_ProjectClient,
|
|
2196
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
2155
2197
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2156
2198
|
var ROUTE_URL = "/api/v1/route";
|
|
2157
2199
|
var RouteClient = class extends ApiClient {
|
package/dist/index.js
CHANGED
|
@@ -2128,6 +2128,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2128
2128
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2129
2129
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2130
2130
|
var _url22;
|
|
2131
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2132
|
+
constructor(options) {
|
|
2133
|
+
super(options);
|
|
2134
|
+
}
|
|
2135
|
+
/**
|
|
2136
|
+
* Lists notifications for the current user.
|
|
2137
|
+
*
|
|
2138
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2139
|
+
*/
|
|
2140
|
+
async list(options) {
|
|
2141
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2142
|
+
return await this.apiClient(fetchUri);
|
|
2143
|
+
}
|
|
2144
|
+
/**
|
|
2145
|
+
* Creates a notification for one or more recipients.
|
|
2146
|
+
*
|
|
2147
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2148
|
+
*/
|
|
2149
|
+
async create(body) {
|
|
2150
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2151
|
+
return await this.apiClient(fetchUri, {
|
|
2152
|
+
method: "POST",
|
|
2153
|
+
body: JSON.stringify(body)
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
2156
|
+
/**
|
|
2157
|
+
* Updates the read state of the current user's notifications.
|
|
2158
|
+
*
|
|
2159
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2160
|
+
*/
|
|
2161
|
+
async setReadState(body) {
|
|
2162
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2163
|
+
await this.apiClient(fetchUri, {
|
|
2164
|
+
method: "PATCH",
|
|
2165
|
+
body: JSON.stringify(body),
|
|
2166
|
+
expectNoContent: true
|
|
2167
|
+
});
|
|
2168
|
+
}
|
|
2169
|
+
};
|
|
2170
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2171
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2172
|
+
var _url32;
|
|
2131
2173
|
var _projectsUrl;
|
|
2132
2174
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2133
2175
|
constructor(options) {
|
|
@@ -2135,7 +2177,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2135
2177
|
}
|
|
2136
2178
|
/** Fetches single Project */
|
|
2137
2179
|
async get(options) {
|
|
2138
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2180
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
2139
2181
|
return await this.apiClient(fetchUri);
|
|
2140
2182
|
}
|
|
2141
2183
|
/**
|
|
@@ -2153,7 +2195,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2153
2195
|
}
|
|
2154
2196
|
/** Updates or creates (based on id) a Project */
|
|
2155
2197
|
async save(body) {
|
|
2156
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2198
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2157
2199
|
return await this.apiClient(fetchUri, {
|
|
2158
2200
|
method: "PUT",
|
|
2159
2201
|
body: JSON.stringify({ ...body })
|
|
@@ -2165,7 +2207,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2165
2207
|
}
|
|
2166
2208
|
/** Deletes a Project */
|
|
2167
2209
|
async remove(body) {
|
|
2168
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2210
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2169
2211
|
await this.apiClient(fetchUri, {
|
|
2170
2212
|
method: "DELETE",
|
|
2171
2213
|
body: JSON.stringify({ ...body }),
|
|
@@ -2177,9 +2219,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2177
2219
|
return this.remove(body);
|
|
2178
2220
|
}
|
|
2179
2221
|
};
|
|
2180
|
-
|
|
2222
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
2181
2223
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2182
|
-
__privateAdd3(_ProjectClient,
|
|
2224
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
2183
2225
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2184
2226
|
var ROUTE_URL = "/api/v1/route";
|
|
2185
2227
|
var RouteClient = class extends ApiClient {
|
package/dist/index.mjs
CHANGED
|
@@ -2100,6 +2100,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2100
2100
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2101
2101
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2102
2102
|
var _url22;
|
|
2103
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2104
|
+
constructor(options) {
|
|
2105
|
+
super(options);
|
|
2106
|
+
}
|
|
2107
|
+
/**
|
|
2108
|
+
* Lists notifications for the current user.
|
|
2109
|
+
*
|
|
2110
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2111
|
+
*/
|
|
2112
|
+
async list(options) {
|
|
2113
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2114
|
+
return await this.apiClient(fetchUri);
|
|
2115
|
+
}
|
|
2116
|
+
/**
|
|
2117
|
+
* Creates a notification for one or more recipients.
|
|
2118
|
+
*
|
|
2119
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2120
|
+
*/
|
|
2121
|
+
async create(body) {
|
|
2122
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2123
|
+
return await this.apiClient(fetchUri, {
|
|
2124
|
+
method: "POST",
|
|
2125
|
+
body: JSON.stringify(body)
|
|
2126
|
+
});
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* Updates the read state of the current user's notifications.
|
|
2130
|
+
*
|
|
2131
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2132
|
+
*/
|
|
2133
|
+
async setReadState(body) {
|
|
2134
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2135
|
+
await this.apiClient(fetchUri, {
|
|
2136
|
+
method: "PATCH",
|
|
2137
|
+
body: JSON.stringify(body),
|
|
2138
|
+
expectNoContent: true
|
|
2139
|
+
});
|
|
2140
|
+
}
|
|
2141
|
+
};
|
|
2142
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2143
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2144
|
+
var _url32;
|
|
2103
2145
|
var _projectsUrl;
|
|
2104
2146
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2105
2147
|
constructor(options) {
|
|
@@ -2107,7 +2149,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2107
2149
|
}
|
|
2108
2150
|
/** Fetches single Project */
|
|
2109
2151
|
async get(options) {
|
|
2110
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2152
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
2111
2153
|
return await this.apiClient(fetchUri);
|
|
2112
2154
|
}
|
|
2113
2155
|
/**
|
|
@@ -2125,7 +2167,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2125
2167
|
}
|
|
2126
2168
|
/** Updates or creates (based on id) a Project */
|
|
2127
2169
|
async save(body) {
|
|
2128
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2170
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2129
2171
|
return await this.apiClient(fetchUri, {
|
|
2130
2172
|
method: "PUT",
|
|
2131
2173
|
body: JSON.stringify({ ...body })
|
|
@@ -2137,7 +2179,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2137
2179
|
}
|
|
2138
2180
|
/** Deletes a Project */
|
|
2139
2181
|
async remove(body) {
|
|
2140
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2182
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2141
2183
|
await this.apiClient(fetchUri, {
|
|
2142
2184
|
method: "DELETE",
|
|
2143
2185
|
body: JSON.stringify({ ...body }),
|
|
@@ -2149,9 +2191,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2149
2191
|
return this.remove(body);
|
|
2150
2192
|
}
|
|
2151
2193
|
};
|
|
2152
|
-
|
|
2194
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
2153
2195
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2154
|
-
__privateAdd3(_ProjectClient,
|
|
2196
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
2155
2197
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2156
2198
|
var ROUTE_URL = "/api/v1/route";
|
|
2157
2199
|
var RouteClient = class extends ApiClient {
|
package/dist/middleware.js
CHANGED
|
@@ -2315,6 +2315,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2315
2315
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2316
2316
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2317
2317
|
var _url22;
|
|
2318
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2319
|
+
constructor(options) {
|
|
2320
|
+
super(options);
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* Lists notifications for the current user.
|
|
2324
|
+
*
|
|
2325
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2326
|
+
*/
|
|
2327
|
+
async list(options) {
|
|
2328
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2329
|
+
return await this.apiClient(fetchUri);
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* Creates a notification for one or more recipients.
|
|
2333
|
+
*
|
|
2334
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2335
|
+
*/
|
|
2336
|
+
async create(body) {
|
|
2337
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2338
|
+
return await this.apiClient(fetchUri, {
|
|
2339
|
+
method: "POST",
|
|
2340
|
+
body: JSON.stringify(body)
|
|
2341
|
+
});
|
|
2342
|
+
}
|
|
2343
|
+
/**
|
|
2344
|
+
* Updates the read state of the current user's notifications.
|
|
2345
|
+
*
|
|
2346
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2347
|
+
*/
|
|
2348
|
+
async setReadState(body) {
|
|
2349
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2350
|
+
await this.apiClient(fetchUri, {
|
|
2351
|
+
method: "PATCH",
|
|
2352
|
+
body: JSON.stringify(body),
|
|
2353
|
+
expectNoContent: true
|
|
2354
|
+
});
|
|
2355
|
+
}
|
|
2356
|
+
};
|
|
2357
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2358
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2359
|
+
var _url32;
|
|
2318
2360
|
var _projectsUrl;
|
|
2319
2361
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2320
2362
|
constructor(options) {
|
|
@@ -2322,7 +2364,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2322
2364
|
}
|
|
2323
2365
|
/** Fetches single Project */
|
|
2324
2366
|
async get(options) {
|
|
2325
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2367
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
2326
2368
|
return await this.apiClient(fetchUri);
|
|
2327
2369
|
}
|
|
2328
2370
|
/**
|
|
@@ -2340,7 +2382,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2340
2382
|
}
|
|
2341
2383
|
/** Updates or creates (based on id) a Project */
|
|
2342
2384
|
async save(body) {
|
|
2343
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2385
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2344
2386
|
return await this.apiClient(fetchUri, {
|
|
2345
2387
|
method: "PUT",
|
|
2346
2388
|
body: JSON.stringify({ ...body })
|
|
@@ -2352,7 +2394,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2352
2394
|
}
|
|
2353
2395
|
/** Deletes a Project */
|
|
2354
2396
|
async remove(body) {
|
|
2355
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2397
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2356
2398
|
await this.apiClient(fetchUri, {
|
|
2357
2399
|
method: "DELETE",
|
|
2358
2400
|
body: JSON.stringify({ ...body }),
|
|
@@ -2364,9 +2406,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2364
2406
|
return this.remove(body);
|
|
2365
2407
|
}
|
|
2366
2408
|
};
|
|
2367
|
-
|
|
2409
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
2368
2410
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2369
|
-
__privateAdd3(_ProjectClient,
|
|
2411
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
2370
2412
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2371
2413
|
var ROUTE_URL = "/api/v1/route";
|
|
2372
2414
|
var RouteClient = class extends ApiClient {
|
package/dist/middleware.mjs
CHANGED
|
@@ -2300,6 +2300,48 @@ var _IntegrationPropertyEditorsClient = class _IntegrationPropertyEditorsClient2
|
|
|
2300
2300
|
_baseUrl = /* @__PURE__ */ new WeakMap();
|
|
2301
2301
|
__privateAdd3(_IntegrationPropertyEditorsClient, _baseUrl, "/api/v1/integration-property-editors");
|
|
2302
2302
|
var _url22;
|
|
2303
|
+
var _NotificationsClient = class _NotificationsClient2 extends ApiClient {
|
|
2304
|
+
constructor(options) {
|
|
2305
|
+
super(options);
|
|
2306
|
+
}
|
|
2307
|
+
/**
|
|
2308
|
+
* Lists notifications for the current user.
|
|
2309
|
+
*
|
|
2310
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2311
|
+
*/
|
|
2312
|
+
async list(options) {
|
|
2313
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22), options);
|
|
2314
|
+
return await this.apiClient(fetchUri);
|
|
2315
|
+
}
|
|
2316
|
+
/**
|
|
2317
|
+
* Creates a notification for one or more recipients.
|
|
2318
|
+
*
|
|
2319
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2320
|
+
*/
|
|
2321
|
+
async create(body) {
|
|
2322
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2323
|
+
return await this.apiClient(fetchUri, {
|
|
2324
|
+
method: "POST",
|
|
2325
|
+
body: JSON.stringify(body)
|
|
2326
|
+
});
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* Updates the read state of the current user's notifications.
|
|
2330
|
+
*
|
|
2331
|
+
* @deprecated This API is experimental and may change without notice.
|
|
2332
|
+
*/
|
|
2333
|
+
async setReadState(body) {
|
|
2334
|
+
const fetchUri = this.createUrl(__privateGet3(_NotificationsClient2, _url22));
|
|
2335
|
+
await this.apiClient(fetchUri, {
|
|
2336
|
+
method: "PATCH",
|
|
2337
|
+
body: JSON.stringify(body),
|
|
2338
|
+
expectNoContent: true
|
|
2339
|
+
});
|
|
2340
|
+
}
|
|
2341
|
+
};
|
|
2342
|
+
_url22 = /* @__PURE__ */ new WeakMap();
|
|
2343
|
+
__privateAdd3(_NotificationsClient, _url22, "/api/v1/notifications");
|
|
2344
|
+
var _url32;
|
|
2303
2345
|
var _projectsUrl;
|
|
2304
2346
|
var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
2305
2347
|
constructor(options) {
|
|
@@ -2307,7 +2349,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2307
2349
|
}
|
|
2308
2350
|
/** Fetches single Project */
|
|
2309
2351
|
async get(options) {
|
|
2310
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2352
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32), { ...options });
|
|
2311
2353
|
return await this.apiClient(fetchUri);
|
|
2312
2354
|
}
|
|
2313
2355
|
/**
|
|
@@ -2325,7 +2367,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2325
2367
|
}
|
|
2326
2368
|
/** Updates or creates (based on id) a Project */
|
|
2327
2369
|
async save(body) {
|
|
2328
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2370
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2329
2371
|
return await this.apiClient(fetchUri, {
|
|
2330
2372
|
method: "PUT",
|
|
2331
2373
|
body: JSON.stringify({ ...body })
|
|
@@ -2337,7 +2379,7 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2337
2379
|
}
|
|
2338
2380
|
/** Deletes a Project */
|
|
2339
2381
|
async remove(body) {
|
|
2340
|
-
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2,
|
|
2382
|
+
const fetchUri = this.createUrl(__privateGet3(_ProjectClient2, _url32));
|
|
2341
2383
|
await this.apiClient(fetchUri, {
|
|
2342
2384
|
method: "DELETE",
|
|
2343
2385
|
body: JSON.stringify({ ...body }),
|
|
@@ -2349,9 +2391,9 @@ var _ProjectClient = class _ProjectClient2 extends ApiClient {
|
|
|
2349
2391
|
return this.remove(body);
|
|
2350
2392
|
}
|
|
2351
2393
|
};
|
|
2352
|
-
|
|
2394
|
+
_url32 = /* @__PURE__ */ new WeakMap();
|
|
2353
2395
|
_projectsUrl = /* @__PURE__ */ new WeakMap();
|
|
2354
|
-
__privateAdd3(_ProjectClient,
|
|
2396
|
+
__privateAdd3(_ProjectClient, _url32, "/api/v1/project");
|
|
2355
2397
|
__privateAdd3(_ProjectClient, _projectsUrl, "/api/v1/projects");
|
|
2356
2398
|
var ROUTE_URL = "/api/v1/route";
|
|
2357
2399
|
var RouteClient = class extends ApiClient {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/next-app-router",
|
|
3
|
-
"version": "20.72.3-alpha.
|
|
3
|
+
"version": "20.72.3-alpha.25+cd10fe6e1e",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
"vitest": "4.1.9"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@uniformdev/canvas-react": "20.72.3-alpha.
|
|
102
|
-
"@uniformdev/next-app-router-client": "20.72.3-alpha.
|
|
103
|
-
"@uniformdev/next-app-router-shared": "20.72.3-alpha.
|
|
104
|
-
"@uniformdev/redirect": "20.72.3-alpha.
|
|
105
|
-
"@uniformdev/richtext": "20.72.3-alpha.
|
|
106
|
-
"@uniformdev/webhooks": "20.72.3-alpha.
|
|
101
|
+
"@uniformdev/canvas-react": "20.72.3-alpha.25+cd10fe6e1e",
|
|
102
|
+
"@uniformdev/next-app-router-client": "20.72.3-alpha.25+cd10fe6e1e",
|
|
103
|
+
"@uniformdev/next-app-router-shared": "20.72.3-alpha.25+cd10fe6e1e",
|
|
104
|
+
"@uniformdev/redirect": "20.72.3-alpha.25+cd10fe6e1e",
|
|
105
|
+
"@uniformdev/richtext": "20.72.3-alpha.25+cd10fe6e1e",
|
|
106
|
+
"@uniformdev/webhooks": "20.72.3-alpha.25+cd10fe6e1e",
|
|
107
107
|
"@vercel/functions": "^3.7.2",
|
|
108
108
|
"encoding": "^0.1.13",
|
|
109
109
|
"server-only": "^0.0.1",
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"publishConfig": {
|
|
121
121
|
"access": "public"
|
|
122
122
|
},
|
|
123
|
-
"gitHead": "
|
|
123
|
+
"gitHead": "cd10fe6e1e8877ed1ec45290d74ac160d597e84e"
|
|
124
124
|
}
|