arky-sdk 0.3.67 → 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,8 +287,7 @@ interface GetCollectionsParams {
285
287
  ids?: string[] | null;
286
288
  }
287
289
  interface GetEntriesParams {
288
- owner?: string | null;
289
- collectionId?: string | null;
290
+ collectionId: string;
290
291
  limit?: number;
291
292
  cursor?: string;
292
293
  ids?: string[] | null;
@@ -300,16 +301,14 @@ interface GetEntriesParams {
300
301
  parentId?: string | null;
301
302
  }
302
303
  interface CreateEntryParams {
303
- owner?: string;
304
- collectionId?: string;
304
+ collectionId: string;
305
305
  blocks: any[];
306
306
  status?: string;
307
307
  [key: string]: any;
308
308
  }
309
309
  interface UpdateEntryParams {
310
+ collectionId: string;
310
311
  id: string;
311
- owner?: string;
312
- collectionId?: string;
313
312
  blocks?: any[];
314
313
  status?: string;
315
314
  [key: string]: any;
@@ -321,6 +320,7 @@ interface GetVariableMetadataParams {
321
320
  entryType: string;
322
321
  }
323
322
  interface SendEntryParams {
323
+ collectionId: string;
324
324
  entryId: string;
325
325
  scheduledAt?: number;
326
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,8 +287,7 @@ interface GetCollectionsParams {
285
287
  ids?: string[] | null;
286
288
  }
287
289
  interface GetEntriesParams {
288
- owner?: string | null;
289
- collectionId?: string | null;
290
+ collectionId: string;
290
291
  limit?: number;
291
292
  cursor?: string;
292
293
  ids?: string[] | null;
@@ -300,16 +301,14 @@ interface GetEntriesParams {
300
301
  parentId?: string | null;
301
302
  }
302
303
  interface CreateEntryParams {
303
- owner?: string;
304
- collectionId?: string;
304
+ collectionId: string;
305
305
  blocks: any[];
306
306
  status?: string;
307
307
  [key: string]: any;
308
308
  }
309
309
  interface UpdateEntryParams {
310
+ collectionId: string;
310
311
  id: string;
311
- owner?: string;
312
- collectionId?: string;
313
312
  blocks?: any[];
314
313
  status?: string;
315
314
  [key: string]: any;
@@ -321,6 +320,7 @@ interface GetVariableMetadataParams {
321
320
  entryType: string;
322
321
  }
323
322
  interface SendEntryParams {
323
+ collectionId: string;
324
324
  entryId: string;
325
325
  scheduledAt?: number;
326
326
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arky-sdk",
3
- "version": "0.3.67",
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",