@stackbe/sdk 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1416,7 +1416,14 @@ declare class ProductsClient {
|
|
|
1416
1416
|
interface FeatureRequest {
|
|
1417
1417
|
id: string;
|
|
1418
1418
|
title: string;
|
|
1419
|
+
/** @deprecated Use featureDetails instead */
|
|
1419
1420
|
description?: string;
|
|
1421
|
+
/** What currently happens (the current behavior you want to change) */
|
|
1422
|
+
currentBehavior?: string;
|
|
1423
|
+
/** Detailed description of the requested feature */
|
|
1424
|
+
featureDetails?: string;
|
|
1425
|
+
/** Why this feature is important */
|
|
1426
|
+
whyItMatters?: string;
|
|
1420
1427
|
status: 'new' | 'under_review' | 'planned' | 'in_progress' | 'completed' | 'declined';
|
|
1421
1428
|
category?: string;
|
|
1422
1429
|
authorId: string;
|
|
@@ -1435,10 +1442,17 @@ interface FeatureRequestComment {
|
|
|
1435
1442
|
}
|
|
1436
1443
|
interface CreateFeatureRequestOptions {
|
|
1437
1444
|
title: string;
|
|
1438
|
-
|
|
1445
|
+
/** What currently happens (the current behavior you want to change) */
|
|
1446
|
+
currentBehavior?: string;
|
|
1447
|
+
/** Detailed description of the requested feature */
|
|
1448
|
+
featureDetails?: string;
|
|
1449
|
+
/** Why this feature is important */
|
|
1450
|
+
whyItMatters?: string;
|
|
1439
1451
|
category?: string;
|
|
1440
1452
|
/** Customer ID for server-side creation with API key */
|
|
1441
1453
|
customerId?: string;
|
|
1454
|
+
/** @deprecated Use featureDetails instead */
|
|
1455
|
+
description?: string;
|
|
1442
1456
|
}
|
|
1443
1457
|
interface ListFeatureRequestsOptions {
|
|
1444
1458
|
status?: 'new' | 'under_review' | 'planned' | 'in_progress' | 'completed' | 'declined';
|
|
@@ -1523,14 +1537,16 @@ declare class FeatureRequestsClient {
|
|
|
1523
1537
|
* // With customer session token
|
|
1524
1538
|
* const request = await stackbe.featureRequests.create({
|
|
1525
1539
|
* title: 'Dark mode support',
|
|
1526
|
-
*
|
|
1540
|
+
* currentBehavior: 'The app only has a light theme',
|
|
1541
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1542
|
+
* whyItMatters: 'Reduces eye strain when working at night',
|
|
1527
1543
|
* category: 'UI',
|
|
1528
1544
|
* });
|
|
1529
1545
|
*
|
|
1530
1546
|
* // With API key (server-side)
|
|
1531
1547
|
* const request = await stackbe.featureRequests.create({
|
|
1532
1548
|
* title: 'Dark mode support',
|
|
1533
|
-
*
|
|
1549
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1534
1550
|
* customerId: 'cust_123',
|
|
1535
1551
|
* });
|
|
1536
1552
|
* ```
|
package/dist/index.d.ts
CHANGED
|
@@ -1416,7 +1416,14 @@ declare class ProductsClient {
|
|
|
1416
1416
|
interface FeatureRequest {
|
|
1417
1417
|
id: string;
|
|
1418
1418
|
title: string;
|
|
1419
|
+
/** @deprecated Use featureDetails instead */
|
|
1419
1420
|
description?: string;
|
|
1421
|
+
/** What currently happens (the current behavior you want to change) */
|
|
1422
|
+
currentBehavior?: string;
|
|
1423
|
+
/** Detailed description of the requested feature */
|
|
1424
|
+
featureDetails?: string;
|
|
1425
|
+
/** Why this feature is important */
|
|
1426
|
+
whyItMatters?: string;
|
|
1420
1427
|
status: 'new' | 'under_review' | 'planned' | 'in_progress' | 'completed' | 'declined';
|
|
1421
1428
|
category?: string;
|
|
1422
1429
|
authorId: string;
|
|
@@ -1435,10 +1442,17 @@ interface FeatureRequestComment {
|
|
|
1435
1442
|
}
|
|
1436
1443
|
interface CreateFeatureRequestOptions {
|
|
1437
1444
|
title: string;
|
|
1438
|
-
|
|
1445
|
+
/** What currently happens (the current behavior you want to change) */
|
|
1446
|
+
currentBehavior?: string;
|
|
1447
|
+
/** Detailed description of the requested feature */
|
|
1448
|
+
featureDetails?: string;
|
|
1449
|
+
/** Why this feature is important */
|
|
1450
|
+
whyItMatters?: string;
|
|
1439
1451
|
category?: string;
|
|
1440
1452
|
/** Customer ID for server-side creation with API key */
|
|
1441
1453
|
customerId?: string;
|
|
1454
|
+
/** @deprecated Use featureDetails instead */
|
|
1455
|
+
description?: string;
|
|
1442
1456
|
}
|
|
1443
1457
|
interface ListFeatureRequestsOptions {
|
|
1444
1458
|
status?: 'new' | 'under_review' | 'planned' | 'in_progress' | 'completed' | 'declined';
|
|
@@ -1523,14 +1537,16 @@ declare class FeatureRequestsClient {
|
|
|
1523
1537
|
* // With customer session token
|
|
1524
1538
|
* const request = await stackbe.featureRequests.create({
|
|
1525
1539
|
* title: 'Dark mode support',
|
|
1526
|
-
*
|
|
1540
|
+
* currentBehavior: 'The app only has a light theme',
|
|
1541
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1542
|
+
* whyItMatters: 'Reduces eye strain when working at night',
|
|
1527
1543
|
* category: 'UI',
|
|
1528
1544
|
* });
|
|
1529
1545
|
*
|
|
1530
1546
|
* // With API key (server-side)
|
|
1531
1547
|
* const request = await stackbe.featureRequests.create({
|
|
1532
1548
|
* title: 'Dark mode support',
|
|
1533
|
-
*
|
|
1549
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1534
1550
|
* customerId: 'cust_123',
|
|
1535
1551
|
* });
|
|
1536
1552
|
* ```
|
package/dist/index.js
CHANGED
|
@@ -1541,14 +1541,16 @@ var FeatureRequestsClient = class {
|
|
|
1541
1541
|
* // With customer session token
|
|
1542
1542
|
* const request = await stackbe.featureRequests.create({
|
|
1543
1543
|
* title: 'Dark mode support',
|
|
1544
|
-
*
|
|
1544
|
+
* currentBehavior: 'The app only has a light theme',
|
|
1545
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1546
|
+
* whyItMatters: 'Reduces eye strain when working at night',
|
|
1545
1547
|
* category: 'UI',
|
|
1546
1548
|
* });
|
|
1547
1549
|
*
|
|
1548
1550
|
* // With API key (server-side)
|
|
1549
1551
|
* const request = await stackbe.featureRequests.create({
|
|
1550
1552
|
* title: 'Dark mode support',
|
|
1551
|
-
*
|
|
1553
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1552
1554
|
* customerId: 'cust_123',
|
|
1553
1555
|
* });
|
|
1554
1556
|
* ```
|
package/dist/index.mjs
CHANGED
|
@@ -1502,14 +1502,16 @@ var FeatureRequestsClient = class {
|
|
|
1502
1502
|
* // With customer session token
|
|
1503
1503
|
* const request = await stackbe.featureRequests.create({
|
|
1504
1504
|
* title: 'Dark mode support',
|
|
1505
|
-
*
|
|
1505
|
+
* currentBehavior: 'The app only has a light theme',
|
|
1506
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1507
|
+
* whyItMatters: 'Reduces eye strain when working at night',
|
|
1506
1508
|
* category: 'UI',
|
|
1507
1509
|
* });
|
|
1508
1510
|
*
|
|
1509
1511
|
* // With API key (server-side)
|
|
1510
1512
|
* const request = await stackbe.featureRequests.create({
|
|
1511
1513
|
* title: 'Dark mode support',
|
|
1512
|
-
*
|
|
1514
|
+
* featureDetails: 'Add a toggle to switch between light and dark themes',
|
|
1513
1515
|
* customerId: 'cust_123',
|
|
1514
1516
|
* });
|
|
1515
1517
|
* ```
|
package/package.json
CHANGED