@erp-galoper/types 1.0.184 → 1.0.186
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 +67 -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 aeb4e6f1-e955-4ce8-8eee-0eee2330762c
|
|
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 */
|
|
@@ -37238,6 +37232,11 @@ export interface components {
|
|
|
37238
37232
|
* @default 0
|
|
37239
37233
|
*/
|
|
37240
37234
|
discount: number;
|
|
37235
|
+
/**
|
|
37236
|
+
* Discountedtotal
|
|
37237
|
+
* @description This field is a number
|
|
37238
|
+
*/
|
|
37239
|
+
discountedTotal: string;
|
|
37241
37240
|
/**
|
|
37242
37241
|
* Secondarydiscountedtotal
|
|
37243
37242
|
* @description This field is a number
|
|
@@ -37609,6 +37608,11 @@ export interface components {
|
|
|
37609
37608
|
* @default 0
|
|
37610
37609
|
*/
|
|
37611
37610
|
discount: number;
|
|
37611
|
+
/**
|
|
37612
|
+
* Discountedtotal
|
|
37613
|
+
* @description This field is a number
|
|
37614
|
+
*/
|
|
37615
|
+
discountedTotal: string;
|
|
37612
37616
|
/**
|
|
37613
37617
|
* Secondarydiscountedtotal
|
|
37614
37618
|
* @description This field is a number
|
|
@@ -39334,6 +39338,11 @@ export interface components {
|
|
|
39334
39338
|
* @default 0
|
|
39335
39339
|
*/
|
|
39336
39340
|
discount: number;
|
|
39341
|
+
/**
|
|
39342
|
+
* Discountedtotal
|
|
39343
|
+
* @description This field is a number representing the total after discount.
|
|
39344
|
+
*/
|
|
39345
|
+
discountedTotal: string;
|
|
39337
39346
|
/**
|
|
39338
39347
|
* Usddiscountedtotal
|
|
39339
39348
|
* @description This field is a number representing the total after discount in USD.
|
|
@@ -66200,8 +66209,8 @@ export interface operations {
|
|
|
66200
66209
|
search?: string | null;
|
|
66201
66210
|
/** @description Filter by branch id */
|
|
66202
66211
|
branchId: number;
|
|
66203
|
-
type?: "default" | "creditNote";
|
|
66204
|
-
/** @description supplier id */
|
|
66212
|
+
type?: "default" | "creditNote" | "paymentVoucher";
|
|
66213
|
+
/** @description supplier id, required when type is creditNote or paymentVoucher */
|
|
66205
66214
|
supplier?: number;
|
|
66206
66215
|
};
|
|
66207
66216
|
header?: never;
|
|
@@ -66302,7 +66311,7 @@ export interface operations {
|
|
|
66302
66311
|
purchase_purchase_invoice_views_get_purchase_invoice: {
|
|
66303
66312
|
parameters: {
|
|
66304
66313
|
query?: {
|
|
66305
|
-
type?: "default" | "creditNote";
|
|
66314
|
+
type?: "default" | "creditNote" | "paymentVoucher";
|
|
66306
66315
|
};
|
|
66307
66316
|
header?: never;
|
|
66308
66317
|
path: {
|
|
@@ -66894,58 +66903,6 @@ export interface operations {
|
|
|
66894
66903
|
};
|
|
66895
66904
|
};
|
|
66896
66905
|
};
|
|
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
66906
|
purchase_payment_voucher_views_list_payment_vouchers: {
|
|
66950
66907
|
parameters: {
|
|
66951
66908
|
query: {
|