@erp-galoper/types 1.0.183 → 1.0.184
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 +12 -123
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -15798,37 +15798,6 @@ export interface paths {
|
|
|
15798
15798
|
patch?: never;
|
|
15799
15799
|
trace?: never;
|
|
15800
15800
|
};
|
|
15801
|
-
"/api/v1/sales/receipt-vouchers/not-paid-partially-paid-invoices/": {
|
|
15802
|
-
parameters: {
|
|
15803
|
-
query?: never;
|
|
15804
|
-
header?: never;
|
|
15805
|
-
path?: never;
|
|
15806
|
-
cookie?: never;
|
|
15807
|
-
};
|
|
15808
|
-
/**
|
|
15809
|
-
* Get Not Paid And Partially Paid Invoices
|
|
15810
|
-
* @description Endpoint for get partially paid and un paid sales invoices
|
|
15811
|
-
* Possible Responses:
|
|
15812
|
-
* - 200:
|
|
15813
|
-
* - success
|
|
15814
|
-
* - 500:
|
|
15815
|
-
* - internalServerError
|
|
15816
|
-
* - 400:
|
|
15817
|
-
* - branchDoesNotExist
|
|
15818
|
-
* - customerDoesNotExist
|
|
15819
|
-
*
|
|
15820
|
-
* - Permission key:
|
|
15821
|
-
* - salesinvoice : [ view ]
|
|
15822
|
-
*/
|
|
15823
|
-
get: operations["sales_receipt_voucher_views_get_not_paid_and_partially_paid_invoices"];
|
|
15824
|
-
put?: never;
|
|
15825
|
-
post?: never;
|
|
15826
|
-
delete?: never;
|
|
15827
|
-
options?: never;
|
|
15828
|
-
head?: never;
|
|
15829
|
-
patch?: never;
|
|
15830
|
-
trace?: never;
|
|
15831
|
-
};
|
|
15832
15801
|
"/api/v1/sales/receipt-vouchers/": {
|
|
15833
15802
|
parameters: {
|
|
15834
15803
|
query?: never;
|
|
@@ -26562,7 +26531,7 @@ export interface components {
|
|
|
26562
26531
|
/**
|
|
26563
26532
|
* Id
|
|
26564
26533
|
* Format: uuid
|
|
26565
|
-
* @example
|
|
26534
|
+
* @example cb2b2516-14ec-4227-aac2-cb16addf918e
|
|
26566
26535
|
*/
|
|
26567
26536
|
id: string;
|
|
26568
26537
|
/**
|
|
@@ -40077,7 +40046,7 @@ export interface components {
|
|
|
40077
40046
|
* Visibility and Requirement:
|
|
40078
40047
|
* - Required and visible if payment method is Bank Transfer
|
|
40079
40048
|
* API Endpoints for Sales Invoice Retrieval:
|
|
40080
|
-
* - Use the API: /v1/sales/
|
|
40049
|
+
* - Use the API: /api/v1/sales/invoices/?type=receiptVoucher&customer={customer-id}
|
|
40081
40050
|
*/
|
|
40082
40051
|
salesInvoice?: string;
|
|
40083
40052
|
/**
|
|
@@ -40117,41 +40086,6 @@ export interface components {
|
|
|
40117
40086
|
/** Payments */
|
|
40118
40087
|
payments: components["schemas"]["AmountWithEquivalentSchema"][];
|
|
40119
40088
|
};
|
|
40120
|
-
/** UnPaidAndPartiallyPaidInvoicesResponseSchema */
|
|
40121
|
-
UnPaidAndPartiallyPaidInvoicesResponseSchema: {
|
|
40122
|
-
/**
|
|
40123
|
-
* Id
|
|
40124
|
-
* Format: uuid
|
|
40125
|
-
*/
|
|
40126
|
-
id: string;
|
|
40127
|
-
/** Serialnumber */
|
|
40128
|
-
serialNumber: string;
|
|
40129
|
-
/**
|
|
40130
|
-
* Total
|
|
40131
|
-
* @description field is number
|
|
40132
|
-
*/
|
|
40133
|
-
total: string;
|
|
40134
|
-
/**
|
|
40135
|
-
* Secondarytotal
|
|
40136
|
-
* @description field is number
|
|
40137
|
-
*/
|
|
40138
|
-
secondaryTotal: string;
|
|
40139
|
-
/**
|
|
40140
|
-
* Companytotal
|
|
40141
|
-
* @description field is number
|
|
40142
|
-
*/
|
|
40143
|
-
companyTotal: string;
|
|
40144
|
-
/**
|
|
40145
|
-
* Remaining
|
|
40146
|
-
* @description field is number
|
|
40147
|
-
*/
|
|
40148
|
-
remaining: string;
|
|
40149
|
-
};
|
|
40150
|
-
/** UnPaidAndPartiallyPaidResponseSchema */
|
|
40151
|
-
UnPaidAndPartiallyPaidResponseSchema: {
|
|
40152
|
-
/** Salesinvoices */
|
|
40153
|
-
salesInvoices: components["schemas"]["UnPaidAndPartiallyPaidInvoicesResponseSchema"][];
|
|
40154
|
-
};
|
|
40155
40089
|
/** ReceiptVoucherItemDetailSchema */
|
|
40156
40090
|
ReceiptVoucherItemDetailSchema: {
|
|
40157
40091
|
/**
|
|
@@ -40391,7 +40325,7 @@ export interface components {
|
|
|
40391
40325
|
* Visibility and Requirement:
|
|
40392
40326
|
* - Required and visible if payment method is Bank Transfer
|
|
40393
40327
|
* API Endpoints for Sales Invoice Retrieval:
|
|
40394
|
-
* - Use the API: /v1/sales/
|
|
40328
|
+
* - Use the API: /api/v1/sales/invoices/?type=receiptVoucher&customer={customer-id}
|
|
40395
40329
|
*/
|
|
40396
40330
|
salesInvoice?: string;
|
|
40397
40331
|
};
|
|
@@ -40547,7 +40481,7 @@ export interface components {
|
|
|
40547
40481
|
* Visibility and Requirement:
|
|
40548
40482
|
* - Required and visible if payment method is Bank Transfer
|
|
40549
40483
|
* API Endpoints for Sales Invoice Retrieval:
|
|
40550
|
-
* - Use the API: /v1/sales/
|
|
40484
|
+
* - Use the API: /api/v1/sales/invoices/?type=receiptVoucher&customer={customer-id}
|
|
40551
40485
|
*/
|
|
40552
40486
|
salesInvoice?: string;
|
|
40553
40487
|
/**
|
|
@@ -40922,6 +40856,11 @@ export interface components {
|
|
|
40922
40856
|
/** Canedit */
|
|
40923
40857
|
canEdit: boolean;
|
|
40924
40858
|
salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
|
|
40859
|
+
/**
|
|
40860
|
+
* Remaining
|
|
40861
|
+
* @description this field is number
|
|
40862
|
+
*/
|
|
40863
|
+
remaining?: string;
|
|
40925
40864
|
/**
|
|
40926
40865
|
* Items
|
|
40927
40866
|
* @default []
|
|
@@ -41180,7 +41119,7 @@ export interface components {
|
|
|
41180
41119
|
* SalesDocumentTypeSchema
|
|
41181
41120
|
* @enum {string}
|
|
41182
41121
|
*/
|
|
41183
|
-
SalesDocumentTypeSchema: "default" | "salesCreditNote";
|
|
41122
|
+
SalesDocumentTypeSchema: "default" | "salesCreditNote" | "receiptVoucher";
|
|
41184
41123
|
/** SalesInvoiceListSchema */
|
|
41185
41124
|
SalesInvoiceListSchema: {
|
|
41186
41125
|
info: components["schemas"]["PageInfoSchema"];
|
|
@@ -76149,56 +76088,6 @@ export interface operations {
|
|
|
76149
76088
|
};
|
|
76150
76089
|
};
|
|
76151
76090
|
};
|
|
76152
|
-
sales_receipt_voucher_views_get_not_paid_and_partially_paid_invoices: {
|
|
76153
|
-
parameters: {
|
|
76154
|
-
query: {
|
|
76155
|
-
/** @description customer id */
|
|
76156
|
-
customer: number;
|
|
76157
|
-
};
|
|
76158
|
-
header?: never;
|
|
76159
|
-
path?: never;
|
|
76160
|
-
cookie?: never;
|
|
76161
|
-
};
|
|
76162
|
-
requestBody?: never;
|
|
76163
|
-
responses: {
|
|
76164
|
-
/** @description OK */
|
|
76165
|
-
200: {
|
|
76166
|
-
headers: {
|
|
76167
|
-
[name: string]: unknown;
|
|
76168
|
-
};
|
|
76169
|
-
content: {
|
|
76170
|
-
"application/json": components["schemas"]["UnPaidAndPartiallyPaidResponseSchema"];
|
|
76171
|
-
};
|
|
76172
|
-
};
|
|
76173
|
-
/** @description Bad Request */
|
|
76174
|
-
400: {
|
|
76175
|
-
headers: {
|
|
76176
|
-
[name: string]: unknown;
|
|
76177
|
-
};
|
|
76178
|
-
content: {
|
|
76179
|
-
"application/json": components["schemas"]["ErrorMessages"];
|
|
76180
|
-
};
|
|
76181
|
-
};
|
|
76182
|
-
/** @description Forbidden */
|
|
76183
|
-
403: {
|
|
76184
|
-
headers: {
|
|
76185
|
-
[name: string]: unknown;
|
|
76186
|
-
};
|
|
76187
|
-
content: {
|
|
76188
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
76189
|
-
};
|
|
76190
|
-
};
|
|
76191
|
-
/** @description Internal Server Error */
|
|
76192
|
-
500: {
|
|
76193
|
-
headers: {
|
|
76194
|
-
[name: string]: unknown;
|
|
76195
|
-
};
|
|
76196
|
-
content: {
|
|
76197
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
76198
|
-
};
|
|
76199
|
-
};
|
|
76200
|
-
};
|
|
76201
|
-
};
|
|
76202
76091
|
sales_receipt_voucher_views_list_receipt_vouchers: {
|
|
76203
76092
|
parameters: {
|
|
76204
76093
|
query?: {
|
|
@@ -76787,8 +76676,8 @@ export interface operations {
|
|
|
76787
76676
|
startDate?: string | null;
|
|
76788
76677
|
/** @description End date for custom range (YYYY-MM-DD) */
|
|
76789
76678
|
endDate?: string | null;
|
|
76790
|
-
type?: "default" | "salesCreditNote";
|
|
76791
|
-
/** @description customer id, required when type is salesCreditNote */
|
|
76679
|
+
type?: "default" | "salesCreditNote" | "receiptVoucher";
|
|
76680
|
+
/** @description customer id, required when type is salesCreditNote or receiptVoucher */
|
|
76792
76681
|
customer?: number;
|
|
76793
76682
|
};
|
|
76794
76683
|
header?: never;
|