@erp-galoper/types 1.0.2030 → 1.0.2031

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 +473 -79
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -7166,6 +7166,7 @@ export interface paths {
7166
7166
  * - reasonCreated
7167
7167
  * - 400:
7168
7168
  * - documentType+titleConflict
7169
+ * - inventoryAdjustmentAccountDoesNotExist
7169
7170
  * - 403:
7170
7171
  * - permissionDenied
7171
7172
  * - 500:
@@ -7226,6 +7227,7 @@ export interface paths {
7226
7227
  * - noChangesDetected
7227
7228
  * - documentTypeInvalidChoice
7228
7229
  * - documentTypeTitleConflict
7230
+ * - inventoryAdjustmentAccountDoesNotExist
7229
7231
  * - 403:
7230
7232
  * - permissionDenied
7231
7233
  * - 404:
@@ -7368,6 +7370,8 @@ export interface paths {
7368
7370
  * - 400: approvalConfigDoesNotExist
7369
7371
  * - userDoesNotExist
7370
7372
  * - minimumResponsesMinValueNotReached
7373
+ * - minimumResponsesExceeded
7374
+ * - minimumResponsesBelowRequiredUsers
7371
7375
  * - noDecisionMaker
7372
7376
  * - decisionMakerMustBeRequired
7373
7377
  * - indexMinValueNotReached
@@ -7407,6 +7411,8 @@ export interface paths {
7407
7411
  * - 400: approvalConfigDoesNotExist
7408
7412
  * - userDoesNotExist
7409
7413
  * - minimumResponsesMinValueNotReached
7414
+ * - minimumResponsesExceeded
7415
+ * - minimumResponsesBelowRequiredUsers
7410
7416
  * - noDecisionMaker
7411
7417
  * - decisionMakerMustBeRequired
7412
7418
  * - indexMinValueNotReached
@@ -25099,6 +25105,12 @@ export interface components {
25099
25105
  * @default []
25100
25106
  */
25101
25107
  cashflow: components["schemas"]["BasePermissionsSchema_Report_Accounting_CashflowEnum"][];
25108
+ /**
25109
+ * Dimensionstatement
25110
+ * @description dimensionstatement actions
25111
+ * @default []
25112
+ */
25113
+ dimensionstatement: components["schemas"]["BasePermissionsSchema_Report_Accounting_DimensionstatementEnum"][];
25102
25114
  /**
25103
25115
  * Generalledgerreport
25104
25116
  * @description generalledgerreport actions
@@ -25151,6 +25163,11 @@ export interface components {
25151
25163
  * @enum {string}
25152
25164
  */
25153
25165
  BasePermissionsSchema_Report_Accounting_CashflowEnum: "export" | "view";
25166
+ /**
25167
+ * BasePermissionsSchema_Report_Accounting_DimensionstatementEnum
25168
+ * @enum {string}
25169
+ */
25170
+ BasePermissionsSchema_Report_Accounting_DimensionstatementEnum: "export" | "view";
25154
25171
  /**
25155
25172
  * BasePermissionsSchema_Report_Accounting_GeneralledgerreportEnum
25156
25173
  * @enum {string}
@@ -30664,6 +30681,52 @@ export interface components {
30664
30681
  * @enum {string}
30665
30682
  */
30666
30683
  ApprovalChoices: "draft" | "pending" | "approved" | "rejected" | "notRequired";
30684
+ /** DimensionAllocationDetailSchema */
30685
+ DimensionAllocationDetailSchema: {
30686
+ /**
30687
+ * Id
30688
+ * Format: uuid
30689
+ * @description Allocation row UUID.
30690
+ */
30691
+ id: string;
30692
+ /** @description Allocated child dimension value with its parent category. */
30693
+ dimension: components["schemas"]["DimensionAllocationValueSchema"];
30694
+ /**
30695
+ * Percentage
30696
+ * @description - Validation: `invalidPercentage` (each row must be between 1 and 100), `dimensionAllocationsMustTotal100`.
30697
+ */
30698
+ percentage: number;
30699
+ };
30700
+ /** DimensionAllocationValueSchema */
30701
+ DimensionAllocationValueSchema: {
30702
+ /**
30703
+ * Id
30704
+ * Format: uuid
30705
+ * @description Child dimension value UUID.
30706
+ */
30707
+ id: string;
30708
+ /**
30709
+ * Name
30710
+ * @description Child dimension value name.
30711
+ */
30712
+ name: string;
30713
+ /** @description Parent dimension category summary. */
30714
+ parent?: components["schemas"]["DimensionSummarySchema"] | null;
30715
+ };
30716
+ /** DimensionSummarySchema */
30717
+ DimensionSummarySchema: {
30718
+ /**
30719
+ * Id
30720
+ * Format: uuid
30721
+ * @description Dimension UUID.
30722
+ */
30723
+ id: string;
30724
+ /**
30725
+ * Name
30726
+ * @description Dimension display name.
30727
+ */
30728
+ name: string;
30729
+ };
30667
30730
  /** JournalVoucherResponse */
30668
30731
  JournalVoucherResponse: {
30669
30732
  /** Message */
@@ -30771,6 +30834,12 @@ export interface components {
30771
30834
  usdDebit: number;
30772
30835
  /** Usdcredit */
30773
30836
  usdCredit: number;
30837
+ /**
30838
+ * Dimensionallocations
30839
+ * @description - Saved allocation rows for the document.
30840
+ * - Each `dimension` includes the child value and its `parent` category summary.
30841
+ */
30842
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
30774
30843
  };
30775
30844
  /** CreateJournalVoucherItemsSchema */
30776
30845
  CreateJournalVoucherItemsSchema: {
@@ -30826,6 +30895,32 @@ export interface components {
30826
30895
  * - field is always disabled when account currency equals to secondary currency
30827
30896
  */
30828
30897
  usdCredit?: number | string;
30898
+ /**
30899
+ * Dimensionallocations
30900
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
30901
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
30902
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
30903
+ * - Lines without `dimensionAllocations` inherit the document header split.
30904
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
30905
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
30906
+ */
30907
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
30908
+ };
30909
+ /** DimensionAllocationInput */
30910
+ DimensionAllocationInput: {
30911
+ /**
30912
+ * Dimension
30913
+ * Format: uuid
30914
+ * @description - Child dimension value UUID (not the parent category).
30915
+ * - Only rows with a non-null `parent` and `isActive = true` are valid.
30916
+ * - Validation: `dimensionDoesNotExist`, `dimensionMustBeChild`, `dimensionIsInactive`, `duplicateDimension`.
30917
+ */
30918
+ dimension: string;
30919
+ /**
30920
+ * Percentage
30921
+ * @description - Validation: `invalidPercentage` (each row must be between 1 and 100), `dimensionAllocationsMustTotal100`.
30922
+ */
30923
+ percentage: number;
30829
30924
  };
30830
30925
  /**
30831
30926
  * InternalStatusChoices
@@ -30993,6 +31088,16 @@ export interface components {
30993
31088
  * - field is always disabled when account currency equals to secondary currency
30994
31089
  */
30995
31090
  usdCredit?: number | string;
31091
+ /**
31092
+ * Dimensionallocations
31093
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
31094
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
31095
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
31096
+ * - Lines without `dimensionAllocations` inherit the document header split.
31097
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
31098
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
31099
+ */
31100
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
30996
31101
  /** Index */
30997
31102
  index?: number;
30998
31103
  };
@@ -31080,6 +31185,16 @@ export interface components {
31080
31185
  * - field is always disabled when account currency equals to secondary currency
31081
31186
  */
31082
31187
  usdCredit?: number | string;
31188
+ /**
31189
+ * Dimensionallocations
31190
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
31191
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
31192
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
31193
+ * - Lines without `dimensionAllocations` inherit the document header split.
31194
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
31195
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
31196
+ */
31197
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
31083
31198
  /** Index */
31084
31199
  index: number;
31085
31200
  };
@@ -36264,22 +36379,6 @@ export interface components {
36264
36379
  * @enum {string}
36265
36380
  */
36266
36381
  DocumentTypeForDimensionStatementReport: "salesInvoice" | "downPayment" | "receiptVoucher" | "salesReturnInvoice" | "salesCreditNote" | "purchaseInvoice" | "advancePayment" | "paymentVoucher" | "purchaseReturnInvoice" | "purchaseCreditNote" | "refundVoucher" | "salesRefundVoucher";
36267
- /** DimensionAllocationValueSchema */
36268
- DimensionAllocationValueSchema: {
36269
- /**
36270
- * Id
36271
- * Format: uuid
36272
- * @description Child dimension value UUID.
36273
- */
36274
- id: string;
36275
- /**
36276
- * Name
36277
- * @description Child dimension value name.
36278
- */
36279
- name: string;
36280
- /** @description Parent dimension category summary. */
36281
- parent?: components["schemas"]["DimensionSummarySchema"] | null;
36282
- };
36283
36382
  /** DimensionStatementPagination */
36284
36383
  DimensionStatementPagination: {
36285
36384
  info: components["schemas"]["PageInfoSchema"];
@@ -36318,20 +36417,6 @@ export interface components {
36318
36417
  /** Totalsecondarydimensionbalance */
36319
36418
  totalSecondaryDimensionBalance: number;
36320
36419
  };
36321
- /** DimensionSummarySchema */
36322
- DimensionSummarySchema: {
36323
- /**
36324
- * Id
36325
- * Format: uuid
36326
- * @description Dimension UUID.
36327
- */
36328
- id: string;
36329
- /**
36330
- * Name
36331
- * @description Dimension display name.
36332
- */
36333
- name: string;
36334
- };
36335
36420
  /** DimensionTransactionSchema */
36336
36421
  DimensionTransactionSchema: {
36337
36422
  /**
@@ -37773,6 +37858,11 @@ export interface components {
37773
37858
  title: string;
37774
37859
  /** Description */
37775
37860
  description: string | null;
37861
+ /**
37862
+ * Inventoryadjustmentaccount
37863
+ * @description Only applicable when documentType is stockAdjustment; ignored (always saved as null) otherwise. get account using route /api/v1/chart_of_account?type=detail
37864
+ */
37865
+ inventoryAdjustmentAccount?: number | null;
37776
37866
  };
37777
37867
  /**
37778
37868
  * ReasonDocumentTYpe
@@ -37803,6 +37893,8 @@ export interface components {
37803
37893
  title: string;
37804
37894
  /** Description */
37805
37895
  description: string | null;
37896
+ /** @description Only applicable when documentType is stockAdjustment; ignored (always saved as null) otherwise. */
37897
+ inventoryAdjustmentAccount?: components["schemas"]["AccountSummaryInfo"] | null;
37806
37898
  /** Candelete */
37807
37899
  canDelete: boolean;
37808
37900
  };
@@ -37814,6 +37906,11 @@ export interface components {
37814
37906
  title?: string | null;
37815
37907
  /** Description */
37816
37908
  description: string | null;
37909
+ /**
37910
+ * Inventoryadjustmentaccount
37911
+ * @description Only applicable when documentType is stockAdjustment; ignored (always saved as null) otherwise. get account using route /api/v1/chart_of_account?type=detail
37912
+ */
37913
+ inventoryAdjustmentAccount?: number | null;
37817
37914
  };
37818
37915
  /** RetrieveReasonSchema */
37819
37916
  RetrieveReasonSchema: {
@@ -37833,6 +37930,8 @@ export interface components {
37833
37930
  title: string;
37834
37931
  /** Description */
37835
37932
  description: string | null;
37933
+ /** @description Only applicable when documentType is stockAdjustment; ignored (always saved as null) otherwise. */
37934
+ inventoryAdjustmentAccount?: components["schemas"]["AccountSummaryInfo"] | null;
37836
37935
  };
37837
37936
  /**
37838
37937
  * ApprovalStatus
@@ -42624,22 +42723,6 @@ export interface components {
42624
42723
  /** Candelete */
42625
42724
  canDelete?: boolean | null;
42626
42725
  };
42627
- /** DimensionAllocationDetailSchema */
42628
- DimensionAllocationDetailSchema: {
42629
- /**
42630
- * Id
42631
- * Format: uuid
42632
- * @description Allocation row UUID.
42633
- */
42634
- id: string;
42635
- /** @description Allocated child dimension value with its parent category. */
42636
- dimension: components["schemas"]["DimensionAllocationValueSchema"];
42637
- /**
42638
- * Percentage
42639
- * @description - Validation: `invalidPercentage` (each row must be between 1 and 100), `dimensionAllocationsMustTotal100`.
42640
- */
42641
- percentage: number;
42642
- };
42643
42726
  /**
42644
42727
  * DocumentStatus
42645
42728
  * @enum {string}
@@ -42681,6 +42764,12 @@ export interface components {
42681
42764
  companyRate: number;
42682
42765
  /** Usdrate */
42683
42766
  usdRate: number;
42767
+ /**
42768
+ * Dimensionallocations
42769
+ * @description - Saved allocation rows for the document.
42770
+ * - Each `dimension` includes the child value and its `parent` category summary.
42771
+ */
42772
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
42684
42773
  };
42685
42774
  /** RetrieveAdvancePaymentSchema */
42686
42775
  RetrieveAdvancePaymentSchema: {
@@ -42756,22 +42845,6 @@ export interface components {
42756
42845
  /** Entries */
42757
42846
  entries: components["schemas"]["PostEntryDetailsSchema"][];
42758
42847
  };
42759
- /** DimensionAllocationInput */
42760
- DimensionAllocationInput: {
42761
- /**
42762
- * Dimension
42763
- * Format: uuid
42764
- * @description - Child dimension value UUID (not the parent category).
42765
- * - Only rows with a non-null `parent` and `isActive = true` are valid.
42766
- * - Validation: `dimensionDoesNotExist`, `dimensionMustBeChild`, `dimensionIsInactive`, `duplicateDimension`.
42767
- */
42768
- dimension: string;
42769
- /**
42770
- * Percentage
42771
- * @description - Validation: `invalidPercentage` (each row must be between 1 and 100), `dimensionAllocationsMustTotal100`.
42772
- */
42773
- percentage: number;
42774
- };
42775
42848
  /** NewAdvancePaymentItemsSchema */
42776
42849
  NewAdvancePaymentItemsSchema: {
42777
42850
  /**
@@ -42829,6 +42902,16 @@ export interface components {
42829
42902
  * and account currency is foreign currency meaning (NOT COMPANY CURRENCY OR USD)
42830
42903
  */
42831
42904
  usdRate?: number;
42905
+ /**
42906
+ * Dimensionallocations
42907
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
42908
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
42909
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
42910
+ * - Lines without `dimensionAllocations` inherit the document header split.
42911
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
42912
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
42913
+ */
42914
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
42832
42915
  };
42833
42916
  /** NewAdvancePaymentSchema */
42834
42917
  NewAdvancePaymentSchema: {
@@ -43021,6 +43104,16 @@ export interface components {
43021
43104
  * and account currency is foreign currency meaning (NOT COMPANY CURRENCY OR USD)
43022
43105
  */
43023
43106
  usdRate?: number;
43107
+ /**
43108
+ * Dimensionallocations
43109
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
43110
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
43111
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
43112
+ * - Lines without `dimensionAllocations` inherit the document header split.
43113
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
43114
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
43115
+ */
43116
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
43024
43117
  /**
43025
43118
  * Id
43026
43119
  * Format: uuid
@@ -44912,6 +45005,12 @@ export interface components {
44912
45005
  * @default false
44913
45006
  */
44914
45007
  isLandedCostAllocated: boolean;
45008
+ /**
45009
+ * Dimensionallocations
45010
+ * @description - Saved allocation rows for the document.
45011
+ * - Each `dimension` includes the child value and its `parent` category summary.
45012
+ */
45013
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
44915
45014
  };
44916
45015
  /**
44917
45016
  * PurchaseInvoiceTypeSchema
@@ -46197,6 +46296,16 @@ export interface components {
46197
46296
  * @default false
46198
46297
  */
46199
46298
  includeTaxInUnitPrice: boolean;
46299
+ /**
46300
+ * Dimensionallocations
46301
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
46302
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
46303
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
46304
+ * - Lines without `dimensionAllocations` inherit the document header split.
46305
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
46306
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
46307
+ */
46308
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
46200
46309
  };
46201
46310
  /** PurchaseInvoiceItemsUpdateSchema */
46202
46311
  PurchaseInvoiceItemsUpdateSchema: {
@@ -46266,6 +46375,16 @@ export interface components {
46266
46375
  * @default false
46267
46376
  */
46268
46377
  includeTaxInUnitPrice: boolean;
46378
+ /**
46379
+ * Dimensionallocations
46380
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
46381
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
46382
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
46383
+ * - Lines without `dimensionAllocations` inherit the document header split.
46384
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
46385
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
46386
+ */
46387
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
46269
46388
  };
46270
46389
  /** PurchaseInvoiceUpdateSchema */
46271
46390
  PurchaseInvoiceUpdateSchema: {
@@ -47098,6 +47217,12 @@ export interface components {
47098
47217
  secondaryRate: string | null;
47099
47218
  /** @description visible when project module is active */
47100
47219
  project: components["schemas"]["ProjectSummaryInfo"] | null;
47220
+ /**
47221
+ * Dimensionallocations
47222
+ * @description - Saved allocation rows for the document.
47223
+ * - Each `dimension` includes the child value and its `parent` category summary.
47224
+ */
47225
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
47101
47226
  };
47102
47227
  /** PaymentVoucherResponse */
47103
47228
  PaymentVoucherResponse: {
@@ -47325,6 +47450,16 @@ export interface components {
47325
47450
  * and supplier currency is foreign currency meaning (NOT COMPANY CURRENCY)
47326
47451
  */
47327
47452
  secondaryRate?: string;
47453
+ /**
47454
+ * Dimensionallocations
47455
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
47456
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
47457
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
47458
+ * - Lines without `dimensionAllocations` inherit the document header split.
47459
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
47460
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
47461
+ */
47462
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
47328
47463
  };
47329
47464
  /** ListPaymentVouchers */
47330
47465
  ListPaymentVouchers: {
@@ -47487,6 +47622,16 @@ export interface components {
47487
47622
  * and supplier currency is foreign currency meaning (NOT COMPANY CURRENCY)
47488
47623
  */
47489
47624
  secondaryRate?: string;
47625
+ /**
47626
+ * Dimensionallocations
47627
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
47628
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
47629
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
47630
+ * - Lines without `dimensionAllocations` inherit the document header split.
47631
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
47632
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
47633
+ */
47634
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
47490
47635
  };
47491
47636
  /** UpdatePaymentVoucherSchema */
47492
47637
  UpdatePaymentVoucherSchema: {
@@ -47910,6 +48055,12 @@ export interface components {
47910
48055
  * @default 0
47911
48056
  */
47912
48057
  companyTotal: number;
48058
+ /**
48059
+ * Dimensionallocations
48060
+ * @description - Saved allocation rows for the document.
48061
+ * - Each `dimension` includes the child value and its `parent` category summary.
48062
+ */
48063
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
47913
48064
  };
47914
48065
  /** PurchaseReturnInvoiceSchema */
47915
48066
  PurchaseReturnInvoiceSchema: {
@@ -48070,6 +48221,16 @@ export interface components {
48070
48221
  * - The quantity of the items, incase of package, it should be unitPackage * quantity of the package
48071
48222
  */
48072
48223
  quantity?: number;
48224
+ /**
48225
+ * Dimensionallocations
48226
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
48227
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
48228
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
48229
+ * - Lines without `dimensionAllocations` inherit the document header split.
48230
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
48231
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
48232
+ */
48233
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
48073
48234
  };
48074
48235
  /** CreateUpdatePurchaseReturnInvoiceSchema */
48075
48236
  CreateUpdatePurchaseReturnInvoiceSchema: {
@@ -53647,6 +53808,12 @@ export interface components {
53647
53808
  refundReturnInvoice: components["schemas"]["DocumentCommonSchema"] | null;
53648
53809
  /** @description visible when project module is active */
53649
53810
  project: components["schemas"]["ProjectSummaryInfo"] | null;
53811
+ /**
53812
+ * Dimensionallocations
53813
+ * @description - Saved allocation rows for the document.
53814
+ * - Each `dimension` includes the child value and its `parent` category summary.
53815
+ */
53816
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
53650
53817
  };
53651
53818
  /** RefundVoucherResponseSchema */
53652
53819
  RefundVoucherResponseSchema: {
@@ -53820,6 +53987,16 @@ export interface components {
53820
53987
  * and supplier currency is foreign currency meaning (NOT COMPANY CURRENCY)
53821
53988
  */
53822
53989
  usdRate?: string;
53990
+ /**
53991
+ * Dimensionallocations
53992
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
53993
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
53994
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
53995
+ * - Lines without `dimensionAllocations` inherit the document header split.
53996
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
53997
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
53998
+ */
53999
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
53823
54000
  };
53824
54001
  /** RefundVoucherDetailSchema */
53825
54002
  RefundVoucherDetailSchema: {
@@ -53976,6 +54153,16 @@ export interface components {
53976
54153
  * and supplier currency is foreign currency meaning (NOT COMPANY CURRENCY)
53977
54154
  */
53978
54155
  usdRate?: string;
54156
+ /**
54157
+ * Dimensionallocations
54158
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
54159
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
54160
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
54161
+ * - Lines without `dimensionAllocations` inherit the document header split.
54162
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
54163
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
54164
+ */
54165
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
53979
54166
  };
53980
54167
  /** RefundVoucherUpdateSchema */
53981
54168
  RefundVoucherUpdateSchema: {
@@ -54362,6 +54549,12 @@ export interface components {
54362
54549
  * @description this field is number
54363
54550
  */
54364
54551
  secondaryRate: string;
54552
+ /**
54553
+ * Dimensionallocations
54554
+ * @description - Saved allocation rows for the document.
54555
+ * - Each `dimension` includes the child value and its `parent` category summary.
54556
+ */
54557
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
54365
54558
  };
54366
54559
  /** DownPaymentResponse */
54367
54560
  DownPaymentResponse: {
@@ -54594,6 +54787,16 @@ export interface components {
54594
54787
  * - Use the API: /api/v1/customers/{customer-id}/ where field is banks
54595
54788
  */
54596
54789
  customerBankAccount?: number;
54790
+ /**
54791
+ * Dimensionallocations
54792
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
54793
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
54794
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
54795
+ * - Lines without `dimensionAllocations` inherit the document header split.
54796
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
54797
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
54798
+ */
54799
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
54597
54800
  };
54598
54801
  /**
54599
54802
  * DownPaymentTypeSchema
@@ -54775,6 +54978,16 @@ export interface components {
54775
54978
  * - Use the API: /api/v1/customers/{customer-id}/ where field is banks
54776
54979
  */
54777
54980
  customerBankAccount?: number;
54981
+ /**
54982
+ * Dimensionallocations
54983
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
54984
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
54985
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
54986
+ * - Lines without `dimensionAllocations` inherit the document header split.
54987
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
54988
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
54989
+ */
54990
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
54778
54991
  /**
54779
54992
  * Id
54780
54993
  * Format: uuid
@@ -56095,6 +56308,12 @@ export interface components {
56095
56308
  /** Discount */
56096
56309
  discount: number | null;
56097
56310
  discountType: components["schemas"]["DiscountType"] | null;
56311
+ /**
56312
+ * Dimensionallocations
56313
+ * @description - Saved allocation rows for the document.
56314
+ * - Each `dimension` includes the child value and its `parent` category summary.
56315
+ */
56316
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
56098
56317
  };
56099
56318
  /**
56100
56319
  * PurchaseCreditNoteReasonsSchema
@@ -56271,6 +56490,16 @@ export interface components {
56271
56490
  * - required when reason other than postPurchaseDiscountOrAllowances
56272
56491
  */
56273
56492
  unitPrice?: number;
56493
+ /**
56494
+ * Dimensionallocations
56495
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
56496
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
56497
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
56498
+ * - Lines without `dimensionAllocations` inherit the document header split.
56499
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
56500
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
56501
+ */
56502
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
56274
56503
  };
56275
56504
  /** PurchaseCreditNoteDetailSchema */
56276
56505
  PurchaseCreditNoteDetailSchema: {
@@ -56361,6 +56590,16 @@ export interface components {
56361
56590
  * - required when reason other than postPurchaseDiscountOrAllowances
56362
56591
  */
56363
56592
  unitPrice?: number;
56593
+ /**
56594
+ * Dimensionallocations
56595
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
56596
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
56597
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
56598
+ * - Lines without `dimensionAllocations` inherit the document header split.
56599
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
56600
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
56601
+ */
56602
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
56364
56603
  /**
56365
56604
  * Id
56366
56605
  * Format: uuid
@@ -56604,6 +56843,12 @@ export interface components {
56604
56843
  secondaryRate: string;
56605
56844
  /** @description visible when project module is active */
56606
56845
  project: components["schemas"]["ProjectSummaryInfo"] | null;
56846
+ /**
56847
+ * Dimensionallocations
56848
+ * @description - Saved allocation rows for the document.
56849
+ * - Each `dimension` includes the child value and its `parent` category summary.
56850
+ */
56851
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
56607
56852
  };
56608
56853
  /** ReceiptVoucherResponse */
56609
56854
  ReceiptVoucherResponse: {
@@ -56831,6 +57076,16 @@ export interface components {
56831
57076
  * - Use the API: /api/v1/sales/invoices/?type=receiptVoucher&customer={customer-id}
56832
57077
  */
56833
57078
  salesInvoice?: string;
57079
+ /**
57080
+ * Dimensionallocations
57081
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
57082
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
57083
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
57084
+ * - Lines without `dimensionAllocations` inherit the document header split.
57085
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
57086
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
57087
+ */
57088
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
56834
57089
  };
56835
57090
  /** ReceiptVoucherDetailSchema */
56836
57091
  ReceiptVoucherDetailSchema: {
@@ -56993,6 +57248,16 @@ export interface components {
56993
57248
  * - Use the API: /api/v1/sales/invoices/?type=receiptVoucher&customer={customer-id}
56994
57249
  */
56995
57250
  salesInvoice?: string;
57251
+ /**
57252
+ * Dimensionallocations
57253
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
57254
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
57255
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
57256
+ * - Lines without `dimensionAllocations` inherit the document header split.
57257
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
57258
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
57259
+ */
57260
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
56996
57261
  /**
56997
57262
  * Id
56998
57263
  * Format: uuid
@@ -57591,6 +57856,12 @@ export interface components {
57591
57856
  * @description Only show in case of delivery note source is sales invoice
57592
57857
  */
57593
57858
  quantityDelivered?: number | null;
57859
+ /**
57860
+ * Dimensionallocations
57861
+ * @description - Saved allocation rows for the document.
57862
+ * - Each `dimension` includes the child value and its `parent` category summary.
57863
+ */
57864
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
57594
57865
  };
57595
57866
  /** SalesInvoiceSchema */
57596
57867
  SalesInvoiceSchema: {
@@ -58007,6 +58278,16 @@ export interface components {
58007
58278
  * @default false
58008
58279
  */
58009
58280
  includeTaxInUnitPrice: boolean;
58281
+ /**
58282
+ * Dimensionallocations
58283
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
58284
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
58285
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
58286
+ * - Lines without `dimensionAllocations` inherit the document header split.
58287
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
58288
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
58289
+ */
58290
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
58010
58291
  };
58011
58292
  /** CreateUpdateSalesInvoiceSchema */
58012
58293
  CreateUpdateSalesInvoiceSchema: {
@@ -59578,6 +59859,12 @@ export interface components {
59578
59859
  * @default 0
59579
59860
  */
59580
59861
  companyTotal: string;
59862
+ /**
59863
+ * Dimensionallocations
59864
+ * @description - Saved allocation rows for the document.
59865
+ * - Each `dimension` includes the child value and its `parent` category summary.
59866
+ */
59867
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
59581
59868
  };
59582
59869
  /** SalesReturnInvoiceSchema */
59583
59870
  SalesReturnInvoiceSchema: {
@@ -59739,6 +60026,16 @@ export interface components {
59739
60026
  * - in case of package, the returned quantity is the unitPackage
59740
60027
  */
59741
60028
  quantity?: number;
60029
+ /**
60030
+ * Dimensionallocations
60031
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
60032
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
60033
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
60034
+ * - Lines without `dimensionAllocations` inherit the document header split.
60035
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
60036
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
60037
+ */
60038
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
59742
60039
  };
59743
60040
  /** CreateUpdateSalesReturnInvoiceSchema */
59744
60041
  CreateUpdateSalesReturnInvoiceSchema: {
@@ -60431,6 +60728,12 @@ export interface components {
60431
60728
  returnReturnablePackage: components["schemas"]["DocumentCommonSchema"] | null;
60432
60729
  /** @description visible when project module is active */
60433
60730
  project: components["schemas"]["ProjectSummaryInfo"] | null;
60731
+ /**
60732
+ * Dimensionallocations
60733
+ * @description - Saved allocation rows for the document.
60734
+ * - Each `dimension` includes the child value and its `parent` category summary.
60735
+ */
60736
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
60434
60737
  };
60435
60738
  /** SalesRefundVoucherResponse */
60436
60739
  SalesRefundVoucherResponse: {
@@ -60599,6 +60902,16 @@ export interface components {
60599
60902
  * user should select either down payment or return invoice or return returnable package per row
60600
60903
  */
60601
60904
  returnReturnablePackage?: string;
60905
+ /**
60906
+ * Dimensionallocations
60907
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
60908
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
60909
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
60910
+ * - Lines without `dimensionAllocations` inherit the document header split.
60911
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
60912
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
60913
+ */
60914
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
60602
60915
  };
60603
60916
  /** SalesRefundVoucherDetailSchema */
60604
60917
  SalesRefundVoucherDetailSchema: {
@@ -60774,6 +61087,16 @@ export interface components {
60774
61087
  * user should select either down payment or return invoice or return returnable package per row
60775
61088
  */
60776
61089
  returnReturnablePackage?: string;
61090
+ /**
61091
+ * Dimensionallocations
61092
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
61093
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
61094
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
61095
+ * - Lines without `dimensionAllocations` inherit the document header split.
61096
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
61097
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
61098
+ */
61099
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
60777
61100
  /**
60778
61101
  * Id
60779
61102
  * Format: uuid
@@ -61222,6 +61545,12 @@ export interface components {
61222
61545
  /** Discount */
61223
61546
  discount: number | null;
61224
61547
  discountType: components["schemas"]["DiscountType"] | null;
61548
+ /**
61549
+ * Dimensionallocations
61550
+ * @description - Saved allocation rows for the document.
61551
+ * - Each `dimension` includes the child value and its `parent` category summary.
61552
+ */
61553
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
61225
61554
  };
61226
61555
  /**
61227
61556
  * SalesCreditNoteReasonsSchema
@@ -61393,6 +61722,16 @@ export interface components {
61393
61722
  * note that unit price should be less than original unit price of invoice
61394
61723
  */
61395
61724
  unitPrice?: number;
61725
+ /**
61726
+ * Dimensionallocations
61727
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
61728
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
61729
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
61730
+ * - Lines without `dimensionAllocations` inherit the document header split.
61731
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
61732
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
61733
+ */
61734
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
61396
61735
  };
61397
61736
  /** SalesCreditNoteDetailSchema */
61398
61737
  SalesCreditNoteDetailSchema: {
@@ -61485,6 +61824,16 @@ export interface components {
61485
61824
  * note that unit price should be less than original unit price of invoice
61486
61825
  */
61487
61826
  unitPrice?: number;
61827
+ /**
61828
+ * Dimensionallocations
61829
+ * @description - Optional per-line override. Field name: `dimensionAllocations` on each line/item row.
61830
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
61831
+ * - When provided on a line, percentages must total 100% and that line uses only its own split (header is ignored for that line).
61832
+ * - Lines without `dimensionAllocations` inherit the document header split.
61833
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
61834
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
61835
+ */
61836
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
61488
61837
  /**
61489
61838
  * Id
61490
61839
  * Format: uuid
@@ -65344,7 +65693,8 @@ export interface components {
65344
65693
  customer: components["schemas"]["CustomerSummarySchema"];
65345
65694
  /** @description The customer's first branch, when available. */
65346
65695
  customerBranch?: components["schemas"]["CustomerBranchSharedSchema"] | null;
65347
- item: components["schemas"]["ItemSummarySchema"];
65696
+ /** Item */
65697
+ item: string | null;
65348
65698
  /** Productidentification */
65349
65699
  productIdentification?: string | null;
65350
65700
  /** Devicepassword */
@@ -65380,6 +65730,22 @@ export interface components {
65380
65730
  * @description Additional notes for the repair order.
65381
65731
  */
65382
65732
  notes?: string | null;
65733
+ /** Items */
65734
+ items?: components["schemas"]["RepairOrderItemDetailSchema"][];
65735
+ };
65736
+ /** RepairOrderItemDetailSchema */
65737
+ RepairOrderItemDetailSchema: {
65738
+ /**
65739
+ * Id
65740
+ * Format: uuid
65741
+ */
65742
+ id: string;
65743
+ item: components["schemas"]["ItemSummarySchema"];
65744
+ /** Description */
65745
+ description?: string | null;
65746
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
65747
+ /** Quantity */
65748
+ quantity: number;
65383
65749
  };
65384
65750
  /**
65385
65751
  * RepairStatusEnum
@@ -65401,14 +65767,7 @@ export interface components {
65401
65767
  * - filter customerType equal to debtor
65402
65768
  */
65403
65769
  customer: string;
65404
- /**
65405
- * Item
65406
- * Format: uuid
65407
- * @description - get items using route /api/v1/inventory/items/
65408
- * - filter by isActive equal to true
65409
- * - filter role not equal to template
65410
- * - usually type should not be service
65411
- */
65770
+ /** Item */
65412
65771
  item: string;
65413
65772
  /**
65414
65773
  * Productidentification
@@ -65468,6 +65827,42 @@ export interface components {
65468
65827
  * @description Attachment file IDs.
65469
65828
  */
65470
65829
  attachments?: string[];
65830
+ /**
65831
+ * Items
65832
+ * @description Repair order line items.
65833
+ */
65834
+ items?: components["schemas"]["RepairOrderItemCreateUpdateSchema"][];
65835
+ };
65836
+ /** RepairOrderItemCreateUpdateSchema */
65837
+ RepairOrderItemCreateUpdateSchema: {
65838
+ /**
65839
+ * Id
65840
+ * @description ID of the repair order item (for update only).
65841
+ */
65842
+ id?: string | null;
65843
+ /**
65844
+ * Item
65845
+ * Format: uuid
65846
+ * @description - get items using route /api/v1/inventory/items/
65847
+ * - filter by isActive equal to true, role not equals template
65848
+ */
65849
+ item: string;
65850
+ /**
65851
+ * Description
65852
+ * @description Description of the repair order item.
65853
+ */
65854
+ description?: string | null;
65855
+ /**
65856
+ * Unitofmeasure
65857
+ * Format: uuid
65858
+ */
65859
+ unitOfMeasure: string;
65860
+ /**
65861
+ * Quantity
65862
+ * @description Quantity of the item.
65863
+ * @default 1
65864
+ */
65865
+ quantity: number;
65471
65866
  };
65472
65867
  /**
65473
65868
  * RepairOrderSortBy
@@ -65491,14 +65886,8 @@ export interface components {
65491
65886
  * - filter customerType equal to debtor
65492
65887
  */
65493
65888
  customer?: string | null;
65494
- /**
65495
- * Item
65496
- * @description - get items using route /api/v1/inventory/items/
65497
- * - filter by isActive equal to true
65498
- * - filter role not equal to template
65499
- * - usually type should not be service
65500
- */
65501
- item?: string | null;
65889
+ /** Item */
65890
+ item?: string;
65502
65891
  /**
65503
65892
  * Productidentification
65504
65893
  * @description Barcode, serial number, or SKU to identify the device being repaired.
@@ -65554,6 +65943,11 @@ export interface components {
65554
65943
  * @description Attachment file IDs.
65555
65944
  */
65556
65945
  attachments?: string[] | null;
65946
+ /**
65947
+ * Items
65948
+ * @description Repair order line items.
65949
+ */
65950
+ items?: components["schemas"]["RepairOrderItemCreateUpdateSchema"][] | null;
65557
65951
  };
65558
65952
  /** CreateDamageTypeSchema */
65559
65953
  CreateDamageTypeSchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2030",
3
+ "version": "1.0.2031",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],