@erp-galoper/types 1.0.399 → 1.0.401
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 +128 -34
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -26607,7 +26607,7 @@ export interface components {
|
|
|
26607
26607
|
/**
|
|
26608
26608
|
* Id
|
|
26609
26609
|
* Format: uuid
|
|
26610
|
-
* @example
|
|
26610
|
+
* @example a034bfa6-819a-4e2e-8888-d88fd7156bb1
|
|
26611
26611
|
*/
|
|
26612
26612
|
id: string;
|
|
26613
26613
|
/**
|
|
@@ -30880,6 +30880,14 @@ export interface components {
|
|
|
30880
30880
|
* @enum {string}
|
|
30881
30881
|
*/
|
|
30882
30882
|
ChangedFields: "amount" | "companyAmount" | "usdAmount" | "companyRate" | "usdRate" | "accountNumber";
|
|
30883
|
+
/** AccountNameNumberAndCurrencySchema */
|
|
30884
|
+
AccountNameNumberAndCurrencySchema: {
|
|
30885
|
+
/** Number */
|
|
30886
|
+
number: string;
|
|
30887
|
+
/** Name */
|
|
30888
|
+
name: string;
|
|
30889
|
+
currency: components["schemas"]["CurrencySummaryInfo"];
|
|
30890
|
+
};
|
|
30883
30891
|
/** AdvancePaymentResponse */
|
|
30884
30892
|
AdvancePaymentResponse: {
|
|
30885
30893
|
/** Code */
|
|
@@ -30909,6 +30917,24 @@ export interface components {
|
|
|
30909
30917
|
/** Name */
|
|
30910
30918
|
name: string;
|
|
30911
30919
|
};
|
|
30920
|
+
/** PostEntryDetailsSchema */
|
|
30921
|
+
PostEntryDetailsSchema: {
|
|
30922
|
+
/** Id */
|
|
30923
|
+
id: number;
|
|
30924
|
+
account: components["schemas"]["AccountNameNumberAndCurrencySchema"];
|
|
30925
|
+
/** Debitamount */
|
|
30926
|
+
debitAmount: string;
|
|
30927
|
+
/** Creditamount */
|
|
30928
|
+
creditAmount: string;
|
|
30929
|
+
/** Usdamountcredit */
|
|
30930
|
+
usdAmountCredit: string;
|
|
30931
|
+
/** Usdamountdebit */
|
|
30932
|
+
usdAmountDebit: string;
|
|
30933
|
+
/** Companyamountcredit */
|
|
30934
|
+
companyAmountCredit: string;
|
|
30935
|
+
/** Companyamountdebit */
|
|
30936
|
+
companyAmountDebit: string;
|
|
30937
|
+
};
|
|
30912
30938
|
/** RetrieveAdvancePaymentItemsSchema */
|
|
30913
30939
|
RetrieveAdvancePaymentItemsSchema: {
|
|
30914
30940
|
/**
|
|
@@ -30983,6 +31009,8 @@ export interface components {
|
|
|
30983
31009
|
}[];
|
|
30984
31010
|
/** Advancepaymentitems */
|
|
30985
31011
|
advancePaymentItems: components["schemas"]["RetrieveAdvancePaymentItemsSchema"][];
|
|
31012
|
+
/** Entries */
|
|
31013
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
30986
31014
|
};
|
|
30987
31015
|
/** NewAdvancePaymentItemsSchema */
|
|
30988
31016
|
NewAdvancePaymentItemsSchema: {
|
|
@@ -32672,10 +32700,35 @@ export interface components {
|
|
|
32672
32700
|
PurchaseInvoiceListResponse: {
|
|
32673
32701
|
info: components["schemas"]["PageInfoSchema"];
|
|
32674
32702
|
/** Results */
|
|
32675
|
-
results: components["schemas"]["
|
|
32703
|
+
results: components["schemas"]["PurchaseInvoiceSchema"][];
|
|
32676
32704
|
};
|
|
32677
|
-
/**
|
|
32678
|
-
|
|
32705
|
+
/** PurchaseInvoiceSchema */
|
|
32706
|
+
PurchaseInvoiceSchema: {
|
|
32707
|
+
/**
|
|
32708
|
+
* Id
|
|
32709
|
+
* Format: uuid
|
|
32710
|
+
*/
|
|
32711
|
+
id: string;
|
|
32712
|
+
/** Serialnumber */
|
|
32713
|
+
serialNumber: string;
|
|
32714
|
+
};
|
|
32715
|
+
/** PurchaseOrderSharedSchema */
|
|
32716
|
+
PurchaseOrderSharedSchema: {
|
|
32717
|
+
/**
|
|
32718
|
+
* Id
|
|
32719
|
+
* Format: uuid
|
|
32720
|
+
*/
|
|
32721
|
+
id: string;
|
|
32722
|
+
/** Serialnumber */
|
|
32723
|
+
serialNumber: string;
|
|
32724
|
+
};
|
|
32725
|
+
/**
|
|
32726
|
+
* ReceivingStatusChoices
|
|
32727
|
+
* @enum {string}
|
|
32728
|
+
*/
|
|
32729
|
+
ReceivingStatusChoices: "Not Received" | "Partially Received" | "received";
|
|
32730
|
+
/** PurchaseInvoiceWithEntriesSchema */
|
|
32731
|
+
PurchaseInvoiceWithEntriesSchema: {
|
|
32679
32732
|
/**
|
|
32680
32733
|
* Datecreated
|
|
32681
32734
|
* Format: date-time
|
|
@@ -32788,22 +32841,13 @@ export interface components {
|
|
|
32788
32841
|
}[];
|
|
32789
32842
|
/** Items */
|
|
32790
32843
|
items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
|
|
32791
|
-
};
|
|
32792
|
-
/** PurchaseOrderSharedSchema */
|
|
32793
|
-
PurchaseOrderSharedSchema: {
|
|
32794
32844
|
/**
|
|
32795
|
-
*
|
|
32796
|
-
*
|
|
32845
|
+
* Entries
|
|
32846
|
+
* @description accounting entries related to this document
|
|
32847
|
+
* @default []
|
|
32797
32848
|
*/
|
|
32798
|
-
|
|
32799
|
-
/** Serialnumber */
|
|
32800
|
-
serialNumber: string;
|
|
32849
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
32801
32850
|
};
|
|
32802
|
-
/**
|
|
32803
|
-
* ReceivingStatusChoices
|
|
32804
|
-
* @enum {string}
|
|
32805
|
-
*/
|
|
32806
|
-
ReceivingStatusChoices: "Not Received" | "Partially Received" | "received";
|
|
32807
32851
|
/**
|
|
32808
32852
|
* CreatePurchaseInvoiceStatus
|
|
32809
32853
|
* @enum {string}
|
|
@@ -33295,6 +33339,12 @@ export interface components {
|
|
|
33295
33339
|
canDelete: boolean;
|
|
33296
33340
|
/** Paymentvoucheritems */
|
|
33297
33341
|
paymentVoucherItems: components["schemas"]["PaymentVoucherItemDetailSchema"][];
|
|
33342
|
+
/**
|
|
33343
|
+
* Entries
|
|
33344
|
+
* @description accounting entries related to this document
|
|
33345
|
+
* @default []
|
|
33346
|
+
*/
|
|
33347
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
33298
33348
|
};
|
|
33299
33349
|
/** NewPaymentVoucherSchema */
|
|
33300
33350
|
NewPaymentVoucherSchema: {
|
|
@@ -33845,6 +33895,12 @@ export interface components {
|
|
|
33845
33895
|
* @default []
|
|
33846
33896
|
*/
|
|
33847
33897
|
items: components["schemas"]["PurchaseReturnInvoiceItemsSchema"][];
|
|
33898
|
+
/**
|
|
33899
|
+
* Entries
|
|
33900
|
+
* @description accounting entries related to this document
|
|
33901
|
+
* @default []
|
|
33902
|
+
*/
|
|
33903
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
33848
33904
|
};
|
|
33849
33905
|
/** PurchaseReturnOrderSharedSchema */
|
|
33850
33906
|
PurchaseReturnOrderSharedSchema: {
|
|
@@ -34362,16 +34418,6 @@ export interface components {
|
|
|
34362
34418
|
/** History */
|
|
34363
34419
|
history: components["schemas"]["History"][];
|
|
34364
34420
|
};
|
|
34365
|
-
/** PurchaseInvoiceSchema */
|
|
34366
|
-
PurchaseInvoiceSchema: {
|
|
34367
|
-
/**
|
|
34368
|
-
* Id
|
|
34369
|
-
* Format: uuid
|
|
34370
|
-
*/
|
|
34371
|
-
id: string;
|
|
34372
|
-
/** Serialnumber */
|
|
34373
|
-
serialNumber: string;
|
|
34374
|
-
};
|
|
34375
34421
|
/** PurchaseItemHistoryPrice */
|
|
34376
34422
|
PurchaseItemHistoryPrice: {
|
|
34377
34423
|
/** Id */
|
|
@@ -35475,6 +35521,8 @@ export interface components {
|
|
|
35475
35521
|
salesInvoices: components["schemas"]["ClosingCommissionInvoiceDetailSchema"][];
|
|
35476
35522
|
/** Returninvoices */
|
|
35477
35523
|
returnInvoices: components["schemas"]["ClosingCommissionInvoiceDetailSchema"][];
|
|
35524
|
+
/** Entries */
|
|
35525
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
35478
35526
|
};
|
|
35479
35527
|
/** ClosingCommissionInvoiceDetailSchema */
|
|
35480
35528
|
ClosingCommissionInvoiceDetailSchema: {
|
|
@@ -35933,6 +35981,8 @@ export interface components {
|
|
|
35933
35981
|
canDelete: boolean;
|
|
35934
35982
|
/** Payments */
|
|
35935
35983
|
payments: components["schemas"]["CommissionPayoutItemDetailSchema"][];
|
|
35984
|
+
/** Entries */
|
|
35985
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
35936
35986
|
};
|
|
35937
35987
|
/** CommissionPayoutCreateSchema */
|
|
35938
35988
|
CommissionPayoutCreateSchema: {
|
|
@@ -38517,6 +38567,12 @@ export interface components {
|
|
|
38517
38567
|
canDelete: boolean;
|
|
38518
38568
|
/** Payments */
|
|
38519
38569
|
payments: components["schemas"]["RefundVoucherItemDetailSchema"][];
|
|
38570
|
+
/**
|
|
38571
|
+
* Entries
|
|
38572
|
+
* @description accounting entries related to this document
|
|
38573
|
+
* @default []
|
|
38574
|
+
*/
|
|
38575
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
38520
38576
|
};
|
|
38521
38577
|
/** RefundVoucherItemDetailSchema */
|
|
38522
38578
|
RefundVoucherItemDetailSchema: {
|
|
@@ -39694,6 +39750,12 @@ export interface components {
|
|
|
39694
39750
|
linkedDocuments?: {
|
|
39695
39751
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
39696
39752
|
}[];
|
|
39753
|
+
/**
|
|
39754
|
+
* Entries
|
|
39755
|
+
* @description accounting entries related to this document
|
|
39756
|
+
* @default []
|
|
39757
|
+
*/
|
|
39758
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
39697
39759
|
};
|
|
39698
39760
|
/** DownPaymentDeleteSchema */
|
|
39699
39761
|
DownPaymentDeleteSchema: {
|
|
@@ -40515,6 +40577,12 @@ export interface components {
|
|
|
40515
40577
|
canDelete: boolean;
|
|
40516
40578
|
/** Creditnoteitems */
|
|
40517
40579
|
creditNoteItems: components["schemas"]["PurchaseCreditNoteItemDetailSchema"][];
|
|
40580
|
+
/**
|
|
40581
|
+
* Entries
|
|
40582
|
+
* @description accounting entries related to this document
|
|
40583
|
+
* @default []
|
|
40584
|
+
*/
|
|
40585
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
40518
40586
|
};
|
|
40519
40587
|
/** PurchaseCreditNoteCreateSchema */
|
|
40520
40588
|
PurchaseCreditNoteCreateSchema: {
|
|
@@ -40985,6 +41053,8 @@ export interface components {
|
|
|
40985
41053
|
canDelete: boolean;
|
|
40986
41054
|
/** Payments */
|
|
40987
41055
|
payments: components["schemas"]["ReceiptVoucherItemDetailSchema"][];
|
|
41056
|
+
/** Entries */
|
|
41057
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
40988
41058
|
};
|
|
40989
41059
|
/** ReceiptVoucherCreateSchema */
|
|
40990
41060
|
ReceiptVoucherCreateSchema: {
|
|
@@ -42163,6 +42233,12 @@ export interface components {
|
|
|
42163
42233
|
linkedDocuments?: {
|
|
42164
42234
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
42165
42235
|
}[];
|
|
42236
|
+
/**
|
|
42237
|
+
* Entries
|
|
42238
|
+
* @description accounting entries related to this document
|
|
42239
|
+
* @default []
|
|
42240
|
+
*/
|
|
42241
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
42166
42242
|
};
|
|
42167
42243
|
/** SalesInvoiceForReturnOrderSchema */
|
|
42168
42244
|
SalesInvoiceForReturnOrderSchema: {
|
|
@@ -42777,6 +42853,12 @@ export interface components {
|
|
|
42777
42853
|
linkedDocuments?: {
|
|
42778
42854
|
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
42779
42855
|
}[];
|
|
42856
|
+
/**
|
|
42857
|
+
* Entries
|
|
42858
|
+
* @description accounting entries related to this document
|
|
42859
|
+
* @default []
|
|
42860
|
+
*/
|
|
42861
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
42780
42862
|
};
|
|
42781
42863
|
/** CreateUpdateSalesReturnInvoiceItemSchema */
|
|
42782
42864
|
CreateUpdateSalesReturnInvoiceItemSchema: {
|
|
@@ -43326,6 +43408,12 @@ export interface components {
|
|
|
43326
43408
|
canDelete: boolean;
|
|
43327
43409
|
/** Items */
|
|
43328
43410
|
items: components["schemas"]["SalesRefundVoucherItemDetailSchema"][];
|
|
43411
|
+
/**
|
|
43412
|
+
* Entries
|
|
43413
|
+
* @description accounting entries related to this document
|
|
43414
|
+
* @default []
|
|
43415
|
+
*/
|
|
43416
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
43329
43417
|
};
|
|
43330
43418
|
/** SalesRefundVoucherItemDetailSchema */
|
|
43331
43419
|
SalesRefundVoucherItemDetailSchema: {
|
|
@@ -44154,6 +44242,12 @@ export interface components {
|
|
|
44154
44242
|
canDelete: boolean;
|
|
44155
44243
|
/** Creditnoteitems */
|
|
44156
44244
|
creditNoteItems: components["schemas"]["SalesCreditNoteItemDetailSchema"][];
|
|
44245
|
+
/**
|
|
44246
|
+
* Entries
|
|
44247
|
+
* @description accounting entries related to this document
|
|
44248
|
+
* @default []
|
|
44249
|
+
*/
|
|
44250
|
+
entries: components["schemas"]["PostEntryDetailsSchema"][];
|
|
44157
44251
|
};
|
|
44158
44252
|
/** SalesCreditNoteCreateSchema */
|
|
44159
44253
|
SalesCreditNoteCreateSchema: {
|
|
@@ -49844,7 +49938,7 @@ export interface operations {
|
|
|
49844
49938
|
[name: string]: unknown;
|
|
49845
49939
|
};
|
|
49846
49940
|
content: {
|
|
49847
|
-
"application/json": components["schemas"]["
|
|
49941
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
49848
49942
|
};
|
|
49849
49943
|
};
|
|
49850
49944
|
/** @description Forbidden */
|
|
@@ -67395,7 +67489,7 @@ export interface operations {
|
|
|
67395
67489
|
[name: string]: unknown;
|
|
67396
67490
|
};
|
|
67397
67491
|
content: {
|
|
67398
|
-
"application/json": components["schemas"]["
|
|
67492
|
+
"application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
|
|
67399
67493
|
};
|
|
67400
67494
|
};
|
|
67401
67495
|
/** @description Bad Request */
|
|
@@ -67446,7 +67540,7 @@ export interface operations {
|
|
|
67446
67540
|
[name: string]: unknown;
|
|
67447
67541
|
};
|
|
67448
67542
|
content: {
|
|
67449
|
-
"application/json": components["schemas"]["
|
|
67543
|
+
"application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
|
|
67450
67544
|
};
|
|
67451
67545
|
};
|
|
67452
67546
|
/** @description Bad Request */
|
|
@@ -67508,7 +67602,7 @@ export interface operations {
|
|
|
67508
67602
|
[name: string]: unknown;
|
|
67509
67603
|
};
|
|
67510
67604
|
content: {
|
|
67511
|
-
"application/json": components["schemas"]["
|
|
67605
|
+
"application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
|
|
67512
67606
|
};
|
|
67513
67607
|
};
|
|
67514
67608
|
/** @description Bad Request */
|
|
@@ -67630,7 +67724,7 @@ export interface operations {
|
|
|
67630
67724
|
[name: string]: unknown;
|
|
67631
67725
|
};
|
|
67632
67726
|
content: {
|
|
67633
|
-
"application/json": components["schemas"]["
|
|
67727
|
+
"application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
|
|
67634
67728
|
};
|
|
67635
67729
|
};
|
|
67636
67730
|
/** @description Bad Request */
|
|
@@ -67692,7 +67786,7 @@ export interface operations {
|
|
|
67692
67786
|
[name: string]: unknown;
|
|
67693
67787
|
};
|
|
67694
67788
|
content: {
|
|
67695
|
-
"application/json": components["schemas"]["
|
|
67789
|
+
"application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
|
|
67696
67790
|
};
|
|
67697
67791
|
};
|
|
67698
67792
|
/** @description Bad Request */
|
|
@@ -67754,7 +67848,7 @@ export interface operations {
|
|
|
67754
67848
|
[name: string]: unknown;
|
|
67755
67849
|
};
|
|
67756
67850
|
content: {
|
|
67757
|
-
"application/json": components["schemas"]["
|
|
67851
|
+
"application/json": components["schemas"]["PurchaseInvoiceWithEntriesSchema"];
|
|
67758
67852
|
};
|
|
67759
67853
|
};
|
|
67760
67854
|
/** @description Bad Request */
|