@erp-galoper/types 1.0.184 → 1.0.185
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 +52 -110
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -11071,37 +11071,6 @@ export interface paths {
|
|
|
11071
11071
|
patch?: never;
|
|
11072
11072
|
trace?: never;
|
|
11073
11073
|
};
|
|
11074
|
-
"/api/v1/purchase/payment-vouchers/not-paid-partially-paid-invoices/": {
|
|
11075
|
-
parameters: {
|
|
11076
|
-
query?: never;
|
|
11077
|
-
header?: never;
|
|
11078
|
-
path?: never;
|
|
11079
|
-
cookie?: never;
|
|
11080
|
-
};
|
|
11081
|
-
/**
|
|
11082
|
-
* Get Not Paid And Partially Paid Invoices
|
|
11083
|
-
* @description Endpoint for get partially paid and un paid purchase invoices
|
|
11084
|
-
* Possible Responses:
|
|
11085
|
-
* - 200:
|
|
11086
|
-
* - success
|
|
11087
|
-
* - 500:
|
|
11088
|
-
* - internalServerError
|
|
11089
|
-
* - 400:
|
|
11090
|
-
* - branchDoesNotExist
|
|
11091
|
-
* - supplierDoesNotExist
|
|
11092
|
-
* - Permission key:
|
|
11093
|
-
* - purchaseinvoice : [ view ]
|
|
11094
|
-
* - Get un paid and partially paid purchase invoices each with its remaining amounts
|
|
11095
|
-
*/
|
|
11096
|
-
get: operations["purchase_payment_voucher_views_get_not_paid_and_partially_paid_invoices"];
|
|
11097
|
-
put?: never;
|
|
11098
|
-
post?: never;
|
|
11099
|
-
delete?: never;
|
|
11100
|
-
options?: never;
|
|
11101
|
-
head?: never;
|
|
11102
|
-
patch?: never;
|
|
11103
|
-
trace?: never;
|
|
11104
|
-
};
|
|
11105
11074
|
"/api/v1/purchase/payment-vouchers/": {
|
|
11106
11075
|
parameters: {
|
|
11107
11076
|
query?: never;
|
|
@@ -26531,7 +26500,7 @@ export interface components {
|
|
|
26531
26500
|
/**
|
|
26532
26501
|
* Id
|
|
26533
26502
|
* Format: uuid
|
|
26534
|
-
* @example
|
|
26503
|
+
* @example cdb8067a-28c1-4b35-b01e-5f3c371b8d2b
|
|
26535
26504
|
*/
|
|
26536
26505
|
id: string;
|
|
26537
26506
|
/**
|
|
@@ -32197,7 +32166,7 @@ export interface components {
|
|
|
32197
32166
|
* TypeSchema
|
|
32198
32167
|
* @enum {string}
|
|
32199
32168
|
*/
|
|
32200
|
-
TypeSchema: "default" | "creditNote";
|
|
32169
|
+
TypeSchema: "default" | "creditNote" | "paymentVoucher";
|
|
32201
32170
|
/** AdvancedPaymentSharedSchema */
|
|
32202
32171
|
AdvancedPaymentSharedSchema: {
|
|
32203
32172
|
/**
|
|
@@ -32411,6 +32380,11 @@ export interface components {
|
|
|
32411
32380
|
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
32412
32381
|
/** @description visible when supplier is not resident */
|
|
32413
32382
|
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
32383
|
+
/**
|
|
32384
|
+
* Remaining
|
|
32385
|
+
* @description this field is number
|
|
32386
|
+
*/
|
|
32387
|
+
remaining: string;
|
|
32414
32388
|
/** Linkeddocuments */
|
|
32415
32389
|
linkedDocuments?: {
|
|
32416
32390
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
@@ -32765,30 +32739,45 @@ export interface components {
|
|
|
32765
32739
|
*/
|
|
32766
32740
|
branch: number;
|
|
32767
32741
|
/** Payments */
|
|
32768
|
-
payments: components["schemas"]["
|
|
32742
|
+
payments: components["schemas"]["PaymentVoucherPaymentsSchema"][];
|
|
32769
32743
|
};
|
|
32770
|
-
/**
|
|
32771
|
-
|
|
32744
|
+
/** PaymentVoucherPaymentsSchema */
|
|
32745
|
+
PaymentVoucherPaymentsSchema: {
|
|
32772
32746
|
/**
|
|
32773
|
-
*
|
|
32747
|
+
* Purchaseinvoice
|
|
32774
32748
|
* Format: uuid
|
|
32749
|
+
* @description
|
|
32750
|
+
* API Endpoints for Purchase Invoice Retrieval:
|
|
32751
|
+
* - Use the API: /api/v1/purchase/invoices/?branchId={branch-id}&type=paymentVoucher&supplier={supplier-id}
|
|
32752
|
+
*
|
|
32775
32753
|
*/
|
|
32776
|
-
|
|
32777
|
-
/**
|
|
32778
|
-
|
|
32779
|
-
|
|
32780
|
-
|
|
32781
|
-
|
|
32782
|
-
|
|
32783
|
-
|
|
32784
|
-
|
|
32785
|
-
|
|
32786
|
-
|
|
32787
|
-
|
|
32788
|
-
|
|
32789
|
-
|
|
32790
|
-
|
|
32791
|
-
|
|
32754
|
+
purchaseInvoice?: string;
|
|
32755
|
+
/**
|
|
32756
|
+
* Amount
|
|
32757
|
+
* @description field is number
|
|
32758
|
+
*/
|
|
32759
|
+
amount?: string;
|
|
32760
|
+
/**
|
|
32761
|
+
* Companyamount
|
|
32762
|
+
* @description field is number
|
|
32763
|
+
*/
|
|
32764
|
+
companyAmount?: string | null;
|
|
32765
|
+
/**
|
|
32766
|
+
* Usdamount
|
|
32767
|
+
* @description field is number
|
|
32768
|
+
*/
|
|
32769
|
+
usdAmount?: string | null;
|
|
32770
|
+
/**
|
|
32771
|
+
* Companyrate
|
|
32772
|
+
* @description field is number
|
|
32773
|
+
*/
|
|
32774
|
+
companyRate?: string;
|
|
32775
|
+
/**
|
|
32776
|
+
* Secondaryrate
|
|
32777
|
+
* @description field is number
|
|
32778
|
+
*/
|
|
32779
|
+
secondaryRate?: string;
|
|
32780
|
+
changedField: components["schemas"]["ChangedFields"] | null;
|
|
32792
32781
|
};
|
|
32793
32782
|
/** DocumentCommonSchema */
|
|
32794
32783
|
DocumentCommonSchema: {
|
|
@@ -33026,7 +33015,7 @@ export interface components {
|
|
|
33026
33015
|
* Format: uuid
|
|
33027
33016
|
* @description
|
|
33028
33017
|
* API Endpoints for Purchase Invoice Retrieval:
|
|
33029
|
-
* - Use the API: /api/v1/purchase/
|
|
33018
|
+
* - Use the API: /api/v1/purchase/invoices/?branchId={branch-id}&type=paymentVoucher&supplier={supplier-id}
|
|
33030
33019
|
*
|
|
33031
33020
|
*/
|
|
33032
33021
|
purchaseInvoice?: string;
|
|
@@ -33189,7 +33178,7 @@ export interface components {
|
|
|
33189
33178
|
* Format: uuid
|
|
33190
33179
|
* @description
|
|
33191
33180
|
* API Endpoints for Purchase Invoice Retrieval:
|
|
33192
|
-
* - Use the API: /api/v1/purchase/
|
|
33181
|
+
* - Use the API: /api/v1/purchase/invoices/?branchId={branch-id}&type=paymentVoucher&supplier={supplier-id}
|
|
33193
33182
|
*
|
|
33194
33183
|
*/
|
|
33195
33184
|
purchaseInvoice?: string;
|
|
@@ -34882,6 +34871,11 @@ export interface components {
|
|
|
34882
34871
|
*/
|
|
34883
34872
|
remaining: string;
|
|
34884
34873
|
};
|
|
34874
|
+
/** PaidPartiallyPaidResponseSchema */
|
|
34875
|
+
PaidPartiallyPaidResponseSchema: {
|
|
34876
|
+
/** Closingcommissions */
|
|
34877
|
+
closingCommissions: components["schemas"]["ListPaidPartiallyPaidClosedCommissionResponseSchema"][];
|
|
34878
|
+
};
|
|
34885
34879
|
/** ClosingCommissionDateRangeResponse */
|
|
34886
34880
|
ClosingCommissionDateRangeResponse: {
|
|
34887
34881
|
/** Startdate */
|
|
@@ -66200,8 +66194,8 @@ export interface operations {
|
|
|
66200
66194
|
search?: string | null;
|
|
66201
66195
|
/** @description Filter by branch id */
|
|
66202
66196
|
branchId: number;
|
|
66203
|
-
type?: "default" | "creditNote";
|
|
66204
|
-
/** @description supplier id */
|
|
66197
|
+
type?: "default" | "creditNote" | "paymentVoucher";
|
|
66198
|
+
/** @description supplier id, required when type is creditNote or paymentVoucher */
|
|
66205
66199
|
supplier?: number;
|
|
66206
66200
|
};
|
|
66207
66201
|
header?: never;
|
|
@@ -66302,7 +66296,7 @@ export interface operations {
|
|
|
66302
66296
|
purchase_purchase_invoice_views_get_purchase_invoice: {
|
|
66303
66297
|
parameters: {
|
|
66304
66298
|
query?: {
|
|
66305
|
-
type?: "default" | "creditNote";
|
|
66299
|
+
type?: "default" | "creditNote" | "paymentVoucher";
|
|
66306
66300
|
};
|
|
66307
66301
|
header?: never;
|
|
66308
66302
|
path: {
|
|
@@ -66894,58 +66888,6 @@ export interface operations {
|
|
|
66894
66888
|
};
|
|
66895
66889
|
};
|
|
66896
66890
|
};
|
|
66897
|
-
purchase_payment_voucher_views_get_not_paid_and_partially_paid_invoices: {
|
|
66898
|
-
parameters: {
|
|
66899
|
-
query: {
|
|
66900
|
-
/** @description supplier id */
|
|
66901
|
-
supplier: number;
|
|
66902
|
-
/** @description branch id */
|
|
66903
|
-
branch: number;
|
|
66904
|
-
};
|
|
66905
|
-
header?: never;
|
|
66906
|
-
path?: never;
|
|
66907
|
-
cookie?: never;
|
|
66908
|
-
};
|
|
66909
|
-
requestBody?: never;
|
|
66910
|
-
responses: {
|
|
66911
|
-
/** @description OK */
|
|
66912
|
-
200: {
|
|
66913
|
-
headers: {
|
|
66914
|
-
[name: string]: unknown;
|
|
66915
|
-
};
|
|
66916
|
-
content: {
|
|
66917
|
-
"application/json": components["schemas"]["PaidPartiallyPaidResponseSchema"];
|
|
66918
|
-
};
|
|
66919
|
-
};
|
|
66920
|
-
/** @description Bad Request */
|
|
66921
|
-
400: {
|
|
66922
|
-
headers: {
|
|
66923
|
-
[name: string]: unknown;
|
|
66924
|
-
};
|
|
66925
|
-
content: {
|
|
66926
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
66927
|
-
};
|
|
66928
|
-
};
|
|
66929
|
-
/** @description Forbidden */
|
|
66930
|
-
403: {
|
|
66931
|
-
headers: {
|
|
66932
|
-
[name: string]: unknown;
|
|
66933
|
-
};
|
|
66934
|
-
content: {
|
|
66935
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
66936
|
-
};
|
|
66937
|
-
};
|
|
66938
|
-
/** @description Internal Server Error */
|
|
66939
|
-
500: {
|
|
66940
|
-
headers: {
|
|
66941
|
-
[name: string]: unknown;
|
|
66942
|
-
};
|
|
66943
|
-
content: {
|
|
66944
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
66945
|
-
};
|
|
66946
|
-
};
|
|
66947
|
-
};
|
|
66948
|
-
};
|
|
66949
66891
|
purchase_payment_voucher_views_list_payment_vouchers: {
|
|
66950
66892
|
parameters: {
|
|
66951
66893
|
query: {
|