@erp-galoper/types 1.0.1816 → 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.
- package/openapi.ts +168 -0
- 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
|
|
@@ -59649,6 +59687,83 @@ export interface components {
|
|
|
59649
59687
|
*/
|
|
59650
59688
|
growthPercentage?: number | null;
|
|
59651
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
|
+
};
|
|
59652
59767
|
/** RetrieveStatus */
|
|
59653
59768
|
RetrieveStatus: {
|
|
59654
59769
|
/**
|
|
@@ -102425,6 +102540,59 @@ export interface operations {
|
|
|
102425
102540
|
};
|
|
102426
102541
|
};
|
|
102427
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
|
+
};
|
|
102428
102596
|
task_views_list_status_by_order: {
|
|
102429
102597
|
parameters: {
|
|
102430
102598
|
query?: {
|