@erp-galoper/types 1.0.1223 → 1.0.1225

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 +37 -12
  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
@@ -20362,7 +20364,23 @@ export interface paths {
20362
20364
  path?: never;
20363
20365
  cookie?: never;
20364
20366
  };
20365
- /** Notification Stream */
20367
+ /**
20368
+ * Notification Stream
20369
+ * @description "
20370
+ * GET /stream/
20371
+ * For inGaloper enabled notifications
20372
+ *
20373
+ * Provides a real-time Server-Sent Events (SSE) stream for user-specific notifications.
20374
+ * This endpoint acts as a persistent bridge between the Redis Pub/Sub backend and
20375
+ * the client's browser
20376
+ *
20377
+ * How SSE works >>>
20378
+ * - Client initiates a GET request; the server validates permissions
20379
+ * - Upon success, a persistent HTTP connection is opened, subscribing to the Redis channel unique for request user
20380
+ * - An initial `{"type":"connected"}` JSON payload is sent immediately to confirm the stream is active.
20381
+ * - The server runs an asynchronous loop, yielding any messages published to Redis directly to the client in SSE format.
20382
+ * - The server monitors for client-side disconnection, and cleans up Redis subscriptions automatically.
20383
+ */
20366
20384
  get: operations["notification_views_notification_stream"];
20367
20385
  put?: never;
20368
20386
  post?: never;
@@ -26754,7 +26772,8 @@ export interface components {
26754
26772
  options?: components["schemas"]["Option"][];
26755
26773
  /** Isrequired */
26756
26774
  isRequired: boolean;
26757
- documentContentType?: components["schemas"]["CombinedModelName"] | null;
26775
+ /** Documentcontenttypes */
26776
+ documentContentTypes?: components["schemas"]["CombinedModelName"][];
26758
26777
  };
26759
26778
  /** CreateUpdateCustomField */
26760
26779
  CreateUpdateCustomField: {
@@ -26771,8 +26790,12 @@ export interface components {
26771
26790
  options?: components["schemas"]["Option"][];
26772
26791
  /** Isrequired */
26773
26792
  isRequired: boolean;
26774
- /** @description Must be Omitted in Update */
26775
- documentContentType: components["schemas"]["CombinedModelName"] | null;
26793
+ /**
26794
+ * Documentcontenttypes
26795
+ * @description - List of document types (e.g., `task`, `purchaseOrder`) this custom field definition is attached to.
26796
+ * - Required on Create
26797
+ */
26798
+ documentContentTypes?: components["schemas"]["CombinedModelName"][];
26776
26799
  };
26777
26800
  /**
26778
26801
  * ActionSchema
@@ -37790,8 +37813,7 @@ export interface components {
37790
37813
  * Format: uuid
37791
37814
  */
37792
37815
  id: string;
37793
- /** Fields */
37794
- fields?: components["schemas"]["RetrieveCustomField"][];
37816
+ field: components["schemas"]["RetrieveCustomField"];
37795
37817
  /** Value */
37796
37818
  value: string | string[] | components["schemas"]["Option"][] | Record<string, never> | number | boolean | null;
37797
37819
  documentContentType: components["schemas"]["CombinedModelName"];
@@ -37942,17 +37964,20 @@ export interface components {
37942
37964
  CreateUpdateCustomFieldValues: {
37943
37965
  /**
37944
37966
  * Id
37945
- * @description This field is required when updating an existing custom field value
37967
+ * @description - ID of the custom field value related to the document being updated (e.g., purchaseOrder, task, quotation)
37968
+ * - Required when updating an existing value instance
37969
+ * - Must be omitted for new values.
37946
37970
  */
37947
37971
  id?: string | null;
37948
37972
  /**
37949
- * Fields
37973
+ * Field
37974
+ * Format: uuid
37950
37975
  * @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
37976
+ * - UUID of the parent 'Custom Field Definition'
37977
+ * - Required on Create
37978
+ * - 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
37979
  */
37955
- fields: string[];
37980
+ field?: string;
37956
37981
  /**
37957
37982
  * Value
37958
37983
  * @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.1225",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],