@cstar.help/js 0.3.1 → 0.3.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.cts CHANGED
@@ -278,7 +278,7 @@ interface Article {
278
278
  slug: string | null;
279
279
  excerpt: string | null;
280
280
  content: string | null;
281
- category: string;
281
+ categoryId: string | null;
282
282
  status: 'draft' | 'published';
283
283
  tags: string[];
284
284
  notes: string | null;
@@ -306,7 +306,7 @@ interface ArticleCreateParams {
306
306
  title: string;
307
307
  content?: string;
308
308
  excerpt?: string;
309
- category?: string;
309
+ categoryId?: string;
310
310
  status?: 'draft' | 'published';
311
311
  tags?: string[];
312
312
  notes?: string;
@@ -320,7 +320,7 @@ interface ArticleUpdateParams {
320
320
  title?: string;
321
321
  content?: string;
322
322
  excerpt?: string;
323
- category?: string;
323
+ categoryId?: string;
324
324
  status?: 'draft' | 'published';
325
325
  tags?: string[];
326
326
  notes?: string;
package/dist/index.d.ts CHANGED
@@ -278,7 +278,7 @@ interface Article {
278
278
  slug: string | null;
279
279
  excerpt: string | null;
280
280
  content: string | null;
281
- category: string;
281
+ categoryId: string | null;
282
282
  status: 'draft' | 'published';
283
283
  tags: string[];
284
284
  notes: string | null;
@@ -306,7 +306,7 @@ interface ArticleCreateParams {
306
306
  title: string;
307
307
  content?: string;
308
308
  excerpt?: string;
309
- category?: string;
309
+ categoryId?: string;
310
310
  status?: 'draft' | 'published';
311
311
  tags?: string[];
312
312
  notes?: string;
@@ -320,7 +320,7 @@ interface ArticleUpdateParams {
320
320
  title?: string;
321
321
  content?: string;
322
322
  excerpt?: string;
323
- category?: string;
323
+ categoryId?: string;
324
324
  status?: 'draft' | 'published';
325
325
  tags?: string[];
326
326
  notes?: string;
@@ -77,7 +77,7 @@ interface Article {
77
77
  slug: string | null;
78
78
  excerpt: string | null;
79
79
  content: string | null;
80
- category: string;
80
+ categoryId: string | null;
81
81
  status: 'draft' | 'published';
82
82
  tags: string[];
83
83
  notes: string | null;
@@ -77,7 +77,7 @@ interface Article {
77
77
  slug: string | null;
78
78
  excerpt: string | null;
79
79
  content: string | null;
80
- category: string;
80
+ categoryId: string | null;
81
81
  status: 'draft' | 'published';
82
82
  tags: string[];
83
83
  notes: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cstar.help/js",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Official TypeScript SDK for the cStar customer support platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",