gap-nodejs-sdk 1.0.447 → 1.0.449
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/types/request/appointment.d.ts +27 -27
- 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 +36 -36
- 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/api/auth.js +1 -1
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts +4 -4
- 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 +9 -9
- 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/types/request/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts.map +1 -1
- 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/checkin.d.ts +11 -11
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +8 -8
- 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/dashboard.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/dashboard.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/group.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/request/group.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/invoice.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/invoice.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
- 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/review.d.ts +16 -16
- package/dist/api/go_check_in_api/1.0.0/types/request/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts +6 -6
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +7 -7
- 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 +4 -4
- 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/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +25 -25
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.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/checkin.d.ts +29 -29
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +13 -13
- 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/dashboard.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/response/dashboard.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/group.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/response/group.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/invoice.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/invoice.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
- 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/review.d.ts +22 -22
- package/dist/api/go_check_in_api/1.0.0/types/response/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +11 -11
- 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 +5 -5
- 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_order_api/1.0.0/types/request/category.d.ts +3 -3
- package/dist/api/go_order_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/request/item.d.ts +9 -9
- package/dist/api/go_order_api/1.0.0/types/request/item.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/request/modifier.d.ts +4 -4
- package/dist/api/go_order_api/1.0.0/types/request/modifier.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/response/category.d.ts +8 -8
- package/dist/api/go_order_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/response/item.d.ts +8 -8
- package/dist/api/go_order_api/1.0.0/types/response/item.d.ts.map +1 -1
- package/dist/api/go_order_api/1.0.0/types/response/modifier.d.ts +5 -5
- package/dist/api/go_order_api/1.0.0/types/response/modifier.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/payroll.js +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
- 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 +13 -13
- 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/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/device.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +9 -9
- 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 +5 -5
- 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 +18 -18
- 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 +14 -14
- 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/rate.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/rate.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/report.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/report.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 +36 -36
- 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/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/response/device.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +6 -6
- 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 +10 -10
- 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 +31 -31
- 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 +21 -21
- 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/rate.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/rate.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/report.d.ts +8 -8
- package/dist/api/pos_client_api/1.0.0/types/response/report.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 +2 -2
- 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 +2 -2
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/base_type.d.ts +2 -2
- package/dist/base_type.d.ts.map +1 -1
- package/dist/gap-sdk.js +1 -2
- 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/md5.d.ts +2 -0
- package/dist/utils/md5.d.ts.map +1 -0
- package/dist/utils/md5.js +100 -0
- package/package.json +1 -2
- package/dist/gap-sdk.js.LICENSE.txt +0 -6
|
@@ -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 {
|
|
@@ -16,14 +16,14 @@ export interface GetRequestParams {
|
|
|
16
16
|
tries?: number;
|
|
17
17
|
responseType?: "arraybuffer" | "blob" | "document" | "json" | "text" | "stream";
|
|
18
18
|
}
|
|
19
|
-
export type PostRequestParams = GetRequestParams & {
|
|
19
|
+
export declare type PostRequestParams = GetRequestParams & {
|
|
20
20
|
data: {
|
|
21
21
|
[key: string]: QueryParams;
|
|
22
22
|
} | string;
|
|
23
23
|
};
|
|
24
|
-
export type PutRequestParams = PostRequestParams;
|
|
25
|
-
export type DeleteRequestParams = GetRequestParams;
|
|
26
|
-
export type RequestParams = (GetRequestParams | PostRequestParams) & {
|
|
24
|
+
export declare type PutRequestParams = PostRequestParams;
|
|
25
|
+
export declare type DeleteRequestParams = GetRequestParams;
|
|
26
|
+
export declare type RequestParams = (GetRequestParams | PostRequestParams) & {
|
|
27
27
|
method: Method;
|
|
28
28
|
};
|
|
29
29
|
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;IACf,YAAY,CAAC,EACT,aAAa,GACb,MAAM,GACN,UAAU,GACV,MAAM,GACN,MAAM,GACN,QAAQ,CAAC;CACd;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/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"md5.d.ts","sourceRoot":"","sources":["../../src/utils/md5.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,gBAAiB,MAAM,WAyCtC,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export const md5 = (inputString) => {
|
|
2
|
+
var hc = "0123456789abcdef";
|
|
3
|
+
function rh(n) { var j, s = ""; for (j = 0; j <= 3; j++)
|
|
4
|
+
s += hc.charAt((n >> (j * 8 + 4)) & 0x0F) + hc.charAt((n >> (j * 8)) & 0x0F); return s; }
|
|
5
|
+
function ad(x, y) { var l = (x & 0xFFFF) + (y & 0xFFFF); var m = (x >> 16) + (y >> 16) + (l >> 16); return (m << 16) | (l & 0xFFFF); }
|
|
6
|
+
function rl(n, c) { return (n << c) | (n >>> (32 - c)); }
|
|
7
|
+
function cm(q, a, b, x, s, t) { return ad(rl(ad(ad(a, q), ad(x, t)), s), b); }
|
|
8
|
+
function ff(a, b, c, d, x, s, t) { return cm((b & c) | ((~b) & d), a, b, x, s, t); }
|
|
9
|
+
function gg(a, b, c, d, x, s, t) { return cm((b & d) | (c & (~d)), a, b, x, s, t); }
|
|
10
|
+
function hh(a, b, c, d, x, s, t) { return cm(b ^ c ^ d, a, b, x, s, t); }
|
|
11
|
+
function ii(a, b, c, d, x, s, t) { return cm(c ^ (b | (~d)), a, b, x, s, t); }
|
|
12
|
+
function sb(x) {
|
|
13
|
+
var i;
|
|
14
|
+
var nblk = ((x.length + 8) >> 6) + 1;
|
|
15
|
+
var blks = new Array(nblk * 16);
|
|
16
|
+
for (i = 0; i < nblk * 16; i++)
|
|
17
|
+
blks[i] = 0;
|
|
18
|
+
for (i = 0; i < x.length; i++)
|
|
19
|
+
blks[i >> 2] |= x.charCodeAt(i) << ((i % 4) * 8);
|
|
20
|
+
blks[i >> 2] |= 0x80 << ((i % 4) * 8);
|
|
21
|
+
blks[nblk * 16 - 2] = x.length * 8;
|
|
22
|
+
return blks;
|
|
23
|
+
}
|
|
24
|
+
var i, x = sb("" + inputString), a = 1732584193, b = -271733879, c = -1732584194, d = 271733878, olda, oldb, oldc, oldd;
|
|
25
|
+
for (i = 0; i < x.length; i += 16) {
|
|
26
|
+
olda = a;
|
|
27
|
+
oldb = b;
|
|
28
|
+
oldc = c;
|
|
29
|
+
oldd = d;
|
|
30
|
+
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
|
|
31
|
+
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
|
|
32
|
+
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
|
|
33
|
+
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
|
|
34
|
+
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
|
|
35
|
+
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
|
|
36
|
+
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
|
|
37
|
+
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
|
|
38
|
+
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
|
|
39
|
+
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
|
|
40
|
+
c = ff(c, d, a, b, x[i + 10], 17, -42063);
|
|
41
|
+
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
|
|
42
|
+
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
|
|
43
|
+
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
|
|
44
|
+
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
|
|
45
|
+
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
|
|
46
|
+
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
|
|
47
|
+
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
|
|
48
|
+
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
|
|
49
|
+
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
|
|
50
|
+
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
|
|
51
|
+
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
|
|
52
|
+
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
|
|
53
|
+
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
|
|
54
|
+
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
|
|
55
|
+
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
|
|
56
|
+
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
|
|
57
|
+
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
|
|
58
|
+
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
|
|
59
|
+
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
|
|
60
|
+
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
|
|
61
|
+
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
|
|
62
|
+
a = hh(a, b, c, d, x[i + 5], 4, -378558);
|
|
63
|
+
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
|
|
64
|
+
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
|
|
65
|
+
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
|
|
66
|
+
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
|
|
67
|
+
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
|
|
68
|
+
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
|
|
69
|
+
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
|
|
70
|
+
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
|
|
71
|
+
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
|
|
72
|
+
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
|
|
73
|
+
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
|
|
74
|
+
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
|
|
75
|
+
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
|
|
76
|
+
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
|
|
77
|
+
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
|
|
78
|
+
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
|
|
79
|
+
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
|
|
80
|
+
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
|
|
81
|
+
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
|
|
82
|
+
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
|
|
83
|
+
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
|
|
84
|
+
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
|
|
85
|
+
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
|
|
86
|
+
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
|
|
87
|
+
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
|
|
88
|
+
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
|
|
89
|
+
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
|
|
90
|
+
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
|
|
91
|
+
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
|
|
92
|
+
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
|
|
93
|
+
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
|
|
94
|
+
a = ad(a, olda);
|
|
95
|
+
b = ad(b, oldb);
|
|
96
|
+
c = ad(c, oldc);
|
|
97
|
+
d = ad(d, oldd);
|
|
98
|
+
}
|
|
99
|
+
return rh(a) + rh(b) + rh(c) + rh(d);
|
|
100
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gap-nodejs-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.449",
|
|
4
4
|
"description": "GCI App Platform Library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"axios": "^0.27.2",
|
|
36
36
|
"dayjs": "^1.11.3",
|
|
37
37
|
"js-file-download": "^0.4.12",
|
|
38
|
-
"md5": "^2.3.0",
|
|
39
38
|
"tslib": "^2.4.0"
|
|
40
39
|
}
|
|
41
40
|
}
|