@erp-galoper/types 1.0.1985 → 1.0.1987

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 +74 -44
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -22657,7 +22657,7 @@ export interface paths {
22657
22657
  patch?: never;
22658
22658
  trace?: never;
22659
22659
  };
22660
- "/api/v1/appointments/{id}/conflicts/": {
22660
+ "/api/v1/appointments/conflicts/": {
22661
22661
  parameters: {
22662
22662
  query?: never;
22663
22663
  header?: never;
@@ -22668,9 +22668,11 @@ export interface paths {
22668
22668
  put?: never;
22669
22669
  /**
22670
22670
  * Check Appointment Conflicts
22671
- * @description Check scheduling conflicts for an existing appointment without saving changes.
22671
+ * @description Check scheduling conflicts before saving an appointment (create or edit).
22672
22672
  *
22673
- * Permission key: appointment = ["view"]
22673
+ * Pass appointment in the payload when editing to exclude the current record from overlap checks.
22674
+ *
22675
+ * Permission key: appointment = ["add"]
22674
22676
  */
22675
22677
  post: operations["appointment_views_check_appointment_conflicts"];
22676
22678
  delete?: never;
@@ -31060,47 +31062,66 @@ export interface components {
31060
31062
  * @enum {string}
31061
31063
  */
31062
31064
  LogType: "Created" | "Changed" | "Deleted";
31063
- /** Instance */
31064
- Instance: {
31065
+ /**
31066
+ * LogDataType
31067
+ * @enum {string}
31068
+ */
31069
+ LogDataType: "string" | "number" | "boolean" | "datetime" | "date" | "object" | "null";
31070
+ /** LogEntry */
31071
+ LogEntry: {
31065
31072
  /** Id */
31066
31073
  id: string;
31067
- /** Number */
31068
- number?: string | number | null;
31069
- /** Name */
31070
- name?: string | number | null;
31071
- };
31072
- /** ItemChange */
31073
- ItemChange: {
31074
- /** Itemid */
31075
- itemId: string;
31076
- /** Action */
31077
- action: string;
31078
31074
  /**
31079
- * Changes
31080
- * @default []
31075
+ * Date
31076
+ * Format: date-time
31081
31077
  */
31082
- changes: components["schemas"]["modelChange"][];
31083
- };
31084
- /** LogEntry */
31085
- LogEntry: {
31086
- instance: components["schemas"]["Instance"];
31087
- /** Historyid */
31088
- historyId: string;
31078
+ date: string;
31089
31079
  logType: components["schemas"]["LogType"];
31080
+ modelName: components["schemas"]["LogModelName"];
31090
31081
  user?: components["schemas"]["UserSharedSchema"] | null;
31082
+ resource: components["schemas"]["LogResource"];
31091
31083
  /**
31092
- * Date
31093
- * Format: date-time
31084
+ * Header
31085
+ * @default []
31094
31086
  */
31095
- date: string;
31087
+ header: components["schemas"]["LogFieldChange"][];
31088
+ /**
31089
+ * Items
31090
+ * @default []
31091
+ */
31092
+ items: components["schemas"]["LogItemChange"][];
31093
+ };
31094
+ /** LogFieldChange */
31095
+ LogFieldChange: {
31096
+ /** Field */
31097
+ field: string;
31098
+ /** Old */
31099
+ old?: unknown | null;
31100
+ /** New */
31101
+ new?: unknown | null;
31102
+ /** @default string */
31103
+ dataType: components["schemas"]["LogDataType"];
31104
+ };
31105
+ /** LogItemChange */
31106
+ LogItemChange: {
31107
+ /** Id */
31108
+ id: string;
31109
+ /** Action */
31110
+ action: string;
31096
31111
  /**
31097
31112
  * Changes
31098
31113
  * @default []
31099
31114
  */
31100
- changes: components["schemas"]["modelChange"][];
31101
- /** Itemchanges */
31102
- itemChanges?: components["schemas"]["ItemChange"][];
31103
- modelName: components["schemas"]["LogModelName"];
31115
+ changes: components["schemas"]["LogFieldChange"][];
31116
+ };
31117
+ /** LogResource */
31118
+ LogResource: {
31119
+ /** Id */
31120
+ id: string;
31121
+ /** Number */
31122
+ number?: string | number | null;
31123
+ /** Name */
31124
+ name?: string | number | null;
31104
31125
  };
31105
31126
  /** LogsResponseSchema */
31106
31127
  LogsResponseSchema: {
@@ -31111,15 +31132,6 @@ export interface components {
31111
31132
  */
31112
31133
  results: components["schemas"]["LogEntry"][];
31113
31134
  };
31114
- /** modelChange */
31115
- modelChange: {
31116
- /** Field */
31117
- field: string;
31118
- /** Old */
31119
- old?: string | null;
31120
- /** New */
31121
- new?: string | null;
31122
- };
31123
31135
  /** LogTypeCount */
31124
31136
  LogTypeCount: {
31125
31137
  /**
@@ -31542,6 +31554,8 @@ export interface components {
31542
31554
  task: boolean;
31543
31555
  /** Event */
31544
31556
  event: boolean;
31557
+ /** Appointment */
31558
+ appointment: boolean;
31545
31559
  /** Maintenance */
31546
31560
  maintenance: boolean;
31547
31561
  };
@@ -34247,6 +34261,7 @@ export interface components {
34247
34261
  currencies: components["schemas"]["CommonCurrency"][];
34248
34262
  /** Children */
34249
34263
  children: components["schemas"]["CustomerChildDetailSchema"][];
34264
+ parent?: components["schemas"]["CustomerParentSchema"] | null;
34250
34265
  /**
34251
34266
  * Companyregistrationnumber
34252
34267
  * @description visible when customer type is company
@@ -34286,6 +34301,18 @@ export interface components {
34286
34301
  /** Results */
34287
34302
  results: components["schemas"]["CustomerForListSchema"][];
34288
34303
  };
34304
+ /** CustomerParentSchema */
34305
+ CustomerParentSchema: {
34306
+ /**
34307
+ * Id
34308
+ * Format: uuid
34309
+ */
34310
+ id: string;
34311
+ /** Name */
34312
+ name: string;
34313
+ /** Accountnumber */
34314
+ accountNumber: string;
34315
+ };
34289
34316
  /** CustomerShippingAddressSchema */
34290
34317
  CustomerShippingAddressSchema: {
34291
34318
  /** Id */
@@ -63685,6 +63712,11 @@ export interface components {
63685
63712
  };
63686
63713
  /** CheckAppointmentConflictsSchema */
63687
63714
  CheckAppointmentConflictsSchema: {
63715
+ /**
63716
+ * Appointment
63717
+ * @description Existing appointment ID to exclude when editing. Omit on create.
63718
+ */
63719
+ appointment?: string | null;
63688
63720
  /**
63689
63721
  * Scheduleddatetime
63690
63722
  * Format: date-time
@@ -110530,9 +110562,7 @@ export interface operations {
110530
110562
  parameters: {
110531
110563
  query?: never;
110532
110564
  header?: never;
110533
- path: {
110534
- id: string;
110535
- };
110565
+ path?: never;
110536
110566
  cookie?: never;
110537
110567
  };
110538
110568
  requestBody: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1985",
3
+ "version": "1.0.1987",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],