@erp-galoper/main-package 1.0.102 → 1.0.103

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.
Files changed (2) hide show
  1. package/openapi.ts +277 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -469,6 +469,41 @@ export interface paths {
469
469
  /** Get Primary And Secondary Currency */
470
470
  get: operations["common_currency_views_get_primary_and_secondary_currency"];
471
471
  };
472
+ "/api/v1/currencies/list_in_export/": {
473
+ /**
474
+ * List Currencies In Export
475
+ * @description Endpoint for List currencies
476
+ * - 200:
477
+ * - success
478
+ * - 404:
479
+ * - companyDoesNotExist
480
+ * - companySettingDoesNotExist
481
+ * - 403:
482
+ * - permissionDenied
483
+ * - 500:
484
+ * - internalServerError
485
+ */
486
+ get: operations["common_currency_views_list_currencies_in_export"];
487
+ };
488
+ "/api/v1/accounting/journal_vouchers/": {
489
+ /**
490
+ * List Journal Vouchers In Export
491
+ * @description Endpoint for list journal vouchers in export
492
+ * Possible Responses:
493
+ * - 200:
494
+ * - success
495
+ * - 404:
496
+ * - branchDoesNotExist
497
+ * - 403:
498
+ * - permissionDenied
499
+ * - noBranchAccess
500
+ * - 400:
501
+ * - invalidDateRange
502
+ * - 500:
503
+ * - internalServerError
504
+ */
505
+ get: operations["accounting_generalvoucher_views_list_journal_vouchers_in_export"];
506
+ };
472
507
  }
473
508
 
474
509
  export type webhooks = Record<string, never>;
@@ -482,6 +517,14 @@ export interface components {
482
517
  /** Code */
483
518
  code: string;
484
519
 
520
+ };
521
+ /** RolesSchema */
522
+ RolesSchema: {
523
+ /** Id */
524
+ id: number;
525
+ /** Name */
526
+ name: string;
527
+
485
528
  };
486
529
  /** TokenSchema */
487
530
  TokenSchema: {
@@ -497,6 +540,10 @@ export interface components {
497
540
  id: number;
498
541
  /** Name */
499
542
  name: string;
543
+ /** Number */
544
+ number: number;
545
+ /** Code */
546
+ code?: string | null;
500
547
 
501
548
  };
502
549
  /** UserInfoSchema */
@@ -508,7 +555,7 @@ export interface components {
508
555
  /** Email */
509
556
  email: string;
510
557
  /** Roles */
511
- roles: components["schemas"]["UserBranchSchema"][];
558
+ roles: components["schemas"]["RolesSchema"][];
512
559
  /** Permissions */
513
560
  permissions: {
514
561
  [key: string]: string[];
@@ -1052,6 +1099,127 @@ export interface components {
1052
1099
  id: number;
1053
1100
 
1054
1101
  };
1102
+ /** ListCurrenciesInDopDown */
1103
+ ListCurrenciesInDopDown: {
1104
+ /** Name */
1105
+ name: string;
1106
+
1107
+ };
1108
+ /** AccountInfo */
1109
+ AccountInfo: {
1110
+ /** Name */
1111
+ name: string;
1112
+ /** Accountnumber */
1113
+ accountnumber: string;
1114
+ /** Currency */
1115
+ currency: string;
1116
+
1117
+ };
1118
+ /** CustomerInfo */
1119
+ CustomerInfo: {
1120
+ /** Name */
1121
+ name?: string | null;
1122
+ /** Accountnumber */
1123
+ accountnumber: string;
1124
+ /** Currency */
1125
+ currency: string;
1126
+
1127
+ };
1128
+ /** JournalHeaderDetails */
1129
+ JournalHeaderDetails: {
1130
+ /** Id */
1131
+ id: number;
1132
+ /** Intnumber */
1133
+ intNumber: string;
1134
+ /**
1135
+ * Date
1136
+ * Format: date
1137
+ */
1138
+ date: string;
1139
+ project?: components["schemas"]["ProjectInfo"] | null;
1140
+ /** Reverse */
1141
+ reverse?: string | null;
1142
+
1143
+ };
1144
+ /** ListJournalVouchersInExport */
1145
+ ListJournalVouchersInExport: {
1146
+ /** Description */
1147
+ description?: string | null;
1148
+ /**
1149
+ * Debitamount
1150
+ * @default 0
1151
+ */
1152
+ debitAmount?: number | null;
1153
+ /**
1154
+ * Creditamount
1155
+ * @default 0
1156
+ */
1157
+ creditAmount?: number | null;
1158
+ /**
1159
+ * Companydebit
1160
+ * @default 0
1161
+ */
1162
+ companyDebit?: number | null;
1163
+ /**
1164
+ * Companycredit
1165
+ * @default 0
1166
+ */
1167
+ companyCredit?: number | null;
1168
+ /**
1169
+ * Usddebit
1170
+ * @default 0
1171
+ */
1172
+ usdDebit?: number | null;
1173
+ /**
1174
+ * Usdcredit
1175
+ * @default 0
1176
+ */
1177
+ usdCredit?: number | null;
1178
+ /**
1179
+ * Rate
1180
+ * @default 0
1181
+ */
1182
+ rate?: number | null;
1183
+ /**
1184
+ * Usdrate
1185
+ * @default 0
1186
+ */
1187
+ usdRate?: number | null;
1188
+ /** Isdoe */
1189
+ isDoe?: string | null;
1190
+ journalvoucher: components["schemas"]["JournalHeaderDetails"];
1191
+ account?: components["schemas"]["AccountInfo"] | null;
1192
+ customer?: components["schemas"]["CustomerInfo"] | null;
1193
+ supplier?: components["schemas"]["SupplierInfo"] | null;
1194
+ vatAccount?: components["schemas"]["VatAccountInfo"] | null;
1195
+
1196
+ };
1197
+ /** ProjectInfo */
1198
+ ProjectInfo: {
1199
+ /** Name */
1200
+ name: string;
1201
+
1202
+ };
1203
+ /** SupplierInfo */
1204
+ SupplierInfo: {
1205
+ /** Company */
1206
+ company: string;
1207
+ /** Accountnumber */
1208
+ accountnumber: string;
1209
+ /** Currency */
1210
+ currency: string;
1211
+
1212
+ };
1213
+ /** VatAccountInfo */
1214
+ VatAccountInfo: {
1215
+ /** Name */
1216
+ name?: string | null;
1217
+ /** Accountnumber */
1218
+ accountnumber: string;
1219
+ /** Currency */
1220
+ currency?: string | null;
1221
+
1222
+ };
1055
1223
  };
1056
1224
  responses: never;
1057
1225
  parameters: never;
@@ -2429,4 +2597,112 @@ export interface operations {
2429
2597
  };
2430
2598
  };
2431
2599
  };
2600
+ /**
2601
+ * List Currencies In Export
2602
+ * @description Endpoint for List currencies
2603
+ * - 200:
2604
+ * - success
2605
+ * - 404:
2606
+ * - companyDoesNotExist
2607
+ * - companySettingDoesNotExist
2608
+ * - 403:
2609
+ * - permissionDenied
2610
+ * - 500:
2611
+ * - internalServerError
2612
+ */
2613
+ common_currency_views_list_currencies_in_export: {
2614
+ responses: {
2615
+ /** @description OK */
2616
+ 200: {
2617
+ content: {
2618
+ "application/json": components["schemas"]["ListCurrenciesInDopDown"][];
2619
+ };
2620
+ };
2621
+ /** @description Bad Request */
2622
+ 400: {
2623
+ content: {
2624
+ "application/json": components["schemas"]["MessageResponse"];
2625
+ };
2626
+ };
2627
+ /** @description Forbidden */
2628
+ 403: {
2629
+ content: {
2630
+ "application/json": components["schemas"]["MessageResponse"];
2631
+ };
2632
+ };
2633
+ /** @description Internal Server Error */
2634
+ 500: {
2635
+ content: {
2636
+ "application/json": components["schemas"]["MessageResponse"];
2637
+ };
2638
+ };
2639
+ };
2640
+ };
2641
+ /**
2642
+ * List Journal Vouchers In Export
2643
+ * @description Endpoint for list journal vouchers in export
2644
+ * Possible Responses:
2645
+ * - 200:
2646
+ * - success
2647
+ * - 404:
2648
+ * - branchDoesNotExist
2649
+ * - 403:
2650
+ * - permissionDenied
2651
+ * - noBranchAccess
2652
+ * - 400:
2653
+ * - invalidDateRange
2654
+ * - 500:
2655
+ * - internalServerError
2656
+ */
2657
+ accounting_generalvoucher_views_list_journal_vouchers_in_export: {
2658
+ parameters: {
2659
+ query: {
2660
+ /**
2661
+ * @description Format of date (yyyy-mm-dd)
2662
+ * @example 2023-01-01
2663
+ */
2664
+ fromDate: string;
2665
+ /**
2666
+ * @description Format of date (yyyy-mm-dd)
2667
+ * @example 2024-12-30
2668
+ */
2669
+ toDate: string;
2670
+ /** @example true */
2671
+ hideReversed: boolean;
2672
+ branchId: number;
2673
+ };
2674
+ };
2675
+ responses: {
2676
+ /** @description OK */
2677
+ 200: {
2678
+ content: {
2679
+ "application/json": components["schemas"]["ListJournalVouchersInExport"][];
2680
+ };
2681
+ };
2682
+ /** @description Bad Request */
2683
+ 400: {
2684
+ content: {
2685
+ "application/json": components["schemas"]["MessageResponse"];
2686
+ };
2687
+ };
2688
+ /** @description Forbidden */
2689
+ 403: {
2690
+ content: {
2691
+ "application/json": components["schemas"]["MessageResponse"];
2692
+ };
2693
+ };
2694
+ /** @description Not Found */
2695
+ 404: {
2696
+ content: {
2697
+ "application/json": components["schemas"]["MessageResponse"];
2698
+ };
2699
+ };
2700
+ /** @description Internal Server Error */
2701
+ 500: {
2702
+ content: {
2703
+ "application/json": components["schemas"]["MessageResponse"];
2704
+ };
2705
+ };
2706
+ };
2707
+ };
2432
2708
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.102",
3
+ "version": "1.0.103",
4
4
  "main": "openapi.ts"
5
5
  }