gap-nodejs-sdk 1.0.39 → 1.0.40

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 (205) hide show
  1. package/dist/gap-sdk.js +1 -1
  2. package/dist/index.d.ts +3 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +3 -1
  5. package/dist/{interface → interfaces}/invoke_event_interface.d.ts +0 -0
  6. package/dist/interfaces/invoke_event_interface.d.ts.map +1 -0
  7. package/dist/{interface → interfaces}/invoke_event_interface.js +0 -0
  8. package/dist/models/index.d.ts +2 -0
  9. package/dist/models/index.d.ts.map +1 -0
  10. package/dist/models/index.js +1 -0
  11. package/dist/models/meta.d.ts +4 -0
  12. package/dist/models/meta.d.ts.map +1 -0
  13. package/dist/{pos_client_api/1.0.0/models → models}/meta.js +7 -0
  14. package/dist/pos_client_api/1.0.0/api/check_out.d.ts +3 -2
  15. package/dist/pos_client_api/1.0.0/api/check_out.d.ts.map +1 -1
  16. package/dist/pos_client_api/1.0.0/api/check_out.js +3 -10
  17. package/dist/pos_client_api/1.0.0/api/index.d.ts +1 -1
  18. package/dist/pos_client_api/1.0.0/api/index.d.ts.map +1 -1
  19. package/dist/pos_client_api/1.0.0/api/index.js +1 -1
  20. package/dist/pos_client_api/1.0.0/api/key_storage.d.ts +1 -1
  21. package/dist/pos_client_api/1.0.0/api/key_storage.d.ts.map +1 -1
  22. package/dist/pos_client_api/1.0.0/api/key_storage.js +2 -2
  23. package/dist/pos_client_api/1.0.0/api/order.d.ts +2 -1
  24. package/dist/pos_client_api/1.0.0/api/order.d.ts.map +1 -1
  25. package/dist/pos_client_api/1.0.0/api/order.js +3 -6
  26. package/dist/pos_client_api/1.0.0/api/payroll.d.ts +0 -4
  27. package/dist/pos_client_api/1.0.0/api/payroll.d.ts.map +1 -1
  28. package/dist/pos_client_api/1.0.0/api/payroll.js +36 -40
  29. package/dist/pos_client_api/1.0.0/api/setting.d.ts +23 -0
  30. package/dist/pos_client_api/1.0.0/api/setting.d.ts.map +1 -0
  31. package/dist/pos_client_api/1.0.0/api/setting.js +148 -0
  32. package/dist/pos_client_api/1.0.0/api/time_keeping.d.ts +2 -1
  33. package/dist/pos_client_api/1.0.0/api/time_keeping.d.ts.map +1 -1
  34. package/dist/pos_client_api/1.0.0/api/time_keeping.js +2 -5
  35. package/dist/pos_client_api/1.0.0/endpoints/index.d.ts +1 -1
  36. package/dist/pos_client_api/1.0.0/endpoints/index.d.ts.map +1 -1
  37. package/dist/pos_client_api/1.0.0/endpoints/index.js +1 -1
  38. package/dist/pos_client_api/1.0.0/endpoints/key_storage.d.ts +1 -1
  39. package/dist/pos_client_api/1.0.0/endpoints/key_storage.js +1 -1
  40. package/dist/pos_client_api/1.0.0/endpoints/payroll.d.ts +0 -4
  41. package/dist/pos_client_api/1.0.0/endpoints/payroll.d.ts.map +1 -1
  42. package/dist/pos_client_api/1.0.0/endpoints/payroll.js +4 -4
  43. package/dist/pos_client_api/1.0.0/endpoints/setting.d.ts +18 -0
  44. package/dist/pos_client_api/1.0.0/endpoints/setting.d.ts.map +1 -0
  45. package/dist/pos_client_api/1.0.0/endpoints/setting.js +16 -0
  46. package/dist/pos_client_api/1.0.0/interfaces/check_out.d.ts +3 -2
  47. package/dist/pos_client_api/1.0.0/interfaces/check_out.d.ts.map +1 -1
  48. package/dist/pos_client_api/1.0.0/interfaces/index.d.ts +0 -24
  49. package/dist/pos_client_api/1.0.0/interfaces/index.d.ts.map +1 -1
  50. package/dist/pos_client_api/1.0.0/interfaces/index.js +0 -1
  51. package/dist/pos_client_api/1.0.0/interfaces/key_storage.d.ts +1 -1
  52. package/dist/pos_client_api/1.0.0/interfaces/key_storage.d.ts.map +1 -1
  53. package/dist/pos_client_api/1.0.0/interfaces/order.d.ts +3 -2
  54. package/dist/pos_client_api/1.0.0/interfaces/order.d.ts.map +1 -1
  55. package/dist/pos_client_api/1.0.0/interfaces/setting.d.ts +6 -0
  56. package/dist/pos_client_api/1.0.0/interfaces/setting.d.ts.map +1 -0
  57. package/dist/pos_client_api/1.0.0/interfaces/setting.js +2 -0
  58. package/dist/pos_client_api/1.0.0/interfaces/time_keeping.d.ts +2 -1
  59. package/dist/pos_client_api/1.0.0/interfaces/time_keeping.d.ts.map +1 -1
  60. package/dist/pos_client_api/1.0.0/models/index.d.ts +1 -2
  61. package/dist/pos_client_api/1.0.0/models/index.d.ts.map +1 -1
  62. package/dist/pos_client_api/1.0.0/models/index.js +1 -2
  63. package/dist/pos_client_api/1.0.0/models/key_storage.d.ts +1 -1
  64. package/dist/pos_client_api/1.0.0/models/key_storage.d.ts.map +1 -1
  65. package/dist/pos_client_api/1.0.0/models/payroll.d.ts +0 -2
  66. package/dist/pos_client_api/1.0.0/models/payroll.d.ts.map +1 -1
  67. package/dist/pos_client_api/1.0.0/models/payroll.js +21 -23
  68. package/dist/pos_client_api/1.0.0/models/setting.d.ts +12 -0
  69. package/dist/pos_client_api/1.0.0/models/setting.d.ts.map +1 -0
  70. package/dist/pos_client_api/1.0.0/models/setting.js +91 -0
  71. package/dist/pos_client_api/1.0.0/types/request/index.d.ts +1 -1
  72. package/dist/pos_client_api/1.0.0/types/request/index.d.ts.map +1 -1
  73. package/dist/pos_client_api/1.0.0/types/request/index.js +1 -1
  74. package/dist/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  75. package/dist/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  76. package/dist/pos_client_api/1.0.0/types/request/payroll.d.ts +0 -11
  77. package/dist/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  78. package/dist/pos_client_api/1.0.0/types/request/setting.d.ts +37 -0
  79. package/dist/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -0
  80. package/dist/pos_client_api/1.0.0/types/request/{setting_turn.js → setting.js} +0 -0
  81. package/dist/pos_client_api/1.0.0/types/response/index.d.ts +1 -7
  82. package/dist/pos_client_api/1.0.0/types/response/index.d.ts.map +1 -1
  83. package/dist/pos_client_api/1.0.0/types/response/index.js +1 -2
  84. package/dist/pos_client_api/1.0.0/types/response/key_storage.d.ts +1 -1
  85. package/dist/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  86. package/dist/pos_client_api/1.0.0/types/response/payroll.d.ts +0 -19
  87. package/dist/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  88. package/dist/pos_client_api/1.0.0/types/response/setting.d.ts +67 -0
  89. package/dist/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -0
  90. package/dist/pos_client_api/1.0.0/types/response/{meta.js → setting.js} +0 -0
  91. package/dist/pos_client_api/PosClientApi.d.ts +2 -2
  92. package/dist/pos_client_api/PosClientApi.d.ts.map +1 -1
  93. package/dist/pos_client_api/PosClientApi.js +2 -2
  94. package/dist/settings_api/1.0.0/api/check_in.d.ts +10 -0
  95. package/dist/settings_api/1.0.0/api/check_in.d.ts.map +1 -0
  96. package/dist/settings_api/1.0.0/api/check_in.js +18 -0
  97. package/dist/settings_api/1.0.0/api/checkout.d.ts +10 -0
  98. package/dist/settings_api/1.0.0/api/checkout.d.ts.map +1 -0
  99. package/dist/settings_api/1.0.0/api/checkout.js +18 -0
  100. package/dist/settings_api/1.0.0/api/index.d.ts +4 -0
  101. package/dist/settings_api/1.0.0/api/index.d.ts.map +1 -0
  102. package/dist/settings_api/1.0.0/api/index.js +3 -0
  103. package/dist/settings_api/1.0.0/api/key_storage.d.ts +16 -0
  104. package/dist/settings_api/1.0.0/api/key_storage.d.ts.map +1 -0
  105. package/dist/settings_api/1.0.0/api/key_storage.js +66 -0
  106. package/dist/settings_api/1.0.0/endpoints/check_in.d.ts +5 -0
  107. package/dist/settings_api/1.0.0/endpoints/check_in.d.ts.map +1 -0
  108. package/dist/settings_api/1.0.0/endpoints/check_in.js +3 -0
  109. package/dist/settings_api/1.0.0/endpoints/checkout.d.ts +5 -0
  110. package/dist/settings_api/1.0.0/endpoints/checkout.d.ts.map +1 -0
  111. package/dist/settings_api/1.0.0/endpoints/checkout.js +3 -0
  112. package/dist/settings_api/1.0.0/endpoints/index.d.ts +4 -0
  113. package/dist/settings_api/1.0.0/endpoints/index.d.ts.map +1 -0
  114. package/dist/settings_api/1.0.0/endpoints/index.js +3 -0
  115. package/dist/settings_api/1.0.0/endpoints/key_storage.d.ts +10 -0
  116. package/dist/settings_api/1.0.0/endpoints/key_storage.d.ts.map +1 -0
  117. package/dist/settings_api/1.0.0/endpoints/key_storage.js +8 -0
  118. package/dist/settings_api/1.0.0/interfaces/check_in.d.ts +6 -0
  119. package/dist/settings_api/1.0.0/interfaces/check_in.d.ts.map +1 -0
  120. package/dist/settings_api/1.0.0/interfaces/check_in.js +2 -0
  121. package/dist/settings_api/1.0.0/interfaces/checkout.d.ts +6 -0
  122. package/dist/settings_api/1.0.0/interfaces/checkout.d.ts.map +1 -0
  123. package/dist/settings_api/1.0.0/interfaces/checkout.js +2 -0
  124. package/dist/settings_api/1.0.0/interfaces/index.d.ts +1 -0
  125. package/dist/settings_api/1.0.0/interfaces/index.d.ts.map +1 -0
  126. package/dist/settings_api/1.0.0/interfaces/index.js +0 -0
  127. package/dist/settings_api/1.0.0/interfaces/key_storage.d.ts +11 -0
  128. package/dist/settings_api/1.0.0/interfaces/key_storage.d.ts.map +1 -0
  129. package/dist/settings_api/1.0.0/interfaces/key_storage.js +2 -0
  130. package/dist/settings_api/1.0.0/models/check_in.d.ts +20 -0
  131. package/dist/settings_api/1.0.0/models/check_in.d.ts.map +1 -0
  132. package/dist/settings_api/1.0.0/models/check_in.js +30 -0
  133. package/dist/settings_api/1.0.0/models/checkout.d.ts +3 -0
  134. package/dist/settings_api/1.0.0/models/checkout.d.ts.map +1 -0
  135. package/dist/settings_api/1.0.0/models/checkout.js +171 -0
  136. package/dist/settings_api/1.0.0/models/index.d.ts +4 -0
  137. package/dist/settings_api/1.0.0/models/index.d.ts.map +1 -0
  138. package/dist/settings_api/1.0.0/models/index.js +3 -0
  139. package/dist/settings_api/1.0.0/models/key_storage.d.ts +8 -0
  140. package/dist/settings_api/1.0.0/models/key_storage.d.ts.map +1 -0
  141. package/dist/settings_api/1.0.0/models/key_storage.js +10 -0
  142. package/dist/settings_api/1.0.0/types/request/check_in.d.ts +4 -0
  143. package/dist/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -0
  144. package/dist/{pos_client_api/1.0.0/types/response/setting_turn.js → settings_api/1.0.0/types/request/check_in.js} +0 -0
  145. package/dist/settings_api/1.0.0/types/request/checkout.d.ts +4 -0
  146. package/dist/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -0
  147. package/dist/settings_api/1.0.0/types/request/checkout.js +1 -0
  148. package/dist/settings_api/1.0.0/types/request/index.d.ts +4 -0
  149. package/dist/settings_api/1.0.0/types/request/index.d.ts.map +1 -0
  150. package/dist/settings_api/1.0.0/types/request/index.js +3 -0
  151. package/dist/settings_api/1.0.0/types/request/key_storage.d.ts +21 -0
  152. package/dist/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -0
  153. package/dist/settings_api/1.0.0/types/request/key_storage.js +1 -0
  154. package/dist/settings_api/1.0.0/types/response/check_in.d.ts +24 -0
  155. package/dist/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -0
  156. package/dist/settings_api/1.0.0/types/response/check_in.js +1 -0
  157. package/dist/settings_api/1.0.0/types/response/checkout.d.ts +131 -0
  158. package/dist/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -0
  159. package/dist/settings_api/1.0.0/types/response/checkout.js +1 -0
  160. package/dist/settings_api/1.0.0/types/response/index.d.ts +4 -0
  161. package/dist/settings_api/1.0.0/types/response/index.d.ts.map +1 -0
  162. package/dist/settings_api/1.0.0/types/response/index.js +3 -0
  163. package/dist/settings_api/1.0.0/types/response/key_storage.d.ts +24 -0
  164. package/dist/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -0
  165. package/dist/settings_api/1.0.0/types/response/key_storage.js +1 -0
  166. package/dist/settings_api/SettingsApi.d.ts +8 -0
  167. package/dist/settings_api/SettingsApi.d.ts.map +1 -0
  168. package/dist/settings_api/SettingsApi.js +11 -0
  169. package/dist/settings_api/api.d.ts +5 -0
  170. package/dist/settings_api/api.d.ts.map +1 -0
  171. package/dist/settings_api/api.js +12 -0
  172. package/dist/settings_api/enums/index.d.ts +1 -0
  173. package/dist/settings_api/enums/index.d.ts.map +1 -0
  174. package/dist/settings_api/enums/index.js +0 -0
  175. package/dist/types/index.d.ts +8 -0
  176. package/dist/types/index.d.ts.map +1 -0
  177. package/dist/types/index.js +7 -0
  178. package/dist/types/meta.d.ts +12 -0
  179. package/dist/types/meta.d.ts.map +1 -0
  180. package/dist/types/meta.js +1 -0
  181. package/package.json +1 -1
  182. package/dist/interface/invoke_event_interface.d.ts.map +0 -1
  183. package/dist/pos_client_api/1.0.0/api/setting_turn.d.ts +0 -11
  184. package/dist/pos_client_api/1.0.0/api/setting_turn.d.ts.map +0 -1
  185. package/dist/pos_client_api/1.0.0/api/setting_turn.js +0 -28
  186. package/dist/pos_client_api/1.0.0/endpoints/setting_turn.d.ts +0 -6
  187. package/dist/pos_client_api/1.0.0/endpoints/setting_turn.d.ts.map +0 -1
  188. package/dist/pos_client_api/1.0.0/endpoints/setting_turn.js +0 -4
  189. package/dist/pos_client_api/1.0.0/interfaces/setting_turn.d.ts +0 -7
  190. package/dist/pos_client_api/1.0.0/interfaces/setting_turn.d.ts.map +0 -1
  191. package/dist/pos_client_api/1.0.0/interfaces/setting_turn.js +0 -2
  192. package/dist/pos_client_api/1.0.0/models/meta.d.ts +0 -3
  193. package/dist/pos_client_api/1.0.0/models/meta.d.ts.map +0 -1
  194. package/dist/pos_client_api/1.0.0/models/setting_turn.d.ts +0 -3
  195. package/dist/pos_client_api/1.0.0/models/setting_turn.d.ts.map +0 -1
  196. package/dist/pos_client_api/1.0.0/models/setting_turn.js +0 -3
  197. package/dist/pos_client_api/1.0.0/types/request/setting_turn.d.ts +0 -5
  198. package/dist/pos_client_api/1.0.0/types/request/setting_turn.d.ts.map +0 -1
  199. package/dist/pos_client_api/1.0.0/types/response/meta.d.ts +0 -8
  200. package/dist/pos_client_api/1.0.0/types/response/meta.d.ts.map +0 -1
  201. package/dist/pos_client_api/1.0.0/types/response/setting_turn.d.ts +0 -4
  202. package/dist/pos_client_api/1.0.0/types/response/setting_turn.d.ts.map +0 -1
  203. package/dist/types.d.ts +0 -5
  204. package/dist/types.d.ts.map +0 -1
  205. package/dist/types.js +0 -4
@@ -0,0 +1,37 @@
1
+ export declare type GetPayrollSettingRequest = {};
2
+ export declare type UpdatePayrollSettingRequest = {
3
+ period: string;
4
+ start_date?: string;
5
+ custom_days?: string;
6
+ };
7
+ export declare type GetDiscountSettingRequest = {};
8
+ export declare type UpdateDiscountSettingRequest = {
9
+ owner_percent: number;
10
+ staff_percent: number;
11
+ };
12
+ export declare type GetTaxSettingRequest = {};
13
+ export declare type UpdateTaxSettingRequest = {
14
+ sevice_val: number;
15
+ product_val: number;
16
+ };
17
+ export declare type GetTurnValueRequest = {};
18
+ export declare type UpdateTurnValueRequest = {
19
+ value: number;
20
+ };
21
+ export declare type GetTipRequest = {};
22
+ export declare type UpdateTipRequest = {};
23
+ export declare type GetListAnswerRequest = {};
24
+ export declare type CreateAnswerRequest = {
25
+ type: string;
26
+ content: string;
27
+ system: string;
28
+ };
29
+ export declare type UpdateAnswerRequest = {
30
+ id: number;
31
+ content: string;
32
+ };
33
+ export declare type ChangeAnswerStatusRequest = {
34
+ id: number;
35
+ status: number;
36
+ };
37
+ //# sourceMappingURL=setting.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/request/setting.ts"],"names":[],"mappings":"AAEA,oBAAY,wBAAwB,GAAG,EAAE,CAAA;AAEzC,oBAAY,2BAA2B,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AACD,oBAAY,yBAAyB,GAAG,EAAE,CAAA;AAC1C,oBAAY,4BAA4B,GAAG;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AAErC,oBAAY,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,oBAAY,mBAAmB,GAAG,EAAE,CAAA;AAEpC,oBAAY,sBAAsB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,aAAa,GAAG,EAAE,CAAA;AAE9B,oBAAY,gBAAgB,GAAG,EAAE,CAAA;AAEjC,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AAErC,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,oBAAY,mBAAmB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA"}
@@ -5,7 +5,6 @@ export * from './income';
5
5
  export * from './order';
6
6
  export * from './payroll';
7
7
  export * from './payroll';
8
- export * from './meta';
9
8
  export * from './batch_history';
10
9
  export * from './time_keeping';
11
10
  export * from './business';
@@ -14,13 +13,8 @@ export * from './key_storage';
14
13
  export * from './staff';
15
14
  export * from './service';
16
15
  export * from './printer';
17
- export * from './setting_turn';
18
16
  export * from './ticket';
19
17
  export * from './gift_card';
20
18
  export * from './combo';
21
- import { MetaResponse } from "./meta";
22
- export declare type DataWithMeta<T> = {
23
- data: T;
24
- _meta: MetaResponse;
25
- };
19
+ export * from './setting';
26
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/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,QAAQ,CAAC;AACvB,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,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AAExB,OAAO,EAAC,YAAY,EAAC,MAAM,QAAQ,CAAC;AAEpC,oBAAY,YAAY,CAAC,CAAC,IAAI;IAC1B,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,YAAY,CAAA;CACtB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/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"}
@@ -5,7 +5,6 @@ export * from './income';
5
5
  export * from './order';
6
6
  export * from './payroll';
7
7
  export * from './payroll';
8
- export * from './meta';
9
8
  export * from './batch_history';
10
9
  export * from './time_keeping';
11
10
  export * from './business';
@@ -14,7 +13,7 @@ export * from './key_storage';
14
13
  export * from './staff';
15
14
  export * from './service';
16
15
  export * from './printer';
17
- export * from './setting_turn';
18
16
  export * from './ticket';
19
17
  export * from './gift_card';
20
18
  export * from './combo';
19
+ export * from './setting';
@@ -21,7 +21,7 @@ declare type ServiceFee = Nullable<{
21
21
  updated_at: any;
22
22
  state: number;
23
23
  }>;
24
- export declare type GetKeyStorageResponse = Nullable<{
24
+ export declare type GetPosKeyStorageResponse = Nullable<{
25
25
  in_service_feature: number;
26
26
  ach_payment_active: number;
27
27
  pax_standalone_active: number;
@@ -1 +1 @@
1
- {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/key_storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,aAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,aAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AAEF,aAAK,cAAc,GAAG,QAAQ,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,aAAK,UAAU,GAAG,QAAQ,CAAC;IACvB,EAAE,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ACvB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA"}
@@ -98,25 +98,6 @@ export declare type GetPayrollListResponse = Nullable<{
98
98
  end_time: string;
99
99
  employee_list: EmployeeList[];
100
100
  }>;
101
- export declare type GetPayrollSettingResponse = Nullable<{
102
- id: number;
103
- start_date: string;
104
- period: string;
105
- created_at: string;
106
- updated_at: string;
107
- status: number;
108
- custom_days: number;
109
- }>;
110
- export declare type UpdatePayrollSettingResponse = GetPayrollSettingResponse;
111
- export declare type GetDiscountSettingResponse = Nullable<{
112
- id: number;
113
- owner_percentage: number;
114
- staff_percentage: number;
115
- created_at: string;
116
- updated_at: string;
117
- status: number;
118
- }>;
119
- export declare type UpdateDiscountSettingResponse = GetDiscountSettingResponse;
120
101
  export declare type GetCashDiscountSettingResponse = Nullable<{
121
102
  id: number;
122
103
  owner_percent: number;
@@ -1 +1 @@
1
- {"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/payroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,aAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,EAAE,MAAM,CAAA;CAC3B,CAAC,CAAA;AAEF,aAAK,YAAY,GAAG,QAAQ,CAAC;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,YAAY,EAAE,WAAW,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,aAAK,WAAW,GAAG,QAAQ,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB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E,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,oBAAY,iCAAiC,GAAG,8BAA8B,CAAA;AAE9E,oBAAY,uBAAuB,GAAG,QAAQ,CAAC;IAC3C,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,GAAG,EAAE,CAAA;IACZ,KAAK,EAAE,KAAK,CAAA;CACf,CAAC,CAAA;AAEF,oBAAY,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,UAAU,EAAE,GAAG,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,sBAAsB,EAAE,CAAA;CAC1C,CAAC,CAAA;AAEF,oBAAY,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,aAAa,EAAE;QACX,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC;YACpB,OAAO,EAAE,MAAM,CAAC;YAChB,IAAI,EAAE,MAAM,CAAC;YACb,YAAY,EAAE,MAAM,CAAA;SACvB,CAAC,CAAC;KACN,CAAA;CACJ,CAAC,CAAA"}
@@ -0,0 +1,67 @@
1
+ import { Nullable } from "../../../../base_type";
2
+ export declare type GetPayrollSettingResponse = Nullable<{
3
+ id: number;
4
+ start_date: string;
5
+ period: string;
6
+ created_at: string;
7
+ updated_at: string;
8
+ status: number;
9
+ custom_days: number;
10
+ }>;
11
+ export declare type UpdatePayrollSettingResponse = GetPayrollSettingResponse;
12
+ export declare type GetDiscountSettingResponse = Nullable<{
13
+ id: number;
14
+ owner_percentage: number;
15
+ staff_percentage: number;
16
+ created_at: string;
17
+ updated_at: string;
18
+ status: number;
19
+ }>;
20
+ export declare type UpdateDiscountSettingResponse = GetDiscountSettingResponse;
21
+ export declare type GetTaxSettingResponse = Nullable<{
22
+ id: number;
23
+ type: string;
24
+ code: any;
25
+ title: string;
26
+ description: string;
27
+ value: number;
28
+ created_at: string;
29
+ updated_at: string;
30
+ status: number;
31
+ }>;
32
+ export declare type UpdateTaxSettingResponse = null;
33
+ export declare type GetTurnValueResponse = Nullable<number>;
34
+ export declare type UpdateTurnValueResponse = GetTurnValueResponse;
35
+ export declare type TipItem = Nullable<{
36
+ title: string;
37
+ active: number;
38
+ value: any;
39
+ }>;
40
+ export declare type GetTipResponse = Nullable<{
41
+ type: string;
42
+ status: number;
43
+ tip_items: TipItem[];
44
+ }>;
45
+ export declare type UpdateTipResponse = Nullable<number>;
46
+ export declare type Answer = Nullable<{
47
+ id: number;
48
+ system: string;
49
+ type: string;
50
+ content: string;
51
+ created_at: string;
52
+ updated_at: string;
53
+ status: number;
54
+ }>;
55
+ export declare type GetListAnswerResponse = Nullable<{
56
+ type: string;
57
+ answer: Answer[];
58
+ }>;
59
+ export declare type CreateAnswerResponse = Nullable<{
60
+ type: string;
61
+ content: string;
62
+ system: string;
63
+ id: number;
64
+ }>;
65
+ export declare type UpdateAnswerResponse = Answer;
66
+ export declare type ChangeAnswerStatusResponse = Answer;
67
+ //# sourceMappingURL=setting.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/setting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF,oBAAY,4BAA4B,GAAG,yBAAyB,CAAA;AAEpE,oBAAY,0BAA0B,GAAG,QAAQ,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,gBAAg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E,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,oBAAY,qBAAqB,GAAG,QAAQ,CAAC;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,EAAE,CAAA;CACnB,CAAC,CAAA;AAEF,oBAAY,oBAAoB,GAAG,QAAQ,CAAC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;CACb,CAAC,CAAA;AAEF,oBAAY,oBAAoB,GAAG,MAAM,CAAA;AAEzC,oBAAY,0BAA0B,GAAG,MAAM,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { GapApiVersion } from "../base_type";
2
- export declare class PosClientApi {
2
+ export default class PosClientApi {
3
3
  batch_history: any;
4
4
  business: any;
5
5
  call: any;
@@ -15,12 +15,12 @@ export declare class PosClientApi {
15
15
  payroll: any;
16
16
  printer: any;
17
17
  service: any;
18
- setting_turn: any;
19
18
  staff: any;
20
19
  ticket: any;
21
20
  time_keeping: any;
22
21
  unsubscribe_contact: any;
23
22
  user: any;
23
+ setting: any;
24
24
  constructor(domain: string, gClientId: string, token: string, version: GapApiVersion);
25
25
  }
26
26
  //# sourceMappingURL=PosClientApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PosClientApi.d.ts","sourceRoot":"","sources":["../../src/pos_client_api/PosClientApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAG3C,qBAAa,YAAY;IACrB,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,YAAY,MAAC;IACb,KAAK,MAAC;IACN,MAAM,MAAC;IACP,YAAY,MAAC;IACb,mBAAmB,MAAC;IACpB,IAAI,MAAC;gBAEO,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAyBvF"}
1
+ {"version":3,"file":"PosClientApi.d.ts","sourceRoot":"","sources":["../../src/pos_client_api/PosClientApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAG3C,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;gBAEI,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAyBvF"}
@@ -1,6 +1,6 @@
1
1
  import Base from "../base/Base";
2
2
  import getApi from "./api";
3
- export class PosClientApi {
3
+ export default class PosClientApi {
4
4
  constructor(domain, gClientId, token, version) {
5
5
  Base.setClient(domain, gClientId, token, version);
6
6
  const API = getApi(version);
@@ -19,11 +19,11 @@ export class PosClientApi {
19
19
  this.payroll = API.Payroll;
20
20
  this.printer = API.Printer;
21
21
  this.service = API.Service;
22
- this.setting_turn = API.SettingTurn;
23
22
  this.staff = API.Staff;
24
23
  this.ticket = API.Ticket;
25
24
  this.time_keeping = API.TimeKeeping;
26
25
  this.unsubscribe_contact = API.UnsubscribeContact;
27
26
  this.user = API.User;
27
+ this.setting = API.Setting;
28
28
  }
29
29
  }
@@ -0,0 +1,10 @@
1
+ import CheckInAbstractClass from "../interfaces/check_in";
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
+ export default class CheckIn extends Base implements CheckInAbstractClass {
7
+ static API_VERSION: GapApiVersion;
8
+ static getCheckInConfig(data: Request.GetCheckInConfigRequest): Promise<Response.GetCheckInConfigResponse>;
9
+ }
10
+ //# sourceMappingURL=check_in.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/api/check_in.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,IAAK,YAAW,oBAAoB;IACrE,OAAc,WAAW,gBAAoB;WAEzB,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAS1H"}
@@ -0,0 +1,18 @@
1
+ import { __awaiter } from "tslib";
2
+ import * as endpoints from "../endpoints";
3
+ import Base from "../../../base/Base";
4
+ import { GapApiVersion } from "../../../base_type";
5
+ import * as Model from "../models";
6
+ export default class CheckIn extends Base {
7
+ static getCheckInConfig(data) {
8
+ var _a;
9
+ return __awaiter(this, void 0, void 0, function* () {
10
+ const response = yield this.client.get({
11
+ path: endpoints.checkIn.GET_CHECK_IN_CONFIG,
12
+ query: data
13
+ });
14
+ return Model.CheckInConfigModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
15
+ });
16
+ }
17
+ }
18
+ CheckIn.API_VERSION = GapApiVersion.V1;
@@ -0,0 +1,10 @@
1
+ import CheckoutAbstractClass from "../interfaces/checkout";
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
+ export default class Checkout extends Base implements CheckoutAbstractClass {
7
+ static API_VERSION: GapApiVersion;
8
+ static getCheckoutConfig(data: Request.GetCheckoutConfigRequest): Promise<Response.GetCheckoutConfigResponse>;
9
+ }
10
+ //# sourceMappingURL=checkout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/api/checkout.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;WAEzB,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;CAS7H"}
@@ -0,0 +1,18 @@
1
+ import { __awaiter } from "tslib";
2
+ import * as endpoints from "../endpoints";
3
+ import Base from "../../../base/Base";
4
+ import { GapApiVersion } from "../../../base_type";
5
+ import * as Model from "../models";
6
+ export default class Checkout extends Base {
7
+ static getCheckoutConfig(data) {
8
+ var _a;
9
+ return __awaiter(this, void 0, void 0, function* () {
10
+ const response = yield this.client.get({
11
+ path: endpoints.checkout.GET_CHECKOUT_CONFIG,
12
+ query: data
13
+ });
14
+ return Model.CheckoutConfigModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
15
+ });
16
+ }
17
+ }
18
+ Checkout.API_VERSION = GapApiVersion.V1;
@@ -0,0 +1,4 @@
1
+ export { default as KeyStorage } from "./key_storage";
2
+ export { default as CheckIn } from "./check_in";
3
+ export { default as Checkout } from "./checkout";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as KeyStorage } from "./key_storage";
2
+ export { default as CheckIn } from "./check_in";
3
+ export { default as Checkout } from "./checkout";
@@ -0,0 +1,16 @@
1
+ import KeyStorageAbstractClass from "../interfaces/key_storage";
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 KeyStorage extends Base implements KeyStorageAbstractClass {
8
+ static API_VERSION: GapApiVersion;
9
+ static getKeyStorage(data: Request.GetKeyStorageRequest): Promise<Response.GetKeyStorageResponse>;
10
+ static getListKeyStorage(data: Request.GetListKeyStorageRequest): Promise<DataWithMetaResponse<Array<Response.GetListKeyStorageResponse>>>;
11
+ static addKeyStorage(data: Request.AddKeyStorageRequest): Promise<Response.AddKeyStorageResponse>;
12
+ static updateKeyStorage(data: Request.UpdateKeyStorageRequest): Promise<Response.UpdateKeyStorageResponse>;
13
+ static updateListKeyStorage(data: Request.UpdateListKeyStorageRequest): Promise<Response.UpdateListKeyStorageResponse>;
14
+ static deleteKeyStorage(data: Request.DeleteKeyStorageRequest): Promise<Response.DeleteKeyStorageResponse>;
15
+ }
16
+ //# sourceMappingURL=key_storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/api/key_storage.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AAGpD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAK,YAAW,uBAAuB;IAC3E,OAAc,WAAW,gBAAoB;WAEzB,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,oBAAoB,CAAC,KAAK,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC,CAAC;WAUnI,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC;WAU1F,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAUnG,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;WAU/G,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAS1H"}
@@ -0,0 +1,66 @@
1
+ import { __awaiter } from "tslib";
2
+ import * as endpoints 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 KeyStorage extends Base {
8
+ static getKeyStorage(data) {
9
+ var _a;
10
+ return __awaiter(this, void 0, void 0, function* () {
11
+ const response = yield this.client.get({
12
+ path: endpoints.keyStorage.GET_KEY_STORAGE,
13
+ query: data
14
+ });
15
+ return Model.KeyStorageModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
16
+ });
17
+ }
18
+ static getListKeyStorage(data) {
19
+ return __awaiter(this, void 0, void 0, function* () {
20
+ const response = yield this.client.get({
21
+ path: endpoints.keyStorage.GET_LIST_KEY_STORAGE,
22
+ query: data
23
+ });
24
+ return DataWithMetaModel(response, Model.KeyStorageModel);
25
+ });
26
+ }
27
+ static addKeyStorage(data) {
28
+ var _a;
29
+ return __awaiter(this, void 0, void 0, function* () {
30
+ const response = yield this.client.post({
31
+ path: endpoints.keyStorage.ADD_KEY_STORAGE,
32
+ data: data
33
+ });
34
+ return Model.KeyStorageModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
35
+ });
36
+ }
37
+ static updateKeyStorage(data) {
38
+ var _a;
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ const response = yield this.client.post({
41
+ path: endpoints.keyStorage.UPDATE_KEY_STORAGE,
42
+ data: data
43
+ });
44
+ return Model.KeyStorageModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
45
+ });
46
+ }
47
+ static updateListKeyStorage(data) {
48
+ return __awaiter(this, void 0, void 0, function* () {
49
+ yield this.client.post({
50
+ path: endpoints.keyStorage.UPDATE_LIST_KEY_STORAGE,
51
+ data: data
52
+ });
53
+ return null;
54
+ });
55
+ }
56
+ static deleteKeyStorage(data) {
57
+ return __awaiter(this, void 0, void 0, function* () {
58
+ yield this.client.post({
59
+ path: endpoints.keyStorage.DELETE_KEY_STORAGE,
60
+ data: data
61
+ });
62
+ return null;
63
+ });
64
+ }
65
+ }
66
+ KeyStorage.API_VERSION = GapApiVersion.V1;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ GET_CHECK_IN_CONFIG: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=check_in.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/endpoints/check_in.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
@@ -0,0 +1,3 @@
1
+ export default {
2
+ GET_CHECK_IN_CONFIG: "/v1/settings/check-in/get-config",
3
+ };
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ GET_CHECKOUT_CONFIG: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=checkout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/endpoints/checkout.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
@@ -0,0 +1,3 @@
1
+ export default {
2
+ GET_CHECKOUT_CONFIG: "/v1/settings/checkout/get-config",
3
+ };
@@ -0,0 +1,4 @@
1
+ export { default as keyStorage } from "./key_storage";
2
+ export { default as checkIn } from "./check_in";
3
+ export { default as checkout } from "./checkout";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as keyStorage } from "./key_storage";
2
+ export { default as checkIn } from "./check_in";
3
+ export { default as checkout } from "./checkout";
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ GET_KEY_STORAGE: string;
3
+ GET_LIST_KEY_STORAGE: string;
4
+ ADD_KEY_STORAGE: string;
5
+ UPDATE_KEY_STORAGE: string;
6
+ UPDATE_LIST_KEY_STORAGE: string;
7
+ DELETE_KEY_STORAGE: string;
8
+ };
9
+ export default _default;
10
+ //# sourceMappingURL=key_storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/endpoints/key_storage.ts"],"names":[],"mappings":";;;;;;;;AAAA,wBAOC"}
@@ -0,0 +1,8 @@
1
+ export default {
2
+ GET_KEY_STORAGE: "/v1/settings/key-storage/get",
3
+ GET_LIST_KEY_STORAGE: "/v1/settings/key-storage/list",
4
+ ADD_KEY_STORAGE: "/v1/settings/key-storage/add",
5
+ UPDATE_KEY_STORAGE: "/v1/settings/key-storage/update",
6
+ UPDATE_LIST_KEY_STORAGE: "/v1/settings/key-storage/update-list",
7
+ DELETE_KEY_STORAGE: "/v1/settings/key-storage/delete",
8
+ };
@@ -0,0 +1,6 @@
1
+ import * as Request from "../types/request";
2
+ import * as Response from "../types/response";
3
+ export default abstract class CheckIn {
4
+ static getCheckInConfig: (data: Request.GetCheckInConfigRequest) => Promise<Response.GetCheckInConfigResponse>;
5
+ }
6
+ //# sourceMappingURL=check_in.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/interfaces/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;IACjC,OAAc,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,KAAK,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;CACzH"}
@@ -0,0 +1,2 @@
1
+ export default class CheckIn {
2
+ }
@@ -0,0 +1,6 @@
1
+ import * as Request from "../types/request";
2
+ import * as Response from "../types/response";
3
+ export default abstract class Checkout {
4
+ static getCheckoutConfig: (data: Request.GetCheckoutConfigRequest) => Promise<Response.GetCheckoutConfigResponse>;
5
+ }
6
+ //# sourceMappingURL=checkout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/interfaces/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,QAAQ;IAClC,OAAc,iBAAiB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,KAAK,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;CAC5H"}
@@ -0,0 +1,2 @@
1
+ export default class Checkout {
2
+ }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/interfaces/index.ts"],"names":[],"mappings":""}
File without changes
@@ -0,0 +1,11 @@
1
+ import * as Request from "../types/request";
2
+ import * as Response from "../types/response";
3
+ export default abstract class KeyStorage {
4
+ static getKeyStorage: (data: Request.GetKeyStorageRequest) => Promise<Response.GetKeyStorageResponse>;
5
+ static getListKeyStorage: (data: Request.GetListKeyStorageRequest) => Promise<Response.GetListKeyStorageResponse>;
6
+ static addKeyStorage: (data: Request.AddKeyStorageRequest) => Promise<Response.GetListKeyStorageResponse>;
7
+ static updateKeyStorage: (data: Request.UpdateKeyStorageRequest) => Promise<Response.UpdateKeyStorageResponse>;
8
+ static updateListKeyStorage: (data: Request.UpdateListKeyStorageRequest) => Promise<Response.UpdateListKeyStorageResponse>;
9
+ static deleteKeyStorage: (data: Request.DeleteKeyStorageRequest) => Promise<Response.DeleteKeyStorageResponse>;
10
+ }
11
+ //# sourceMappingURL=key_storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/interfaces/key_storage.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,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,yBAAyB,CAAC,CAAC;IACzH,OAAc,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,KAAK,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;IACjH,OAAc,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,KAAK,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;IACtH,OAAc,oBAAoB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,KAAK,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC;IAClI,OAAc,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,KAAK,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;CACzH"}
@@ -0,0 +1,2 @@
1
+ export default class KeyStorage {
2
+ }
@@ -0,0 +1,20 @@
1
+ export declare function CheckInConfigModel(data: any): {
2
+ host_package: any;
3
+ service_feature: any;
4
+ staff_feature: any;
5
+ product_feature: any;
6
+ check_in: {
7
+ page_email: any;
8
+ page_birthday: any;
9
+ ask_email: any;
10
+ ask_birthday: any;
11
+ show_point: any;
12
+ page_membership: any;
13
+ show_policy: any;
14
+ printer_active: any;
15
+ phone: {
16
+ multiple_type: any;
17
+ };
18
+ };
19
+ };
20
+ //# sourceMappingURL=check_in.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/settings_api/1.0.0/models/check_in.ts"],"names":[],"mappings":"AAoBA,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;EAQ3C"}