gap-nodejs-sdk 1.0.8 → 1.0.9
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/dist/base/Base.d.ts +7 -0
- package/dist/base/Base.d.ts.map +1 -0
- package/dist/base_type.d.ts +11 -0
- package/dist/base_type.d.ts.map +1 -1
- package/dist/error.d.ts +20 -2
- package/dist/error.d.ts.map +1 -1
- package/dist/gci_client_api/interface/customer.d.ts +18 -0
- package/dist/gci_client_api/interface/customer.d.ts.map +1 -0
- package/dist/gci_client_api/interface/index.d.ts +4 -5
- package/dist/gci_client_api/interface/index.d.ts.map +1 -1
- package/dist/gci_client_api/interface/staff.d.ts +3 -0
- package/dist/gci_client_api/interface/staff.d.ts.map +1 -0
- package/dist/gci_client_api/types/customer.d.ts +2 -0
- package/dist/gci_client_api/types/customer.d.ts.map +1 -0
- package/dist/gci_client_api/types/index.d.ts +3 -0
- package/dist/gci_client_api/types/index.d.ts.map +1 -0
- package/dist/gci_client_api/types/staff.d.ts +2 -0
- package/dist/gci_client_api/types/staff.d.ts.map +1 -0
- package/dist/gci_client_api/v1/GciClientApi.d.ts +8 -0
- package/dist/gci_client_api/v1/GciClientApi.d.ts.map +1 -0
- package/dist/gci_client_api/v1/api/customer.d.ts +20 -0
- package/dist/gci_client_api/v1/api/customer.d.ts.map +1 -0
- package/dist/gci_client_api/v1/api/index.d.ts +3 -0
- package/dist/gci_client_api/v1/api/index.d.ts.map +1 -0
- package/dist/gci_client_api/v1/api/staff.d.ts +5 -0
- package/dist/gci_client_api/v1/api/staff.d.ts.map +1 -0
- package/dist/gci_client_api/v1/endpoint/customer.d.ts +1 -0
- package/dist/gci_client_api/v1/endpoint/customer.d.ts.map +1 -0
- package/dist/gci_client_api/v1/endpoint/index.d.ts +15 -0
- package/dist/gci_client_api/v1/endpoint/index.d.ts.map +1 -0
- package/dist/gci_client_api/v1/endpoint/staff.d.ts +1 -0
- package/dist/gci_client_api/v1/endpoint/staff.d.ts.map +1 -0
- package/dist/http_client/http_client.d.ts +16 -0
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/types.d.ts +59 -7
- package/dist/http_client/types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/pos_client_api/enums/index.d.ts +12 -0
- package/dist/pos_client_api/enums/index.d.ts.map +1 -0
- package/dist/pos_client_api/interface/appointment.d.ts +8 -0
- package/dist/pos_client_api/interface/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/interface/batch_history.d.ts +7 -0
- package/dist/pos_client_api/interface/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/interface/business.d.ts +7 -0
- package/dist/pos_client_api/interface/business.d.ts.map +1 -0
- package/dist/pos_client_api/interface/call.d.ts +6 -0
- package/dist/pos_client_api/interface/call.d.ts.map +1 -0
- package/dist/pos_client_api/interface/category.d.ts +6 -0
- package/dist/pos_client_api/interface/category.d.ts.map +1 -0
- package/dist/pos_client_api/interface/check_in.d.ts +7 -0
- package/dist/pos_client_api/interface/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/interface/check_out.d.ts +7 -0
- package/dist/pos_client_api/interface/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/interface/combo.d.ts +6 -0
- package/dist/pos_client_api/interface/combo.d.ts.map +1 -0
- package/dist/pos_client_api/interface/customer.d.ts +7 -0
- package/dist/pos_client_api/interface/customer.d.ts.map +1 -0
- package/dist/pos_client_api/interface/gift_card.d.ts +7 -0
- package/dist/pos_client_api/interface/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/interface/income.d.ts +7 -0
- package/dist/pos_client_api/interface/income.d.ts.map +1 -0
- package/dist/pos_client_api/interface/index.d.ts +26 -0
- package/dist/pos_client_api/interface/index.d.ts.map +1 -0
- package/dist/pos_client_api/interface/key_storage.d.ts +6 -0
- package/dist/pos_client_api/interface/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/interface/order.d.ts +12 -0
- package/dist/pos_client_api/interface/order.d.ts.map +1 -0
- package/dist/pos_client_api/interface/payroll.d.ts +19 -0
- package/dist/pos_client_api/interface/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/interface/printer.d.ts +9 -0
- package/dist/pos_client_api/interface/printer.d.ts.map +1 -0
- package/dist/pos_client_api/interface/service.d.ts +6 -0
- package/dist/pos_client_api/interface/service.d.ts.map +1 -0
- package/dist/pos_client_api/interface/setting_turn.d.ts +7 -0
- package/dist/pos_client_api/interface/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/interface/staff.d.ts +7 -0
- package/dist/pos_client_api/interface/staff.d.ts.map +1 -0
- package/dist/pos_client_api/interface/ticket.d.ts +12 -0
- package/dist/pos_client_api/interface/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/interface/time_keeping.d.ts +12 -0
- package/dist/pos_client_api/interface/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/interface/unsubscribe_contact.d.ts +3 -0
- package/dist/pos_client_api/interface/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/interface/user.d.ts +6 -0
- package/dist/pos_client_api/interface/user.d.ts.map +1 -0
- package/dist/pos_client_api/types/appointment.d.ts +13 -0
- package/dist/pos_client_api/types/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/types/batch_history.d.ts +8 -0
- package/dist/pos_client_api/types/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/types/business.d.ts +10 -0
- package/dist/pos_client_api/types/business.d.ts.map +1 -0
- package/dist/pos_client_api/types/call.d.ts +7 -0
- package/dist/pos_client_api/types/call.d.ts.map +1 -0
- package/dist/pos_client_api/types/category.d.ts +2 -0
- package/dist/pos_client_api/types/category.d.ts.map +1 -0
- package/dist/pos_client_api/types/check_in.d.ts +18 -0
- package/dist/pos_client_api/types/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/types/check_out.d.ts +134 -0
- package/dist/pos_client_api/types/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/types/combo.d.ts +4 -0
- package/dist/pos_client_api/types/combo.d.ts.map +1 -0
- package/dist/pos_client_api/types/customer.d.ts +7 -0
- package/dist/pos_client_api/types/customer.d.ts.map +1 -0
- package/dist/pos_client_api/types/gift_card.d.ts +8 -0
- package/dist/pos_client_api/types/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/types/income.d.ts +11 -0
- package/dist/pos_client_api/types/income.d.ts.map +1 -0
- package/dist/pos_client_api/types/index.d.ts +23 -0
- package/dist/pos_client_api/types/index.d.ts.map +1 -0
- package/dist/pos_client_api/types/index.js +22 -0
- package/dist/pos_client_api/types/key_storage.d.ts +5 -0
- package/dist/pos_client_api/types/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/types/order.d.ts +43 -0
- package/dist/pos_client_api/types/order.d.ts.map +1 -0
- package/dist/pos_client_api/types/payroll.d.ts +61 -0
- package/dist/pos_client_api/types/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/types/printer.d.ts +23 -0
- package/dist/pos_client_api/types/printer.d.ts.map +1 -0
- package/dist/pos_client_api/types/service.d.ts +2 -0
- package/dist/pos_client_api/types/service.d.ts.map +1 -0
- package/dist/pos_client_api/types/setting_turn.d.ts +5 -0
- package/dist/pos_client_api/types/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/types/staff.d.ts +5 -0
- package/dist/pos_client_api/types/staff.d.ts.map +1 -0
- package/dist/pos_client_api/types/ticket.d.ts +28 -0
- package/dist/pos_client_api/types/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/types/time_keeping.d.ts +49 -0
- package/dist/pos_client_api/types/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/types/unsubscribe_contact.d.ts +2 -0
- package/dist/pos_client_api/types/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/types/user.d.ts +6 -0
- package/dist/pos_client_api/types/user.d.ts.map +1 -0
- package/dist/pos_client_api/types/user.js +1 -0
- package/dist/pos_client_api/v1/PosClientApi.d.ts +28 -0
- package/dist/pos_client_api/v1/PosClientApi.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/appointment.d.ts +9 -0
- package/dist/pos_client_api/v1/api/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/batch_history.d.ts +8 -0
- package/dist/pos_client_api/v1/api/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/business.d.ts +8 -0
- package/dist/pos_client_api/v1/api/business.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/call.d.ts +7 -0
- package/dist/pos_client_api/v1/api/call.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/category.d.ts +7 -0
- package/dist/pos_client_api/v1/api/category.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/check_in.d.ts +11 -0
- package/dist/pos_client_api/v1/api/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/check_out.d.ts +35 -0
- package/dist/pos_client_api/v1/api/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/combo.d.ts +7 -0
- package/dist/pos_client_api/v1/api/combo.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/customer.d.ts +8 -0
- package/dist/pos_client_api/v1/api/customer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/gift_card.d.ts +8 -0
- package/dist/pos_client_api/v1/api/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/income.d.ts +8 -0
- package/dist/pos_client_api/v1/api/income.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/index.d.ts +23 -0
- package/dist/pos_client_api/v1/api/index.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/key_storage.d.ts +7 -0
- package/dist/pos_client_api/v1/api/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/order.d.ts +13 -0
- package/dist/pos_client_api/v1/api/order.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/payroll.d.ts +22 -0
- package/dist/pos_client_api/v1/api/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/printer.d.ts +10 -0
- package/dist/pos_client_api/v1/api/printer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/service.d.ts +7 -0
- package/dist/pos_client_api/v1/api/service.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/setting_turn.d.ts +8 -0
- package/dist/pos_client_api/v1/api/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/staff.d.ts +8 -0
- package/dist/pos_client_api/v1/api/staff.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/ticket.d.ts +13 -0
- package/dist/pos_client_api/v1/api/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/time_keeping.d.ts +13 -0
- package/dist/pos_client_api/v1/api/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/unsubscribe_contact.d.ts +5 -0
- package/dist/pos_client_api/v1/api/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/user.d.ts +7 -0
- package/dist/pos_client_api/v1/api/user.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/appointment.d.ts +7 -0
- package/dist/pos_client_api/v1/endpoint/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/batch_history.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/business.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/business.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/call.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/call.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/category.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/category.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/check_in.d.ts +9 -0
- package/dist/pos_client_api/v1/endpoint/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/check_out.d.ts +33 -0
- package/dist/pos_client_api/v1/endpoint/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/combo.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/combo.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/customer.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/customer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/gift_card.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/income.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/income.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/index.d.ts +23 -0
- package/dist/pos_client_api/v1/endpoint/index.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/key_storage.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/order.d.ts +11 -0
- package/dist/pos_client_api/v1/endpoint/order.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/payroll.d.ts +20 -0
- package/dist/pos_client_api/v1/endpoint/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/printer.d.ts +8 -0
- package/dist/pos_client_api/v1/endpoint/printer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/service.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/service.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/setting_turn.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/staff.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/staff.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/ticket.d.ts +11 -0
- package/dist/pos_client_api/v1/endpoint/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/time_keeping.d.ts +11 -0
- package/dist/pos_client_api/v1/endpoint/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/unsubscribe_contact.d.ts +3 -0
- package/dist/pos_client_api/v1/endpoint/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/user.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/user.d.ts.map +1 -0
- package/dist/utils/date-time.d.ts +2 -0
- package/dist/utils/date-time.d.ts.map +1 -0
- package/dist/utils/processed-query.d.ts +18 -0
- package/dist/utils/processed-query.d.ts.map +1 -0
- package/package.json +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../src/base/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAG3C,MAAM,CAAC,OAAO,OAAO,IAAI;IACrB,OAAc,UAAU,EAAE,aAAa,CAAC,EAAE,CAAC;IAC3C,OAAc,MAAM,MAAC;IAErB,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAMpE"}
|
package/dist/base_type.d.ts
CHANGED
|
@@ -17,4 +17,15 @@ export declare enum Platform {
|
|
|
17
17
|
WEB = "Web",
|
|
18
18
|
WINDOW = "Window"
|
|
19
19
|
}
|
|
20
|
+
export interface GetParams {
|
|
21
|
+
page: number;
|
|
22
|
+
perPage: number;
|
|
23
|
+
}
|
|
24
|
+
export declare type ResponseDataApi = {
|
|
25
|
+
result: Array<any>;
|
|
26
|
+
data: string;
|
|
27
|
+
error: Array<any>;
|
|
28
|
+
message: string;
|
|
29
|
+
status: string;
|
|
30
|
+
};
|
|
20
31
|
//# sourceMappingURL=base_type.d.ts.map
|
package/dist/base_type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base_type.d.ts","sourceRoot":"","sources":["../src/base_type.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,EAAE,UAAU;CACf;AAED,oBAAY,SAAS;IACjB,SAAS,eAAe;CAC3B;AAED,oBAAY,SAAS;IACjB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB;AAED,iCAAiC;AACjC,oBAAY,QAAQ;IAChB,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB"}
|
|
1
|
+
{"version":3,"file":"base_type.d.ts","sourceRoot":"","sources":["../src/base_type.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,EAAE,UAAU;CACf;AAED,oBAAY,SAAS;IACjB,SAAS,eAAe;CAC3B;AAED,oBAAY,SAAS;IACjB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB;AAED,iCAAiC;AACjC,oBAAY,QAAQ;IAChB,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAED,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,CAAC,OAAO,MAAM,eAAe,GAAG;IAClC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
package/dist/error.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export declare class GapError extends Error {
|
|
2
2
|
constructor(...args: any);
|
|
3
3
|
}
|
|
4
|
+
export declare class MissingDataContextError extends GapError {
|
|
5
|
+
}
|
|
6
|
+
export declare class UninitializedContextError extends GapError {
|
|
7
|
+
}
|
|
8
|
+
export declare class HttpRequestError extends GapError {
|
|
9
|
+
}
|
|
10
|
+
export declare class HttpMaxRetriesError extends GapError {
|
|
11
|
+
}
|
|
4
12
|
interface HttpResponseData {
|
|
5
13
|
code: number;
|
|
6
14
|
statusText: string;
|
|
@@ -18,9 +26,19 @@ export declare class HttpResponseError extends GapError {
|
|
|
18
26
|
readonly response: HttpResponseData;
|
|
19
27
|
constructor({ message, code, statusText, body, headers, }: HttpResponseErrorParams);
|
|
20
28
|
}
|
|
21
|
-
export declare class
|
|
29
|
+
export declare class HttpRetryableError extends HttpResponseError {
|
|
22
30
|
}
|
|
23
|
-
export declare class
|
|
31
|
+
export declare class HttpInternalError extends HttpRetryableError {
|
|
32
|
+
}
|
|
33
|
+
interface HttpThrottlingErrorData extends HttpResponseData {
|
|
34
|
+
retryAfter?: number;
|
|
35
|
+
}
|
|
36
|
+
interface HttpThrottlingErrorParams extends HttpThrottlingErrorData {
|
|
37
|
+
message: string;
|
|
38
|
+
}
|
|
39
|
+
export declare class HttpThrottlingError extends HttpRetryableError {
|
|
40
|
+
readonly response: HttpThrottlingErrorData;
|
|
41
|
+
constructor({ retryAfter, ...params }: HttpThrottlingErrorParams);
|
|
24
42
|
}
|
|
25
43
|
export {};
|
|
26
44
|
//# sourceMappingURL=error.d.ts.map
|
package/dist/error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;gBACnB,GAAG,IAAI,EAAE,GAAG;CAI3B;AAED,UAAU,gBAAgB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;gBACnB,GAAG,IAAI,EAAE,GAAG;CAI3B;AAED,qBAAa,uBAAwB,SAAQ,QAAQ;CAAG;AAExD,qBAAa,yBAA0B,SAAQ,QAAQ;CAAG;AAE1D,qBAAa,gBAAiB,SAAQ,QAAQ;CAAG;AACjD,qBAAa,mBAAoB,SAAQ,QAAQ;CAAG;AAEpD,UAAU,gBAAgB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,CAAC;IAChC,OAAO,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,CAAC;CACtC;AACD,UAAU,uBAAwB,SAAQ,gBAAgB;IACtD,OAAO,EAAE,MAAM,CAAC;CACnB;AACD,qBAAa,iBAAkB,SAAQ,QAAQ;IAC3C,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;gBAEjB,EACI,OAAO,EACP,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,OAAO,GACV,EAAE,uBAAuB;CAUhD;AACD,qBAAa,kBAAmB,SAAQ,iBAAiB;CAAG;AAC5D,qBAAa,iBAAkB,SAAQ,kBAAkB;CAAG;AAE5D,UAAU,uBAAwB,SAAQ,gBAAgB;IACtD,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,UAAU,yBAA0B,SAAQ,uBAAuB;IAC/D,OAAO,EAAE,MAAM,CAAC;CACnB;AACD,qBAAa,mBAAoB,SAAQ,kBAAkB;IACvD,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;gBAExB,EAAC,UAAU,EAAE,GAAG,MAAM,EAAC,EAAE,yBAAyB;CAIxE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GetParams, ResponseDataApi } from "src/base_type";
|
|
2
|
+
export default abstract class Customer {
|
|
3
|
+
static getBusinessInfo: () => Promise<ResponseDataApi>;
|
|
4
|
+
static getDomainInfo: (id: string, type: string) => Promise<ResponseDataApi>;
|
|
5
|
+
static getSmsRemain: () => Promise<ResponseDataApi>;
|
|
6
|
+
static getSmsCallTemplate: () => Promise<ResponseDataApi>;
|
|
7
|
+
static getStaffWorkHour: (id: number) => Promise<ResponseDataApi>;
|
|
8
|
+
static getStaffList: (params: GetParams) => Promise<ResponseDataApi>;
|
|
9
|
+
static getStaffListPermission: () => Promise<ResponseDataApi>;
|
|
10
|
+
static getServiceListByCategory: () => Promise<ResponseDataApi>;
|
|
11
|
+
static getNotificationListAppointment: (params: GetParams) => Promise<ResponseDataApi>;
|
|
12
|
+
static getNotificationList: (params: GetParams) => Promise<ResponseDataApi>;
|
|
13
|
+
static getCheckoutConfig: () => Promise<ResponseDataApi>;
|
|
14
|
+
static getBusinessWorkHour: () => Promise<ResponseDataApi>;
|
|
15
|
+
static getCommissionListByStaff: (staffId: number) => Promise<ResponseDataApi>;
|
|
16
|
+
static getEmployeeServiceListServiceByStaff: (params: GetParams) => Promise<ResponseDataApi>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/interface/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAEzD,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,eAAe,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IAC9D,OAAc,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACpF,OAAc,YAAY,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IAC3D,OAAc,kBAAkB,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IACjE,OAAc,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACzE,OAAc,YAAY,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IAC5E,OAAc,sBAAsB,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IACrE,OAAc,wBAAwB,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IACvE,OAAc,8BAA8B,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IAC9F,OAAc,mBAAmB,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACnF,OAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IAChE,OAAc,mBAAmB,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC;IAClE,OAAc,wBAAwB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACtF,OAAc,oCAAoC,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CACvG"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
getList: () => ResponseDataApi | null;
|
|
1
|
+
import * as API from "../v1/api";
|
|
2
|
+
export interface IGciClientApi {
|
|
3
|
+
customer: API.Customer;
|
|
4
|
+
staff: API.Staff;
|
|
6
5
|
}
|
|
7
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,WAAW,CAAA;AAEhC,MAAM,WAAW,aAAa;IAC1B,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC;IACvB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/interface/staff.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,KAAK;CAElC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/types/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/types/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as API from "./api";
|
|
2
|
+
import { IGciClientApi } from "../interface";
|
|
3
|
+
export declare class GciClientApi implements IGciClientApi {
|
|
4
|
+
constructor(domain: string, gClientId: string, token: string);
|
|
5
|
+
customer: typeof API.Customer;
|
|
6
|
+
staff: typeof API.Staff;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=GciClientApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GciClientApi.d.ts","sourceRoot":"","sources":["../../../src/gci_client_api/v1/GciClientApi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAE3C,qBAAa,YAAa,YAAW,aAAa;gBAClC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAG5D,QAAQ,sBAAgB;IACxB,KAAK,mBAAa;CACrB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GetParams } from "../../../base_type";
|
|
2
|
+
import CustomerAbstractClass from "../../interface/customer";
|
|
3
|
+
import Base from "../../../base/Base";
|
|
4
|
+
export default class Customer extends Base implements CustomerAbstractClass {
|
|
5
|
+
static getBusinessInfo(): Promise<any>;
|
|
6
|
+
static getDomainInfo(id: string, type: string): Promise<any>;
|
|
7
|
+
static getSmsRemain(): Promise<any>;
|
|
8
|
+
static getSmsCallTemplate(): Promise<any>;
|
|
9
|
+
static getStaffWorkHour(id: number): Promise<any>;
|
|
10
|
+
static getStaffList(params: GetParams): Promise<any>;
|
|
11
|
+
static getStaffListPermission(): Promise<any>;
|
|
12
|
+
static getServiceListByCategory(): Promise<any>;
|
|
13
|
+
static getNotificationListAppointment(params: GetParams): Promise<any>;
|
|
14
|
+
static getNotificationList(params: GetParams): Promise<any>;
|
|
15
|
+
static getCheckoutConfig(): Promise<any>;
|
|
16
|
+
static getBusinessWorkHour(): Promise<any>;
|
|
17
|
+
static getCommissionListByStaff(staffId: number): Promise<any>;
|
|
18
|
+
static getEmployeeServiceListServiceByStaff(params: GetParams): Promise<any>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/gci_client_api/v1/api/customer.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;WACnD,eAAe;WAMf,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;WAYtC,YAAY;WAMZ,kBAAkB;WAMlB,gBAAgB,CAAC,EAAE,EAAE,MAAM;WAW3B,YAAY,CAAC,MAAM,EAAE,SAAS;WAY9B,sBAAsB;WAMtB,wBAAwB;WAMxB,8BAA8B,CAAC,MAAM,EAAE,SAAS;WAYhD,mBAAmB,CAAC,MAAM,EAAE,SAAS;WAYrC,iBAAiB;WAMjB,mBAAmB;WAMnB,wBAAwB,CAAC,OAAO,EAAE,MAAM;WAWxC,oCAAoC,CAAC,MAAM,EAAE,SAAS;CAW7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gci_client_api/v1/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../src/gci_client_api/v1/api/staff.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,IAAK,YAAW,kBAAkB;CAEpE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/gci_client_api/v1/endpoint/customer.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const GET_BUSINESS_INFO = "/v1/gocheckin/business/site/info";
|
|
2
|
+
export declare const GET_DOMAIN_INFO = "/site/get-info";
|
|
3
|
+
export declare const GET_SMS_REMAIN = "/v1/gocheckin/sms/site/sms-remain";
|
|
4
|
+
export declare const GET_SMS_CALL_TEMPLATE = "/v1/pos/call/site/get-sms-call-template";
|
|
5
|
+
export declare const GET_STAFF_WORK_HOUR = "/v1/gocheckin/staff/work-hour/info";
|
|
6
|
+
export declare const GET_STAFF_LIST = "/v1/gocheckin/staff/site/list";
|
|
7
|
+
export declare const GET_PERMISSION_LIST = "/v1/gocheckin/staff/site/list-permission";
|
|
8
|
+
export declare const GET_SERVICE_BY_CATE = "/v1/gocheckin/service/site/list-by-category";
|
|
9
|
+
export declare const GET_APPOINTMENT_NOTIFICATION_LIST = "/v1/gocheckin/notification/site/list-appointment";
|
|
10
|
+
export declare const GET_NOTIFICATION_LIST = "/v1/gocheckin/notification/site/list";
|
|
11
|
+
export declare const GET_CONFIG = "/v1/settings/checkout/get-config";
|
|
12
|
+
export declare const GET_BUSINESS_WORK_HOUR = "/v1/gocheckin/settings/business-work-hour/get";
|
|
13
|
+
export declare const GET_COMMISSION_LIST_BY_STAFF = "/v1/pos/commission/site/list-by-staff";
|
|
14
|
+
export declare const GET_LIST_SERVICE_BY_STAFF = "/v1/gocheckin/staff/employee-service/list-service-by-staff";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gci_client_api/v1/endpoint/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,qCAAqC,CAAC;AACpE,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,cAAc,sCAAsC,CAAC;AAClE,eAAO,MAAM,qBAAqB,4CAA4C,CAAC;AAC/E,eAAO,MAAM,mBAAmB,uCAAuC,CAAC;AACxE,eAAO,MAAM,cAAc,kCAAkC,CAAC;AAC9D,eAAO,MAAM,mBAAmB,6CAA6C,CAAC;AAC9E,eAAO,MAAM,mBAAmB,gDAAgD,CAAC;AACjF,eAAO,MAAM,iCAAiC,qDAAqD,CAAC;AACpG,eAAO,MAAM,qBAAqB,yCAAyC,CAAC;AAC5E,eAAO,MAAM,UAAU,qCAAqC,CAAC;AAC7D,eAAO,MAAM,sBAAsB,kDAAkD,CAAC;AACtF,eAAO,MAAM,4BAA4B,0CAA0C,CAAC;AACpF,eAAO,MAAM,yBAAyB,+DAA+D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=staff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../src/gci_client_api/v1/endpoint/staff.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1,17 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from "axios";
|
|
2
|
+
import { ResponseDataApi } from "src/base_type";
|
|
3
|
+
import { DeleteRequestParams, GetRequestParams, PostRequestParams, PutRequestParams, RequestParams } from './types';
|
|
4
|
+
export declare class HttpClient {
|
|
5
|
+
private readonly axios;
|
|
6
|
+
private readonly domain;
|
|
7
|
+
private readonly RETRY_WAIT_TIME;
|
|
8
|
+
constructor(domain: string, gClientId: string, token: string);
|
|
9
|
+
get(params: GetRequestParams): Promise<ResponseDataApi>;
|
|
10
|
+
post(params: PostRequestParams): Promise<ResponseDataApi>;
|
|
11
|
+
put(params: PutRequestParams): Promise<ResponseDataApi>;
|
|
12
|
+
delete(params: DeleteRequestParams): Promise<ResponseDataApi>;
|
|
13
|
+
request(params: RequestParams): Promise<ResponseDataApi>;
|
|
14
|
+
getRequestPath(path: string): string;
|
|
15
|
+
doRequest(options: AxiosRequestConfig): Promise<ResponseDataApi>;
|
|
16
|
+
}
|
|
1
17
|
//# sourceMappingURL=http_client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http_client.d.ts","sourceRoot":"","sources":["../../src/http_client/http_client.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"http_client.d.ts","sourceRoot":"","sources":["../../src/http_client/http_client.ts"],"names":[],"mappings":"AACA,OAAc,EAAC,kBAAkB,EAA+B,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAG9C,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EAGhB,MAAM,SAAS,CAAC;AAEjB,qBAAa,UAAU;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAQ;gBAErB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAUtD,GAAG,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIvD,IAAI,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIzD,GAAG,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIvD,MAAM,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC;IAI7D,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC;IAoE9D,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI9B,SAAS,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,eAAe,CAAC;CA0DhF"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
export interface HeaderParams {
|
|
2
2
|
[key: string]: string | number;
|
|
3
3
|
}
|
|
4
|
-
export declare enum DataType {
|
|
5
|
-
JSON = "application/json"
|
|
6
|
-
}
|
|
7
4
|
export declare type QueryParams = string | number | string[] | number[] | {
|
|
8
5
|
[key: string]: QueryParams;
|
|
9
6
|
};
|
|
10
7
|
export interface GetRequestParams {
|
|
11
8
|
path: string;
|
|
12
|
-
type?: DataType;
|
|
13
9
|
data?: {
|
|
14
10
|
[key: string]: unknown;
|
|
15
11
|
} | string;
|
|
@@ -20,12 +16,68 @@ export interface GetRequestParams {
|
|
|
20
16
|
tries?: number;
|
|
21
17
|
}
|
|
22
18
|
export declare type PostRequestParams = GetRequestParams & {
|
|
23
|
-
type: DataType;
|
|
24
19
|
data: {
|
|
25
|
-
[key: string]:
|
|
20
|
+
[key: string]: QueryParams;
|
|
26
21
|
} | string;
|
|
27
22
|
};
|
|
28
23
|
export declare type PutRequestParams = PostRequestParams;
|
|
29
24
|
export declare type DeleteRequestParams = GetRequestParams;
|
|
30
|
-
export declare type RequestParams = (GetRequestParams | PostRequestParams)
|
|
25
|
+
export declare type RequestParams = (GetRequestParams | PostRequestParams) & {
|
|
26
|
+
method: Method;
|
|
27
|
+
};
|
|
28
|
+
export declare enum Method {
|
|
29
|
+
Get = "GET",
|
|
30
|
+
Post = "POST",
|
|
31
|
+
Put = "PUT",
|
|
32
|
+
Patch = "PATCH",
|
|
33
|
+
Delete = "DELETE",
|
|
34
|
+
Head = "HEAD",
|
|
35
|
+
Options = "OPTIONS",
|
|
36
|
+
Connect = "CONNECT"
|
|
37
|
+
}
|
|
38
|
+
export declare enum StatusCode {
|
|
39
|
+
Continue = 100,
|
|
40
|
+
SwitchingProtocols = 101,
|
|
41
|
+
Ok = 200,
|
|
42
|
+
Created = 201,
|
|
43
|
+
Accepted = 202,
|
|
44
|
+
NonAuthoritativeInformation = 203,
|
|
45
|
+
NoContent = 204,
|
|
46
|
+
ResetContent = 205,
|
|
47
|
+
PartialContent = 206,
|
|
48
|
+
MultipleChoices = 300,
|
|
49
|
+
MovedPermanently = 301,
|
|
50
|
+
Found = 302,
|
|
51
|
+
SeeOther = 303,
|
|
52
|
+
NotModified = 304,
|
|
53
|
+
UseProxy = 305,
|
|
54
|
+
TemporaryRedirect = 307,
|
|
55
|
+
BadRequest = 400,
|
|
56
|
+
Unauthorized = 401,
|
|
57
|
+
PaymentRequired = 402,
|
|
58
|
+
Forbidden = 403,
|
|
59
|
+
NotFound = 404,
|
|
60
|
+
MethodNotAllowed = 405,
|
|
61
|
+
NotAcceptable = 406,
|
|
62
|
+
ProxyAuthenticationRequired = 407,
|
|
63
|
+
RequestTimeout = 408,
|
|
64
|
+
Conflict = 409,
|
|
65
|
+
Gone = 410,
|
|
66
|
+
LengthRequired = 411,
|
|
67
|
+
PreconditionFailed = 412,
|
|
68
|
+
RequestEntityTooLarge = 413,
|
|
69
|
+
RequestUriTooLong = 414,
|
|
70
|
+
UnsupportedMediaType = 415,
|
|
71
|
+
RequestedRangeNotSatisfiable = 416,
|
|
72
|
+
ExpectationFailed = 417,
|
|
73
|
+
ImATeapot = 418,
|
|
74
|
+
UnprocessableEntity = 422,
|
|
75
|
+
TooManyRequests = 429,
|
|
76
|
+
InternalServerError = 500,
|
|
77
|
+
NotImplemented = 501,
|
|
78
|
+
BadGateway = 502,
|
|
79
|
+
ServiceUnavailable = 503,
|
|
80
|
+
GatewayTimeout = 504,
|
|
81
|
+
HttpVersionNotSupported = 505
|
|
82
|
+
}
|
|
31
83
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/http_client/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC;AAED,oBAAY,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/http_client/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC;AAED,oBAAY,WAAW,GACnB,MAAM,GACN,MAAM,GACN,MAAM,EAAE,GACR,MAAM,EAAE,GACR;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;CAAE,CAAC;AAEnC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,MAAM,CAAC;IAC3C,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,CAAC;IACvC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,oBAAY,iBAAiB,GAAG,gBAAgB,GAAG;IAEjD,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,GAAG,MAAM,CAAC;CAC/C,CAAC;AAEF,oBAAY,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,oBAAY,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,oBAAY,aAAa,GAAG,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,GAAG;IACnE,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,MAAM;IAChB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,UAAU;IACpB,QAAQ,MAAM;IACd,kBAAkB,MAAM;IACxB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,QAAQ,MAAM;IACd,2BAA2B,MAAM;IACjC,SAAS,MAAM;IACf,YAAY,MAAM;IAClB,cAAc,MAAM;IACpB,eAAe,MAAM;IACrB,gBAAgB,MAAM;IACtB,KAAK,MAAM;IACX,QAAQ,MAAM;IACd,WAAW,MAAM;IACjB,QAAQ,MAAM;IACd,iBAAiB,MAAM;IACvB,UAAU,MAAM;IAChB,YAAY,MAAM;IAClB,eAAe,MAAM;IACrB,SAAS,MAAM;IACf,QAAQ,MAAM;IACd,gBAAgB,MAAM;IACtB,aAAa,MAAM;IACnB,2BAA2B,MAAM;IACjC,cAAc,MAAM;IACpB,QAAQ,MAAM;IACd,IAAI,MAAM;IACV,cAAc,MAAM;IACpB,kBAAkB,MAAM;IACxB,qBAAqB,MAAM;IAC3B,iBAAiB,MAAM;IACvB,oBAAoB,MAAM;IAC1B,4BAA4B,MAAM;IAClC,iBAAiB,MAAM;IACvB,SAAS,MAAM;IACf,mBAAmB,MAAM;IACzB,eAAe,MAAM;IACrB,mBAAmB,MAAM;IACzB,cAAc,MAAM;IACpB,UAAU,MAAM;IAChB,kBAAkB,MAAM;IACxB,cAAc,MAAM;IACpB,uBAAuB,MAAM;CAC9B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as GapError from './error';
|
|
2
|
+
import { PosClientApi } from "./pos_client_api/v1/PosClientApi";
|
|
2
3
|
export declare const Gap: {
|
|
3
4
|
Context: import("./context").ContextInterface;
|
|
5
|
+
PosClientApi: typeof PosClientApi;
|
|
4
6
|
Errors: typeof GapError;
|
|
5
7
|
};
|
|
6
8
|
export default Gap;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAE9D,eAAO,MAAM,GAAG;;;;CAIf,CAAC;AAIF,eAAe,GAAG,CAAC;AACnB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum STATUS {
|
|
2
|
+
PENDING = 11,
|
|
3
|
+
PROCESSING = 12,
|
|
4
|
+
PAYMENT_SUCCESS = 13,
|
|
5
|
+
VOIDED = 14,
|
|
6
|
+
TRANSACTION_SETTLED = 15,
|
|
7
|
+
REFUNDED = 16,
|
|
8
|
+
AWAITING_PAYMENT = 17,
|
|
9
|
+
CANCELLED = 19,
|
|
10
|
+
SETTLEMENT_FAIL = 20
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/enums/index.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IACd,OAAO,KAAK;IACZ,UAAU,KAAK;IACf,eAAe,KAAK;IACpB,MAAM,KAAK;IACX,mBAAmB,KAAK;IACxB,QAAQ,KAAK;IACb,gBAAgB,KAAK;IACrB,SAAS,KAAK;IACd,eAAe,KAAK;CACvB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class Appointment {
|
|
4
|
+
static postCreateAppointment: (data: InputDataType.PostCreateAppointment) => Promise<ResponseDataApi>;
|
|
5
|
+
static getCategoryListAppointment: (data: InputDataType.GetCategoryListAppointment) => Promise<ResponseDataApi>;
|
|
6
|
+
static getStaffListAppointment: (data: InputDataType.GetStaffListAppointment) => Promise<ResponseDataApi>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,WAAW;IACrC,OAAc,qBAAqB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,qBAAqB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IAC7G,OAAc,0BAA0B,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,0BAA0B,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACvH,OAAc,uBAAuB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,uBAAuB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CACpH"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class BatchHistory {
|
|
4
|
+
static getBatchHistory: (data: InputDataType.GetBatchHistory) => Promise<ResponseDataApi>;
|
|
5
|
+
static getBatchDetail: (data: InputDataType.GetBatchDetail) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=batch_history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/batch_history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAY;IACtC,OAAc,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,eAAe,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjG,OAAc,cAAc,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,cAAc,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAClG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class Business {
|
|
4
|
+
static getBusinessInfo: (data: InputDataType.GetBusinessInfo) => Promise<ResponseDataApi>;
|
|
5
|
+
static postBusinessUpdateInfo: (data: InputDataType.PostBusinessUpdateInfo) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=business.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/business.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,eAAe,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjG,OAAc,sBAAsB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,sBAAsB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAClH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,IAAI;IAC9B,OAAc,OAAO,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CACpF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class Category {
|
|
4
|
+
static getCategoryListItem: (data: InputDataType.GetCategoryListItem) => Promise<ResponseDataApi>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,mBAAmB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,mBAAmB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAC5G"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class CheckIn {
|
|
4
|
+
static getBatchHistory: (data: InputDataType.GetBatchHistory) => Promise<ResponseDataApi>;
|
|
5
|
+
static getBatchDetail: (data: InputDataType.GetBatchDetail) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=check_in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;IACjC,OAAc,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,eAAe,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjG,OAAc,cAAc,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,cAAc,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAClG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class CheckOut {
|
|
4
|
+
static getBatchHistory: (data: InputDataType.GetBatchHistory) => Promise<ResponseDataApi>;
|
|
5
|
+
static getBatchDetail: (data: InputDataType.GetBatchDetail) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=check_out.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/check_out.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,eAAe,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjG,OAAc,cAAc,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,cAAc,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAClG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class Combo {
|
|
4
|
+
static getComboSiteInfo: (data: InputDataType.GetComboSiteInfo) => Promise<ResponseDataApi>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=combo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/combo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,KAAK;IAC/B,OAAc,gBAAgB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,gBAAgB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CACtG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class Customer {
|
|
4
|
+
static getCustomerList: (data: InputDataType.GetCustomerList) => Promise<ResponseDataApi>;
|
|
5
|
+
static getCustomerDetail: (data: InputDataType.GetCustomerDetail) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,eAAe,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,eAAe,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACjG,OAAc,iBAAiB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,iBAAiB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CACxG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class GiftCard {
|
|
4
|
+
static getCheckGiftCard: (data: InputDataType.GetCheckGiftCard) => Promise<ResponseDataApi>;
|
|
5
|
+
static postResetGiftCard: (data: InputDataType.PostResetGiftCard) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=gift_card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/gift_card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,gBAAgB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,gBAAgB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACnG,OAAc,iBAAiB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,iBAAiB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CACxG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class Income {
|
|
4
|
+
static getIncomeHistory: (data: InputDataType.GetIncomeHistory) => Promise<ResponseDataApi>;
|
|
5
|
+
static getStaffDailyIncome: (data: InputDataType.GetStaffDailyIncome) => Promise<ResponseDataApi>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=income.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/income.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM;IAChC,OAAc,gBAAgB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,gBAAgB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACnG,OAAc,mBAAmB,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,mBAAmB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAC5G"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as API from "../v1/api";
|
|
2
|
+
export interface IPosClientApi {
|
|
3
|
+
appointment: API.Appointment;
|
|
4
|
+
batch_history: API.BatchHistory;
|
|
5
|
+
business: API.Business;
|
|
6
|
+
call: API.Call;
|
|
7
|
+
category: API.Category;
|
|
8
|
+
check_in: API.CheckIn;
|
|
9
|
+
check_out: API.CheckOut;
|
|
10
|
+
combo: API.Combo;
|
|
11
|
+
customer: API.Customer;
|
|
12
|
+
gift_card: API.GiftCard;
|
|
13
|
+
income: API.Income;
|
|
14
|
+
key_storage: API.KeyStorage;
|
|
15
|
+
order: API.Order;
|
|
16
|
+
payroll: API.Payroll;
|
|
17
|
+
printer: API.Printer;
|
|
18
|
+
service: API.Service;
|
|
19
|
+
setting_turn: API.SettingTurn;
|
|
20
|
+
staff: API.Staff;
|
|
21
|
+
ticket: API.Ticket;
|
|
22
|
+
time_keeping: API.TimeKeeping;
|
|
23
|
+
unsubscribe_contact: API.UnsubscribeContact;
|
|
24
|
+
user: API.User;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,aAAa;IAC1B,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC,YAAY,CAAC;IAChC,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC;IACvB,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC;IACvB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,SAAS,EAAE,GAAG,CAAC,QAAQ,CAAC;IACxB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC;IACvB,SAAS,EAAE,GAAG,CAAC,QAAQ,CAAC;IACxB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,WAAW,EAAE,GAAG,CAAC,UAAU,CAAC;IAC5B,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;IACrB,YAAY,EAAE,GAAG,CAAC,WAAW,CAAC;IAC9B,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,YAAY,EAAE,GAAG,CAAC,WAAW,CAAC;IAC9B,mBAAmB,EAAE,GAAG,CAAC,kBAAkB,CAAC;IAC5C,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ResponseDataApi } from "src/base_type";
|
|
2
|
+
import * as InputDataType from "../types";
|
|
3
|
+
export default abstract class KeyStorage {
|
|
4
|
+
static getKeyStorage: (data: InputDataType.GetKeyStorage) => Promise<ResponseDataApi>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=key_storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../src/pos_client_api/interface/key_storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,aAAa,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,UAAU;IACpC,OAAc,aAAa,EAAE,CAAC,IAAI,EAAE,aAAa,CAAC,aAAa,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;CAChG"}
|