@erp-galoper/types 1.0.1467 → 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 +283 -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;
|
|
@@ -25976,6 +25976,16 @@ export interface components {
|
|
|
25976
25976
|
* @constant
|
|
25977
25977
|
*/
|
|
25978
25978
|
ItemIncludeOption: "opening_stock";
|
|
25979
|
+
/**
|
|
25980
|
+
* ItemSortBy
|
|
25981
|
+
* @enum {string}
|
|
25982
|
+
*/
|
|
25983
|
+
ItemSortBy: "name" | "shortName" | "skuCode" | "type" | "usage" | "active" | "dateCreated" | "dateModified" | "family" | "brand" | "categories" | "tags";
|
|
25984
|
+
/**
|
|
25985
|
+
* SortOrder
|
|
25986
|
+
* @enum {string}
|
|
25987
|
+
*/
|
|
25988
|
+
SortOrder: "asc" | "desc";
|
|
25979
25989
|
/**
|
|
25980
25990
|
* viewType
|
|
25981
25991
|
* @enum {string}
|
|
@@ -33946,202 +33956,6 @@ export interface components {
|
|
|
33946
33956
|
*/
|
|
33947
33957
|
usdRate?: number;
|
|
33948
33958
|
};
|
|
33949
|
-
/**
|
|
33950
|
-
* SessionStatus
|
|
33951
|
-
* @enum {string}
|
|
33952
|
-
*/
|
|
33953
|
-
SessionStatus: "opened" | "closed";
|
|
33954
|
-
/** SessionListSchema */
|
|
33955
|
-
SessionListSchema: {
|
|
33956
|
-
info: components["schemas"]["PageInfoSchema"];
|
|
33957
|
-
/** Results */
|
|
33958
|
-
results: components["schemas"]["SessionSchema"][];
|
|
33959
|
-
};
|
|
33960
|
-
/** SessionSchema */
|
|
33961
|
-
SessionSchema: {
|
|
33962
|
-
/**
|
|
33963
|
-
* Datecreated
|
|
33964
|
-
* Format: date-time
|
|
33965
|
-
*/
|
|
33966
|
-
dateCreated: string;
|
|
33967
|
-
/** Datemodified */
|
|
33968
|
-
dateModified: string | null;
|
|
33969
|
-
createdBy: components["schemas"]["RecordUserSchema"];
|
|
33970
|
-
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
33971
|
-
/**
|
|
33972
|
-
* Id
|
|
33973
|
-
* Format: uuid
|
|
33974
|
-
*/
|
|
33975
|
-
id: string;
|
|
33976
|
-
/** Name */
|
|
33977
|
-
name: string;
|
|
33978
|
-
user: components["schemas"]["UserSummaryInfo"];
|
|
33979
|
-
/**
|
|
33980
|
-
* Startdate
|
|
33981
|
-
* Format: date-time
|
|
33982
|
-
*/
|
|
33983
|
-
startDate: string;
|
|
33984
|
-
/** Enddate */
|
|
33985
|
-
endDate?: string | null;
|
|
33986
|
-
/** Primaryopeningbalance */
|
|
33987
|
-
primaryOpeningBalance: number;
|
|
33988
|
-
/** Secondaryopeningbalance */
|
|
33989
|
-
secondaryOpeningBalance: number | null;
|
|
33990
|
-
/** Primaryclosingbalance */
|
|
33991
|
-
primaryClosingBalance: number | null;
|
|
33992
|
-
/** Secondaryclosingbalance */
|
|
33993
|
-
secondaryClosingBalance: number | null;
|
|
33994
|
-
/** Posted */
|
|
33995
|
-
posted: boolean;
|
|
33996
|
-
status: components["schemas"]["SessionStatus"];
|
|
33997
|
-
/** Hasdiscrepancies */
|
|
33998
|
-
hasDiscrepancies: boolean;
|
|
33999
|
-
/**
|
|
34000
|
-
* Secondarydifference
|
|
34001
|
-
* @default 0
|
|
34002
|
-
*/
|
|
34003
|
-
secondaryDifference: number | null;
|
|
34004
|
-
/**
|
|
34005
|
-
* Primarydifference
|
|
34006
|
-
* @default 0
|
|
34007
|
-
*/
|
|
34008
|
-
primaryDifference: number | null;
|
|
34009
|
-
};
|
|
34010
|
-
/** UserSummaryInfo */
|
|
34011
|
-
UserSummaryInfo: {
|
|
34012
|
-
/** Id */
|
|
34013
|
-
id: number;
|
|
34014
|
-
/** Username */
|
|
34015
|
-
username: string;
|
|
34016
|
-
};
|
|
34017
|
-
/** XReportDiscountsDataSchema */
|
|
34018
|
-
XReportDiscountsDataSchema: {
|
|
34019
|
-
/** Totaldiscounts */
|
|
34020
|
-
totalDiscounts: number;
|
|
34021
|
-
/** Secondarytotaldiscounts */
|
|
34022
|
-
secondaryTotalDiscounts?: number | null;
|
|
34023
|
-
/** Totalinvoices */
|
|
34024
|
-
totalInvoices: number;
|
|
34025
|
-
/** Totalitems */
|
|
34026
|
-
totalItems: number;
|
|
34027
|
-
};
|
|
34028
|
-
/** XReportExchangesDataSchema */
|
|
34029
|
-
XReportExchangesDataSchema: {
|
|
34030
|
-
/** Totalexchanges */
|
|
34031
|
-
totalExchanges: number;
|
|
34032
|
-
/** Secondarytotalexchanges */
|
|
34033
|
-
secondaryTotalExchanges?: number | null;
|
|
34034
|
-
/** Totalinvoices */
|
|
34035
|
-
totalInvoices: number;
|
|
34036
|
-
/** Totalitems */
|
|
34037
|
-
totalItems: number;
|
|
34038
|
-
};
|
|
34039
|
-
/** XReportExpectedCashDataSchema */
|
|
34040
|
-
XReportExpectedCashDataSchema: {
|
|
34041
|
-
/** Expectedcashprimary */
|
|
34042
|
-
expectedCashPrimary: number;
|
|
34043
|
-
/** Expectedcashsecondary */
|
|
34044
|
-
expectedCashSecondary?: number | null;
|
|
34045
|
-
};
|
|
34046
|
-
/** XReportReturnsDataSchema */
|
|
34047
|
-
XReportReturnsDataSchema: {
|
|
34048
|
-
/** Totalreturns */
|
|
34049
|
-
totalReturns: number;
|
|
34050
|
-
/** Secondarytotalreturns */
|
|
34051
|
-
secondaryTotalReturns?: number | null;
|
|
34052
|
-
/** Totalinvoices */
|
|
34053
|
-
totalInvoices: number;
|
|
34054
|
-
/** Totalitems */
|
|
34055
|
-
totalItems: number;
|
|
34056
|
-
};
|
|
34057
|
-
/** XReportSalesDataSchema */
|
|
34058
|
-
XReportSalesDataSchema: {
|
|
34059
|
-
/** Totalsales */
|
|
34060
|
-
totalSales: number;
|
|
34061
|
-
/** Secondarytotalsales */
|
|
34062
|
-
secondaryTotalSales?: number | null;
|
|
34063
|
-
/** Totalinvoices */
|
|
34064
|
-
totalInvoices: number;
|
|
34065
|
-
/** Totalitems */
|
|
34066
|
-
totalItems: number;
|
|
34067
|
-
};
|
|
34068
|
-
/** XReportSchema */
|
|
34069
|
-
XReportSchema: {
|
|
34070
|
-
summary: components["schemas"]["XReportSummarySchema"];
|
|
34071
|
-
salesData: components["schemas"]["XReportSalesDataSchema"];
|
|
34072
|
-
returnsData: components["schemas"]["XReportReturnsDataSchema"];
|
|
34073
|
-
voidedData: components["schemas"]["XReportVoidedDataSchema"];
|
|
34074
|
-
voidedItemsData: components["schemas"]["XReportVoidedItemsDataSchema"];
|
|
34075
|
-
exchangesData: components["schemas"]["XReportExchangesDataSchema"];
|
|
34076
|
-
voidedExchangesData: components["schemas"]["XReportVoidedExchangesDataSchema"];
|
|
34077
|
-
voidedReturnsData: components["schemas"]["XReportVoidedReturnsDataSchema"];
|
|
34078
|
-
discountsData: components["schemas"]["XReportDiscountsDataSchema"];
|
|
34079
|
-
taxData: components["schemas"]["XReportTaxDataSchema"];
|
|
34080
|
-
expectedCashData: components["schemas"]["XReportExpectedCashDataSchema"];
|
|
34081
|
-
/**
|
|
34082
|
-
* Multicurrencyenabled
|
|
34083
|
-
* @description if enabled, show secondary currency data
|
|
34084
|
-
*/
|
|
34085
|
-
multiCurrencyEnabled: boolean;
|
|
34086
|
-
};
|
|
34087
|
-
/** XReportSummarySchema */
|
|
34088
|
-
XReportSummarySchema: {
|
|
34089
|
-
session?: components["schemas"]["SessionSchema"] | null;
|
|
34090
|
-
/**
|
|
34091
|
-
* Exportdate
|
|
34092
|
-
* Format: date-time
|
|
34093
|
-
*/
|
|
34094
|
-
exportDate: string;
|
|
34095
|
-
};
|
|
34096
|
-
/** XReportTaxDataSchema */
|
|
34097
|
-
XReportTaxDataSchema: {
|
|
34098
|
-
/** Totaltax */
|
|
34099
|
-
totalTax: number;
|
|
34100
|
-
/** Secondarytotaltax */
|
|
34101
|
-
secondaryTotalTax?: number | null;
|
|
34102
|
-
};
|
|
34103
|
-
/** XReportVoidedDataSchema */
|
|
34104
|
-
XReportVoidedDataSchema: {
|
|
34105
|
-
/** Totalvoided */
|
|
34106
|
-
totalVoided: number;
|
|
34107
|
-
/** Secondarytotalvoided */
|
|
34108
|
-
secondaryTotalVoided?: number | null;
|
|
34109
|
-
/** Totalinvoices */
|
|
34110
|
-
totalInvoices: number;
|
|
34111
|
-
/** Totalitems */
|
|
34112
|
-
totalItems: number;
|
|
34113
|
-
};
|
|
34114
|
-
/** XReportVoidedExchangesDataSchema */
|
|
34115
|
-
XReportVoidedExchangesDataSchema: {
|
|
34116
|
-
/** Totalvoided */
|
|
34117
|
-
totalVoided: number;
|
|
34118
|
-
/** Secondarytotalvoided */
|
|
34119
|
-
secondaryTotalVoided?: number | null;
|
|
34120
|
-
/** Totalinvoices */
|
|
34121
|
-
totalInvoices: number;
|
|
34122
|
-
/** Totalitems */
|
|
34123
|
-
totalItems: number;
|
|
34124
|
-
};
|
|
34125
|
-
/** XReportVoidedItemsDataSchema */
|
|
34126
|
-
XReportVoidedItemsDataSchema: {
|
|
34127
|
-
/** Totalvoided */
|
|
34128
|
-
totalVoided: number;
|
|
34129
|
-
/** Secondarytotalvoided */
|
|
34130
|
-
secondaryTotalVoided?: number | null;
|
|
34131
|
-
/** Totalitems */
|
|
34132
|
-
totalItems: number;
|
|
34133
|
-
};
|
|
34134
|
-
/** XReportVoidedReturnsDataSchema */
|
|
34135
|
-
XReportVoidedReturnsDataSchema: {
|
|
34136
|
-
/** Totalvoided */
|
|
34137
|
-
totalVoided: number;
|
|
34138
|
-
/** Secondarytotalvoided */
|
|
34139
|
-
secondaryTotalVoided?: number | null;
|
|
34140
|
-
/** Totalinvoices */
|
|
34141
|
-
totalInvoices: number;
|
|
34142
|
-
/** Totalitems */
|
|
34143
|
-
totalItems: number;
|
|
34144
|
-
};
|
|
34145
33959
|
/** BreakdownItemSchema */
|
|
34146
33960
|
BreakdownItemSchema: {
|
|
34147
33961
|
/** Name */
|
|
@@ -34339,6 +34153,202 @@ export interface components {
|
|
|
34339
34153
|
/** Groupeddata */
|
|
34340
34154
|
groupedData: components["schemas"]["BreakdownItemSchema"][];
|
|
34341
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
|
+
};
|
|
34342
34352
|
/** DiscrepanciesIn */
|
|
34343
34353
|
DiscrepanciesIn: {
|
|
34344
34354
|
discrepancyPostingMethod: components["schemas"]["DiscrepancyPostingMethod"];
|
|
@@ -59502,6 +59512,10 @@ export interface operations {
|
|
|
59502
59512
|
supplierId?: number;
|
|
59503
59513
|
/** @description required when you want to get items sales prices from sales price list in sales features */
|
|
59504
59514
|
customerId?: number;
|
|
59515
|
+
/** @description Field to sort items by */
|
|
59516
|
+
sortBy?: "name" | "shortName" | "skuCode" | "type" | "usage" | "active" | "dateCreated" | "dateModified" | "family" | "brand" | "categories" | "tags";
|
|
59517
|
+
/** @description Sort order: ascending or descending */
|
|
59518
|
+
order?: "asc" | "desc";
|
|
59505
59519
|
};
|
|
59506
59520
|
header?: never;
|
|
59507
59521
|
path?: never;
|
|
@@ -72031,23 +72045,15 @@ export interface operations {
|
|
|
72031
72045
|
};
|
|
72032
72046
|
};
|
|
72033
72047
|
};
|
|
72034
|
-
|
|
72048
|
+
pos_session_views_get_session_z_report: {
|
|
72035
72049
|
parameters: {
|
|
72036
72050
|
query?: {
|
|
72037
|
-
/** @description
|
|
72038
|
-
page?: number;
|
|
72039
|
-
/** @description Page size */
|
|
72040
|
-
pageSize?: number;
|
|
72041
|
-
/** @description Filter by session status (e.g., 'opened') */
|
|
72042
|
-
status?: components["schemas"]["SessionStatus"] | null;
|
|
72043
|
-
/** @description Filter sessions from this date (YYYY-MM-DD) */
|
|
72051
|
+
/** @description Start date (YYYY-MM-DD) */
|
|
72044
72052
|
startDate?: string | null;
|
|
72045
|
-
/** @description
|
|
72053
|
+
/** @description End date (YYYY-MM-DD) */
|
|
72046
72054
|
endDate?: string | null;
|
|
72047
|
-
/** @description
|
|
72048
|
-
|
|
72049
|
-
/** @description Filter by session name */
|
|
72050
|
-
name?: string | null;
|
|
72055
|
+
/** @description Session IDs filtered by status 'closed' */
|
|
72056
|
+
sessionIds?: string[] | null;
|
|
72051
72057
|
};
|
|
72052
72058
|
header?: never;
|
|
72053
72059
|
path?: never;
|
|
@@ -72061,7 +72067,7 @@ export interface operations {
|
|
|
72061
72067
|
[name: string]: unknown;
|
|
72062
72068
|
};
|
|
72063
72069
|
content: {
|
|
72064
|
-
"application/json": components["schemas"]["
|
|
72070
|
+
"application/json": components["schemas"]["ZReportSchema"];
|
|
72065
72071
|
};
|
|
72066
72072
|
};
|
|
72067
72073
|
/** @description Bad Request */
|
|
@@ -72082,6 +72088,15 @@ export interface operations {
|
|
|
72082
72088
|
"application/json": components["schemas"]["MessageResponse"];
|
|
72083
72089
|
};
|
|
72084
72090
|
};
|
|
72091
|
+
/** @description Not Found */
|
|
72092
|
+
404: {
|
|
72093
|
+
headers: {
|
|
72094
|
+
[name: string]: unknown;
|
|
72095
|
+
};
|
|
72096
|
+
content: {
|
|
72097
|
+
"application/json": components["schemas"]["MessageResponse"];
|
|
72098
|
+
};
|
|
72099
|
+
};
|
|
72085
72100
|
/** @description Internal Server Error */
|
|
72086
72101
|
500: {
|
|
72087
72102
|
headers: {
|
|
@@ -72093,13 +72108,26 @@ export interface operations {
|
|
|
72093
72108
|
};
|
|
72094
72109
|
};
|
|
72095
72110
|
};
|
|
72096
|
-
|
|
72111
|
+
pos_session_views_list_sessions: {
|
|
72097
72112
|
parameters: {
|
|
72098
|
-
query?:
|
|
72099
|
-
|
|
72100
|
-
|
|
72101
|
-
|
|
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;
|
|
72102
72128
|
};
|
|
72129
|
+
header?: never;
|
|
72130
|
+
path?: never;
|
|
72103
72131
|
cookie?: never;
|
|
72104
72132
|
};
|
|
72105
72133
|
requestBody?: never;
|
|
@@ -72110,7 +72138,7 @@ export interface operations {
|
|
|
72110
72138
|
[name: string]: unknown;
|
|
72111
72139
|
};
|
|
72112
72140
|
content: {
|
|
72113
|
-
"application/json": components["schemas"]["
|
|
72141
|
+
"application/json": components["schemas"]["SessionListSchema"];
|
|
72114
72142
|
};
|
|
72115
72143
|
};
|
|
72116
72144
|
/** @description Bad Request */
|
|
@@ -72131,15 +72159,6 @@ export interface operations {
|
|
|
72131
72159
|
"application/json": components["schemas"]["MessageResponse"];
|
|
72132
72160
|
};
|
|
72133
72161
|
};
|
|
72134
|
-
/** @description Not Found */
|
|
72135
|
-
404: {
|
|
72136
|
-
headers: {
|
|
72137
|
-
[name: string]: unknown;
|
|
72138
|
-
};
|
|
72139
|
-
content: {
|
|
72140
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
72141
|
-
};
|
|
72142
|
-
};
|
|
72143
72162
|
/** @description Internal Server Error */
|
|
72144
72163
|
500: {
|
|
72145
72164
|
headers: {
|
|
@@ -72151,7 +72170,7 @@ export interface operations {
|
|
|
72151
72170
|
};
|
|
72152
72171
|
};
|
|
72153
72172
|
};
|
|
72154
|
-
|
|
72173
|
+
pos_session_views_get_session: {
|
|
72155
72174
|
parameters: {
|
|
72156
72175
|
query?: never;
|
|
72157
72176
|
header?: never;
|
|
@@ -72168,7 +72187,7 @@ export interface operations {
|
|
|
72168
72187
|
[name: string]: unknown;
|
|
72169
72188
|
};
|
|
72170
72189
|
content: {
|
|
72171
|
-
"application/json": components["schemas"]["
|
|
72190
|
+
"application/json": components["schemas"]["SessionSchema"];
|
|
72172
72191
|
};
|
|
72173
72192
|
};
|
|
72174
72193
|
/** @description Bad Request */
|
|
@@ -72209,18 +72228,13 @@ export interface operations {
|
|
|
72209
72228
|
};
|
|
72210
72229
|
};
|
|
72211
72230
|
};
|
|
72212
|
-
|
|
72231
|
+
pos_session_views_get_session_x_report: {
|
|
72213
72232
|
parameters: {
|
|
72214
|
-
query?:
|
|
72215
|
-
/** @description Start date (YYYY-MM-DD) */
|
|
72216
|
-
startDate?: string | null;
|
|
72217
|
-
/** @description End date (YYYY-MM-DD) */
|
|
72218
|
-
endDate?: string | null;
|
|
72219
|
-
/** @description Session IDs filtered by status 'closed' */
|
|
72220
|
-
sessionIds?: string[] | null;
|
|
72221
|
-
};
|
|
72233
|
+
query?: never;
|
|
72222
72234
|
header?: never;
|
|
72223
|
-
path
|
|
72235
|
+
path: {
|
|
72236
|
+
id: string;
|
|
72237
|
+
};
|
|
72224
72238
|
cookie?: never;
|
|
72225
72239
|
};
|
|
72226
72240
|
requestBody?: never;
|
|
@@ -72231,7 +72245,7 @@ export interface operations {
|
|
|
72231
72245
|
[name: string]: unknown;
|
|
72232
72246
|
};
|
|
72233
72247
|
content: {
|
|
72234
|
-
"application/json": components["schemas"]["
|
|
72248
|
+
"application/json": components["schemas"]["XReportSchema"];
|
|
72235
72249
|
};
|
|
72236
72250
|
};
|
|
72237
72251
|
/** @description Bad Request */
|