@erp-galoper/types 1.0.1815 → 1.0.1817

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 +198 -0
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -20395,6 +20395,38 @@ export interface paths {
20395
20395
  patch?: never;
20396
20396
  trace?: never;
20397
20397
  };
20398
+ "/api/v1/reports/receivables-by-customer-region/": {
20399
+ parameters: {
20400
+ query?: never;
20401
+ header?: never;
20402
+ path?: never;
20403
+ cookie?: never;
20404
+ };
20405
+ /**
20406
+ * Get Receivables By Customer Region Report View
20407
+ * @description Receivables by Customer Region Report - Outstanding receivables grouped by region and customer.
20408
+ *
20409
+ * **Possible Responses:**
20410
+ * - 200: Report data grouped by region and customer with unpaid invoices
20411
+ * - 400:
20412
+ * - regionsWithIds{ids}NotFound
20413
+ * - branchDoesNotExist
20414
+ * - 403:
20415
+ * - permissionDenied
20416
+ * - noBranchAccess
20417
+ *
20418
+ * **Permission Keys:**
20419
+ * - receivablesbycustomerregionreport: ["view"]
20420
+ */
20421
+ get: operations["reports_receivablesreport_views_get_receivables_by_customer_region_report_view"];
20422
+ put?: never;
20423
+ post?: never;
20424
+ delete?: never;
20425
+ options?: never;
20426
+ head?: never;
20427
+ patch?: never;
20428
+ trace?: never;
20429
+ };
20398
20430
  "/api/v1/task/status": {
20399
20431
  parameters: {
20400
20432
  query?: never;
@@ -24420,6 +24452,12 @@ export interface components {
24420
24452
  * @default []
24421
24453
  */
24422
24454
  salestrendreport: components["schemas"]["BasePermissionsSchema_Report_Sales_SalestrendreportEnum"][];
24455
+ /**
24456
+ * Receivablesbycustomerregionreport
24457
+ * @description receivablesbycustomerregionreport actions
24458
+ * @default []
24459
+ */
24460
+ receivablesbycustomerregionreport: string[];
24423
24461
  };
24424
24462
  /**
24425
24463
  * BasePermissionsSchema_Report_Sales_SalesbybrandreportEnum
@@ -35158,6 +35196,21 @@ export interface components {
35158
35196
  };
35159
35197
  /** CustomerSharedSchema */
35160
35198
  CustomerSharedSchema: {
35199
+ /** Phone1 */
35200
+ phone1?: string | null;
35201
+ /** Phone2 */
35202
+ phone2?: string | null;
35203
+ /** Fax */
35204
+ fax?: string | null;
35205
+ /** Country */
35206
+ country: string | null;
35207
+ /** Postalcode */
35208
+ postalCode?: string | null;
35209
+ city: components["schemas"]["CommonCity"] | null;
35210
+ /** Address */
35211
+ address?: string | null;
35212
+ /** Website */
35213
+ website?: string | null;
35161
35214
  /**
35162
35215
  * Id
35163
35216
  * Format: uuid
@@ -39417,6 +39470,21 @@ export interface components {
39417
39470
  };
39418
39471
  /** ChildSupplierSharedSchema */
39419
39472
  ChildSupplierSharedSchema: {
39473
+ /** Phone1 */
39474
+ phone1?: string | null;
39475
+ /** Phone2 */
39476
+ phone2?: string | null;
39477
+ /** Fax */
39478
+ fax?: string | null;
39479
+ /** Country */
39480
+ country: string | null;
39481
+ /** Postalcode */
39482
+ postalCode?: string | null;
39483
+ city: components["schemas"]["CommonCity"] | null;
39484
+ /** Address */
39485
+ address?: string | null;
39486
+ /** Website */
39487
+ website?: string | null;
39420
39488
  /**
39421
39489
  * Id
39422
39490
  * Format: uuid
@@ -59619,6 +59687,83 @@ export interface components {
59619
59687
  */
59620
59688
  growthPercentage?: number | null;
59621
59689
  };
59690
+ /** ReceivablesByCustomerRegionContactSchema */
59691
+ ReceivablesByCustomerRegionContactSchema: {
59692
+ /** Name */
59693
+ name?: string | null;
59694
+ /** Phone */
59695
+ phone?: string | null;
59696
+ };
59697
+ /** ReceivablesByCustomerRegionCustomerSchema */
59698
+ ReceivablesByCustomerRegionCustomerSchema: {
59699
+ /**
59700
+ * Id
59701
+ * Format: uuid
59702
+ */
59703
+ id: string;
59704
+ /** Name */
59705
+ name: string;
59706
+ /** Phone */
59707
+ phone?: string | null;
59708
+ region?: components["schemas"]["RegionCommonSchema"] | null;
59709
+ city?: components["schemas"]["CommonCity"] | null;
59710
+ /** Address */
59711
+ address?: string | null;
59712
+ contactPerson?: components["schemas"]["ReceivablesByCustomerRegionContactSchema"] | null;
59713
+ totalOutstanding: components["schemas"]["CurrencyAmountSchema"];
59714
+ /** Invoices */
59715
+ invoices: components["schemas"]["ReceivablesByCustomerRegionInvoiceSchema"][];
59716
+ };
59717
+ /** ReceivablesByCustomerRegionInvoiceSchema */
59718
+ ReceivablesByCustomerRegionInvoiceSchema: {
59719
+ /** Id */
59720
+ id: string;
59721
+ /**
59722
+ * Date
59723
+ * Format: date
59724
+ */
59725
+ date: string;
59726
+ /** Duedate */
59727
+ dueDate?: string | null;
59728
+ total: components["schemas"]["CurrencyAmountSchema"];
59729
+ remaining: components["schemas"]["CurrencyAmountSchema"];
59730
+ };
59731
+ /** ReceivablesByCustomerRegionRegionSchema */
59732
+ ReceivablesByCustomerRegionRegionSchema: {
59733
+ /** Id */
59734
+ id: number;
59735
+ /** Country */
59736
+ country: string;
59737
+ /** Region */
59738
+ region: string;
59739
+ totalOutstanding: components["schemas"]["CurrencyAmountSchema"];
59740
+ /** Customercount */
59741
+ customerCount: number;
59742
+ /** Customers */
59743
+ customers: components["schemas"]["ReceivablesByCustomerRegionCustomerSchema"][];
59744
+ };
59745
+ /** ReceivablesByCustomerRegionReportMetaSchema */
59746
+ ReceivablesByCustomerRegionReportMetaSchema: {
59747
+ /**
59748
+ * Generatedat
59749
+ * Format: date-time
59750
+ */
59751
+ generatedAt: string;
59752
+ /**
59753
+ * Asofdate
59754
+ * Format: date
59755
+ */
59756
+ asOfDate: string;
59757
+ /** Totalcustomers */
59758
+ totalCustomers: number;
59759
+ totalOutstanding: components["schemas"]["CurrencyAmountSchema"];
59760
+ /** Regions */
59761
+ regions: components["schemas"]["ReceivablesByCustomerRegionRegionSchema"][];
59762
+ };
59763
+ /** ReceivablesByCustomerRegionReportSchema */
59764
+ ReceivablesByCustomerRegionReportSchema: {
59765
+ reportMeta: components["schemas"]["ReceivablesByCustomerRegionReportMetaSchema"];
59766
+ };
59622
59767
  /** RetrieveStatus */
59623
59768
  RetrieveStatus: {
59624
59769
  /**
@@ -102395,6 +102540,59 @@ export interface operations {
102395
102540
  };
102396
102541
  };
102397
102542
  };
102543
+ reports_receivablesreport_views_get_receivables_by_customer_region_report_view: {
102544
+ parameters: {
102545
+ query?: {
102546
+ /** @description Sales region(s) to filter customers (defaults to all regions) */
102547
+ regionIds?: number[] | null;
102548
+ /** @description Show invoices unpaid as of this date */
102549
+ asOfDate?: string | null;
102550
+ /** @description Filter by assigned sales manager */
102551
+ salesManagerId?: string | null;
102552
+ /** @description Filter by customer category */
102553
+ customerGroupIds?: string[] | null;
102554
+ /** @description Only include customers with overdue invoices */
102555
+ includeOverdueOnly?: boolean;
102556
+ /** @description Sort customers by city or sort regions alphabetically */
102557
+ sortBy?: "region" | "city";
102558
+ /** @description Branch filter (defaults to current branch) */
102559
+ branchesIds?: string[] | null;
102560
+ };
102561
+ header?: never;
102562
+ path?: never;
102563
+ cookie?: never;
102564
+ };
102565
+ requestBody?: never;
102566
+ responses: {
102567
+ /** @description OK */
102568
+ 200: {
102569
+ headers: {
102570
+ [name: string]: unknown;
102571
+ };
102572
+ content: {
102573
+ "application/json": components["schemas"]["ReceivablesByCustomerRegionReportSchema"];
102574
+ };
102575
+ };
102576
+ /** @description Bad Request */
102577
+ 400: {
102578
+ headers: {
102579
+ [name: string]: unknown;
102580
+ };
102581
+ content: {
102582
+ "application/json": components["schemas"]["ErrorMessages"];
102583
+ };
102584
+ };
102585
+ /** @description Forbidden */
102586
+ 403: {
102587
+ headers: {
102588
+ [name: string]: unknown;
102589
+ };
102590
+ content: {
102591
+ "application/json": components["schemas"]["MessageResponse"];
102592
+ };
102593
+ };
102594
+ };
102595
+ };
102398
102596
  task_views_list_status_by_order: {
102399
102597
  parameters: {
102400
102598
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1815",
3
+ "version": "1.0.1817",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],