@erp-galoper/types 1.0.1996 → 1.0.1997
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 +158 -16
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -19502,6 +19502,7 @@ export interface paths {
|
|
|
19502
19502
|
* - negativeEarningAccountShouldBeInCompanyCurrency
|
|
19503
19503
|
* - positiveCumulativeEarningAccountShouldBeInCompanyCurrency
|
|
19504
19504
|
* - negativeCumulativeEarningAccountShouldBeInCompanyCurrency
|
|
19505
|
+
* - undepositedForCashShouldBeChildOfDefaultGeneralCashAccount
|
|
19505
19506
|
*/
|
|
19506
19507
|
put: operations["erp_settings_accountingsetting_views_edit_default_subsidiary_account"];
|
|
19507
19508
|
/**
|
|
@@ -19537,6 +19538,7 @@ export interface paths {
|
|
|
19537
19538
|
* - deferredExpenseShouldBeInCompanyCurrency
|
|
19538
19539
|
* - prepaidExpenseShouldBeInCompanyCurrency
|
|
19539
19540
|
* - onlinePaymentsAccountDoesNotExist
|
|
19541
|
+
* - undepositedForCashShouldBeChildOfDefaultGeneralCashAccount
|
|
19540
19542
|
*/
|
|
19541
19543
|
post: operations["erp_settings_accountingsetting_views_create_default_subsidiary_account"];
|
|
19542
19544
|
delete?: never;
|
|
@@ -30118,7 +30120,7 @@ export interface components {
|
|
|
30118
30120
|
* GeneralAccountsOptions
|
|
30119
30121
|
* @enum {string}
|
|
30120
30122
|
*/
|
|
30121
|
-
GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense";
|
|
30123
|
+
GeneralAccountsOptions: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense" | "undepositedForCash";
|
|
30122
30124
|
/** ExportSchema */
|
|
30123
30125
|
ExportSchema: {
|
|
30124
30126
|
/** Pdf */
|
|
@@ -38413,6 +38415,13 @@ export interface components {
|
|
|
38413
38415
|
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=general&isActive=True
|
|
38414
38416
|
*/
|
|
38415
38417
|
prepaidExpense?: number | null;
|
|
38418
|
+
/**
|
|
38419
|
+
* Undepositedforcash
|
|
38420
|
+
* @description - undeposited for cash account id
|
|
38421
|
+
* - account used to hold cash collected by employees but not yet deposited
|
|
38422
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=general&isActive=True
|
|
38423
|
+
*/
|
|
38424
|
+
undepositedForCash?: number | null;
|
|
38416
38425
|
};
|
|
38417
38426
|
/** ChartOfAccountInfoSchema */
|
|
38418
38427
|
ChartOfAccountInfoSchema: {
|
|
@@ -38695,6 +38704,8 @@ export interface components {
|
|
|
38695
38704
|
salesCogsOfWorksReturnNonResident?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
38696
38705
|
prepaidExpense: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
38697
38706
|
deferredExpense: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
38707
|
+
/** @description Account used to hold cash collected by employees but not yet deposited */
|
|
38708
|
+
undepositedForCash?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
|
|
38698
38709
|
};
|
|
38699
38710
|
/**
|
|
38700
38711
|
* SubsidiaryAccountListType
|
|
@@ -50212,6 +50223,12 @@ export interface components {
|
|
|
50212
50223
|
* - type: Same as the payment method name.
|
|
50213
50224
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
50214
50225
|
* - Filter: Banks where `status = true.
|
|
50226
|
+
* Special Rule (Receipt Voucher only):
|
|
50227
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
50228
|
+
* the account number must be pre-filled from:
|
|
50229
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
50230
|
+
* using the field undepositedForCash.
|
|
50231
|
+
* The field should be disabled and cannot be changed.
|
|
50215
50232
|
*/
|
|
50216
50233
|
accountNumber?: string;
|
|
50217
50234
|
/**
|
|
@@ -50220,6 +50237,10 @@ export interface components {
|
|
|
50220
50237
|
* @description API Endpoints for Payment Method Retrieval:
|
|
50221
50238
|
* - Use the API: api/v1/payment_methods/
|
|
50222
50239
|
* - Filter: where name != on Account
|
|
50240
|
+
* - Special Rule (Receipt Voucher only):
|
|
50241
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
50242
|
+
* then the only accepted payment method is Cash.
|
|
50243
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
50223
50244
|
*/
|
|
50224
50245
|
paymentMethod: string;
|
|
50225
50246
|
/**
|
|
@@ -50354,6 +50375,12 @@ export interface components {
|
|
|
50354
50375
|
* - type: Same as the payment method name.
|
|
50355
50376
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
50356
50377
|
* - Filter: Banks where `status = true.
|
|
50378
|
+
* Special Rule (Receipt Voucher only):
|
|
50379
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
50380
|
+
* the account number must be pre-filled from:
|
|
50381
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
50382
|
+
* using the field undepositedForCash.
|
|
50383
|
+
* The field should be disabled and cannot be changed.
|
|
50357
50384
|
*/
|
|
50358
50385
|
accountNumber?: string;
|
|
50359
50386
|
/**
|
|
@@ -50362,6 +50389,10 @@ export interface components {
|
|
|
50362
50389
|
* @description API Endpoints for Payment Method Retrieval:
|
|
50363
50390
|
* - Use the API: api/v1/payment_methods/
|
|
50364
50391
|
* - Filter: where name != on Account
|
|
50392
|
+
* - Special Rule (Receipt Voucher only):
|
|
50393
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
50394
|
+
* then the only accepted payment method is Cash.
|
|
50395
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
50365
50396
|
*/
|
|
50366
50397
|
paymentMethod: string;
|
|
50367
50398
|
/**
|
|
@@ -51784,6 +51815,8 @@ export interface components {
|
|
|
51784
51815
|
goodsDeliveryNoteSource: components["schemas"]["GoodsDeliveryNoteSourceChoices"];
|
|
51785
51816
|
/** Pdfdocumentfooter */
|
|
51786
51817
|
pdfDocumentFooter: string | null;
|
|
51818
|
+
/** Enableemployeecollection */
|
|
51819
|
+
enableEmployeeCollection: boolean;
|
|
51787
51820
|
};
|
|
51788
51821
|
/** CreateSalesSettingsSchema */
|
|
51789
51822
|
CreateSalesSettingsSchema: {
|
|
@@ -51797,6 +51830,12 @@ export interface components {
|
|
|
51797
51830
|
goodsDeliveryNoteSource: components["schemas"]["GoodsDeliveryNoteSourceChoices"];
|
|
51798
51831
|
/** Pdfdocumentfooter */
|
|
51799
51832
|
pdfDocumentFooter?: string;
|
|
51833
|
+
/**
|
|
51834
|
+
* Enableemployeecollection
|
|
51835
|
+
* @description When enabled, allows employees to collect cash from customers and assign it to a receipt voucher. When disabled, the collectedBy field on receipt vouchers is ignored and set to null.
|
|
51836
|
+
* @default false
|
|
51837
|
+
*/
|
|
51838
|
+
enableEmployeeCollection: boolean;
|
|
51800
51839
|
};
|
|
51801
51840
|
/** UpdateSalesSettingsSchema */
|
|
51802
51841
|
UpdateSalesSettingsSchema: {
|
|
@@ -51810,6 +51849,11 @@ export interface components {
|
|
|
51810
51849
|
goodsDeliveryNoteSource?: components["schemas"]["GoodsDeliveryNoteSourceChoices"];
|
|
51811
51850
|
/** Pdfdocumentfooter */
|
|
51812
51851
|
pdfDocumentFooter?: string;
|
|
51852
|
+
/**
|
|
51853
|
+
* Enableemployeecollection
|
|
51854
|
+
* @description When enabled, allows employees to collect cash from customers and assign it to a receipt voucher. When disabled, the collectedBy field on receipt vouchers is ignored and set to null.
|
|
51855
|
+
*/
|
|
51856
|
+
enableEmployeeCollection?: boolean;
|
|
51813
51857
|
};
|
|
51814
51858
|
/** ItemCostResponse */
|
|
51815
51859
|
ItemCostResponse: {
|
|
@@ -54209,6 +54253,12 @@ export interface components {
|
|
|
54209
54253
|
* - type: Same as the payment method name.
|
|
54210
54254
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
54211
54255
|
* - Filter: Banks where `status = true.
|
|
54256
|
+
* Special Rule (Receipt Voucher only):
|
|
54257
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
54258
|
+
* the account number must be pre-filled from:
|
|
54259
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
54260
|
+
* using the field undepositedForCash.
|
|
54261
|
+
* The field should be disabled and cannot be changed.
|
|
54212
54262
|
*/
|
|
54213
54263
|
accountNumber?: string;
|
|
54214
54264
|
/**
|
|
@@ -54217,6 +54267,10 @@ export interface components {
|
|
|
54217
54267
|
* @description API Endpoints for Payment Method Retrieval:
|
|
54218
54268
|
* - Use the API: api/v1/payment_methods/
|
|
54219
54269
|
* - Filter: where name != on Account
|
|
54270
|
+
* - Special Rule (Receipt Voucher only):
|
|
54271
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
54272
|
+
* then the only accepted payment method is Cash.
|
|
54273
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
54220
54274
|
*/
|
|
54221
54275
|
paymentMethod: string;
|
|
54222
54276
|
/**
|
|
@@ -54380,6 +54434,12 @@ export interface components {
|
|
|
54380
54434
|
* - type: Same as the payment method name.
|
|
54381
54435
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
54382
54436
|
* - Filter: Banks where `status = true.
|
|
54437
|
+
* Special Rule (Receipt Voucher only):
|
|
54438
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
54439
|
+
* the account number must be pre-filled from:
|
|
54440
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
54441
|
+
* using the field undepositedForCash.
|
|
54442
|
+
* The field should be disabled and cannot be changed.
|
|
54383
54443
|
*/
|
|
54384
54444
|
accountNumber?: string;
|
|
54385
54445
|
/**
|
|
@@ -54388,6 +54448,10 @@ export interface components {
|
|
|
54388
54448
|
* @description API Endpoints for Payment Method Retrieval:
|
|
54389
54449
|
* - Use the API: api/v1/payment_methods/
|
|
54390
54450
|
* - Filter: where name != on Account
|
|
54451
|
+
* - Special Rule (Receipt Voucher only):
|
|
54452
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
54453
|
+
* then the only accepted payment method is Cash.
|
|
54454
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
54391
54455
|
*/
|
|
54392
54456
|
paymentMethod: string;
|
|
54393
54457
|
/**
|
|
@@ -56214,6 +56278,17 @@ export interface components {
|
|
|
56214
56278
|
/** Payments */
|
|
56215
56279
|
payments: components["schemas"]["AmountWithEquivalentSchema"][];
|
|
56216
56280
|
};
|
|
56281
|
+
/** EmployeeSummarySchema */
|
|
56282
|
+
EmployeeSummarySchema: {
|
|
56283
|
+
/**
|
|
56284
|
+
* Id
|
|
56285
|
+
* Format: uuid
|
|
56286
|
+
*/
|
|
56287
|
+
id: string;
|
|
56288
|
+
/** Name */
|
|
56289
|
+
name?: string | null;
|
|
56290
|
+
position: components["schemas"]["EmployeePositionSummaryInfo"];
|
|
56291
|
+
};
|
|
56217
56292
|
/** ReceiptVoucherItemDetailSchema */
|
|
56218
56293
|
ReceiptVoucherItemDetailSchema: {
|
|
56219
56294
|
/**
|
|
@@ -56317,6 +56392,8 @@ export interface components {
|
|
|
56317
56392
|
secondaryTotal: string;
|
|
56318
56393
|
/** Candelete */
|
|
56319
56394
|
canDelete: boolean;
|
|
56395
|
+
/** @description Visible when enableEmployeeCollection active in sales settings. */
|
|
56396
|
+
collectedBy?: components["schemas"]["EmployeeSummarySchema"] | null;
|
|
56320
56397
|
/**
|
|
56321
56398
|
* Dimensionallocations
|
|
56322
56399
|
* @description - Saved allocation rows for the document.
|
|
@@ -56363,6 +56440,18 @@ export interface components {
|
|
|
56363
56440
|
*/
|
|
56364
56441
|
customer: string;
|
|
56365
56442
|
status: components["schemas"]["InternalStatusChoices"];
|
|
56443
|
+
/**
|
|
56444
|
+
* Collectedby
|
|
56445
|
+
* @description Employee who physically collected the money from the customer (optional).
|
|
56446
|
+
* Visible when enableEmployeeCollection active in sales settings.
|
|
56447
|
+
* API Endpoint for Employee Retrieval:
|
|
56448
|
+
* - Use the API: /api/v1/employees/
|
|
56449
|
+
* - Filter Parameters:
|
|
56450
|
+
* - isActive: true
|
|
56451
|
+
* for mobile app:
|
|
56452
|
+
* - user equals logged in user
|
|
56453
|
+
*/
|
|
56454
|
+
collectedBy?: string | null;
|
|
56366
56455
|
/**
|
|
56367
56456
|
* Dimensionallocations
|
|
56368
56457
|
* @description - Optional. Field name: `dimensionAllocations`.
|
|
@@ -56394,6 +56483,12 @@ export interface components {
|
|
|
56394
56483
|
* - type: Same as the payment method name.
|
|
56395
56484
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
56396
56485
|
* - Filter: Banks where `status = true.
|
|
56486
|
+
* Special Rule (Receipt Voucher only):
|
|
56487
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
56488
|
+
* the account number must be pre-filled from:
|
|
56489
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
56490
|
+
* using the field undepositedForCash.
|
|
56491
|
+
* The field should be disabled and cannot be changed.
|
|
56397
56492
|
*/
|
|
56398
56493
|
accountNumber?: string;
|
|
56399
56494
|
/**
|
|
@@ -56402,6 +56497,10 @@ export interface components {
|
|
|
56402
56497
|
* @description API Endpoints for Payment Method Retrieval:
|
|
56403
56498
|
* - Use the API: api/v1/payment_methods/
|
|
56404
56499
|
* - Filter: where name != on Account
|
|
56500
|
+
* - Special Rule (Receipt Voucher only):
|
|
56501
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
56502
|
+
* then the only accepted payment method is Cash.
|
|
56503
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
56405
56504
|
*/
|
|
56406
56505
|
paymentMethod: string;
|
|
56407
56506
|
/**
|
|
@@ -56510,6 +56609,8 @@ export interface components {
|
|
|
56510
56609
|
secondaryTotal: string;
|
|
56511
56610
|
/** Candelete */
|
|
56512
56611
|
canDelete: boolean;
|
|
56612
|
+
/** @description Visible when enableEmployeeCollection active in sales settings. */
|
|
56613
|
+
collectedBy?: components["schemas"]["EmployeeSummarySchema"] | null;
|
|
56513
56614
|
/**
|
|
56514
56615
|
* Dimensionallocations
|
|
56515
56616
|
* @description - Saved allocation rows for the document.
|
|
@@ -56542,6 +56643,12 @@ export interface components {
|
|
|
56542
56643
|
* - type: Same as the payment method name.
|
|
56543
56644
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
56544
56645
|
* - Filter: Banks where `status = true.
|
|
56646
|
+
* Special Rule (Receipt Voucher only):
|
|
56647
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
56648
|
+
* the account number must be pre-filled from:
|
|
56649
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
56650
|
+
* using the field undepositedForCash.
|
|
56651
|
+
* The field should be disabled and cannot be changed.
|
|
56545
56652
|
*/
|
|
56546
56653
|
accountNumber?: string;
|
|
56547
56654
|
/**
|
|
@@ -56550,6 +56657,10 @@ export interface components {
|
|
|
56550
56657
|
* @description API Endpoints for Payment Method Retrieval:
|
|
56551
56658
|
* - Use the API: api/v1/payment_methods/
|
|
56552
56659
|
* - Filter: where name != on Account
|
|
56660
|
+
* - Special Rule (Receipt Voucher only):
|
|
56661
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
56662
|
+
* then the only accepted payment method is Cash.
|
|
56663
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
56553
56664
|
*/
|
|
56554
56665
|
paymentMethod: string;
|
|
56555
56666
|
/**
|
|
@@ -56648,6 +56759,18 @@ export interface components {
|
|
|
56648
56759
|
*/
|
|
56649
56760
|
customer: string;
|
|
56650
56761
|
status: components["schemas"]["InternalStatusChoices"];
|
|
56762
|
+
/**
|
|
56763
|
+
* Collectedby
|
|
56764
|
+
* @description Employee who physically collected the money from the customer (optional).
|
|
56765
|
+
* Visible when enableEmployeeCollection active in sales settings.
|
|
56766
|
+
* API Endpoint for Employee Retrieval:
|
|
56767
|
+
* - Use the API: /api/v1/employees/
|
|
56768
|
+
* - Filter Parameters:
|
|
56769
|
+
* - isActive: true
|
|
56770
|
+
* for mobile app:
|
|
56771
|
+
* - user equals logged in user
|
|
56772
|
+
*/
|
|
56773
|
+
collectedBy?: string | null;
|
|
56651
56774
|
/**
|
|
56652
56775
|
* Dimensionallocations
|
|
56653
56776
|
* @description - Optional. Field name: `dimensionAllocations`.
|
|
@@ -59755,6 +59878,12 @@ export interface components {
|
|
|
59755
59878
|
* - type: Same as the payment method name.
|
|
59756
59879
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
59757
59880
|
* - Filter: Banks where `status = true.
|
|
59881
|
+
* Special Rule (Receipt Voucher only):
|
|
59882
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
59883
|
+
* the account number must be pre-filled from:
|
|
59884
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
59885
|
+
* using the field undepositedForCash.
|
|
59886
|
+
* The field should be disabled and cannot be changed.
|
|
59758
59887
|
*/
|
|
59759
59888
|
accountNumber?: string;
|
|
59760
59889
|
/**
|
|
@@ -59763,6 +59892,10 @@ export interface components {
|
|
|
59763
59892
|
* @description API Endpoints for Payment Method Retrieval:
|
|
59764
59893
|
* - Use the API: api/v1/payment_methods/
|
|
59765
59894
|
* - Filter: where name != on Account
|
|
59895
|
+
* - Special Rule (Receipt Voucher only):
|
|
59896
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
59897
|
+
* then the only accepted payment method is Cash.
|
|
59898
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
59766
59899
|
*/
|
|
59767
59900
|
paymentMethod: string;
|
|
59768
59901
|
/**
|
|
@@ -59920,6 +60053,12 @@ export interface components {
|
|
|
59920
60053
|
* - type: Same as the payment method name.
|
|
59921
60054
|
* - {entity-id}: ID of the {entity} options:(supplier, customer , sales_person).
|
|
59922
60055
|
* - Filter: Banks where `status = true.
|
|
60056
|
+
* Special Rule (Receipt Voucher only):
|
|
60057
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
60058
|
+
* the account number must be pre-filled from:
|
|
60059
|
+
* GET /api/v1/settings/accounting/default-subsidiary-accounts/
|
|
60060
|
+
* using the field undepositedForCash.
|
|
60061
|
+
* The field should be disabled and cannot be changed.
|
|
59923
60062
|
*/
|
|
59924
60063
|
accountNumber?: string;
|
|
59925
60064
|
/**
|
|
@@ -59928,6 +60067,10 @@ export interface components {
|
|
|
59928
60067
|
* @description API Endpoints for Payment Method Retrieval:
|
|
59929
60068
|
* - Use the API: api/v1/payment_methods/
|
|
59930
60069
|
* - Filter: where name != on Account
|
|
60070
|
+
* - Special Rule (Receipt Voucher only):
|
|
60071
|
+
* - If the document is a Receipt Voucher AND collectedBy is set (not null),
|
|
60072
|
+
* then the only accepted payment method is Cash.
|
|
60073
|
+
* The field should be disabled (pre-filled with Cash) and cannot be changed.
|
|
59931
60074
|
*/
|
|
59932
60075
|
paymentMethod: string;
|
|
59933
60076
|
/**
|
|
@@ -60348,6 +60491,8 @@ export interface components {
|
|
|
60348
60491
|
negativeCumulativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
60349
60492
|
/** @description visible when online store is enabled in galoper settings */
|
|
60350
60493
|
onlinePaymentsAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
60494
|
+
/** @description Account used to hold cash collected by employees but not yet deposited */
|
|
60495
|
+
undepositedForCash?: components["schemas"]["AccountSummaryInfo"] | null;
|
|
60351
60496
|
};
|
|
60352
60497
|
/** DefaultSubsidiaryAccountResponse */
|
|
60353
60498
|
DefaultSubsidiaryAccountResponse: {
|
|
@@ -60416,6 +60561,13 @@ export interface components {
|
|
|
60416
60561
|
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=detail&isActive=True
|
|
60417
60562
|
*/
|
|
60418
60563
|
onlinePaymentsAccount?: number;
|
|
60564
|
+
/**
|
|
60565
|
+
* Undepositedforcash
|
|
60566
|
+
* @description - undeposited for cash account id
|
|
60567
|
+
* - account used to hold cash collected by employees but not yet deposited
|
|
60568
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type={undepositedCash} and filter by isActive=True
|
|
60569
|
+
*/
|
|
60570
|
+
undepositedForCash?: number | null;
|
|
60419
60571
|
};
|
|
60420
60572
|
/**
|
|
60421
60573
|
* SalesCreditNoteAppliesOn
|
|
@@ -64514,17 +64666,6 @@ export interface components {
|
|
|
64514
64666
|
/** Name */
|
|
64515
64667
|
name: string;
|
|
64516
64668
|
};
|
|
64517
|
-
/** EmployeeSummarySchema */
|
|
64518
|
-
EmployeeSummarySchema: {
|
|
64519
|
-
/**
|
|
64520
|
-
* Id
|
|
64521
|
-
* Format: uuid
|
|
64522
|
-
*/
|
|
64523
|
-
id: string;
|
|
64524
|
-
/** Name */
|
|
64525
|
-
name?: string | null;
|
|
64526
|
-
position: components["schemas"]["EmployeePositionSummaryInfo"];
|
|
64527
|
-
};
|
|
64528
64669
|
/**
|
|
64529
64670
|
* PaymentStatusEnum
|
|
64530
64671
|
* @enum {string}
|
|
@@ -69229,7 +69370,7 @@ export interface operations {
|
|
|
69229
69370
|
parameters: {
|
|
69230
69371
|
query: {
|
|
69231
69372
|
branchId: string;
|
|
69232
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense";
|
|
69373
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense" | "undepositedForCash";
|
|
69233
69374
|
accountId?: number;
|
|
69234
69375
|
/** @description search by account number, name or type */
|
|
69235
69376
|
search?: string;
|
|
@@ -69386,7 +69527,7 @@ export interface operations {
|
|
|
69386
69527
|
parameters: {
|
|
69387
69528
|
query: {
|
|
69388
69529
|
branchId: string;
|
|
69389
|
-
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense";
|
|
69530
|
+
type: "general" | "detail" | "chartOfAccount" | "banks" | "taxSales" | "taxPos" | "taxPurchase" | "taxAssets" | "taxExpenses" | "creditCard" | "cash" | "cheque" | "deferredSales" | "defaultSubsidiaryAccounts" | "accountClassificationResident" | "accountClassificationNonResident" | "accountClassificationPaymentInAdvanceResident" | "accountClassificationPaymentInAdvanceNonResident" | "accountClassificationExpenseResident" | "accountClassificationExpenseNonResident" | "expenses" | "expensePettyCashAccount" | "prepaidExpense" | "deferredExpense" | "undepositedForCash";
|
|
69390
69531
|
accountId?: number;
|
|
69391
69532
|
/** @description required when type [cheque, cash, credit card] */
|
|
69392
69533
|
supplierId?: string;
|
|
@@ -69394,6 +69535,8 @@ export interface operations {
|
|
|
69394
69535
|
salesPersonId?: string;
|
|
69395
69536
|
/** @description customer id */
|
|
69396
69537
|
customer?: string;
|
|
69538
|
+
/** @description retrieve children for required parent */
|
|
69539
|
+
parentId?: number;
|
|
69397
69540
|
/** @description search by account number, name or type */
|
|
69398
69541
|
search?: string;
|
|
69399
69542
|
};
|
|
@@ -93999,8 +94142,7 @@ export interface operations {
|
|
|
93999
94142
|
};
|
|
94000
94143
|
hr_employee_views_list_employees: {
|
|
94001
94144
|
parameters: {
|
|
94002
|
-
query
|
|
94003
|
-
branchId: string;
|
|
94145
|
+
query?: {
|
|
94004
94146
|
/** @description Page number */
|
|
94005
94147
|
page?: number;
|
|
94006
94148
|
/** @description Page size */
|