1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[432],{9645:function(t,i,e){var n=e(12179);t.exports=function(t){this.apiClient=t||n.instance,this.deleteListWithHttpInfo=function(t){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");return this.apiClient.callApi("/lists/{list_id}","DELETE",{list_id:t},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteList=function(t){return this.deleteListWithHttpInfo(t).then(function(t){return t.data})},this.deleteInterestCategoryWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","DELETE",{list_id:t,interest_category_id:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteInterestCategory=function(t,i){return this.deleteInterestCategoryWithHttpInfo(t,i).then(function(t){return t.data})},this.deleteInterestCategoryInterestWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==e)throw Error("Missing the required parameter 'interestId' when calling ");return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","DELETE",{list_id:t,interest_category_id:i,interest_id:e},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteInterestCategoryInterest=function(t,i,e){return this.deleteInterestCategoryInterestWithHttpInfo(t,i,e).then(function(t){return t.data})},this.deleteListMemberWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","DELETE",{list_id:t,subscriber_hash:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMember=function(t,i){return this.deleteListMemberWithHttpInfo(t,i).then(function(t){return t.data})},this.deleteListMemberNoteWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'noteId' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","DELETE",{list_id:t,subscriber_hash:i,note_id:e},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMemberNote=function(t,i,e){return this.deleteListMemberNoteWithHttpInfo(t,i,e).then(function(t){return t.data})},this.deleteListMergeFieldWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'mergeId' when calling ");return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","DELETE",{list_id:t,merge_id:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMergeField=function(t,i){return this.deleteListMergeFieldWithHttpInfo(t,i).then(function(t){return t.data})},this.deleteSegmentWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'segmentId' when calling ");return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","DELETE",{list_id:t,segment_id:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteSegment=function(t,i){return this.deleteSegmentWithHttpInfo(t,i).then(function(t){return t.data})},this.removeSegmentMemberWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'segmentId' when calling ");if(null==e)throw Error("Missing the required parameter 'subscriberHash' when calling ");return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members/{subscriber_hash}","DELETE",{list_id:t,segment_id:i,subscriber_hash:e},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.removeSegmentMember=function(t,i,e){return this.removeSegmentMemberWithHttpInfo(t,i,e).then(function(t){return t.data})},this.deleteListWebhookWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'webhookId' when calling ");return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","DELETE",{list_id:t,webhook_id:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListWebhook=function(t,i){return this.deleteListWebhookWithHttpInfo(t,i).then(function(t){return t.data})},this.getListMemberTagsWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),count:e.count,offset:e.offset};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/tags","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberTags=function(t,i,e){return this.getListMemberTagsWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getAllListsWithHttpInfo=function(t){t=t||{};var i={fields:this.apiClient.buildCollectionParam(t.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(t.excludeFields,"csv"),count:t.count,offset:t.offset,before_date_created:t.beforeDateCreated,since_date_created:t.sinceDateCreated,before_campaign_last_sent:t.beforeCampaignLastSent,since_campaign_last_sent:t.sinceCampaignLastSent,email:t.email,sort_field:t.sortField,sort_dir:t.sortDir,has_ecommerce_store:t.hasEcommerceStore,include_total_contacts:t.includeTotalContacts};return this.apiClient.callApi("/lists","GET",{},i,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getAllLists=function(t){return this.getAllListsWithHttpInfo(t).then(function(t){return t.data})},this.getListWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),include_total_contacts:i.includeTotalContacts};return this.apiClient.callApi("/lists/{list_id}","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getList=function(t,i){return this.getListWithHttpInfo(t,i).then(function(t){return t.data})},this.getListAbuseReportsWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),count:i.count,offset:i.offset};return this.apiClient.callApi("/lists/{list_id}/abuse-reports","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListAbuseReports=function(t,i){return this.getListAbuseReportsWithHttpInfo(t,i).then(function(t){return t.data})},this.getListAbuseReportDetailsWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'reportId' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),count:e.count,offset:e.offset};return this.apiClient.callApi("/lists/{list_id}/abuse-reports/{report_id}","GET",{list_id:t,report_id:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListAbuseReportDetails=function(t,i,e){return this.getListAbuseReportDetailsWithHttpInfo(t,i,e).then(function(t){return t.data})}
1,this.getListRecentActivityWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={count:i.count,offset:i.offset,fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/activity","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListRecentActivity=function(t,i){return this.getListRecentActivityWithHttpInfo(t,i).then(function(t){return t.data})},this.getListClientsWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/clients","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListClients=function(t,i){return this.getListClientsWithHttpInfo(t,i).then(function(t){return t.data})},this.getListGrowthHistoryWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),count:i.count,offset:i.offset,sort_field:i.sortField,sort_dir:i.sortDir};return this.apiClient.callApi("/lists/{list_id}/growth-history","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListGrowthHistory=function(t,i){return this.getListGrowthHistoryWithHttpInfo(t,i).then(function(t){return t.data})},this.getListGrowthHistoryByMonthWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'month' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/growth-history/{month}","GET",{list_id:t,month:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListGrowthHistoryByMonth=function(t,i,e){return this.getListGrowthHistoryByMonthWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListInterestCategoriesWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),count:i.count,offset:i.offset,type:i.type};return this.apiClient.callApi("/lists/{list_id}/interest-categories","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListInterestCategories=function(t,i){return this.getListInterestCategoriesWithHttpInfo(t,i).then(function(t){return t.data})},this.getInterestCategoryWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","GET",{list_id:t,interest_category_id:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getInterestCategory=function(t,i,e){return this.getInterestCategoryWithHttpInfo(t,i,e).then(function(t){return t.data})},this.listInterestCategoryInterestsWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),count:e.count,offset:e.offset};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests","GET",{list_id:t,interest_category_id:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listInterestCategoryInterests=function(t,i,e){return this.listInterestCategoryInterestsWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getInterestCategoryInterestWithHttpInfo=function(t,i,e,n){if(n=n||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==e)throw Error("Missing the required parameter 'interestId' when calling ");var r={fields:this.apiClient.buildCollectionParam(n.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","GET",{list_id:t,interest_category_id:i,interest_id:e},r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getInterestCategoryInterest=function(t,i,e,n){return this.getInterestCategoryInterestWithHttpInfo(t,i,e,n).then(function(t){return t.data})},this.getListLocationsWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/locations","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListLocations=function(t,i){return this.getListLocationsWithHttpInfo(t,i).then(function(t){return t.data})},this.getListMembersInfoWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),count:i.count,offset:i.offset,email_type:i.emailType,status:i.status,since_timestamp_opt:i.sinceTimestampOpt,before_timestamp_opt:i.beforeTimestampOpt,since_last_changed:i.sinceLastChanged,before_last_changed:i.beforeLastChanged,unique_email_id:i.uniqueEmailId,vip_only:i.vipOnly,interest_category_id:i.interestCategoryId,interest_ids:i.interestIds,interest_match:i.interestMatch,sort_field:i.sortField,sort_dir:i.sortDir,since_last_campaign:i.sinceLastCampaign,unsubscribed_since:i.unsubscribedSince};return this.apiClient.callApi("/lists/{list_id}/members","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMembersInfo=function(t,i){return this.getListMembersInfoWithHttpInfo(t,i).then(function(t){return t.data})},this.getListMemberWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMember=function(t,i,e){return this.getListMemberWithHttpInfo(t,i,e).then(function(t){return t.data})}
1,this.getListMemberActivityWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),action:this.apiClient.buildCollectionParam(e.action,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/activity","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberActivity=function(t,i,e){return this.getListMemberActivityWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListMemberActivityFeedWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),count:e.count,offset:e.offset,activity_filters:this.apiClient.buildCollectionParam(e.activityFilters,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/activity-feed","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberActivityFeed=function(t,i,e){return this.getListMemberActivityFeedWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListMemberEventsWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={count:e.count,offset:e.offset,fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/events","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberEvents=function(t,i,e){return this.getListMemberEventsWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListMemberGoalsWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/goals","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberGoals=function(t,i,e){return this.getListMemberGoalsWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListMemberNotesWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");var n={sort_field:e.sortField,sort_dir:e.sortDir,fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),count:e.count,offset:e.offset};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes","GET",{list_id:t,subscriber_hash:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberNotes=function(t,i,e){return this.getListMemberNotesWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListMemberNoteWithHttpInfo=function(t,i,e,n){if(n=n||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'noteId' when calling ");var r={fields:this.apiClient.buildCollectionParam(n.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(n.excludeFields,"csv")};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","GET",{list_id:t,subscriber_hash:i,note_id:e},r,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMemberNote=function(t,i,e,n){return this.getListMemberNoteWithHttpInfo(t,i,e,n).then(function(t){return t.data})},this.getListMergeFieldsWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),count:i.count,offset:i.offset,type:i.type,required:i.required};return this.apiClient.callApi("/lists/{list_id}/merge-fields","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMergeFields=function(t,i){return this.getListMergeFieldsWithHttpInfo(t,i).then(function(t){return t.data})},this.getListMergeFieldWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'mergeId' when calling ");var n={exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),fields:this.apiClient.buildCollectionParam(e.fields,"csv")};return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","GET",{list_id:t,merge_id:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListMergeField=function(t,i,e){return this.getListMergeFieldWithHttpInfo(t,i,e).then(function(t){return t.data})}
1,this.getSegmentWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'segmentId' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),include_cleaned:e.includeCleaned,include_transactional:e.includeTransactional,include_unsubscribed:e.includeUnsubscribed};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","GET",{list_id:t,segment_id:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSegment=function(t,i,e){return this.getSegmentWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getSegmentMembersListWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'segmentId' when calling ");var n={fields:this.apiClient.buildCollectionParam(e.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(e.excludeFields,"csv"),count:e.count,offset:e.offset,include_cleaned:e.includeCleaned,include_transactional:e.includeTransactional,include_unsubscribed:e.includeUnsubscribed};return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members","GET",{list_id:t,segment_id:i},n,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getSegmentMembersList=function(t,i,e){return this.getSegmentMembersListWithHttpInfo(t,i,e).then(function(t){return t.data})},this.getListSignupFormsWithHttpInfo=function(t){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");return this.apiClient.callApi("/lists/{list_id}/signup-forms","GET",{list_id:t},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListSignupForms=function(t){return this.getListSignupFormsWithHttpInfo(t).then(function(t){return t.data})},this.getListWebhooksWithHttpInfo=function(t){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");return this.apiClient.callApi("/lists/{list_id}/webhooks","GET",{list_id:t},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListWebhooks=function(t){return this.getListWebhooksWithHttpInfo(t).then(function(t){return t.data})},this.getListWebhookWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'webhookId' when calling ");return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","GET",{list_id:t,webhook_id:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.getListWebhook=function(t,i){return this.getListWebhookWithHttpInfo(t,i).then(function(t){return t.data})},this.updateListWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}","PATCH",{list_id:t},{},{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateList=function(t,i){return this.updateListWithHttpInfo(t,i).then(function(t){return t.data})},this.updateInterestCategoryWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}","PATCH",{list_id:t,interest_category_id:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateInterestCategory=function(t,i,e){return this.updateInterestCategoryWithHttpInfo(t,i,e).then(function(t){return t.data})},this.updateInterestCategoryInterestWithHttpInfo=function(t,i,e,n){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==e)throw Error("Missing the required parameter 'interestId' when calling ");if(null==n)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}","PATCH",{list_id:t,interest_category_id:i,interest_id:e},{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateInterestCategoryInterest=function(t,i,e,n){return this.updateInterestCategoryInterestWithHttpInfo(t,i,e,n).then(function(t){return t.data})},this.updateListMemberWithHttpInfo=function(t,i,e,n){if(n=n||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");var r={skip_merge_validation:n.skipMergeValidation};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","PATCH",{list_id:t,subscriber_hash:i},r,{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMember=function(t,i,e,n){return this.updateListMemberWithHttpInfo(t,i,e,n).then(function(t){return t.data})},this.updateListMemberNoteWithHttpInfo=function(t,i,e,n){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'noteId' when calling ");if(null==n)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}","PATCH",{list_id:t,subscriber_hash:i,note_id:e},{},{},{},n,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMemberNote=function(t,i,e,n){return this.updateListMemberNoteWithHttpInfo(t,i,e,n).then(function(t){return t.data})},this.updateListMergeFieldWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'mergeId' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/merge-fields/{merge_id}","PATCH",{list_id:t,merge_id:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMergeField=function(t,i,e){return this.updateListMergeFieldWithHttpInfo(t,i,e).then(function(t){return t.data})},this.updateSegmentWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'segmentId' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","PATCH",{list_id:t,segment_id:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateSegment=function(t,i,e){return this.updateSegmentWithHttpInfo(t,i,e).then(function(t){return t.data})},this.updateListWebhookWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'webhookId' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/webhooks/{webhook_id}","PATCH",{list_id:t,webhook_id:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListWebhook=function(t,i,e){return this.updateListWebhookWithHttpInfo(t,i,e).then(function(t){return t.data})},this.createListMemberEventWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/events","POST",{list_id:t,subscriber_hash:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListMemberEvent=function(t,i,e){return this.createListMemberEventWithHttpInfo(t,i,e).then(function(t){return t.data})},this.updateListMemberTagsWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/tags","POST",{list_id:t,subscriber_hash:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListMemberTags=function(t,i,e){return this.updateListMemberTagsWithHttpInfo(t,i,e).then(function(t){return t.data})},this.createListWithHttpInfo=function(t){if(null==t)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists","POST",{},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createList=function(t){return this.createListWithHttpInfo(t).then(function(t){return t.data})},this.batchListMembersWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");var n={skip_merge_validation:e.skipMergeValidation,skip_duplicate_check:e.skipDuplicateCheck};return this.apiClient.callApi("/lists/{list_id}","POST",{list_id:t},n,{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.batchListMembers=function(t,i,e){return this.batchListMembersWithHttpInfo(t,i,e).then(function(t){return t.data})},this.createListInterestCategoryWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/interest-categories","POST",{list_id:t},{},{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListInterestCategory=function(t,i){return this.createListInterestCategoryWithHttpInfo(t,i).then(function(t){return t.data})},this.createInterestCategoryInterestWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'interestCategoryId' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/interest-categories/{interest_category_id}/interests","POST",{list_id:t,interest_category_id:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createInterestCategoryInterest=function(t,i,e){return this.createInterestCategoryInterestWithHttpInfo(t,i,e).then(function(t){return t.data})},this.addListMemberWithHttpInfo=function(t,i,e){if(e=e||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");var n={skip_merge_validation:e.skipMergeValidation};return this.apiClient.callApi("/lists/{list_id}/members","POST",{list_id:t},n,{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addListMember=function(t,i,e){return this.addListMemberWithHttpInfo(t,i,e).then(function(t){return t.data})},this.deleteListMemberPermanentWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent","POST",{list_id:t,subscriber_hash:i},{},{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.deleteListMemberPermanent=function(t,i){return this.deleteListMemberPermanentWithHttpInfo(t,i).then(function(t){return t.data})},this.createListMemberNoteWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}/notes","POST",{list_id:t,subscriber_hash:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListMemberNote=function(t,i,e){return this.createListMemberNoteWithHttpInfo(t,i,e).then(function(t){return t.data})},this.addListMergeFieldWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/merge-fields","POST",{list_id:t},{},{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.addListMergeField=function(t,i){return this.addListMergeFieldWithHttpInfo(t,i).then(function(t){return t.data})},this.createSegmentWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/segments","POST",{list_id:t},{},{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createSegment=function(t,i){return this.createSegmentWithHttpInfo(t,i).then(function(t){return t.data})},this.batchSegmentMembersWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'body' when calling ");if(null==i)throw Error("Missing the required parameter 'listId' when calling ");if(null==e)throw Error("Missing the required parameter 'segmentId' when calling ");return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}","POST",{list_id:i,segment_id:e},{},{},{},t,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.batchSegmentMembers=function(t,i,e){return this.batchSegmentMembersWithHttpInfo(t,i,e).then(function(t){return t.data})},this.createSegmentMemberWithHttpInfo=function(t,i,e){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'segmentId' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/segments/{segment_id}/members","POST",{list_id:t,segment_id:i},{},{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createSegmentMember=function(t,i,e){return this.createSegmentMemberWithHttpInfo(t,i,e).then(function(t){return t.data})},this.updateListSignupFormWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("
1Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/signup-forms","POST",{list_id:t},{},{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.updateListSignupForm=function(t,i){return this.updateListSignupFormWithHttpInfo(t,i).then(function(t){return t.data})},this.createListWebhookWithHttpInfo=function(t,i){if(null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'body' when calling ");return this.apiClient.callApi("/lists/{list_id}/webhooks","POST",{list_id:t},{},{},{},i,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.createListWebhook=function(t,i){return this.createListWebhookWithHttpInfo(t,i).then(function(t){return t.data})},this.listSegmentsWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={fields:this.apiClient.buildCollectionParam(i.fields,"csv"),exclude_fields:this.apiClient.buildCollectionParam(i.excludeFields,"csv"),count:i.count,offset:i.offset,type:i.type,since_created_at:i.sinceCreatedAt,before_created_at:i.beforeCreatedAt,include_cleaned:i.includeCleaned,include_transactional:i.includeTransactional,include_unsubscribed:i.includeUnsubscribed,since_updated_at:i.sinceUpdatedAt,before_updated_at:i.beforeUpdatedAt};return this.apiClient.callApi("/lists/{list_id}/segments","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.listSegments=function(t,i){return this.listSegmentsWithHttpInfo(t,i).then(function(t){return t.data})},this.setListMemberWithHttpInfo=function(t,i,e,n){if(n=n||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");if(null==i)throw Error("Missing the required parameter 'subscriberHash' when calling ");if(null==e)throw Error("Missing the required parameter 'body' when calling ");var r={skip_merge_validation:n.skipMergeValidation};return this.apiClient.callApi("/lists/{list_id}/members/{subscriber_hash}","PUT",{list_id:t,subscriber_hash:i},r,{},{},e,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.setListMember=function(t,i,e,n){return this.setListMemberWithHttpInfo(t,i,e,n).then(function(t){return t.data})},this.tagSearchWithHttpInfo=function(t,i){if(i=i||{},null==t)throw Error("Missing the required parameter 'listId' when calling ");var e={name:i.name};return this.apiClient.callApi("/lists/{list_id}/tag-search","GET",{list_id:t},e,{},{},null,["basicAuth"],["application/json"],["application/json","application/problem+json"],"application/json")},this.tagSearch=function(t,i){return this.tagSearchWithHttpInfo(t,i).then(function(t){return t.data})}}}}]);
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.