@collective-intelligence/external-apps-server-sdk 0.1.8 → 0.1.9

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.
@@ -385,6 +385,8 @@ export type ResourceCapabilities = Readonly<{
385
385
  search: true;
386
386
  softDelete?: boolean;
387
387
  update?: boolean;
388
+ /** File uploads for the File fields of a common entity resource. */
389
+ upload?: boolean;
388
390
  }>;
389
391
  export type ResourcePaginationMode = "cursor" | "page";
390
392
  export type PortableResourceSchema = Readonly<Record<string, ResourceJsonValue>>;
@@ -456,7 +458,9 @@ export type ResourceListQuery = Readonly<{
456
458
  sort?: readonly ResourceSort[];
457
459
  textSearch?: string;
458
460
  }>;
459
- export type ResourceErrorCode = "capability_not_supported" | "conflict" | "forbidden" | "internal" | "invalid_request" | "not_found" | "rate_limited" | "transport_error" | "unauthenticated" | "unavailable";
461
+ export type ResourceErrorCode = "capability_not_supported" | "conflict" | "forbidden" | "internal" | "invalid_request" | "not_found" | "rate_limited" | "transport_error" | "unauthenticated" | "unavailable" |
462
+ /** The CI Organization storage can not take a presigned File upload. */
463
+ "upload_not_supported";
460
464
  export type ResourceError = Readonly<{
461
465
  code: ResourceErrorCode;
462
466
  /** Client-observed dispatch outcome; uncertainty never proves rollback. */