@erp-galoper/types 1.0.1468 → 1.0.1469
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 +269 -269
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -6476,6 +6476,37 @@ export interface paths {
|
|
|
6476
6476
|
patch: operations["common_currency_views_update_currency"];
|
|
6477
6477
|
trace?: never;
|
|
6478
6478
|
};
|
|
6479
|
+
"/api/v1/pos/sessions/z-report/": {
|
|
6480
|
+
parameters: {
|
|
6481
|
+
query?: never;
|
|
6482
|
+
header?: never;
|
|
6483
|
+
path?: never;
|
|
6484
|
+
cookie?: never;
|
|
6485
|
+
};
|
|
6486
|
+
/**
|
|
6487
|
+
* Get Session Z Report
|
|
6488
|
+
* @description Get Z-Report data for multiple sessions.
|
|
6489
|
+
* Can be filtered by either date range or specific session IDs.
|
|
6490
|
+
*
|
|
6491
|
+
* **Responses:**
|
|
6492
|
+
* - 200: Z-Report data
|
|
6493
|
+
* - 400: - invalidParameters
|
|
6494
|
+
* - 403: - permissionDenied
|
|
6495
|
+
* - 404: - sessionDoesNotExist
|
|
6496
|
+
* - 500: - serverError
|
|
6497
|
+
*
|
|
6498
|
+
* Permission key:
|
|
6499
|
+
* - z_report: ['view']
|
|
6500
|
+
*/
|
|
6501
|
+
get: operations["pos_session_views_get_session_z_report"];
|
|
6502
|
+
put?: never;
|
|
6503
|
+
post?: never;
|
|
6504
|
+
delete?: never;
|
|
6505
|
+
options?: never;
|
|
6506
|
+
head?: never;
|
|
6507
|
+
patch?: never;
|
|
6508
|
+
trace?: never;
|
|
6509
|
+
};
|
|
6479
6510
|
"/api/v1/pos/sessions/": {
|
|
6480
6511
|
parameters: {
|
|
6481
6512
|
query?: never;
|
|
@@ -6557,37 +6588,6 @@ export interface paths {
|
|
|
6557
6588
|
patch?: never;
|
|
6558
6589
|
trace?: never;
|
|
6559
6590
|
};
|
|
6560
|
-
"/api/v1/pos/sessions/z-report/": {
|
|
6561
|
-
parameters: {
|
|
6562
|
-
query?: never;
|
|
6563
|
-
header?: never;
|
|
6564
|
-
path?: never;
|
|
6565
|
-
cookie?: never;
|
|
6566
|
-
};
|
|
6567
|
-
/**
|
|
6568
|
-
* Get Session Z Report
|
|
6569
|
-
* @description Get Z-Report data for multiple sessions.
|
|
6570
|
-
* Can be filtered by either date range or specific session IDs.
|
|
6571
|
-
*
|
|
6572
|
-
* **Responses:**
|
|
6573
|
-
* - 200: Z-Report data
|
|
6574
|
-
* - 400: - invalidParameters
|
|
6575
|
-
* - 403: - permissionDenied
|
|
6576
|
-
* - 404: - sessionDoesNotExist
|
|
6577
|
-
* - 500: - serverError
|
|
6578
|
-
*
|
|
6579
|
-
* Permission key:
|
|
6580
|
-
* - z_report: ['view']
|
|
6581
|
-
*/
|
|
6582
|
-
get: operations["pos_session_views_get_session_z_report"];
|
|
6583
|
-
put?: never;
|
|
6584
|
-
post?: never;
|
|
6585
|
-
delete?: never;
|
|
6586
|
-
options?: never;
|
|
6587
|
-
head?: never;
|
|
6588
|
-
patch?: never;
|
|
6589
|
-
trace?: never;
|
|
6590
|
-
};
|
|
6591
6591
|
"/api/v1/pos/sessions/{id}/discrepancies/": {
|
|
6592
6592
|
parameters: {
|
|
6593
6593
|
query?: never;
|
|
@@ -33956,202 +33956,6 @@ export interface components {
|
|
|
33956
33956
|
*/
|
|
33957
33957
|
usdRate?: number;
|
|
33958
33958
|
};
|
|
33959
|
-
/**
|
|
33960
|
-
* SessionStatus
|
|
33961
|
-
* @enum {string}
|
|
33962
|
-
*/
|
|
33963
|
-
SessionStatus: "opened" | "closed";
|
|
33964
|
-
/** SessionListSchema */
|
|
33965
|
-
SessionListSchema: {
|
|
33966
|
-
info: components["schemas"]["PageInfoSchema"];
|
|
33967
|
-
/** Results */
|
|
33968
|
-
results: components["schemas"]["SessionSchema"][];
|
|
33969
|
-
};
|
|
33970
|
-
/** SessionSchema */
|
|
33971
|
-
SessionSchema: {
|
|
33972
|
-
/**
|
|
33973
|
-
* Datecreated
|
|
33974
|
-
* Format: date-time
|
|
33975
|
-
*/
|
|
33976
|
-
dateCreated: string;
|
|
33977
|
-
/** Datemodified */
|
|
33978
|
-
dateModified: string | null;
|
|
33979
|
-
createdBy: components["schemas"]["RecordUserSchema"];
|
|
33980
|
-
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
33981
|
-
/**
|
|
33982
|
-
* Id
|
|
33983
|
-
* Format: uuid
|
|
33984
|
-
*/
|
|
33985
|
-
id: string;
|
|
33986
|
-
/** Name */
|
|
33987
|
-
name: string;
|
|
33988
|
-
user: components["schemas"]["UserSummaryInfo"];
|
|
33989
|
-
/**
|
|
33990
|
-
* Startdate
|
|
33991
|
-
* Format: date-time
|
|
33992
|
-
*/
|
|
33993
|
-
startDate: string;
|
|
33994
|
-
/** Enddate */
|
|
33995
|
-
endDate?: string | null;
|
|
33996
|
-
/** Primaryopeningbalance */
|
|
33997
|
-
primaryOpeningBalance: number;
|
|
33998
|
-
/** Secondaryopeningbalance */
|
|
33999
|
-
secondaryOpeningBalance: number | null;
|
|
34000
|
-
/** Primaryclosingbalance */
|
|
34001
|
-
primaryClosingBalance: number | null;
|
|
34002
|
-
/** Secondaryclosingbalance */
|
|
34003
|
-
secondaryClosingBalance: number | null;
|
|
34004
|
-
/** Posted */
|
|
34005
|
-
posted: boolean;
|
|
34006
|
-
status: components["schemas"]["SessionStatus"];
|
|
34007
|
-
/** Hasdiscrepancies */
|
|
34008
|
-
hasDiscrepancies: boolean;
|
|
34009
|
-
/**
|
|
34010
|
-
* Secondarydifference
|
|
34011
|
-
* @default 0
|
|
34012
|
-
*/
|
|
34013
|
-
secondaryDifference: number | null;
|
|
34014
|
-
/**
|
|
34015
|
-
* Primarydifference
|
|
34016
|
-
* @default 0
|
|
34017
|
-
*/
|
|
34018
|
-
primaryDifference: number | null;
|
|
34019
|
-
};
|
|
34020
|
-
/** UserSummaryInfo */
|
|
34021
|
-
UserSummaryInfo: {
|
|
34022
|
-
/** Id */
|
|
34023
|
-
id: number;
|
|
34024
|
-
/** Username */
|
|
34025
|
-
username: string;
|
|
34026
|
-
};
|
|
34027
|
-
/** XReportDiscountsDataSchema */
|
|
34028
|
-
XReportDiscountsDataSchema: {
|
|
34029
|
-
/** Totaldiscounts */
|
|
34030
|
-
totalDiscounts: number;
|
|
34031
|
-
/** Secondarytotaldiscounts */
|
|
34032
|
-
secondaryTotalDiscounts?: number | null;
|
|
34033
|
-
/** Totalinvoices */
|
|
34034
|
-
totalInvoices: number;
|
|
34035
|
-
/** Totalitems */
|
|
34036
|
-
totalItems: number;
|
|
34037
|
-
};
|
|
34038
|
-
/** XReportExchangesDataSchema */
|
|
34039
|
-
XReportExchangesDataSchema: {
|
|
34040
|
-
/** Totalexchanges */
|
|
34041
|
-
totalExchanges: number;
|
|
34042
|
-
/** Secondarytotalexchanges */
|
|
34043
|
-
secondaryTotalExchanges?: number | null;
|
|
34044
|
-
/** Totalinvoices */
|
|
34045
|
-
totalInvoices: number;
|
|
34046
|
-
/** Totalitems */
|
|
34047
|
-
totalItems: number;
|
|
34048
|
-
};
|
|
34049
|
-
/** XReportExpectedCashDataSchema */
|
|
34050
|
-
XReportExpectedCashDataSchema: {
|
|
34051
|
-
/** Expectedcashprimary */
|
|
34052
|
-
expectedCashPrimary: number;
|
|
34053
|
-
/** Expectedcashsecondary */
|
|
34054
|
-
expectedCashSecondary?: number | null;
|
|
34055
|
-
};
|
|
34056
|
-
/** XReportReturnsDataSchema */
|
|
34057
|
-
XReportReturnsDataSchema: {
|
|
34058
|
-
/** Totalreturns */
|
|
34059
|
-
totalReturns: number;
|
|
34060
|
-
/** Secondarytotalreturns */
|
|
34061
|
-
secondaryTotalReturns?: number | null;
|
|
34062
|
-
/** Totalinvoices */
|
|
34063
|
-
totalInvoices: number;
|
|
34064
|
-
/** Totalitems */
|
|
34065
|
-
totalItems: number;
|
|
34066
|
-
};
|
|
34067
|
-
/** XReportSalesDataSchema */
|
|
34068
|
-
XReportSalesDataSchema: {
|
|
34069
|
-
/** Totalsales */
|
|
34070
|
-
totalSales: number;
|
|
34071
|
-
/** Secondarytotalsales */
|
|
34072
|
-
secondaryTotalSales?: number | null;
|
|
34073
|
-
/** Totalinvoices */
|
|
34074
|
-
totalInvoices: number;
|
|
34075
|
-
/** Totalitems */
|
|
34076
|
-
totalItems: number;
|
|
34077
|
-
};
|
|
34078
|
-
/** XReportSchema */
|
|
34079
|
-
XReportSchema: {
|
|
34080
|
-
summary: components["schemas"]["XReportSummarySchema"];
|
|
34081
|
-
salesData: components["schemas"]["XReportSalesDataSchema"];
|
|
34082
|
-
returnsData: components["schemas"]["XReportReturnsDataSchema"];
|
|
34083
|
-
voidedData: components["schemas"]["XReportVoidedDataSchema"];
|
|
34084
|
-
voidedItemsData: components["schemas"]["XReportVoidedItemsDataSchema"];
|
|
34085
|
-
exchangesData: components["schemas"]["XReportExchangesDataSchema"];
|
|
34086
|
-
voidedExchangesData: components["schemas"]["XReportVoidedExchangesDataSchema"];
|
|
34087
|
-
voidedReturnsData: components["schemas"]["XReportVoidedReturnsDataSchema"];
|
|
34088
|
-
discountsData: components["schemas"]["XReportDiscountsDataSchema"];
|
|
34089
|
-
taxData: components["schemas"]["XReportTaxDataSchema"];
|
|
34090
|
-
expectedCashData: components["schemas"]["XReportExpectedCashDataSchema"];
|
|
34091
|
-
/**
|
|
34092
|
-
* Multicurrencyenabled
|
|
34093
|
-
* @description if enabled, show secondary currency data
|
|
34094
|
-
*/
|
|
34095
|
-
multiCurrencyEnabled: boolean;
|
|
34096
|
-
};
|
|
34097
|
-
/** XReportSummarySchema */
|
|
34098
|
-
XReportSummarySchema: {
|
|
34099
|
-
session?: components["schemas"]["SessionSchema"] | null;
|
|
34100
|
-
/**
|
|
34101
|
-
* Exportdate
|
|
34102
|
-
* Format: date-time
|
|
34103
|
-
*/
|
|
34104
|
-
exportDate: string;
|
|
34105
|
-
};
|
|
34106
|
-
/** XReportTaxDataSchema */
|
|
34107
|
-
XReportTaxDataSchema: {
|
|
34108
|
-
/** Totaltax */
|
|
34109
|
-
totalTax: number;
|
|
34110
|
-
/** Secondarytotaltax */
|
|
34111
|
-
secondaryTotalTax?: number | null;
|
|
34112
|
-
};
|
|
34113
|
-
/** XReportVoidedDataSchema */
|
|
34114
|
-
XReportVoidedDataSchema: {
|
|
34115
|
-
/** Totalvoided */
|
|
34116
|
-
totalVoided: number;
|
|
34117
|
-
/** Secondarytotalvoided */
|
|
34118
|
-
secondaryTotalVoided?: number | null;
|
|
34119
|
-
/** Totalinvoices */
|
|
34120
|
-
totalInvoices: number;
|
|
34121
|
-
/** Totalitems */
|
|
34122
|
-
totalItems: number;
|
|
34123
|
-
};
|
|
34124
|
-
/** XReportVoidedExchangesDataSchema */
|
|
34125
|
-
XReportVoidedExchangesDataSchema: {
|
|
34126
|
-
/** Totalvoided */
|
|
34127
|
-
totalVoided: number;
|
|
34128
|
-
/** Secondarytotalvoided */
|
|
34129
|
-
secondaryTotalVoided?: number | null;
|
|
34130
|
-
/** Totalinvoices */
|
|
34131
|
-
totalInvoices: number;
|
|
34132
|
-
/** Totalitems */
|
|
34133
|
-
totalItems: number;
|
|
34134
|
-
};
|
|
34135
|
-
/** XReportVoidedItemsDataSchema */
|
|
34136
|
-
XReportVoidedItemsDataSchema: {
|
|
34137
|
-
/** Totalvoided */
|
|
34138
|
-
totalVoided: number;
|
|
34139
|
-
/** Secondarytotalvoided */
|
|
34140
|
-
secondaryTotalVoided?: number | null;
|
|
34141
|
-
/** Totalitems */
|
|
34142
|
-
totalItems: number;
|
|
34143
|
-
};
|
|
34144
|
-
/** XReportVoidedReturnsDataSchema */
|
|
34145
|
-
XReportVoidedReturnsDataSchema: {
|
|
34146
|
-
/** Totalvoided */
|
|
34147
|
-
totalVoided: number;
|
|
34148
|
-
/** Secondarytotalvoided */
|
|
34149
|
-
secondaryTotalVoided?: number | null;
|
|
34150
|
-
/** Totalinvoices */
|
|
34151
|
-
totalInvoices: number;
|
|
34152
|
-
/** Totalitems */
|
|
34153
|
-
totalItems: number;
|
|
34154
|
-
};
|
|
34155
33959
|
/** BreakdownItemSchema */
|
|
34156
33960
|
BreakdownItemSchema: {
|
|
34157
33961
|
/** Name */
|
|
@@ -34349,6 +34153,202 @@ export interface components {
|
|
|
34349
34153
|
/** Groupeddata */
|
|
34350
34154
|
groupedData: components["schemas"]["BreakdownItemSchema"][];
|
|
34351
34155
|
};
|
|
34156
|
+
/**
|
|
34157
|
+
* SessionStatus
|
|
34158
|
+
* @enum {string}
|
|
34159
|
+
*/
|
|
34160
|
+
SessionStatus: "opened" | "closed";
|
|
34161
|
+
/** SessionListSchema */
|
|
34162
|
+
SessionListSchema: {
|
|
34163
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
34164
|
+
/** Results */
|
|
34165
|
+
results: components["schemas"]["SessionSchema"][];
|
|
34166
|
+
};
|
|
34167
|
+
/** SessionSchema */
|
|
34168
|
+
SessionSchema: {
|
|
34169
|
+
/**
|
|
34170
|
+
* Datecreated
|
|
34171
|
+
* Format: date-time
|
|
34172
|
+
*/
|
|
34173
|
+
dateCreated: string;
|
|
34174
|
+
/** Datemodified */
|
|
34175
|
+
dateModified: string | null;
|
|
34176
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
34177
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
34178
|
+
/**
|
|
34179
|
+
* Id
|
|
34180
|
+
* Format: uuid
|
|
34181
|
+
*/
|
|
34182
|
+
id: string;
|
|
34183
|
+
/** Name */
|
|
34184
|
+
name: string;
|
|
34185
|
+
user: components["schemas"]["UserSummaryInfo"];
|
|
34186
|
+
/**
|
|
34187
|
+
* Startdate
|
|
34188
|
+
* Format: date-time
|
|
34189
|
+
*/
|
|
34190
|
+
startDate: string;
|
|
34191
|
+
/** Enddate */
|
|
34192
|
+
endDate?: string | null;
|
|
34193
|
+
/** Primaryopeningbalance */
|
|
34194
|
+
primaryOpeningBalance: number;
|
|
34195
|
+
/** Secondaryopeningbalance */
|
|
34196
|
+
secondaryOpeningBalance: number | null;
|
|
34197
|
+
/** Primaryclosingbalance */
|
|
34198
|
+
primaryClosingBalance: number | null;
|
|
34199
|
+
/** Secondaryclosingbalance */
|
|
34200
|
+
secondaryClosingBalance: number | null;
|
|
34201
|
+
/** Posted */
|
|
34202
|
+
posted: boolean;
|
|
34203
|
+
status: components["schemas"]["SessionStatus"];
|
|
34204
|
+
/** Hasdiscrepancies */
|
|
34205
|
+
hasDiscrepancies: boolean;
|
|
34206
|
+
/**
|
|
34207
|
+
* Secondarydifference
|
|
34208
|
+
* @default 0
|
|
34209
|
+
*/
|
|
34210
|
+
secondaryDifference: number | null;
|
|
34211
|
+
/**
|
|
34212
|
+
* Primarydifference
|
|
34213
|
+
* @default 0
|
|
34214
|
+
*/
|
|
34215
|
+
primaryDifference: number | null;
|
|
34216
|
+
};
|
|
34217
|
+
/** UserSummaryInfo */
|
|
34218
|
+
UserSummaryInfo: {
|
|
34219
|
+
/** Id */
|
|
34220
|
+
id: number;
|
|
34221
|
+
/** Username */
|
|
34222
|
+
username: string;
|
|
34223
|
+
};
|
|
34224
|
+
/** XReportDiscountsDataSchema */
|
|
34225
|
+
XReportDiscountsDataSchema: {
|
|
34226
|
+
/** Totaldiscounts */
|
|
34227
|
+
totalDiscounts: number;
|
|
34228
|
+
/** Secondarytotaldiscounts */
|
|
34229
|
+
secondaryTotalDiscounts?: number | null;
|
|
34230
|
+
/** Totalinvoices */
|
|
34231
|
+
totalInvoices: number;
|
|
34232
|
+
/** Totalitems */
|
|
34233
|
+
totalItems: number;
|
|
34234
|
+
};
|
|
34235
|
+
/** XReportExchangesDataSchema */
|
|
34236
|
+
XReportExchangesDataSchema: {
|
|
34237
|
+
/** Totalexchanges */
|
|
34238
|
+
totalExchanges: number;
|
|
34239
|
+
/** Secondarytotalexchanges */
|
|
34240
|
+
secondaryTotalExchanges?: number | null;
|
|
34241
|
+
/** Totalinvoices */
|
|
34242
|
+
totalInvoices: number;
|
|
34243
|
+
/** Totalitems */
|
|
34244
|
+
totalItems: number;
|
|
34245
|
+
};
|
|
34246
|
+
/** XReportExpectedCashDataSchema */
|
|
34247
|
+
XReportExpectedCashDataSchema: {
|
|
34248
|
+
/** Expectedcashprimary */
|
|
34249
|
+
expectedCashPrimary: number;
|
|
34250
|
+
/** Expectedcashsecondary */
|
|
34251
|
+
expectedCashSecondary?: number | null;
|
|
34252
|
+
};
|
|
34253
|
+
/** XReportReturnsDataSchema */
|
|
34254
|
+
XReportReturnsDataSchema: {
|
|
34255
|
+
/** Totalreturns */
|
|
34256
|
+
totalReturns: number;
|
|
34257
|
+
/** Secondarytotalreturns */
|
|
34258
|
+
secondaryTotalReturns?: number | null;
|
|
34259
|
+
/** Totalinvoices */
|
|
34260
|
+
totalInvoices: number;
|
|
34261
|
+
/** Totalitems */
|
|
34262
|
+
totalItems: number;
|
|
34263
|
+
};
|
|
34264
|
+
/** XReportSalesDataSchema */
|
|
34265
|
+
XReportSalesDataSchema: {
|
|
34266
|
+
/** Totalsales */
|
|
34267
|
+
totalSales: number;
|
|
34268
|
+
/** Secondarytotalsales */
|
|
34269
|
+
secondaryTotalSales?: number | null;
|
|
34270
|
+
/** Totalinvoices */
|
|
34271
|
+
totalInvoices: number;
|
|
34272
|
+
/** Totalitems */
|
|
34273
|
+
totalItems: number;
|
|
34274
|
+
};
|
|
34275
|
+
/** XReportSchema */
|
|
34276
|
+
XReportSchema: {
|
|
34277
|
+
summary: components["schemas"]["XReportSummarySchema"];
|
|
34278
|
+
salesData: components["schemas"]["XReportSalesDataSchema"];
|
|
34279
|
+
returnsData: components["schemas"]["XReportReturnsDataSchema"];
|
|
34280
|
+
voidedData: components["schemas"]["XReportVoidedDataSchema"];
|
|
34281
|
+
voidedItemsData: components["schemas"]["XReportVoidedItemsDataSchema"];
|
|
34282
|
+
exchangesData: components["schemas"]["XReportExchangesDataSchema"];
|
|
34283
|
+
voidedExchangesData: components["schemas"]["XReportVoidedExchangesDataSchema"];
|
|
34284
|
+
voidedReturnsData: components["schemas"]["XReportVoidedReturnsDataSchema"];
|
|
34285
|
+
discountsData: components["schemas"]["XReportDiscountsDataSchema"];
|
|
34286
|
+
taxData: components["schemas"]["XReportTaxDataSchema"];
|
|
34287
|
+
expectedCashData: components["schemas"]["XReportExpectedCashDataSchema"];
|
|
34288
|
+
/**
|
|
34289
|
+
* Multicurrencyenabled
|
|
34290
|
+
* @description if enabled, show secondary currency data
|
|
34291
|
+
*/
|
|
34292
|
+
multiCurrencyEnabled: boolean;
|
|
34293
|
+
};
|
|
34294
|
+
/** XReportSummarySchema */
|
|
34295
|
+
XReportSummarySchema: {
|
|
34296
|
+
session?: components["schemas"]["SessionSchema"] | null;
|
|
34297
|
+
/**
|
|
34298
|
+
* Exportdate
|
|
34299
|
+
* Format: date-time
|
|
34300
|
+
*/
|
|
34301
|
+
exportDate: string;
|
|
34302
|
+
};
|
|
34303
|
+
/** XReportTaxDataSchema */
|
|
34304
|
+
XReportTaxDataSchema: {
|
|
34305
|
+
/** Totaltax */
|
|
34306
|
+
totalTax: number;
|
|
34307
|
+
/** Secondarytotaltax */
|
|
34308
|
+
secondaryTotalTax?: number | null;
|
|
34309
|
+
};
|
|
34310
|
+
/** XReportVoidedDataSchema */
|
|
34311
|
+
XReportVoidedDataSchema: {
|
|
34312
|
+
/** Totalvoided */
|
|
34313
|
+
totalVoided: number;
|
|
34314
|
+
/** Secondarytotalvoided */
|
|
34315
|
+
secondaryTotalVoided?: number | null;
|
|
34316
|
+
/** Totalinvoices */
|
|
34317
|
+
totalInvoices: number;
|
|
34318
|
+
/** Totalitems */
|
|
34319
|
+
totalItems: number;
|
|
34320
|
+
};
|
|
34321
|
+
/** XReportVoidedExchangesDataSchema */
|
|
34322
|
+
XReportVoidedExchangesDataSchema: {
|
|
34323
|
+
/** Totalvoided */
|
|
34324
|
+
totalVoided: number;
|
|
34325
|
+
/** Secondarytotalvoided */
|
|
34326
|
+
secondaryTotalVoided?: number | null;
|
|
34327
|
+
/** Totalinvoices */
|
|
34328
|
+
totalInvoices: number;
|
|
34329
|
+
/** Totalitems */
|
|
34330
|
+
totalItems: number;
|
|
34331
|
+
};
|
|
34332
|
+
/** XReportVoidedItemsDataSchema */
|
|
34333
|
+
XReportVoidedItemsDataSchema: {
|
|
34334
|
+
/** Totalvoided */
|
|
34335
|
+
totalVoided: number;
|
|
34336
|
+
/** Secondarytotalvoided */
|
|
34337
|
+
secondaryTotalVoided?: number | null;
|
|
34338
|
+
/** Totalitems */
|
|
34339
|
+
totalItems: number;
|
|
34340
|
+
};
|
|
34341
|
+
/** XReportVoidedReturnsDataSchema */
|
|
34342
|
+
XReportVoidedReturnsDataSchema: {
|
|
34343
|
+
/** Totalvoided */
|
|
34344
|
+
totalVoided: number;
|
|
34345
|
+
/** Secondarytotalvoided */
|
|
34346
|
+
secondaryTotalVoided?: number | null;
|
|
34347
|
+
/** Totalinvoices */
|
|
34348
|
+
totalInvoices: number;
|
|
34349
|
+
/** Totalitems */
|
|
34350
|
+
totalItems: number;
|
|
34351
|
+
};
|
|
34352
34352
|
/** DiscrepanciesIn */
|
|
34353
34353
|
DiscrepanciesIn: {
|
|
34354
34354
|
discrepancyPostingMethod: components["schemas"]["DiscrepancyPostingMethod"];
|
|
@@ -72045,23 +72045,15 @@ export interface operations {
|
|
|
72045
72045
|
};
|
|
72046
72046
|
};
|
|
72047
72047
|
};
|
|
72048
|
-
|
|
72048
|
+
pos_session_views_get_session_z_report: {
|
|
72049
72049
|
parameters: {
|
|
72050
72050
|
query?: {
|
|
72051
|
-
/** @description
|
|
72052
|
-
page?: number;
|
|
72053
|
-
/** @description Page size */
|
|
72054
|
-
pageSize?: number;
|
|
72055
|
-
/** @description Filter by session status (e.g., 'opened') */
|
|
72056
|
-
status?: components["schemas"]["SessionStatus"] | null;
|
|
72057
|
-
/** @description Filter sessions from this date (YYYY-MM-DD) */
|
|
72051
|
+
/** @description Start date (YYYY-MM-DD) */
|
|
72058
72052
|
startDate?: string | null;
|
|
72059
|
-
/** @description
|
|
72053
|
+
/** @description End date (YYYY-MM-DD) */
|
|
72060
72054
|
endDate?: string | null;
|
|
72061
|
-
/** @description
|
|
72062
|
-
|
|
72063
|
-
/** @description Filter by session name */
|
|
72064
|
-
name?: string | null;
|
|
72055
|
+
/** @description Session IDs filtered by status 'closed' */
|
|
72056
|
+
sessionIds?: string[] | null;
|
|
72065
72057
|
};
|
|
72066
72058
|
header?: never;
|
|
72067
72059
|
path?: never;
|
|
@@ -72075,7 +72067,7 @@ export interface operations {
|
|
|
72075
72067
|
[name: string]: unknown;
|
|
72076
72068
|
};
|
|
72077
72069
|
content: {
|
|
72078
|
-
"application/json": components["schemas"]["
|
|
72070
|
+
"application/json": components["schemas"]["ZReportSchema"];
|
|
72079
72071
|
};
|
|
72080
72072
|
};
|
|
72081
72073
|
/** @description Bad Request */
|
|
@@ -72096,6 +72088,15 @@ export interface operations {
|
|
|
72096
72088
|
"application/json": components["schemas"]["MessageResponse"];
|
|
72097
72089
|
};
|
|
72098
72090
|
};
|
|
72091
|
+
/** @description Not Found */
|
|
72092
|
+
404: {
|
|
72093
|
+
headers: {
|
|
72094
|
+
[name: string]: unknown;
|
|
72095
|
+
};
|
|
72096
|
+
content: {
|
|
72097
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
72098
|
+
};
|
|
72099
|
+
};
|
|
72099
72100
|
/** @description Internal Server Error */
|
|
72100
72101
|
500: {
|
|
72101
72102
|
headers: {
|
|
@@ -72107,13 +72108,26 @@ export interface operations {
|
|
|
72107
72108
|
};
|
|
72108
72109
|
};
|
|
72109
72110
|
};
|
|
72110
|
-
|
|
72111
|
+
pos_session_views_list_sessions: {
|
|
72111
72112
|
parameters: {
|
|
72112
|
-
query?:
|
|
72113
|
-
|
|
72114
|
-
|
|
72115
|
-
|
|
72113
|
+
query?: {
|
|
72114
|
+
/** @description Page number */
|
|
72115
|
+
page?: number;
|
|
72116
|
+
/** @description Page size */
|
|
72117
|
+
pageSize?: number;
|
|
72118
|
+
/** @description Filter by session status (e.g., 'opened') */
|
|
72119
|
+
status?: components["schemas"]["SessionStatus"] | null;
|
|
72120
|
+
/** @description Filter sessions from this date (YYYY-MM-DD) */
|
|
72121
|
+
startDate?: string | null;
|
|
72122
|
+
/** @description Filter sessions until this date (YYYY-MM-DD) */
|
|
72123
|
+
endDate?: string | null;
|
|
72124
|
+
/** @description Filter by user ID (requires appropriate permissions) */
|
|
72125
|
+
userId?: number | null;
|
|
72126
|
+
/** @description Filter by session name */
|
|
72127
|
+
name?: string | null;
|
|
72116
72128
|
};
|
|
72129
|
+
header?: never;
|
|
72130
|
+
path?: never;
|
|
72117
72131
|
cookie?: never;
|
|
72118
72132
|
};
|
|
72119
72133
|
requestBody?: never;
|
|
@@ -72124,7 +72138,7 @@ export interface operations {
|
|
|
72124
72138
|
[name: string]: unknown;
|
|
72125
72139
|
};
|
|
72126
72140
|
content: {
|
|
72127
|
-
"application/json": components["schemas"]["
|
|
72141
|
+
"application/json": components["schemas"]["SessionListSchema"];
|
|
72128
72142
|
};
|
|
72129
72143
|
};
|
|
72130
72144
|
/** @description Bad Request */
|
|
@@ -72145,15 +72159,6 @@ export interface operations {
|
|
|
72145
72159
|
"application/json": components["schemas"]["MessageResponse"];
|
|
72146
72160
|
};
|
|
72147
72161
|
};
|
|
72148
|
-
/** @description Not Found */
|
|
72149
|
-
404: {
|
|
72150
|
-
headers: {
|
|
72151
|
-
[name: string]: unknown;
|
|
72152
|
-
};
|
|
72153
|
-
content: {
|
|
72154
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
72155
|
-
};
|
|
72156
|
-
};
|
|
72157
72162
|
/** @description Internal Server Error */
|
|
72158
72163
|
500: {
|
|
72159
72164
|
headers: {
|
|
@@ -72165,7 +72170,7 @@ export interface operations {
|
|
|
72165
72170
|
};
|
|
72166
72171
|
};
|
|
72167
72172
|
};
|
|
72168
|
-
|
|
72173
|
+
pos_session_views_get_session: {
|
|
72169
72174
|
parameters: {
|
|
72170
72175
|
query?: never;
|
|
72171
72176
|
header?: never;
|
|
@@ -72182,7 +72187,7 @@ export interface operations {
|
|
|
72182
72187
|
[name: string]: unknown;
|
|
72183
72188
|
};
|
|
72184
72189
|
content: {
|
|
72185
|
-
"application/json": components["schemas"]["
|
|
72190
|
+
"application/json": components["schemas"]["SessionSchema"];
|
|
72186
72191
|
};
|
|
72187
72192
|
};
|
|
72188
72193
|
/** @description Bad Request */
|
|
@@ -72223,18 +72228,13 @@ export interface operations {
|
|
|
72223
72228
|
};
|
|
72224
72229
|
};
|
|
72225
72230
|
};
|
|
72226
|
-
|
|
72231
|
+
pos_session_views_get_session_x_report: {
|
|
72227
72232
|
parameters: {
|
|
72228
|
-
query?:
|
|
72229
|
-
/** @description Start date (YYYY-MM-DD) */
|
|
72230
|
-
startDate?: string | null;
|
|
72231
|
-
/** @description End date (YYYY-MM-DD) */
|
|
72232
|
-
endDate?: string | null;
|
|
72233
|
-
/** @description Session IDs filtered by status 'closed' */
|
|
72234
|
-
sessionIds?: string[] | null;
|
|
72235
|
-
};
|
|
72233
|
+
query?: never;
|
|
72236
72234
|
header?: never;
|
|
72237
|
-
path
|
|
72235
|
+
path: {
|
|
72236
|
+
id: string;
|
|
72237
|
+
};
|
|
72238
72238
|
cookie?: never;
|
|
72239
72239
|
};
|
|
72240
72240
|
requestBody?: never;
|
|
@@ -72245,7 +72245,7 @@ export interface operations {
|
|
|
72245
72245
|
[name: string]: unknown;
|
|
72246
72246
|
};
|
|
72247
72247
|
content: {
|
|
72248
|
-
"application/json": components["schemas"]["
|
|
72248
|
+
"application/json": components["schemas"]["XReportSchema"];
|
|
72249
72249
|
};
|
|
72250
72250
|
};
|
|
72251
72251
|
/** @description Bad Request */
|