gap-nodejs-sdk 1.0.846 → 1.0.848

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 (38) hide show
  1. package/dist/api/pos_client_api/1.0.0/api/cash_manage.d.ts +14 -0
  2. package/dist/api/pos_client_api/1.0.0/api/cash_manage.d.ts.map +1 -0
  3. package/dist/api/pos_client_api/1.0.0/api/cash_manage.js +48 -0
  4. package/dist/api/pos_client_api/1.0.0/api/index.d.ts +1 -0
  5. package/dist/api/pos_client_api/1.0.0/api/index.d.ts.map +1 -1
  6. package/dist/api/pos_client_api/1.0.0/api/index.js +1 -0
  7. package/dist/api/pos_client_api/1.0.0/endpoints/cash_manage.d.ts +8 -0
  8. package/dist/api/pos_client_api/1.0.0/endpoints/cash_manage.d.ts.map +1 -0
  9. package/dist/api/pos_client_api/1.0.0/endpoints/cash_manage.js +6 -0
  10. package/dist/api/pos_client_api/1.0.0/endpoints/index.d.ts +1 -0
  11. package/dist/api/pos_client_api/1.0.0/endpoints/index.d.ts.map +1 -1
  12. package/dist/api/pos_client_api/1.0.0/endpoints/index.js +1 -0
  13. package/dist/api/pos_client_api/1.0.0/interfaces/cash_manage.d.ts +9 -0
  14. package/dist/api/pos_client_api/1.0.0/interfaces/cash_manage.d.ts.map +1 -0
  15. package/dist/api/pos_client_api/1.0.0/interfaces/cash_manage.js +2 -0
  16. package/dist/api/pos_client_api/1.0.0/models/cash_manage.d.ts +6 -0
  17. package/dist/api/pos_client_api/1.0.0/models/cash_manage.d.ts.map +1 -0
  18. package/dist/api/pos_client_api/1.0.0/models/cash_manage.js +50 -0
  19. package/dist/api/pos_client_api/1.0.0/models/index.d.ts +1 -0
  20. package/dist/api/pos_client_api/1.0.0/models/index.d.ts.map +1 -1
  21. package/dist/api/pos_client_api/1.0.0/models/index.js +1 -0
  22. package/dist/api/pos_client_api/1.0.0/types/request/cash_manage.d.ts +20 -0
  23. package/dist/api/pos_client_api/1.0.0/types/request/cash_manage.d.ts.map +1 -0
  24. package/dist/api/pos_client_api/1.0.0/types/request/cash_manage.js +1 -0
  25. package/dist/api/pos_client_api/1.0.0/types/request/index.d.ts +1 -0
  26. package/dist/api/pos_client_api/1.0.0/types/request/index.d.ts.map +1 -1
  27. package/dist/api/pos_client_api/1.0.0/types/request/index.js +1 -0
  28. package/dist/api/pos_client_api/1.0.0/types/response/cash_manage.d.ts +52 -0
  29. package/dist/api/pos_client_api/1.0.0/types/response/cash_manage.d.ts.map +1 -0
  30. package/dist/api/pos_client_api/1.0.0/types/response/cash_manage.js +1 -0
  31. package/dist/api/pos_client_api/1.0.0/types/response/index.d.ts +1 -0
  32. package/dist/api/pos_client_api/1.0.0/types/response/index.d.ts.map +1 -1
  33. package/dist/api/pos_client_api/1.0.0/types/response/index.js +1 -0
  34. package/dist/api/pos_client_api/index.d.ts +1 -0
  35. package/dist/api/pos_client_api/index.d.ts.map +1 -1
  36. package/dist/api/pos_client_api/index.js +1 -0
  37. package/dist/gap-sdk.js +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ import CashManageAbstractClass from "../interfaces/cash_manage";
2
+ import Base from "../../../../base/Base";
3
+ import { GapApiVersion } from "../../../../base_type";
4
+ import * as Request from "../types/request";
5
+ import * as Response from "../types/response";
6
+ import { DataWithMetaResponse } from "../../../../types";
7
+ export default class CashManage extends Base implements CashManageAbstractClass {
8
+ static API_VERSION: GapApiVersion;
9
+ static getTransactionList(data: Request.GetTransactionListRequest): Promise<DataWithMetaResponse<Response.GetTransactionListResponse>>;
10
+ static getReportCash(data: Request.GetReportCashRequest): Promise<Response.GetReportCashResponse>;
11
+ static createTransaction(data: Request.CreateTransactionRequest): Promise<Response.CreateTransactionReponse>;
12
+ static setOpeningCash(data: Request.SetOpeningCashRequest): Promise<Response.SetOpeningCashReponse>;
13
+ }
14
+ //# sourceMappingURL=cash_manage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cash_manage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/cash_manage.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAK,YAAW,uBAAuB;IAC3E,OAAc,WAAW,gBAAoB;WAEzB,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC;WAU/H,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC;WAU1F,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAUrG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CASnH"}
@@ -0,0 +1,48 @@
1
+ import { __awaiter } from "tslib";
2
+ import { cash_manage } from "../endpoints";
3
+ import Base from "../../../../base/Base";
4
+ import { GapApiVersion } from "../../../../base_type";
5
+ import * as Model from "../models";
6
+ import { DataWithMetaModel } from "../../../../models";
7
+ export default class CashManage extends Base {
8
+ static getTransactionList(data) {
9
+ return __awaiter(this, void 0, void 0, function* () {
10
+ const response = yield this.client.get({
11
+ path: cash_manage.GET_TRANSACTION_LIST,
12
+ query: data
13
+ });
14
+ return DataWithMetaModel(response, Model.TransactionListModel);
15
+ });
16
+ }
17
+ static getReportCash(data) {
18
+ var _a;
19
+ return __awaiter(this, void 0, void 0, function* () {
20
+ const response = yield this.client.get({
21
+ path: cash_manage.GET_REPORT_CASH,
22
+ query: data
23
+ });
24
+ return Model.GetReportCashModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
25
+ });
26
+ }
27
+ static createTransaction(data) {
28
+ var _a;
29
+ return __awaiter(this, void 0, void 0, function* () {
30
+ const response = yield this.client.post({
31
+ path: cash_manage.POST_TRANSACTION,
32
+ data: data
33
+ });
34
+ return Model.CreateTransactionModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
35
+ });
36
+ }
37
+ static setOpeningCash(data) {
38
+ var _a;
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ const response = yield this.client.post({
41
+ path: cash_manage.SET_OPENING_CASH,
42
+ data: data
43
+ });
44
+ return Model.SetOpeningCashModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
45
+ });
46
+ }
47
+ }
48
+ CashManage.API_VERSION = GapApiVersion.V1;
@@ -30,4 +30,5 @@ export { default as Group } from "./group";
30
30
  export { default as Custom } from "./custom";
31
31
  export { default as Other } from "./other";
32
32
  export { default as Membership } from "./membership";
33
+ export { default as CashManage } from "./cash_manage";
33
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,IAAI,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,M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AAU,EAAC,MAAM,cAAc,CAAC;AACnD,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,eAAe,CAAC"}
@@ -30,3 +30,4 @@ export { default as Group } from "./group";
30
30
  export { default as Custom } from "./custom";
31
31
  export { default as Other } from "./other";
32
32
  export { default as Membership } from "./membership";
33
+ export { default as CashManage } from "./cash_manage";
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ GET_TRANSACTION_LIST: string;
3
+ GET_REPORT_CASH: string;
4
+ POST_TRANSACTION: string;
5
+ SET_OPENING_CASH: string;
6
+ };
7
+ export default _default;
8
+ //# sourceMappingURL=cash_manage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cash_manage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/endpoints/cash_manage.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKC"}
@@ -0,0 +1,6 @@
1
+ export default {
2
+ GET_TRANSACTION_LIST: '/v1/pos/cash/site/transactions',
3
+ GET_REPORT_CASH: '/v1/pos/cash/site/stats',
4
+ POST_TRANSACTION: '/v1/pos/cash/form/transaction',
5
+ SET_OPENING_CASH: '/v1/pos/cash/form/set-opening-cash',
6
+ };
@@ -28,4 +28,5 @@ export { default as summary } from "./summary";
28
28
  export { default as appointment } from "./appointment";
29
29
  export { default as group } from "./group";
30
30
  export { default as membership } from "./membership";
31
+ export { default as cash_manage } from "./cash_manage";
31
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,IAAI,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,OAAO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export { default as group } from "./group";
30
30
  export { default as membership } from "./membership";
31
+ export { default as cash_manage } from "./cash_manage";
@@ -0,0 +1,9 @@
1
+ import * as Request from "../types/request";
2
+ import * as Response from "../types/response";
3
+ export default abstract class CashManage {
4
+ static getTransactionList: (data: Request.GetTransactionListRequest) => Promise<Response.GetTransactionListResponse>;
5
+ static getReportCash: (data: Request.GetReportCashRequest) => Promise<Response.GetReportCashResponse>;
6
+ static createTransaction: (data: Request.CreateTransactionRequest) => Promise<Response.CreateTransactionReponse>;
7
+ static setOpeningCash: (data: Request.SetOpeningCashRequest) => Promise<Response.SetOpeningCashReponse>;
8
+ }
9
+ //# sourceMappingURL=cash_manage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cash_manage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/interfaces/cash_manage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,UAAU;IACpC,OAAc,kBAAkB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,KAAK,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC;IAC5H,OAAc,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,KAAK,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;IAC7G,OAAc,iBAAiB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,KAAK,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;IACxH,OAAc,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,KAAK,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;CAClH"}
@@ -0,0 +1,2 @@
1
+ export default class CashManage {
2
+ }
@@ -0,0 +1,6 @@
1
+ import * as Response from "../types/response";
2
+ export declare function TransactionListModel(data: any): Response.GetTransactionListResponse;
3
+ export declare function CreateTransactionModel(data: any): Response.CreateTransactionReponse;
4
+ export declare function SetOpeningCashModel(data: any): Response.SetOpeningCashReponse;
5
+ export declare function GetReportCashModel(data: any): Response.GetReportCashResponse;
6
+ //# sourceMappingURL=cash_manage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cash_manage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/cash_manage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,wBAAgB,oBAAoB,CAAE,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,0BAA0B,CAapF;AAED,wBAAgB,sBAAsB,CAAE,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CAWpF;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,qBAAqB,CAU9E;AAED,wBAAgB,kBAAkB,CAAE,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,qBAAqB,CAQ7E"}
@@ -0,0 +1,50 @@
1
+ export function TransactionListModel(data) {
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3
+ return {
4
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
+ shift_id: (_b = data === null || data === void 0 ? void 0 : data.id) !== null && _b !== void 0 ? _b : null,
6
+ type: (_c = data === null || data === void 0 ? void 0 : data.type) !== null && _c !== void 0 ? _c : null,
7
+ amount: (_d = data === null || data === void 0 ? void 0 : data.id) !== null && _d !== void 0 ? _d : null,
8
+ description: (_e = data === null || data === void 0 ? void 0 : data.description) !== null && _e !== void 0 ? _e : null,
9
+ note: (_f = data === null || data === void 0 ? void 0 : data.description) !== null && _f !== void 0 ? _f : null,
10
+ reason: (_g = data === null || data === void 0 ? void 0 : data.description) !== null && _g !== void 0 ? _g : null,
11
+ staff_id: (_h = data === null || data === void 0 ? void 0 : data.id) !== null && _h !== void 0 ? _h : null,
12
+ reference_id: (_j = data === null || data === void 0 ? void 0 : data.id) !== null && _j !== void 0 ? _j : null,
13
+ created_at: (_k = data === null || data === void 0 ? void 0 : data.description) !== null && _k !== void 0 ? _k : null,
14
+ };
15
+ }
16
+ export function CreateTransactionModel(data) {
17
+ var _a, _b, _c, _d, _e, _f, _g, _h;
18
+ return {
19
+ type: (_a = data === null || data === void 0 ? void 0 : data.type) !== null && _a !== void 0 ? _a : null,
20
+ amount: (_b = data === null || data === void 0 ? void 0 : data.amount) !== null && _b !== void 0 ? _b : null,
21
+ note: (_c = data === null || data === void 0 ? void 0 : data.note) !== null && _c !== void 0 ? _c : null,
22
+ reason: (_d = data === null || data === void 0 ? void 0 : data.reason) !== null && _d !== void 0 ? _d : null,
23
+ shift_id: (_e = data === null || data === void 0 ? void 0 : data.shift_id) !== null && _e !== void 0 ? _e : null,
24
+ staff_id: (_f = data === null || data === void 0 ? void 0 : data.staff_id) !== null && _f !== void 0 ? _f : null,
25
+ created_at: (_g = data === null || data === void 0 ? void 0 : data.created_at) !== null && _g !== void 0 ? _g : null,
26
+ id: (_h = data === null || data === void 0 ? void 0 : data.id) !== null && _h !== void 0 ? _h : null
27
+ };
28
+ }
29
+ export function SetOpeningCashModel(data) {
30
+ var _a, _b, _c, _d, _e, _f, _g;
31
+ return {
32
+ closed_at: (_a = data === null || data === void 0 ? void 0 : data.closed_at) !== null && _a !== void 0 ? _a : null,
33
+ date: (_b = data === null || data === void 0 ? void 0 : data.date) !== null && _b !== void 0 ? _b : null,
34
+ id: (_c = data === null || data === void 0 ? void 0 : data.id) !== null && _c !== void 0 ? _c : null,
35
+ note: (_d = data === null || data === void 0 ? void 0 : data.note) !== null && _d !== void 0 ? _d : null,
36
+ opened_at: (_e = data === null || data === void 0 ? void 0 : data.opened_at) !== null && _e !== void 0 ? _e : null,
37
+ opening_cash: (_f = data === null || data === void 0 ? void 0 : data.opening_cash) !== null && _f !== void 0 ? _f : null,
38
+ staff_id: (_g = data === null || data === void 0 ? void 0 : data.staff_id) !== null && _g !== void 0 ? _g : null,
39
+ };
40
+ }
41
+ export function GetReportCashModel(data) {
42
+ var _a, _b, _c, _d, _e;
43
+ return {
44
+ cash_in_sales: (_a = data === null || data === void 0 ? void 0 : data.cash_in_sales) !== null && _a !== void 0 ? _a : null,
45
+ current_total: (_b = data === null || data === void 0 ? void 0 : data.current_total) !== null && _b !== void 0 ? _b : null,
46
+ opening_cash: (_c = data === null || data === void 0 ? void 0 : data.opening_cash) !== null && _c !== void 0 ? _c : null,
47
+ paid_in: (_d = data === null || data === void 0 ? void 0 : data.paid_in) !== null && _d !== void 0 ? _d : null,
48
+ paid_out: (_e = data === null || data === void 0 ? void 0 : data.paid_out) !== null && _e !== void 0 ? _e : null,
49
+ };
50
+ }
@@ -23,4 +23,5 @@ export * from "./rate";
23
23
  export * from "./summary";
24
24
  export * from "./appointment";
25
25
  export * from "./membership";
26
+ export * from "./cash_manage";
26
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -23,3 +23,4 @@ export * from "./rate";
23
23
  export * from "./summary";
24
24
  export * from "./appointment";
25
25
  export * from "./membership";
26
+ export * from "./cash_manage";
@@ -0,0 +1,20 @@
1
+ import { Nullable } from "src/base_type";
2
+ export type GetTransactionListRequest = Nullable<{
3
+ date: string;
4
+ type?: string;
5
+ }>;
6
+ export type GetReportCashRequest = Nullable<{
7
+ date: string;
8
+ }>;
9
+ export type CreateTransactionRequest = Nullable<{
10
+ type: string;
11
+ amount: number;
12
+ note: string;
13
+ reason: string;
14
+ staff_id: number;
15
+ }>;
16
+ export type SetOpeningCashRequest = Nullable<{
17
+ opening_cash: number;
18
+ staff_id: number;
19
+ }>;
20
+ //# sourceMappingURL=cash_manage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cash_manage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/cash_manage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
@@ -28,4 +28,5 @@ export * from './summary';
28
28
  export * from './appointment';
29
29
  export * from './group';
30
30
  export * from './membership';
31
+ export * from './cash_manage';
31
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC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,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -28,3 +28,4 @@ export * from './summary';
28
28
  export * from './appointment';
29
29
  export * from './group';
30
30
  export * from './membership';
31
+ export * from './cash_manage';
@@ -0,0 +1,52 @@
1
+ import { Nullable } from "src/base_type";
2
+ export type TransactionType = 'sale' | 'paid_in' | 'paid_out' | 'open_ticket';
3
+ export type ReportCash = Nullable<{
4
+ cash_in_sales: number;
5
+ current_total: number;
6
+ opening_cash: number;
7
+ paid_in: number;
8
+ paid_out: number;
9
+ }>;
10
+ export type RequestOpeningCash = {
11
+ opening_cash: number;
12
+ staff_id: number;
13
+ };
14
+ export type GetTransactionListResponse = Nullable<{
15
+ id: number;
16
+ shift_id: number;
17
+ type: TransactionType;
18
+ amount: number;
19
+ description: string;
20
+ note: string;
21
+ reason: string;
22
+ staff_id: number;
23
+ reference_id: number;
24
+ created_at: string;
25
+ }>;
26
+ export type GetReportCashResponse = Nullable<{
27
+ opening_cash: number;
28
+ cash_in_sales: number;
29
+ paid_in: number;
30
+ paid_out: number;
31
+ current_total: number;
32
+ }>;
33
+ export type CreateTransactionReponse = Nullable<{
34
+ type: string;
35
+ amount: number;
36
+ note: string;
37
+ reason: string;
38
+ shift_id: number;
39
+ staff_id: number;
40
+ created_at: string;
41
+ id: number;
42
+ }>;
43
+ export type SetOpeningCashReponse = Nullable<{
44
+ id: number;
45
+ date: string;
46
+ staff_id: number;
47
+ opening_cash: number;
48
+ note: string;
49
+ opened_at: string;
50
+ closed_at: string;
51
+ }>;
52
+ //# sourceMappingURL=cash_manage.d.ts.map
@@ -0,0 +1 @@
1
+ {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IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAA;CACb,CAAC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA"}
@@ -26,4 +26,5 @@ export * from './summary';
26
26
  export * from './appointment';
27
27
  export * from './group';
28
28
  export * from './membership';
29
+ export * from './cash_manage';
29
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -26,3 +26,4 @@ export * from './summary';
26
26
  export * from './appointment';
27
27
  export * from './group';
28
28
  export * from './membership';
29
+ export * from './cash_manage';
@@ -31,6 +31,7 @@ export default class PosClientApi {
31
31
  group: any;
32
32
  custom: any;
33
33
  membership: any;
34
+ cash_manage: any;
34
35
  constructor(domain: string, gClientId: string, token: string, version: GapApiVersion);
35
36
  }
36
37
  export declare class PosClientApiOther {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/pos_client_api/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,aAAa,MAAC;IACd,QAAQ,MAAC;IACT,IAAI,MAAC;IACL,QAAQ,MAAC;IACT,QAAQ,MAAC;IACT,SAAS,MAAC;IACV,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,SAAS,MAAC;IACV,MAAM,MAAC;IACP,WAAW,MAAC;IACZ,KAAK,MAAC;IACN,OAAO,MAAC;IACR,OAAO,MAAC;IACR,OAAO,MAAC;IACR,KAAK,MAAC;IACN,MAAM,MAAC;IACP,YAAY,MAAC;IACb,mBAAmB,MAAC;IACpB,IAAI,MAAC;IACL,OAAO,MAAC;IACR,OAAO,MAAC;IACR,UAAU,MAAC;IACX,MAAM,MAAC;IACP,IAAI,MAAC;IACL,MAAM,MAAC;IACP,OAAO,MAAC;IACR,WAAW,MAAC;IACZ,KAAK,MAAC;IACN,MAAM,MAAC;IACP,UAAU,MAAC;gBAEC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAmCvF;AAED,qBAAa,iBAAiB;IAC1B,KAAK,MAAC;gBAEM,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAKvF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/pos_client_api/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,YAAY;IAC7B,aAAa,MAAC;IACd,QAAQ,MAAC;IACT,IAAI,MAAC;IACL,QAAQ,MAAC;IACT,QAAQ,MAAC;IACT,SAAS,MAAC;IACV,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,SAAS,MAAC;IACV,MAAM,MAAC;IACP,WAAW,MAAC;IACZ,KAAK,MAAC;IACN,OAAO,MAAC;IACR,OAAO,MAAC;IACR,OAAO,MAAC;IACR,KAAK,MAAC;IACN,MAAM,MAAC;IACP,YAAY,MAAC;IACb,mBAAmB,MAAC;IACpB,IAAI,MAAC;IACL,OAAO,MAAC;IACR,OAAO,MAAC;IACR,UAAU,MAAC;IACX,MAAM,MAAC;IACP,IAAI,MAAC;IACL,MAAM,MAAC;IACP,OAAO,MAAC;IACR,WAAW,MAAC;IACZ,KAAK,MAAC;IACN,MAAM,MAAC;IACP,UAAU,MAAC;IACX,WAAW,MAAC;gBAEA,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAoCvF;AAED,qBAAa,iBAAiB;IAC1B,KAAK,MAAC;gBAEM,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAKvF"}
@@ -36,6 +36,7 @@ export default class PosClientApi {
36
36
  this.group = API.Group;
37
37
  this.custom = API.Custom;
38
38
  this.membership = API.Membership;
39
+ this.cash_manage = API.CashManage;
39
40
  }
40
41
  }
41
42
  export class PosClientApiOther {