@erp-galoper/types 1.0.1994 → 1.0.1996

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 +687 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -6256,6 +6256,23 @@ export interface paths {
6256
6256
  patch?: never;
6257
6257
  trace?: never;
6258
6258
  };
6259
+ "/api/v1/reports/accounting/dimension-statement/": {
6260
+ parameters: {
6261
+ query?: never;
6262
+ header?: never;
6263
+ path?: never;
6264
+ cookie?: never;
6265
+ };
6266
+ /** Dimension Statement */
6267
+ get: operations["reports_accounting_reports_get_dimension_statement"];
6268
+ put?: never;
6269
+ post?: never;
6270
+ delete?: never;
6271
+ options?: never;
6272
+ head?: never;
6273
+ patch?: never;
6274
+ trace?: never;
6275
+ };
6259
6276
  "/api/v1/reports/accounting/balance-sheet/": {
6260
6277
  parameters: {
6261
6278
  query?: never;
@@ -36018,6 +36035,119 @@ export interface components {
36018
36035
  * @enum {string}
36019
36036
  */
36020
36037
  PostEntryState: "active" | "draft" | "reverse" | "canceled";
36038
+ /**
36039
+ * DocumentTypeForDimensionStatementReport
36040
+ * @enum {string}
36041
+ */
36042
+ DocumentTypeForDimensionStatementReport: "salesInvoice" | "downPayment" | "receiptVoucher" | "salesReturnInvoice" | "salesCreditNote" | "purchaseInvoice" | "advancePayment" | "paymentVoucher" | "purchaseReturnInvoice" | "purchaseCreditNote" | "refundVoucher" | "salesRefundVoucher";
36043
+ /** DimensionAllocationValueSchema */
36044
+ DimensionAllocationValueSchema: {
36045
+ /**
36046
+ * Id
36047
+ * Format: uuid
36048
+ * @description Child dimension value UUID.
36049
+ */
36050
+ id: string;
36051
+ /**
36052
+ * Name
36053
+ * @description Child dimension value name.
36054
+ */
36055
+ name: string;
36056
+ /** @description Parent dimension category summary. */
36057
+ parent?: components["schemas"]["DimensionSummarySchema"] | null;
36058
+ };
36059
+ /** DimensionStatementPagination */
36060
+ DimensionStatementPagination: {
36061
+ info: components["schemas"]["PageInfoSchema"];
36062
+ /** Results */
36063
+ results: components["schemas"]["DimensionTransactionSchema"][];
36064
+ data: components["schemas"]["DimensionStatementSchema"];
36065
+ totals: components["schemas"]["DimensionStatementTotals"];
36066
+ };
36067
+ /** DimensionStatementSchema */
36068
+ DimensionStatementSchema: {
36069
+ /** Initialbalance */
36070
+ initialBalance: number;
36071
+ /** Initialbalancecompany */
36072
+ initialBalanceCompany: number;
36073
+ /** Initialbalancesecondary */
36074
+ initialBalanceSecondary: number;
36075
+ };
36076
+ /** DimensionStatementTotals */
36077
+ DimensionStatementTotals: {
36078
+ /** Totaldimensiondebit */
36079
+ totalDimensionDebit: number;
36080
+ /** Totaldimensioncredit */
36081
+ totalDimensionCredit: number;
36082
+ /** Totaldimensionbalance */
36083
+ totalDimensionBalance: number;
36084
+ /** Totalcompanydimensiondebit */
36085
+ totalCompanyDimensionDebit: number;
36086
+ /** Totalcompanydimensioncredit */
36087
+ totalCompanyDimensionCredit: number;
36088
+ /** Totalcompanydimensionbalance */
36089
+ totalCompanyDimensionBalance: number;
36090
+ /** Totalsecondarydimensiondebit */
36091
+ totalSecondaryDimensionDebit: number;
36092
+ /** Totalsecondarydimensioncredit */
36093
+ totalSecondaryDimensionCredit: number;
36094
+ /** Totalsecondarydimensionbalance */
36095
+ totalSecondaryDimensionBalance: number;
36096
+ };
36097
+ /** DimensionSummarySchema */
36098
+ DimensionSummarySchema: {
36099
+ /**
36100
+ * Id
36101
+ * Format: uuid
36102
+ * @description Dimension UUID.
36103
+ */
36104
+ id: string;
36105
+ /**
36106
+ * Name
36107
+ * @description Dimension display name.
36108
+ */
36109
+ name: string;
36110
+ };
36111
+ /** DimensionTransactionSchema */
36112
+ DimensionTransactionSchema: {
36113
+ /**
36114
+ * Date
36115
+ * Format: date
36116
+ */
36117
+ date: string;
36118
+ branch: components["schemas"]["BranchSummaryInfo"];
36119
+ /** Transaction */
36120
+ transaction: string;
36121
+ /** Description */
36122
+ description?: string | null;
36123
+ /** Documentid */
36124
+ documentId?: string | null;
36125
+ /** Documentname */
36126
+ documentName?: string | null;
36127
+ /** Companyrate */
36128
+ companyRate?: number | null;
36129
+ /** Secondaryrate */
36130
+ secondaryRate?: number | null;
36131
+ dimension: components["schemas"]["DimensionAllocationValueSchema"];
36132
+ /** Dimensiondebit */
36133
+ dimensionDebit: number;
36134
+ /** Dimensioncredit */
36135
+ dimensionCredit: number;
36136
+ /** Dimensionbalance */
36137
+ dimensionBalance: number;
36138
+ /** Companydimensiondebit */
36139
+ companyDimensionDebit: number;
36140
+ /** Companydimensioncredit */
36141
+ companyDimensionCredit: number;
36142
+ /** Companydimensionbalance */
36143
+ companyDimensionBalance: number;
36144
+ /** Secondarydimensiondebit */
36145
+ secondaryDimensionDebit: number;
36146
+ /** Secondarydimensioncredit */
36147
+ secondaryDimensionCredit: number;
36148
+ /** Secondarydimensionbalance */
36149
+ secondaryDimensionBalance: number;
36150
+ };
36021
36151
  /** BalanceSheetSchema */
36022
36152
  BalanceSheetSchema: {
36023
36153
  /** Title */
@@ -40364,11 +40494,36 @@ export interface components {
40364
40494
  /**
40365
40495
  * Id
40366
40496
  * Format: uuid
40497
+ * @description Dimension UUID.
40367
40498
  */
40368
40499
  id: string;
40369
- /** Name */
40500
+ /**
40501
+ * Name
40502
+ * @description - Required on create and update.
40503
+ * - Must be unique within the same parent.
40504
+ */
40370
40505
  name: string;
40371
- /** Candelete */
40506
+ /** @description Parent category summary. Null for root/parent dimensions. */
40507
+ parent?: components["schemas"]["DimensionSummarySchema"] | null;
40508
+ /**
40509
+ * Isactive
40510
+ * @description - Defaults to true on create.
40511
+ */
40512
+ isActive: boolean;
40513
+ /**
40514
+ * Isroot
40515
+ * @description True when this row is a parent/category. False when it is a child/value usable in allocations.
40516
+ */
40517
+ isRoot: boolean;
40518
+ /**
40519
+ * Children
40520
+ * @description Child dimension values when `isRoot` is true. Empty for child rows.
40521
+ */
40522
+ children?: components["schemas"]["DimensionSummarySchema"][];
40523
+ /**
40524
+ * Candelete
40525
+ * @description False when the dimension or any of its child values is referenced by document allocations.
40526
+ */
40372
40527
  canDelete: boolean;
40373
40528
  };
40374
40529
  /** DimensionResponseSchema */
@@ -40381,14 +40536,78 @@ export interface components {
40381
40536
  };
40382
40537
  /** CreateUpdateDimension */
40383
40538
  CreateUpdateDimension: {
40384
- /** Name */
40539
+ /**
40540
+ * Name
40541
+ * @description - Required on create and update.
40542
+ * - Must be unique within the same parent.
40543
+ */
40544
+ name: string;
40545
+ /**
40546
+ * Parent
40547
+ * @description - Parent dimension category UUID.
40548
+ * - Null for root/parent categories.
40549
+ * - Required for child/value rows.
40550
+ * - Only one hierarchy level is supported (parent -> child).
40551
+ */
40552
+ parent?: string | null;
40553
+ /**
40554
+ * Isactive
40555
+ * @description - Defaults to true on create.
40556
+ * @default true
40557
+ */
40558
+ isActive: boolean;
40559
+ };
40560
+ /** DimensionListItemSchema */
40561
+ DimensionListItemSchema: {
40562
+ /**
40563
+ * Datecreated
40564
+ * Format: date-time
40565
+ */
40566
+ dateCreated: string;
40567
+ /** Datemodified */
40568
+ dateModified: string | null;
40569
+ createdBy: components["schemas"]["RecordUserSchema"];
40570
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
40571
+ /**
40572
+ * Id
40573
+ * Format: uuid
40574
+ * @description Dimension UUID.
40575
+ */
40576
+ id: string;
40577
+ /**
40578
+ * Name
40579
+ * @description - Required on create and update.
40580
+ * - Must be unique within the same parent.
40581
+ */
40385
40582
  name: string;
40583
+ /** @description Parent category summary. Null for root/parent dimensions. */
40584
+ parent?: components["schemas"]["DimensionSummarySchema"] | null;
40585
+ /**
40586
+ * Isactive
40587
+ * @description - Defaults to true on create.
40588
+ */
40589
+ isActive: boolean;
40590
+ /**
40591
+ * Isroot
40592
+ * @description True when this row is a parent/category. False when it is a child/value usable in allocations.
40593
+ */
40594
+ isRoot: boolean;
40595
+ /**
40596
+ * Children
40597
+ * @description Child dimension values when `isRoot` is true. Empty for child rows.
40598
+ */
40599
+ children?: components["schemas"]["DimensionSummarySchema"][];
40600
+ /**
40601
+ * Candelete
40602
+ * @description False when the dimension or any of its child values is referenced by document allocations.
40603
+ */
40604
+ canDelete: boolean;
40386
40605
  };
40387
40606
  /** DimensionListSchema */
40388
40607
  DimensionListSchema: {
40389
40608
  info: components["schemas"]["PageInfoSchema"];
40390
40609
  /** Results */
40391
- results: components["schemas"]["DimensionDetailSchema"][];
40610
+ results: components["schemas"]["DimensionListItemSchema"][];
40392
40611
  };
40393
40612
  /**
40394
40613
  * ReportGroupBy
@@ -42143,6 +42362,22 @@ export interface components {
42143
42362
  /** Candelete */
42144
42363
  canDelete?: boolean | null;
42145
42364
  };
42365
+ /** DimensionAllocationDetailSchema */
42366
+ DimensionAllocationDetailSchema: {
42367
+ /**
42368
+ * Id
42369
+ * Format: uuid
42370
+ * @description Allocation row UUID.
42371
+ */
42372
+ id: string;
42373
+ /** @description Allocated child dimension value with its parent category. */
42374
+ dimension: components["schemas"]["DimensionAllocationValueSchema"];
42375
+ /**
42376
+ * Percentage
42377
+ * @description - Validation: `invalidPercentage` (each row must be between 1 and 100), `dimensionAllocationsMustTotal100`.
42378
+ */
42379
+ percentage: number;
42380
+ };
42146
42381
  /**
42147
42382
  * DocumentStatus
42148
42383
  * @enum {string}
@@ -42244,6 +42479,12 @@ export interface components {
42244
42479
  canDelete: boolean;
42245
42480
  /** @description visible when project module is active */
42246
42481
  project: components["schemas"]["ProjectSummaryInfo"] | null;
42482
+ /**
42483
+ * Dimensionallocations
42484
+ * @description - Saved allocation rows for the document.
42485
+ * - Each `dimension` includes the child value and its `parent` category summary.
42486
+ */
42487
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
42247
42488
  /** Linkeddocuments */
42248
42489
  linkedDocuments?: {
42249
42490
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -42253,6 +42494,22 @@ export interface components {
42253
42494
  /** Entries */
42254
42495
  entries: components["schemas"]["PostEntryDetailsSchema"][];
42255
42496
  };
42497
+ /** DimensionAllocationInput */
42498
+ DimensionAllocationInput: {
42499
+ /**
42500
+ * Dimension
42501
+ * Format: uuid
42502
+ * @description - Child dimension value UUID (not the parent category).
42503
+ * - Only rows with a non-null `parent` and `isActive = true` are valid.
42504
+ * - Validation: `dimensionDoesNotExist`, `dimensionMustBeChild`, `dimensionIsInactive`, `duplicateDimension`.
42505
+ */
42506
+ dimension: string;
42507
+ /**
42508
+ * Percentage
42509
+ * @description - Validation: `invalidPercentage` (each row must be between 1 and 100), `dimensionAllocationsMustTotal100`.
42510
+ */
42511
+ percentage: number;
42512
+ };
42256
42513
  /** NewAdvancePaymentItemsSchema */
42257
42514
  NewAdvancePaymentItemsSchema: {
42258
42515
  /**
@@ -42352,6 +42609,15 @@ export interface components {
42352
42609
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
42353
42610
  */
42354
42611
  project?: number;
42612
+ /**
42613
+ * Dimensionallocations
42614
+ * @description - Optional. Field name: `dimensionAllocations`.
42615
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
42616
+ * - Percentages must total 100. Only child dimension values are allowed.
42617
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
42618
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
42619
+ */
42620
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
42355
42621
  /** Payments */
42356
42622
  payments: components["schemas"]["NewAdvancePaymentItemsSchema"][];
42357
42623
  };
@@ -42425,6 +42691,12 @@ export interface components {
42425
42691
  canDelete: boolean;
42426
42692
  /** @description visible when project module is active */
42427
42693
  project: components["schemas"]["ProjectSummaryInfo"] | null;
42694
+ /**
42695
+ * Dimensionallocations
42696
+ * @description - Saved allocation rows for the document.
42697
+ * - Each `dimension` includes the child value and its `parent` category summary.
42698
+ */
42699
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
42428
42700
  /** Linkeddocuments */
42429
42701
  linkedDocuments?: {
42430
42702
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -42529,6 +42801,15 @@ export interface components {
42529
42801
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
42530
42802
  */
42531
42803
  project?: number;
42804
+ /**
42805
+ * Dimensionallocations
42806
+ * @description - Optional. Field name: `dimensionAllocations`.
42807
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
42808
+ * - Percentages must total 100. Only child dimension values are allowed.
42809
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
42810
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
42811
+ */
42812
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
42532
42813
  /** Payments */
42533
42814
  payments: components["schemas"]["UpdateAdvancePaymentItemsSchema"][];
42534
42815
  };
@@ -44245,6 +44526,12 @@ export interface components {
44245
44526
  }[];
44246
44527
  /** @description visible when project module is active */
44247
44528
  project: components["schemas"]["ProjectSummaryInfo"] | null;
44529
+ /**
44530
+ * Dimensionallocations
44531
+ * @description - Saved allocation rows for the document.
44532
+ * - Each `dimension` includes the child value and its `parent` category summary.
44533
+ */
44534
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
44248
44535
  /** Items */
44249
44536
  items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
44250
44537
  /**
@@ -45199,6 +45486,12 @@ export interface components {
45199
45486
  }[];
45200
45487
  /** @description visible when project module is active */
45201
45488
  project: components["schemas"]["ProjectSummaryInfo"] | null;
45489
+ /**
45490
+ * Dimensionallocations
45491
+ * @description - Saved allocation rows for the document.
45492
+ * - Each `dimension` includes the child value and its `parent` category summary.
45493
+ */
45494
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
45202
45495
  /** Items */
45203
45496
  items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
45204
45497
  };
@@ -45436,6 +45729,12 @@ export interface components {
45436
45729
  }[];
45437
45730
  /** @description visible when project module is active */
45438
45731
  project: components["schemas"]["ProjectSummaryInfo"] | null;
45732
+ /**
45733
+ * Dimensionallocations
45734
+ * @description - Saved allocation rows for the document.
45735
+ * - Each `dimension` includes the child value and its `parent` category summary.
45736
+ */
45737
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
45439
45738
  /** Items */
45440
45739
  items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
45441
45740
  /**
@@ -45553,6 +45852,15 @@ export interface components {
45553
45852
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
45554
45853
  */
45555
45854
  project?: number;
45855
+ /**
45856
+ * Dimensionallocations
45857
+ * @description - Optional. Field name: `dimensionAllocations`.
45858
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
45859
+ * - Percentages must total 100. Only child dimension values are allowed.
45860
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
45861
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
45862
+ */
45863
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
45556
45864
  };
45557
45865
  /** PurchaseInvoiceItemsCreateSchema */
45558
45866
  PurchaseInvoiceItemsCreateSchema: {
@@ -45788,6 +46096,15 @@ export interface components {
45788
46096
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
45789
46097
  */
45790
46098
  project?: number;
46099
+ /**
46100
+ * Dimensionallocations
46101
+ * @description - Optional. Field name: `dimensionAllocations`.
46102
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
46103
+ * - Percentages must total 100. Only child dimension values are allowed.
46104
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
46105
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
46106
+ */
46107
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
45791
46108
  };
45792
46109
  /** PurchaseInvoiceDeleteSchema */
45793
46110
  PurchaseInvoiceDeleteSchema: {
@@ -46578,6 +46895,12 @@ export interface components {
46578
46895
  usdTotal: string;
46579
46896
  /** Candelete */
46580
46897
  canDelete: boolean;
46898
+ /**
46899
+ * Dimensionallocations
46900
+ * @description - Saved allocation rows for the document.
46901
+ * - Each `dimension` includes the child value and its `parent` category summary.
46902
+ */
46903
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
46581
46904
  /** Paymentvoucheritems */
46582
46905
  paymentVoucherItems: components["schemas"]["PaymentVoucherItemDetailSchema"][];
46583
46906
  /**
@@ -46635,6 +46958,15 @@ export interface components {
46635
46958
  */
46636
46959
  department: string | null;
46637
46960
  status: components["schemas"]["InternalStatusChoices"];
46961
+ /**
46962
+ * Dimensionallocations
46963
+ * @description - Optional. Field name: `dimensionAllocations`.
46964
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
46965
+ * - Percentages must total 100. Only child dimension values are allowed.
46966
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
46967
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
46968
+ */
46969
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
46638
46970
  /** Payments */
46639
46971
  payments: components["schemas"]["PaymentVoucherItemCreateSchema"][];
46640
46972
  };
@@ -46788,6 +47120,12 @@ export interface components {
46788
47120
  usdTotal: string;
46789
47121
  /** Candelete */
46790
47122
  canDelete: boolean;
47123
+ /**
47124
+ * Dimensionallocations
47125
+ * @description - Saved allocation rows for the document.
47126
+ * - Each `dimension` includes the child value and its `parent` category summary.
47127
+ */
47128
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
46791
47129
  };
46792
47130
  /** UpdatePaymentVoucherItemSchema */
46793
47131
  UpdatePaymentVoucherItemSchema: {
@@ -46925,6 +47263,15 @@ export interface components {
46925
47263
  */
46926
47264
  department: string | null;
46927
47265
  status: components["schemas"]["InternalStatusChoices"];
47266
+ /**
47267
+ * Dimensionallocations
47268
+ * @description - Optional. Field name: `dimensionAllocations`.
47269
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
47270
+ * - Percentages must total 100. Only child dimension values are allowed.
47271
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
47272
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
47273
+ */
47274
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
46928
47275
  /** Payments */
46929
47276
  payments: components["schemas"]["UpdatePaymentVoucherItemSchema"][];
46930
47277
  };
@@ -47169,6 +47516,12 @@ export interface components {
47169
47516
  }[];
47170
47517
  /** @description visible when project module is active */
47171
47518
  project: components["schemas"]["ProjectSummaryInfo"] | null;
47519
+ /**
47520
+ * Dimensionallocations
47521
+ * @description - Saved allocation rows for the document.
47522
+ * - Each `dimension` includes the child value and its `parent` category summary.
47523
+ */
47524
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
47172
47525
  /** Items */
47173
47526
  items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
47174
47527
  /**
@@ -47402,6 +47755,12 @@ export interface components {
47402
47755
  linkedDocuments?: {
47403
47756
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
47404
47757
  }[];
47758
+ /**
47759
+ * Dimensionallocations
47760
+ * @description - Saved allocation rows for the document.
47761
+ * - Each `dimension` includes the child value and its `parent` category summary.
47762
+ */
47763
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
47405
47764
  /**
47406
47765
  * Items
47407
47766
  * @default []
@@ -47511,6 +47870,15 @@ export interface components {
47511
47870
  reasonForReturn?: number | null;
47512
47871
  /** Items */
47513
47872
  items: components["schemas"]["CreateUpdatePurchaseReturnInvoiceItemsSchema"][];
47873
+ /**
47874
+ * Dimensionallocations
47875
+ * @description - Optional. Field name: `dimensionAllocations`.
47876
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
47877
+ * - Percentages must total 100. Only child dimension values are allowed.
47878
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
47879
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
47880
+ */
47881
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
47514
47882
  };
47515
47883
  /** PurchaseInvoiceForReturnInvoiceCreateSchema */
47516
47884
  PurchaseInvoiceForReturnInvoiceCreateSchema: {
@@ -47645,6 +48013,12 @@ export interface components {
47645
48013
  linkedDocuments?: {
47646
48014
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
47647
48015
  }[];
48016
+ /**
48017
+ * Dimensionallocations
48018
+ * @description - Saved allocation rows for the document.
48019
+ * - Each `dimension` includes the child value and its `parent` category summary.
48020
+ */
48021
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
47648
48022
  };
47649
48023
  /** ReturnPurchaseInvoiceItemTotalCalculated */
47650
48024
  ReturnPurchaseInvoiceItemTotalCalculated: {
@@ -52913,6 +53287,12 @@ export interface components {
52913
53287
  usdTotal: string;
52914
53288
  /** Candelete */
52915
53289
  canDelete: boolean;
53290
+ /**
53291
+ * Dimensionallocations
53292
+ * @description - Saved allocation rows for the document.
53293
+ * - Each `dimension` includes the child value and its `parent` category summary.
53294
+ */
53295
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
52916
53296
  /** Payments */
52917
53297
  payments: components["schemas"]["RefundVoucherItemDetailSchema"][];
52918
53298
  /**
@@ -53018,6 +53398,15 @@ export interface components {
53018
53398
  */
53019
53399
  attachments: string[];
53020
53400
  status: components["schemas"]["InternalStatusChoices"];
53401
+ /**
53402
+ * Dimensionallocations
53403
+ * @description - Optional. Field name: `dimensionAllocations`.
53404
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
53405
+ * - Percentages must total 100. Only child dimension values are allowed.
53406
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
53407
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
53408
+ */
53409
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
53021
53410
  /** Payments */
53022
53411
  payments: components["schemas"]["RefundVoucherItemCreateSchema"][];
53023
53412
  };
@@ -53160,6 +53549,12 @@ export interface components {
53160
53549
  usdTotal: string;
53161
53550
  /** Candelete */
53162
53551
  canDelete: boolean;
53552
+ /**
53553
+ * Dimensionallocations
53554
+ * @description - Saved allocation rows for the document.
53555
+ * - Each `dimension` includes the child value and its `parent` category summary.
53556
+ */
53557
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
53163
53558
  };
53164
53559
  /** RefundVoucherListSchema */
53165
53560
  RefundVoucherListSchema: {
@@ -53303,6 +53698,15 @@ export interface components {
53303
53698
  */
53304
53699
  attachments: string[];
53305
53700
  status: components["schemas"]["InternalStatusChoices"];
53701
+ /**
53702
+ * Dimensionallocations
53703
+ * @description - Optional. Field name: `dimensionAllocations`.
53704
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
53705
+ * - Percentages must total 100. Only child dimension values are allowed.
53706
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
53707
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
53708
+ */
53709
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
53306
53710
  /** Payments */
53307
53711
  payments: components["schemas"]["RefundVoucherItemUpdateSchema"][];
53308
53712
  };
@@ -53721,6 +54125,12 @@ export interface components {
53721
54125
  canDelete: boolean;
53722
54126
  /** @description visible when project module is active */
53723
54127
  project: components["schemas"]["ProjectSummaryInfo"] | null;
54128
+ /**
54129
+ * Dimensionallocations
54130
+ * @description - Saved allocation rows for the document.
54131
+ * - Each `dimension` includes the child value and its `parent` category summary.
54132
+ */
54133
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
53724
54134
  /** Linkeddocuments */
53725
54135
  linkedDocuments?: {
53726
54136
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -53768,6 +54178,15 @@ export interface components {
53768
54178
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
53769
54179
  */
53770
54180
  project?: number;
54181
+ /**
54182
+ * Dimensionallocations
54183
+ * @description - Optional. Field name: `dimensionAllocations`.
54184
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
54185
+ * - Percentages must total 100. Only child dimension values are allowed.
54186
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
54187
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
54188
+ */
54189
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
53771
54190
  /** Items */
53772
54191
  items: components["schemas"]["DownPaymentItemCreateSchema"][];
53773
54192
  };
@@ -53925,6 +54344,12 @@ export interface components {
53925
54344
  canDelete: boolean;
53926
54345
  /** @description visible when project module is active */
53927
54346
  project: components["schemas"]["ProjectSummaryInfo"] | null;
54347
+ /**
54348
+ * Dimensionallocations
54349
+ * @description - Saved allocation rows for the document.
54350
+ * - Each `dimension` includes the child value and its `parent` category summary.
54351
+ */
54352
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
53928
54353
  /** Linkeddocuments */
53929
54354
  linkedDocuments?: {
53930
54355
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -54061,6 +54486,15 @@ export interface components {
54061
54486
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
54062
54487
  */
54063
54488
  project?: number;
54489
+ /**
54490
+ * Dimensionallocations
54491
+ * @description - Optional. Field name: `dimensionAllocations`.
54492
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
54493
+ * - Percentages must total 100. Only child dimension values are allowed.
54494
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
54495
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
54496
+ */
54497
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
54064
54498
  /** Items */
54065
54499
  items: components["schemas"]["DownPaymentItemUpdateSchema"][];
54066
54500
  };
@@ -54133,6 +54567,12 @@ export interface components {
54133
54567
  canDelete: boolean;
54134
54568
  /** @description visible when project module is active */
54135
54569
  project: components["schemas"]["ProjectSummaryInfo"] | null;
54570
+ /**
54571
+ * Dimensionallocations
54572
+ * @description - Saved allocation rows for the document.
54573
+ * - Each `dimension` includes the child value and its `parent` category summary.
54574
+ */
54575
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
54136
54576
  /** Linkeddocuments */
54137
54577
  linkedDocuments?: {
54138
54578
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
@@ -55374,6 +55814,12 @@ export interface components {
55374
55814
  canDelete: boolean;
55375
55815
  /** @description visible when project module is active */
55376
55816
  project: components["schemas"]["ProjectSummaryInfo"] | null;
55817
+ /**
55818
+ * Dimensionallocations
55819
+ * @description - Saved allocation rows for the document.
55820
+ * - Each `dimension` includes the child value and its `parent` category summary.
55821
+ */
55822
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
55377
55823
  /** Creditnoteitems */
55378
55824
  creditNoteItems: components["schemas"]["PurchaseCreditNoteItemDetailSchema"][];
55379
55825
  /**
@@ -55444,6 +55890,15 @@ export interface components {
55444
55890
  * @description when applies on is purchaseInvoice only one entry is allowed
55445
55891
  */
55446
55892
  items: components["schemas"]["PurchaseCreditNoteItemCreateSchema"][];
55893
+ /**
55894
+ * Dimensionallocations
55895
+ * @description - Optional. Field name: `dimensionAllocations`.
55896
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
55897
+ * - Percentages must total 100. Only child dimension values are allowed.
55898
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
55899
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
55900
+ */
55901
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
55447
55902
  };
55448
55903
  /** PurchaseCreditNoteItemCreateSchema */
55449
55904
  PurchaseCreditNoteItemCreateSchema: {
@@ -55522,6 +55977,12 @@ export interface components {
55522
55977
  canDelete: boolean;
55523
55978
  /** @description visible when project module is active */
55524
55979
  project: components["schemas"]["ProjectSummaryInfo"] | null;
55980
+ /**
55981
+ * Dimensionallocations
55982
+ * @description - Saved allocation rows for the document.
55983
+ * - Each `dimension` includes the child value and its `parent` category summary.
55984
+ */
55985
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
55525
55986
  };
55526
55987
  /** PurchaseCreditNoteListSchema */
55527
55988
  PurchaseCreditNoteListSchema: {
@@ -55623,6 +56084,15 @@ export interface components {
55623
56084
  * @description when applies on is purchaseInvoice only one entry is allowed
55624
56085
  */
55625
56086
  items: components["schemas"]["PurchaseCreditNoteItemUpdateSchema"][];
56087
+ /**
56088
+ * Dimensionallocations
56089
+ * @description - Optional. Field name: `dimensionAllocations`.
56090
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
56091
+ * - Percentages must total 100. Only child dimension values are allowed.
56092
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
56093
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
56094
+ */
56095
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
55626
56096
  };
55627
56097
  /** PurchaseCreditNoteDeleteSchema */
55628
56098
  PurchaseCreditNoteDeleteSchema: {
@@ -55847,6 +56317,12 @@ export interface components {
55847
56317
  secondaryTotal: string;
55848
56318
  /** Candelete */
55849
56319
  canDelete: boolean;
56320
+ /**
56321
+ * Dimensionallocations
56322
+ * @description - Saved allocation rows for the document.
56323
+ * - Each `dimension` includes the child value and its `parent` category summary.
56324
+ */
56325
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
55850
56326
  /** Payments */
55851
56327
  payments: components["schemas"]["ReceiptVoucherItemDetailSchema"][];
55852
56328
  /** Entries */
@@ -55887,6 +56363,15 @@ export interface components {
55887
56363
  */
55888
56364
  customer: string;
55889
56365
  status: components["schemas"]["InternalStatusChoices"];
56366
+ /**
56367
+ * Dimensionallocations
56368
+ * @description - Optional. Field name: `dimensionAllocations`.
56369
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
56370
+ * - Percentages must total 100. Only child dimension values are allowed.
56371
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
56372
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
56373
+ */
56374
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
55890
56375
  /** Payments */
55891
56376
  payments: components["schemas"]["ReceiptVoucherItemCreateSchema"][];
55892
56377
  };
@@ -56025,6 +56510,12 @@ export interface components {
56025
56510
  secondaryTotal: string;
56026
56511
  /** Candelete */
56027
56512
  canDelete: boolean;
56513
+ /**
56514
+ * Dimensionallocations
56515
+ * @description - Saved allocation rows for the document.
56516
+ * - Each `dimension` includes the child value and its `parent` category summary.
56517
+ */
56518
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
56028
56519
  };
56029
56520
  /** ReceiptVoucherListSchema */
56030
56521
  ReceiptVoucherListSchema: {
@@ -56157,6 +56648,15 @@ export interface components {
56157
56648
  */
56158
56649
  customer: string;
56159
56650
  status: components["schemas"]["InternalStatusChoices"];
56651
+ /**
56652
+ * Dimensionallocations
56653
+ * @description - Optional. Field name: `dimensionAllocations`.
56654
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
56655
+ * - Percentages must total 100. Only child dimension values are allowed.
56656
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
56657
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
56658
+ */
56659
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
56160
56660
  /** Payments */
56161
56661
  payments: components["schemas"]["ReceiptVoucherItemUpdateSchema"][];
56162
56662
  };
@@ -56435,6 +56935,12 @@ export interface components {
56435
56935
  commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
56436
56936
  /** @description visible when project module is active */
56437
56937
  project: components["schemas"]["ProjectSummaryInfo"] | null;
56938
+ /**
56939
+ * Dimensionallocations
56940
+ * @description - Saved allocation rows for the document.
56941
+ * - Each `dimension` includes the child value and its `parent` category summary.
56942
+ */
56943
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
56438
56944
  /**
56439
56945
  * Secondaryrate
56440
56946
  * @description This field is a number representing the USD rate.
@@ -56876,6 +57382,15 @@ export interface components {
56876
57382
  * @description project id, visible when project module is active, get projects from /api/v1/projects/?branchId={branch-id}/
56877
57383
  */
56878
57384
  project?: number;
57385
+ /**
57386
+ * Dimensionallocations
57387
+ * @description - Optional. Field name: `dimensionAllocations`.
57388
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
57389
+ * - Percentages must total 100. Only child dimension values are allowed.
57390
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
57391
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
57392
+ */
57393
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
56879
57394
  /**
56880
57395
  * Date
56881
57396
  * Format: date
@@ -57086,6 +57601,12 @@ export interface components {
57086
57601
  commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
57087
57602
  /** @description visible when project module is active */
57088
57603
  project: components["schemas"]["ProjectSummaryInfo"] | null;
57604
+ /**
57605
+ * Dimensionallocations
57606
+ * @description - Saved allocation rows for the document.
57607
+ * - Each `dimension` includes the child value and its `parent` category summary.
57608
+ */
57609
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
57089
57610
  /**
57090
57611
  * Secondaryrate
57091
57612
  * @description This field is a number representing the USD rate.
@@ -57373,6 +57894,12 @@ export interface components {
57373
57894
  commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
57374
57895
  /** @description visible when project module is active */
57375
57896
  project: components["schemas"]["ProjectSummaryInfo"] | null;
57897
+ /**
57898
+ * Dimensionallocations
57899
+ * @description - Saved allocation rows for the document.
57900
+ * - Each `dimension` includes the child value and its `parent` category summary.
57901
+ */
57902
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
57376
57903
  /**
57377
57904
  * Secondaryrate
57378
57905
  * @description This field is a number representing the USD rate.
@@ -58406,6 +58933,12 @@ export interface components {
58406
58933
  linkedDocuments?: {
58407
58934
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
58408
58935
  }[];
58936
+ /**
58937
+ * Dimensionallocations
58938
+ * @description - Saved allocation rows for the document.
58939
+ * - Each `dimension` includes the child value and its `parent` category summary.
58940
+ */
58941
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
58409
58942
  /**
58410
58943
  * Items
58411
58944
  * @default []
@@ -58521,6 +59054,15 @@ export interface components {
58521
59054
  notes: string | null;
58522
59055
  /** Items */
58523
59056
  items: components["schemas"]["CreateUpdateSalesReturnInvoiceItemSchema"][];
59057
+ /**
59058
+ * Dimensionallocations
59059
+ * @description - Optional. Field name: `dimensionAllocations`.
59060
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
59061
+ * - Percentages must total 100. Only child dimension values are allowed.
59062
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
59063
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
59064
+ */
59065
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
58524
59066
  };
58525
59067
  /** SalesInvoiceForReturnInvoiceCreateSchema */
58526
59068
  SalesInvoiceForReturnInvoiceCreateSchema: {
@@ -58650,6 +59192,12 @@ export interface components {
58650
59192
  linkedDocuments?: {
58651
59193
  [key: string]: components["schemas"]["LinkedDocumentsSchema"];
58652
59194
  }[];
59195
+ /**
59196
+ * Dimensionallocations
59197
+ * @description - Saved allocation rows for the document.
59198
+ * - Each `dimension` includes the child value and its `parent` category summary.
59199
+ */
59200
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
58653
59201
  };
58654
59202
  /** SalesReturnInvoiceItemTotalCalculated */
58655
59203
  SalesReturnInvoiceItemTotalCalculated: {
@@ -59070,6 +59618,12 @@ export interface components {
59070
59618
  secondaryTotal: string;
59071
59619
  /** Candelete */
59072
59620
  canDelete: boolean;
59621
+ /**
59622
+ * Dimensionallocations
59623
+ * @description - Saved allocation rows for the document.
59624
+ * - Each `dimension` includes the child value and its `parent` category summary.
59625
+ */
59626
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
59073
59627
  /** Items */
59074
59628
  items: components["schemas"]["SalesRefundVoucherItemDetailSchema"][];
59075
59629
  /**
@@ -59170,6 +59724,15 @@ export interface components {
59170
59724
  */
59171
59725
  attachments: string[];
59172
59726
  status: components["schemas"]["InternalStatusChoices"];
59727
+ /**
59728
+ * Dimensionallocations
59729
+ * @description - Optional. Field name: `dimensionAllocations`.
59730
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
59731
+ * - Percentages must total 100. Only child dimension values are allowed.
59732
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
59733
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
59734
+ */
59735
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
59173
59736
  /** Payments */
59174
59737
  payments: components["schemas"]["SalesRefundVoucherItemCreateSchema"][];
59175
59738
  };
@@ -59325,6 +59888,12 @@ export interface components {
59325
59888
  secondaryTotal: string;
59326
59889
  /** Candelete */
59327
59890
  canDelete: boolean;
59891
+ /**
59892
+ * Dimensionallocations
59893
+ * @description - Saved allocation rows for the document.
59894
+ * - Each `dimension` includes the child value and its `parent` category summary.
59895
+ */
59896
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
59328
59897
  };
59329
59898
  /** SalesRefundVoucherListSchema */
59330
59899
  SalesRefundVoucherListSchema: {
@@ -59475,6 +60044,15 @@ export interface components {
59475
60044
  */
59476
60045
  attachments: string[];
59477
60046
  status: components["schemas"]["InternalStatusChoices"];
60047
+ /**
60048
+ * Dimensionallocations
60049
+ * @description - Optional. Field name: `dimensionAllocations`.
60050
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
60051
+ * - Percentages must total 100. Only child dimension values are allowed.
60052
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
60053
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
60054
+ */
60055
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
59478
60056
  /** Payments */
59479
60057
  payments: components["schemas"]["SalesRefundVoucherItemUpdateSchema"][];
59480
60058
  };
@@ -59911,6 +60489,12 @@ export interface components {
59911
60489
  canDelete: boolean;
59912
60490
  /** @description visible when project module is active */
59913
60491
  project: components["schemas"]["ProjectSummaryInfo"] | null;
60492
+ /**
60493
+ * Dimensionallocations
60494
+ * @description - Saved allocation rows for the document.
60495
+ * - Each `dimension` includes the child value and its `parent` category summary.
60496
+ */
60497
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
59914
60498
  /** Creditnoteitems */
59915
60499
  creditNoteItems: components["schemas"]["SalesCreditNoteItemDetailSchema"][];
59916
60500
  /**
@@ -59974,6 +60558,15 @@ export interface components {
59974
60558
  * @description when applies on is salesInvoice only one entry is allowed
59975
60559
  */
59976
60560
  items: components["schemas"]["SalesCreditNoteItemCreateSchema"][];
60561
+ /**
60562
+ * Dimensionallocations
60563
+ * @description - Optional. Field name: `dimensionAllocations`.
60564
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
60565
+ * - Percentages must total 100. Only child dimension values are allowed.
60566
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
60567
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
60568
+ */
60569
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
59977
60570
  };
59978
60571
  /** SalesCreditNoteItemCreateSchema */
59979
60572
  SalesCreditNoteItemCreateSchema: {
@@ -60054,6 +60647,12 @@ export interface components {
60054
60647
  canDelete: boolean;
60055
60648
  /** @description visible when project module is active */
60056
60649
  project: components["schemas"]["ProjectSummaryInfo"] | null;
60650
+ /**
60651
+ * Dimensionallocations
60652
+ * @description - Saved allocation rows for the document.
60653
+ * - Each `dimension` includes the child value and its `parent` category summary.
60654
+ */
60655
+ dimensionAllocations?: components["schemas"]["DimensionAllocationDetailSchema"][];
60057
60656
  };
60058
60657
  /** SalesCreditNoteListSchema */
60059
60658
  SalesCreditNoteListSchema: {
@@ -60151,6 +60750,15 @@ export interface components {
60151
60750
  * @description when applies on is salesInvoice only one entry is allowed
60152
60751
  */
60153
60752
  items: components["schemas"]["SalesCreditNoteItemUpdateSchema"][];
60753
+ /**
60754
+ * Dimensionallocations
60755
+ * @description - Optional. Field name: `dimensionAllocations`.
60756
+ * - Shape: `[{ "dimension": "<uuid>", "percentage": 70 }]`.
60757
+ * - Percentages must total 100. Only child dimension values are allowed.
60758
+ * - Validation codes: `dimensionRequired`, `percentageRequired`, `dimensionDoesNotExist`, `dimensionMustBeChild`,
60759
+ * `dimensionIsInactive`, `duplicateDimension`, `invalidPercentage`, `dimensionAllocationsMustTotal100`.
60760
+ */
60761
+ dimensionAllocations?: components["schemas"]["DimensionAllocationInput"][] | null;
60154
60762
  };
60155
60763
  /** SalesCreditNoteDeleteSchema */
60156
60764
  SalesCreditNoteDeleteSchema: {
@@ -64513,16 +65121,6 @@ export interface components {
64513
65121
  * @enum {string}
64514
65122
  */
64515
65123
  ExpenseVoucherTypeEnum: "immediate" | "supplierRelated";
64516
- /** DimensionSummaryShema */
64517
- DimensionSummaryShema: {
64518
- /**
64519
- * Id
64520
- * Format: uuid
64521
- */
64522
- id: string;
64523
- /** Name */
64524
- name: string;
64525
- };
64526
65124
  /** ExpenseCategorySummarySchema */
64527
65125
  ExpenseCategorySummarySchema: {
64528
65126
  /**
@@ -64587,7 +65185,7 @@ export interface components {
64587
65185
  paidBy: components["schemas"]["ExpensePaidByEnum"];
64588
65186
  employee: components["schemas"]["AccountWithCurrencySummaryInfo"] | null;
64589
65187
  project: components["schemas"]["ProjectSummaryInfo"] | null;
64590
- dimension: components["schemas"]["DimensionSummaryShema"] | null;
65188
+ dimension: components["schemas"]["DimensionSummarySchema"] | null;
64591
65189
  warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
64592
65190
  customer: components["schemas"]["AccountSummaryInfo"] | null;
64593
65191
  supplier: components["schemas"]["AccountWithCurrencySummaryInfo"] | null;
@@ -65042,7 +65640,7 @@ export interface components {
65042
65640
  paidBy: components["schemas"]["ExpensePaidByEnum"];
65043
65641
  employee: components["schemas"]["AccountWithCurrencySummaryInfo"] | null;
65044
65642
  project: components["schemas"]["ProjectSummaryInfo"] | null;
65045
- dimension: components["schemas"]["DimensionSummaryShema"] | null;
65643
+ dimension: components["schemas"]["DimensionSummarySchema"] | null;
65046
65644
  warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
65047
65645
  customer: components["schemas"]["AccountSummaryInfo"] | null;
65048
65646
  supplier: components["schemas"]["AccountWithCurrencySummaryInfo"] | null;
@@ -78715,6 +79313,78 @@ export interface operations {
78715
79313
  };
78716
79314
  };
78717
79315
  };
79316
+ reports_accounting_reports_get_dimension_statement: {
79317
+ parameters: {
79318
+ query: {
79319
+ /** @description Child dimension value UUIDs */
79320
+ dimensionIds: string[];
79321
+ /** @description From date */
79322
+ fromDate: string;
79323
+ /** @description To date */
79324
+ toDate: string;
79325
+ transactionStatus?: ("withDraftEntries" | "withReversedEntries" | "withActiveEntries")[];
79326
+ /** @description Include opening balance */
79327
+ withOpeningBalance: boolean;
79328
+ branches: string[];
79329
+ /** @description Page number */
79330
+ page?: number;
79331
+ /** @description Page size */
79332
+ pageSize?: number;
79333
+ /** @description currencies ids,if user selected accountCurrency then you should send accountCurrency in list */
79334
+ currencies: (string)[];
79335
+ /** @description Use the '/api/v1/common/posting_accounts/' endpoint with 'type=General' to retrieve accounts.you have to send the account number of the account you want to start with. */
79336
+ fromAccount?: string | null;
79337
+ /** @description Use the '/api/v1/common/posting_accounts/' endpoint with 'type=General' to retrieve valid accounts, and filter the accounts to include only those with an account_number greater than the one selected in from_account. you have to send the account number of the account you want to end with. */
79338
+ toAccount?: string | null;
79339
+ /** @description Optional document types */
79340
+ documentTypes?: components["schemas"]["DocumentTypeForDimensionStatementReport"][] | null;
79341
+ /** @description Optional document number */
79342
+ documentNumber?: string | null;
79343
+ };
79344
+ header?: never;
79345
+ path?: never;
79346
+ cookie?: never;
79347
+ };
79348
+ requestBody?: never;
79349
+ responses: {
79350
+ /** @description OK */
79351
+ 200: {
79352
+ headers: {
79353
+ [name: string]: unknown;
79354
+ };
79355
+ content: {
79356
+ "application/json": components["schemas"]["DimensionStatementPagination"];
79357
+ };
79358
+ };
79359
+ /** @description Bad Request */
79360
+ 400: {
79361
+ headers: {
79362
+ [name: string]: unknown;
79363
+ };
79364
+ content: {
79365
+ "application/json": components["schemas"]["ErrorMessages"];
79366
+ };
79367
+ };
79368
+ /** @description Forbidden */
79369
+ 403: {
79370
+ headers: {
79371
+ [name: string]: unknown;
79372
+ };
79373
+ content: {
79374
+ "application/json": components["schemas"]["MessageResponse"];
79375
+ };
79376
+ };
79377
+ /** @description Internal Server Error */
79378
+ 500: {
79379
+ headers: {
79380
+ [name: string]: unknown;
79381
+ };
79382
+ content: {
79383
+ "application/json": components["schemas"]["MessageResponse"];
79384
+ };
79385
+ };
79386
+ };
79387
+ };
78718
79388
  reports_views_balance_sheet: {
78719
79389
  parameters: {
78720
79390
  query: {
@@ -83493,7 +84163,7 @@ export interface operations {
83493
84163
  erp_settings_accountingsetting_views_list_dimensions: {
83494
84164
  parameters: {
83495
84165
  query?: {
83496
- /** @description search by dimension name */
84166
+ /** @description Optional search by dimension name. */
83497
84167
  search?: string;
83498
84168
  };
83499
84169
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1994",
3
+ "version": "1.0.1996",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],