arky-sdk 0.3.68 → 0.3.69

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/types.d.cts CHANGED
@@ -61,9 +61,11 @@ interface CreateCollectionEntryParams {
61
61
  status?: string;
62
62
  }
63
63
  interface GetCollectionEntryParams {
64
+ collectionId: string;
64
65
  id: string;
65
66
  }
66
67
  interface DeleteCollectionEntryParams {
68
+ collectionId: string;
67
69
  id: string;
68
70
  }
69
71
  interface UploadBusinessMediaParams {
@@ -285,7 +287,7 @@ interface GetCollectionsParams {
285
287
  ids?: string[] | null;
286
288
  }
287
289
  interface GetEntriesParams {
288
- collectionId?: string | null;
290
+ collectionId: string;
289
291
  limit?: number;
290
292
  cursor?: string;
291
293
  ids?: string[] | null;
@@ -299,14 +301,14 @@ interface GetEntriesParams {
299
301
  parentId?: string | null;
300
302
  }
301
303
  interface CreateEntryParams {
302
- collectionId?: string;
304
+ collectionId: string;
303
305
  blocks: any[];
304
306
  status?: string;
305
307
  [key: string]: any;
306
308
  }
307
309
  interface UpdateEntryParams {
310
+ collectionId: string;
308
311
  id: string;
309
- collectionId?: string;
310
312
  blocks?: any[];
311
313
  status?: string;
312
314
  [key: string]: any;
@@ -318,6 +320,7 @@ interface GetVariableMetadataParams {
318
320
  entryType: string;
319
321
  }
320
322
  interface SendEntryParams {
323
+ collectionId: string;
321
324
  entryId: string;
322
325
  scheduledAt?: number;
323
326
  }
package/dist/types.d.ts CHANGED
@@ -61,9 +61,11 @@ interface CreateCollectionEntryParams {
61
61
  status?: string;
62
62
  }
63
63
  interface GetCollectionEntryParams {
64
+ collectionId: string;
64
65
  id: string;
65
66
  }
66
67
  interface DeleteCollectionEntryParams {
68
+ collectionId: string;
67
69
  id: string;
68
70
  }
69
71
  interface UploadBusinessMediaParams {
@@ -285,7 +287,7 @@ interface GetCollectionsParams {
285
287
  ids?: string[] | null;
286
288
  }
287
289
  interface GetEntriesParams {
288
- collectionId?: string | null;
290
+ collectionId: string;
289
291
  limit?: number;
290
292
  cursor?: string;
291
293
  ids?: string[] | null;
@@ -299,14 +301,14 @@ interface GetEntriesParams {
299
301
  parentId?: string | null;
300
302
  }
301
303
  interface CreateEntryParams {
302
- collectionId?: string;
304
+ collectionId: string;
303
305
  blocks: any[];
304
306
  status?: string;
305
307
  [key: string]: any;
306
308
  }
307
309
  interface UpdateEntryParams {
310
+ collectionId: string;
308
311
  id: string;
309
- collectionId?: string;
310
312
  blocks?: any[];
311
313
  status?: string;
312
314
  [key: string]: any;
@@ -318,6 +320,7 @@ interface GetVariableMetadataParams {
318
320
  entryType: string;
319
321
  }
320
322
  interface SendEntryParams {
323
+ collectionId: string;
321
324
  entryId: string;
322
325
  scheduledAt?: number;
323
326
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arky-sdk",
3
- "version": "0.3.68",
3
+ "version": "0.3.69",
4
4
  "description": "Official TypeScript SDK for Arky - All-in-one business platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",