@erp-galoper/types 1.0.1223 → 1.0.1224

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.
Files changed (2) hide show
  1. package/openapi.ts +20 -11
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -2449,6 +2449,8 @@ export interface paths {
2449
2449
  * - 400:
2450
2450
  * - ValidationError
2451
2451
  * - customFieldDoesNotExist
2452
+ * - TypeUpdateRestricted
2453
+ * - contentTypeDoesNotExist
2452
2454
  * - 403:
2453
2455
  * - permissionDenied
2454
2456
  * - noModuleAccess
@@ -26754,7 +26756,8 @@ export interface components {
26754
26756
  options?: components["schemas"]["Option"][];
26755
26757
  /** Isrequired */
26756
26758
  isRequired: boolean;
26757
- documentContentType?: components["schemas"]["CombinedModelName"] | null;
26759
+ /** Documentcontenttypes */
26760
+ documentContentTypes?: components["schemas"]["CombinedModelName"][];
26758
26761
  };
26759
26762
  /** CreateUpdateCustomField */
26760
26763
  CreateUpdateCustomField: {
@@ -26771,8 +26774,12 @@ export interface components {
26771
26774
  options?: components["schemas"]["Option"][];
26772
26775
  /** Isrequired */
26773
26776
  isRequired: boolean;
26774
- /** @description Must be Omitted in Update */
26775
- documentContentType: components["schemas"]["CombinedModelName"] | null;
26777
+ /**
26778
+ * Documentcontenttypes
26779
+ * @description - List of document types (e.g., `task`, `purchaseOrder`) this custom field definition is attached to.
26780
+ * - Required on Create
26781
+ */
26782
+ documentContentTypes?: components["schemas"]["CombinedModelName"][];
26776
26783
  };
26777
26784
  /**
26778
26785
  * ActionSchema
@@ -37790,8 +37797,7 @@ export interface components {
37790
37797
  * Format: uuid
37791
37798
  */
37792
37799
  id: string;
37793
- /** Fields */
37794
- fields?: components["schemas"]["RetrieveCustomField"][];
37800
+ field: components["schemas"]["RetrieveCustomField"];
37795
37801
  /** Value */
37796
37802
  value: string | string[] | components["schemas"]["Option"][] | Record<string, never> | number | boolean | null;
37797
37803
  documentContentType: components["schemas"]["CombinedModelName"];
@@ -37942,17 +37948,20 @@ export interface components {
37942
37948
  CreateUpdateCustomFieldValues: {
37943
37949
  /**
37944
37950
  * Id
37945
- * @description This field is required when updating an existing custom field value
37951
+ * @description - ID of the custom field value related to the document being updated (e.g., purchaseOrder, task, quotation)
37952
+ * - Required when updating an existing value instance
37953
+ * - Must be omitted for new values.
37946
37954
  */
37947
37955
  id?: string | null;
37948
37956
  /**
37949
- * Fields
37957
+ * Field
37958
+ * Format: uuid
37950
37959
  * @description "
37951
- * - This field is only required in create
37952
- * - Custom field definition is unchangeable
37953
- * - To update the custom field related to it, delete the whole value and create a new one
37960
+ * - UUID of the parent 'Custom Field Definition'
37961
+ * - Required on Create
37962
+ * - The definition linked to a value is unchangeable. To change the custom field definition associated with a value, the existing value must be **deleted** and a new value created with the correct definition ID.
37954
37963
  */
37955
- fields: string[];
37964
+ field?: string;
37956
37965
  /**
37957
37966
  * Value
37958
37967
  * @description - str: visible, required, and editable only when Custom Field type is: text, textarea, url, email, or phone
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1223",
3
+ "version": "1.0.1224",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],