gap-nodejs-sdk 1.0.255 → 1.0.256
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/api/appointment_api/1.0.0/api/appointment.d.ts +0 -2
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/api/appointment.js +0 -19
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +0 -2
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +0 -2
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +0 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/appointment.js +0 -96
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +19 -25
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +3 -3
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +25 -110
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +17 -17
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +6 -6
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +3 -3
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts +3 -3
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts.map +1 -1
- package/dist/api/base_api/1.0.0/types/response/auth.d.ts +6 -6
- package/dist/api/base_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/notification.js +1 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +4 -4
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +3 -10
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
- package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/go_check_in_api/index.d.ts +0 -1
- package/dist/api/go_check_in_api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/index.js +0 -1
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/api/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/api/order.js +20 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/endpoints/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/endpoints/order.js +2 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts +2 -0
- package/dist/api/pos_client_api/1.0.0/interfaces/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +11 -11
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +29 -15
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
- package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
- package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +34 -34
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +30 -28
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
- package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
- package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
- package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
- package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
- package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
- package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
- package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
- package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
- package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/gap-sdk.js +1 -1
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/http_client.js +2 -3
- package/dist/http_client/types.d.ts +5 -5
- package/dist/http_client/types.d.ts.map +1 -1
- package/dist/types/meta.d.ts +2 -2
- package/dist/types/meta.d.ts.map +1 -1
- package/dist/utils/form-data.d.ts.map +1 -1
- package/dist/utils/form-data.js +0 -2
- package/package.json +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/business.d.ts +0 -12
- package/dist/api/go_check_in_api/1.0.0/api/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/api/business.js +0 -40
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.d.ts +0 -7
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/business.js +0 -5
- package/dist/api/go_check_in_api/1.0.0/models/business.d.ts +0 -42
- package/dist/api/go_check_in_api/1.0.0/models/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/models/business.js +0 -47
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +0 -27
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/business.js +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +0 -44
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +0 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/business.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http_client.d.ts","sourceRoot":"","sources":["../../src/http_client/http_client.ts"],"names":[],"mappings":"AACA,OAAc,EAAiB,kBAAkB,EAAiB,MAAM,OAAO,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG9D,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAEhB,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EAEhB,MAAM,SAAS,CAAC;AAGjB,qBAAa,UAAU;IACnB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAgB;IAChD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAa;IACvC,OAAO,CAAC,WAAW,CAAgB;gBAEhB,MAAM,KAAA,EAAE,SAAS,KAAA,EAAE,KAAK,KAAA,EAAE,OAAO,GAAE,aAAgC;IAWzE,GAAG,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIvD,IAAI,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIzD,GAAG,CAAC,MA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AO,CAAC,eAAe,CAAC;IA+D9D,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI9B,SAAS,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,eAAe,CAAC;CAkEhF"}
|
|
@@ -101,9 +101,8 @@ export class HttpClient {
|
|
|
101
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
102
102
|
try {
|
|
103
103
|
const response = yield this.axios(options);
|
|
104
|
-
if (
|
|
105
|
-
|
|
106
|
-
!/^(2|OK|null)/gi.test((_c = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.result) === null || _c === void 0 ? void 0 : _c.status))) {
|
|
104
|
+
if (!/^(2|OK|null)/gi.test((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.status) ||
|
|
105
|
+
!/^(2|OK|null)/gi.test((_c = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.result) === null || _c === void 0 ? void 0 : _c.status)) {
|
|
107
106
|
const errorMessage = JSON.stringify(response.data.message || response.data.result.message, null, 2);
|
|
108
107
|
const headers = response.headers;
|
|
109
108
|
const code = response.status;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface HeaderParams {
|
|
2
2
|
[key: string]: string | number;
|
|
3
3
|
}
|
|
4
|
-
export type QueryParams = string | number | string[] | number[] | {
|
|
4
|
+
export declare type QueryParams = string | number | string[] | number[] | {
|
|
5
5
|
[key: string]: QueryParams;
|
|
6
6
|
};
|
|
7
7
|
export interface GetRequestParams {
|
|
@@ -15,14 +15,14 @@ export interface GetRequestParams {
|
|
|
15
15
|
headers?: HeaderParams;
|
|
16
16
|
tries?: number;
|
|
17
17
|
}
|
|
18
|
-
export type PostRequestParams = GetRequestParams & {
|
|
18
|
+
export declare type PostRequestParams = GetRequestParams & {
|
|
19
19
|
data: {
|
|
20
20
|
[key: string]: QueryParams;
|
|
21
21
|
} | string;
|
|
22
22
|
};
|
|
23
|
-
export type PutRequestParams = PostRequestParams;
|
|
24
|
-
export type DeleteRequestParams = GetRequestParams;
|
|
25
|
-
export type RequestParams = (GetRequestParams | PostRequestParams) & {
|
|
23
|
+
export declare type PutRequestParams = PostRequestParams;
|
|
24
|
+
export declare type DeleteRequestParams = GetRequestParams;
|
|
25
|
+
export declare type RequestParams = (GetRequestParams | PostRequestParams) & {
|
|
26
26
|
method: Method;
|
|
27
27
|
};
|
|
28
28
|
export declare enum Method {
|
|
@@ -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,
|
|
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,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,oBAAY,iBAAiB,GAAG,gBAAgB,GAAG;IAEjD,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA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"}
|
package/dist/types/meta.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Nullable } from "../base_type";
|
|
2
|
-
export type MetaResponse = Nullable<{
|
|
2
|
+
export declare type MetaResponse = Nullable<{
|
|
3
3
|
totalCount: number;
|
|
4
4
|
pageCount: number;
|
|
5
5
|
currentPage: number;
|
|
6
6
|
perPage: number;
|
|
7
7
|
}>;
|
|
8
|
-
export type DataWithMetaResponse<T> = {
|
|
8
|
+
export declare type DataWithMetaResponse<T> = {
|
|
9
9
|
data: T;
|
|
10
10
|
_meta: MetaResponse;
|
|
11
11
|
};
|
package/dist/types/meta.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAEtC,
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/types/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAEtC,oBAAY,YAAY,GAAG,QAAQ,CAAC;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,oBAAY,oBAAoB,CAAC,CAAC,IAAI;IAClC,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,YAAY,CAAA;CACtB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../src/utils/form-data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../src/utils/form-data.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,yBAU5B,CAAA"}
|
package/dist/utils/form-data.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import CategoryAbstractClass from "../interfaces/category";
|
|
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 Business extends Base implements CategoryAbstractClass {
|
|
7
|
-
static API_VERSION: GapApiVersion;
|
|
8
|
-
static getBusinessSiteInfo(query: Request.GetBusinessSiteInfoRequest): Promise<Response.GetBusinessSiteInfoResponse>;
|
|
9
|
-
static updateBusinessSiteInfo(data: Request.UpdateBusinessSiteInfoRequest): Promise<Response.UpdateBusinessSiteInfoResponse>;
|
|
10
|
-
static upload(data: Request.UploadRequest): Promise<Response.UploadResponse>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=business.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/api/business.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAK9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;WAEzB,mBAAmB,CAAC,KAAK,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC;WAU7G,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC;WAWrH,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC;CAU5F"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { business } from "../endpoints";
|
|
3
|
-
import Base from "../../../../base/Base";
|
|
4
|
-
import { GapApiVersion } from "../../../../base_type";
|
|
5
|
-
import * as Model from "../models";
|
|
6
|
-
import { objectToFormData } from "../../../../utils/form-data";
|
|
7
|
-
export default class Business extends Base {
|
|
8
|
-
static getBusinessSiteInfo(query) {
|
|
9
|
-
var _a;
|
|
10
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
11
|
-
const response = yield this.client.get({
|
|
12
|
-
path: business.GET_BUSINESS_SITE_INFO,
|
|
13
|
-
query: query
|
|
14
|
-
});
|
|
15
|
-
return Model.BusinessSiteInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
static updateBusinessSiteInfo(data) {
|
|
19
|
-
var _a;
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const formData = objectToFormData(data);
|
|
22
|
-
const response = yield this.client.post({
|
|
23
|
-
path: business.UPDATE_BUSINESS_SITE_INFO,
|
|
24
|
-
data: formData
|
|
25
|
-
});
|
|
26
|
-
return Model.BusinessSiteInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
static upload(data) {
|
|
30
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
-
const formData = objectToFormData(data);
|
|
32
|
-
const response = yield this.client.post({
|
|
33
|
-
path: business.UPLOAD,
|
|
34
|
-
data: formData
|
|
35
|
-
});
|
|
36
|
-
return (response || []).map((item) => Model.UploadModel(item));
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
Business.API_VERSION = GapApiVersion.V1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/business.ts"],"names":[],"mappings":";;;;;AAAA,wBAIC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare const BusinessSiteInfoModel: (data: any) => {
|
|
2
|
-
map_location: any;
|
|
3
|
-
id: any;
|
|
4
|
-
name: any;
|
|
5
|
-
address: any;
|
|
6
|
-
city: any;
|
|
7
|
-
postal_code: any;
|
|
8
|
-
state_code: any;
|
|
9
|
-
short_name: any;
|
|
10
|
-
phone: any;
|
|
11
|
-
open_time: any;
|
|
12
|
-
industry_id: any;
|
|
13
|
-
website: any;
|
|
14
|
-
facebook_url: any;
|
|
15
|
-
yelp_url: any;
|
|
16
|
-
google_url: any;
|
|
17
|
-
twitter_user: any;
|
|
18
|
-
instagram_user: any;
|
|
19
|
-
created_at: any;
|
|
20
|
-
updated_at: any;
|
|
21
|
-
logo_image: any;
|
|
22
|
-
cover_image: any;
|
|
23
|
-
business_code: any;
|
|
24
|
-
description: any;
|
|
25
|
-
check_yelp: any;
|
|
26
|
-
check_google: any;
|
|
27
|
-
country_code: any;
|
|
28
|
-
map_url: any;
|
|
29
|
-
order_active: any;
|
|
30
|
-
web_booking_active: any;
|
|
31
|
-
timezone: any;
|
|
32
|
-
};
|
|
33
|
-
export declare const UploadModel: (data: any) => {
|
|
34
|
-
name: any;
|
|
35
|
-
type: any;
|
|
36
|
-
size: any;
|
|
37
|
-
base_url: any;
|
|
38
|
-
path: any;
|
|
39
|
-
url: any;
|
|
40
|
-
delete_url: any;
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=business.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/business.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC9C,CAAA;AAED,eAAO,MAAM,WAAW,SAAU,GAAG;;;;;;;;CAUpC,CAAA"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export const BusinessSiteInfoModel = (data) => {
|
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
|
|
3
|
-
return {
|
|
4
|
-
map_location: (_a = data === null || data === void 0 ? void 0 : data.map_location) !== null && _a !== void 0 ? _a : null,
|
|
5
|
-
id: (_b = data === null || data === void 0 ? void 0 : data.id) !== null && _b !== void 0 ? _b : null,
|
|
6
|
-
name: (_c = data === null || data === void 0 ? void 0 : data.name) !== null && _c !== void 0 ? _c : null,
|
|
7
|
-
address: (_d = data === null || data === void 0 ? void 0 : data.address) !== null && _d !== void 0 ? _d : null,
|
|
8
|
-
city: (_e = data === null || data === void 0 ? void 0 : data.city) !== null && _e !== void 0 ? _e : null,
|
|
9
|
-
postal_code: (_f = data === null || data === void 0 ? void 0 : data.postal_code) !== null && _f !== void 0 ? _f : null,
|
|
10
|
-
state_code: (_g = data === null || data === void 0 ? void 0 : data.state_code) !== null && _g !== void 0 ? _g : null,
|
|
11
|
-
short_name: (_h = data === null || data === void 0 ? void 0 : data.short_name) !== null && _h !== void 0 ? _h : null,
|
|
12
|
-
phone: (_j = data === null || data === void 0 ? void 0 : data.phone) !== null && _j !== void 0 ? _j : null,
|
|
13
|
-
open_time: (_k = data === null || data === void 0 ? void 0 : data.open_time) !== null && _k !== void 0 ? _k : null,
|
|
14
|
-
industry_id: (_l = data === null || data === void 0 ? void 0 : data.industry_id) !== null && _l !== void 0 ? _l : null,
|
|
15
|
-
website: (_m = data === null || data === void 0 ? void 0 : data.website) !== null && _m !== void 0 ? _m : null,
|
|
16
|
-
facebook_url: (_o = data === null || data === void 0 ? void 0 : data.facebook_url) !== null && _o !== void 0 ? _o : null,
|
|
17
|
-
yelp_url: (_p = data === null || data === void 0 ? void 0 : data.yelp_url) !== null && _p !== void 0 ? _p : null,
|
|
18
|
-
google_url: (_q = data === null || data === void 0 ? void 0 : data.google_url) !== null && _q !== void 0 ? _q : null,
|
|
19
|
-
twitter_user: (_r = data === null || data === void 0 ? void 0 : data.twitter_user) !== null && _r !== void 0 ? _r : null,
|
|
20
|
-
instagram_user: (_s = data === null || data === void 0 ? void 0 : data.instagram_user) !== null && _s !== void 0 ? _s : null,
|
|
21
|
-
created_at: (_t = data === null || data === void 0 ? void 0 : data.created_at) !== null && _t !== void 0 ? _t : null,
|
|
22
|
-
updated_at: (_u = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _u !== void 0 ? _u : null,
|
|
23
|
-
logo_image: (_v = data === null || data === void 0 ? void 0 : data.logo_image) !== null && _v !== void 0 ? _v : null,
|
|
24
|
-
cover_image: (_w = data === null || data === void 0 ? void 0 : data.cover_image) !== null && _w !== void 0 ? _w : null,
|
|
25
|
-
business_code: (_x = data === null || data === void 0 ? void 0 : data.business_code) !== null && _x !== void 0 ? _x : null,
|
|
26
|
-
description: (_y = data === null || data === void 0 ? void 0 : data.description) !== null && _y !== void 0 ? _y : null,
|
|
27
|
-
check_yelp: (_z = data === null || data === void 0 ? void 0 : data.check_yelp) !== null && _z !== void 0 ? _z : null,
|
|
28
|
-
check_google: (_0 = data === null || data === void 0 ? void 0 : data.check_google) !== null && _0 !== void 0 ? _0 : null,
|
|
29
|
-
country_code: (_1 = data === null || data === void 0 ? void 0 : data.country_code) !== null && _1 !== void 0 ? _1 : null,
|
|
30
|
-
map_url: (_2 = data === null || data === void 0 ? void 0 : data.map_url) !== null && _2 !== void 0 ? _2 : null,
|
|
31
|
-
order_active: (_3 = data === null || data === void 0 ? void 0 : data.order_active) !== null && _3 !== void 0 ? _3 : null,
|
|
32
|
-
web_booking_active: (_4 = data === null || data === void 0 ? void 0 : data.web_booking_active) !== null && _4 !== void 0 ? _4 : null,
|
|
33
|
-
timezone: (_5 = data === null || data === void 0 ? void 0 : data.timezone) !== null && _5 !== void 0 ? _5 : null,
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export const UploadModel = (data) => {
|
|
37
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
38
|
-
return {
|
|
39
|
-
name: (_a = data === null || data === void 0 ? void 0 : data.name) !== null && _a !== void 0 ? _a : null,
|
|
40
|
-
type: (_b = data === null || data === void 0 ? void 0 : data.type) !== null && _b !== void 0 ? _b : null,
|
|
41
|
-
size: (_c = data === null || data === void 0 ? void 0 : data.size) !== null && _c !== void 0 ? _c : null,
|
|
42
|
-
base_url: (_d = data === null || data === void 0 ? void 0 : data.base_url) !== null && _d !== void 0 ? _d : null,
|
|
43
|
-
path: (_e = data === null || data === void 0 ? void 0 : data.path) !== null && _e !== void 0 ? _e : null,
|
|
44
|
-
url: (_f = data === null || data === void 0 ? void 0 : data.url) !== null && _f !== void 0 ? _f : null,
|
|
45
|
-
delete_url: (_g = data === null || data === void 0 ? void 0 : data.delete_url) !== null && _g !== void 0 ? _g : null,
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export type GetBusinessSiteInfoRequest = {};
|
|
2
|
-
export type UpdateBusinessSiteInfoRequest = {
|
|
3
|
-
map_location: any;
|
|
4
|
-
id: number;
|
|
5
|
-
city: string;
|
|
6
|
-
postal_code: string;
|
|
7
|
-
state_code: string;
|
|
8
|
-
facebook_url: string;
|
|
9
|
-
yelp_url: string;
|
|
10
|
-
google_url: string;
|
|
11
|
-
created_at: string;
|
|
12
|
-
updated_at: string;
|
|
13
|
-
logo_image: string;
|
|
14
|
-
cover_image: string;
|
|
15
|
-
description: string;
|
|
16
|
-
check_yelp: number;
|
|
17
|
-
check_google: number;
|
|
18
|
-
country_code: string;
|
|
19
|
-
map_url: string;
|
|
20
|
-
order_active: number;
|
|
21
|
-
web_booking_active: number;
|
|
22
|
-
timezone: string;
|
|
23
|
-
};
|
|
24
|
-
export type UploadRequest = {
|
|
25
|
-
file: File;
|
|
26
|
-
} | FormData;
|
|
27
|
-
//# sourceMappingURL=business.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAA;AAE3C,MAAM,MAAM,6BAA6B,GAAG;IACxC,YAAY,EAAE,GAAG,CAAA;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,EAAE,IAAI,CAAC;CACd,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetBusinessSiteInfoResponse = Nullable<{
|
|
3
|
-
map_location: any[];
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
address: string;
|
|
7
|
-
city: string;
|
|
8
|
-
postal_code: string;
|
|
9
|
-
state_code: string;
|
|
10
|
-
short_name: string;
|
|
11
|
-
phone: string;
|
|
12
|
-
open_time: any;
|
|
13
|
-
industry_id: any;
|
|
14
|
-
website: any;
|
|
15
|
-
facebook_url: string;
|
|
16
|
-
yelp_url: string;
|
|
17
|
-
google_url: string;
|
|
18
|
-
twitter_user: any;
|
|
19
|
-
instagram_user: any;
|
|
20
|
-
created_at: string;
|
|
21
|
-
updated_at: string;
|
|
22
|
-
logo_image: string;
|
|
23
|
-
cover_image: string;
|
|
24
|
-
business_code: any;
|
|
25
|
-
description: string;
|
|
26
|
-
check_yelp: number;
|
|
27
|
-
check_google: number;
|
|
28
|
-
country_code: string;
|
|
29
|
-
map_url: string;
|
|
30
|
-
order_active: number;
|
|
31
|
-
web_booking_active: string;
|
|
32
|
-
timezone: string;
|
|
33
|
-
}>;
|
|
34
|
-
export type UpdateBusinessSiteInfoResponse = GetBusinessSiteInfoResponse;
|
|
35
|
-
export type UploadResponse = Nullable<{
|
|
36
|
-
name: string;
|
|
37
|
-
type: string;
|
|
38
|
-
size: number;
|
|
39
|
-
base_url: string;
|
|
40
|
-
path: string;
|
|
41
|
-
url: string;
|
|
42
|
-
delete_url: string;
|
|
43
|
-
}[]>;
|
|
44
|
-
//# sourceMappingURL=business.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/business.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IAC/C,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA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