@unito/integration-api 0.43.6 → 0.43.7

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.
@@ -327,6 +327,21 @@ export interface RelationSchema {
327
327
  */
328
328
  relations?: RelationSummary[];
329
329
  }
330
+ /**
331
+ * A CreateItemRequestPayload describes the shape of a request on an item creation endpoint.
332
+ */
333
+ export type CreateItemRequestPayload = Record<string, unknown>;
334
+ /**
335
+ * A UpdateItemRequestPayload describes the shape of a request on an item update endpoint.
336
+ */
337
+ export type UpdateItemRequestPayload = CreateItemRequestPayload & {
338
+ __meta?: {
339
+ additionalField: {
340
+ relationName: string;
341
+ field: BasicFieldSchema;
342
+ };
343
+ };
344
+ };
330
345
  /**
331
346
  * A Request Schema describes how a path should be accessed.
332
347
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.43.6",
3
+ "version": "0.43.7",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",