@erp-galoper/types 1.0.1984 → 1.0.1986

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 +73 -56
  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
  };
@@ -41398,7 +41412,7 @@ export interface components {
41398
41412
  itemType: components["schemas"]["NonInventoryItemType"] | null;
41399
41413
  /** Quantity */
41400
41414
  quantity: number;
41401
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
41415
+ unitOfMeasure: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
41402
41416
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
41403
41417
  reasonForRestock: components["schemas"]["ReasonSummaryInfo"] | null;
41404
41418
  /** Estimatedcost */
@@ -41769,7 +41783,7 @@ export interface components {
41769
41783
  itemType: components["schemas"]["NonInventoryItemType"] | null;
41770
41784
  /** Quantity */
41771
41785
  quantity: number;
41772
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
41786
+ unitOfMeasure: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
41773
41787
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
41774
41788
  };
41775
41789
  /** NewRequestForQuotationSchema */
@@ -42539,7 +42553,7 @@ export interface components {
42539
42553
  /** Quantity */
42540
42554
  quantity: number;
42541
42555
  /** @description This field is required and visible when inventory module is active only */
42542
- unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
42556
+ unitOfMeasure?: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
42543
42557
  /** Unitprice */
42544
42558
  unitPrice: number;
42545
42559
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -43373,7 +43387,7 @@ export interface components {
43373
43387
  /** Quantity */
43374
43388
  quantity: number;
43375
43389
  /** @description This field is required and visible when inventory module is active only */
43376
- unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
43390
+ unitOfMeasure?: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
43377
43391
  /** Unitprice */
43378
43392
  unitPrice: number;
43379
43393
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -44239,7 +44253,7 @@ export interface components {
44239
44253
  description: string | null;
44240
44254
  /** Quantity */
44241
44255
  quantity: number;
44242
- unitOfMeasurement: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
44256
+ unitOfMeasurement: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
44243
44257
  /** Unitprice */
44244
44258
  unitPrice: number;
44245
44259
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -44364,7 +44378,7 @@ export interface components {
44364
44378
  /** Quantity */
44365
44379
  quantity: number;
44366
44380
  /** @description This field is required and visible when inventory module is active only, to get unit of measures use route /inventory/item/{item_id}/ where field is unitOfMeasure */
44367
- unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
44381
+ unitOfMeasure?: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
44368
44382
  /** Unitprice */
44369
44383
  unitPrice: number;
44370
44384
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -47162,7 +47176,7 @@ export interface components {
47162
47176
  /** Quantity */
47163
47177
  quantity: number;
47164
47178
  /** @description This field is required and visible when inventory module is active only, to get unit of measures use route /inventory/item/{item_id}/ where field is unitOfMeasure */
47165
- unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
47179
+ unitOfMeasure?: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
47166
47180
  /** Unitprice */
47167
47181
  unitPrice: number;
47168
47182
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -51809,7 +51823,7 @@ export interface components {
51809
51823
  description: string | null;
51810
51824
  /** Quantity */
51811
51825
  quantity: number;
51812
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
51826
+ unitOfMeasure: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
51813
51827
  /**
51814
51828
  * Unitprice
51815
51829
  * @description - This field is a number.
@@ -54147,7 +54161,7 @@ export interface components {
54147
54161
  /** Quantity */
54148
54162
  quantity?: number;
54149
54163
  /** @description The unit of measure selected from the item's options */
54150
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
54164
+ unitOfMeasure: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
54151
54165
  /**
54152
54166
  * Unitprice
54153
54167
  * @description This field is a number representing the unit price of the item.
@@ -56191,7 +56205,7 @@ export interface components {
56191
56205
  /** Quantity */
56192
56206
  quantity: number;
56193
56207
  /** @description The unit of measure selected from the item's options */
56194
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
56208
+ unitOfMeasure: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
56195
56209
  /**
56196
56210
  * Unitprice
56197
56211
  * @description This field is a number representing the unit price of the item.
@@ -57575,7 +57589,7 @@ export interface components {
57575
57589
  description: string | null;
57576
57590
  /** Quantity */
57577
57591
  quantity: number;
57578
- unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
57592
+ unitOfMeasure?: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
57579
57593
  /** Unitprice */
57580
57594
  unitPrice: string;
57581
57595
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -58160,7 +58174,7 @@ export interface components {
58160
58174
  description: string | null;
58161
58175
  /** Quantity */
58162
58176
  quantity: number;
58163
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
58177
+ unitOfMeasure: components["schemas"]["RetrieveUnitOfMeasurment"] | null;
58164
58178
  /** Unitprice */
58165
58179
  unitPrice: string;
58166
58180
  itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
@@ -63685,6 +63699,11 @@ export interface components {
63685
63699
  };
63686
63700
  /** CheckAppointmentConflictsSchema */
63687
63701
  CheckAppointmentConflictsSchema: {
63702
+ /**
63703
+ * Appointment
63704
+ * @description Existing appointment ID to exclude when editing. Omit on create.
63705
+ */
63706
+ appointment?: string | null;
63688
63707
  /**
63689
63708
  * Scheduleddatetime
63690
63709
  * Format: date-time
@@ -110530,9 +110549,7 @@ export interface operations {
110530
110549
  parameters: {
110531
110550
  query?: never;
110532
110551
  header?: never;
110533
- path: {
110534
- id: string;
110535
- };
110552
+ path?: never;
110536
110553
  cookie?: never;
110537
110554
  };
110538
110555
  requestBody: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1984",
3
+ "version": "1.0.1986",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],