PageSourceSearch

https://www.tuifly.com/chunk-U2HGVZEG.js

js tuifly.com collected 2026-10-02 04:15:09 UTC 2,429 bytes, 1 lines download raw bytes

1import{c as r,d as i}from"./chunk-FAIA5QRF.js";import{j as o}from"./chunk-V3P3RFZI.js";var y=r("[ANALYTICS] Notification Subscribed",i());var l=r("[ANALYTICS] Notification Unsubscribed",i());var p=class{constructor(s,e){this.personsClient=s,this.profileDataStore=e}fetch(){return o(this,null,function*(){let s=this.profileDataStore.person?.personKey,e=yield this.personsClient.nsk_v1_persons_personKey_travelNotifications_get(s);return this.profileDataStore.setTravelNotifications({notifications:e.body.data}),e})}add(s){return o(this,null,function*(){let e=this.profileDataStore.person?.personKey;return yield this.personsClient.nsk_v1_persons_personKey_travelNotifications_post(e,s)})}fetchByKey(s){return o(this,null,function*(){let e=this.profileDataStore.person?.personKey;return yield this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_get(e,s)})}modifyByKey(s,e){return o(this,null,function*(){let t=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_put(t,s,e)})}patchByKey(s,e){return o(this,null,function*(){let t=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_patch(t,s,e)})}deleteByKey(s){return o(this,null,function*(){let e=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_delete(e,s)})}fetchtNotificationEvents(s){return o(this,null,function*(){let e=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_events_get(e,s)})}addNotificationEvent(s,e){return o(this,null,function*(){let t=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_events_post(t,s,e)})}fetchNotificationEventsByType(s,e){return o(this,null,function*(){let t=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_events_eventType_get(t,s,e)})}deleteNotificationEventByTypekey(s,e){return o(this,null,function*(){let t=this.profileDataStore.person?.personKey;return this.personsClient.nsk_v1_persons_personKey_travelNotifications_travelNotificationKey_events_eventType_delete(t,s,e)})}};export{y as a,l as b,p as c};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.