export const getUpdateSubscriberResponseClassic = {
	id: 1343965485,
	email: 'demo@mailerlite.com',
	sent: 0,
	opened: 0,
	clicked: 0,
	type: 'unsubscribed',
	fields: [
		{
			key: 'email',
			value: 'demo@mailerlite.com',
			type: 'TEXT',
		},
		{
			key: 'name',
			value: 'Demo',
			type: 'TEXT',
		},
		{
			key: 'last_name',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'company',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'country',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'city',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'phone',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'state',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'zip',
			value: '',
			type: 'TEXT',
		},
	],
	date_subscribe: null,
	date_unsubscribe: '2016-04-04 12:07:26',
	date_created: '2016-04-04',
	date_updated: null,
};
export const getSubscriberResponseClassic = {
	id: 1343965485,
	name: 'John',
	email: 'demo@mailerlite.com',
	sent: 0,
	opened: 0,
	clicked: 0,
	type: 'active',
	signup_ip: '127.0.0.1',
	signup_timestamp: '2018-01-01 01:01:01',
	confirmation_ip: '127.0.0.2',
	confirmation_timestamp: '2018-01-01 01:01:02',
	fields: [
		{
			key: 'email',
			value: 'demo@mailerlite.com',
			type: 'TEXT',
		},
		{
			key: 'name',
			value: 'John',
			type: 'TEXT',
		},
		{
			key: 'last_name',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'company',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'country',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'city',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'phone',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'state',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'zip',
			value: '',
			type: 'TEXT',
		},
	],
	date_subscribe: null,
	date_unsubscribe: null,
	date_created: '2016-04-04',
	date_updated: null,
};
export const getCreateResponseClassic = {
	id: 1343965485,
	name: 'John',
	email: 'demo@mailerlite.com',
	sent: 0,
	opened: 0,
	clicked: 0,
	type: 'active',
	fields: [
		{
			key: 'email',
			value: 'demo@mailerlite.com',
			type: 'TEXT',
		},
		{
			key: 'name',
			value: 'John',
			type: 'TEXT',
		},
		{
			key: 'last_name',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'company',
			value: 'MailerLite',
			type: 'TEXT',
		},
		{
			key: 'country',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'city',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'phone',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'state',
			value: '',
			type: 'TEXT',
		},
		{
			key: 'zip',
			value: '',
			type: 'TEXT',
		},
	],
	date_subscribe: null,
	date_unsubscribe: null,
	date_created: '2016-04-04 12:00:00',
	date_updated: '2016-04-04 12:00:00',
};
export const getAllSubscribersResponseClassic = [
	{
		id: 1343965485,
		name: 'John',
		email: 'demo@mailerlite.com',
		sent: 0,
		opened: 0,
		clicked: 0,
		type: 'active',
		fields: [
			{
				key: 'email',
				value: 'demo@mailerlite.com',
				type: 'TEXT',
			},
			{
				key: 'name',
				value: 'John',
				type: 'TEXT',
			},
			{
				key: 'last_name',
				value: '',
				type: 'TEXT',
			},
			{
				key: 'company',
				value: '',
				type: 'TEXT',
			},
			{
				key: 'country',
				value: '',
				type: 'TEXT',
			},
			{
				key: 'city',
				value: '',
				type: 'TEXT',
			},
			{
				key: 'phone',
				value: '',
				type: 'TEXT',
			},
			{
				key: 'state',
				value: '',
				type: 'TEXT',
			},
			{
				key: 'zip',
				value: '',
				type: 'TEXT',
			},
		],
		date_subscribe: null,
		date_unsubscribe: null,
		date_created: '2016-04-04',
		date_updated: null,
	},
];

export const getUpdateSubscriberResponseV2 = {
	data: {
		id: '139872142007207563',
		email: 'user@n8n.io',
		status: 'junk',
		source: 'api',
		sent: 0,
		opens_count: 0,
		clicks_count: 0,
		open_rate: 0,
		click_rate: 0,
		ip_address: null,
		subscribed_at: '2024-12-05 09:54:29',
		unsubscribed_at: null,
		created_at: '2024-12-05 09:54:29',
		updated_at: '2024-12-05 10:20:32',
		fields: {
			name: null,
			last_name: null,
			company: null,
			country: null,
			city: null,
			phone: null,
			state: null,
			z_i_p: null,
		},
		groups: [],
		opted_in_at: null,
		optin_ip: '8.8.8.8',
	},
};
export const getCreateResponseV2 = {
	data: {
		id: '139872142007207563',
		email: 'user@n8n.io',
		status: 'junk',
		source: 'api',
		sent: 0,
		opens_count: 0,
		clicks_count: 0,
		open_rate: 0,
		click_rate: 0,
		ip_address: null,
		subscribed_at: '2024-12-05 09:54:29',
		unsubscribed_at: null,
		created_at: '2024-12-05 09:54:29',
		updated_at: '2024-12-05 10:20:32',
		fields: {
			name: null,
			last_name: null,
			company: null,
			country: null,
			city: null,
			phone: null,
			state: null,
			z_i_p: null,
		},
		groups: [],
		opted_in_at: null,
		optin_ip: '8.8.8.8',
	},
};
export const getSubscriberResponseV2 = {
	data: {
		id: '139872142007207563',
		email: 'user@n8n.io',
		status: 'junk',
		source: 'api',
		sent: 0,
		opens_count: 0,
		clicks_count: 0,
		open_rate: 0,
		click_rate: 0,
		ip_address: null,
		subscribed_at: '2024-12-05 09:54:29',
		unsubscribed_at: null,
		created_at: '2024-12-05 09:54:29',
		updated_at: '2024-12-05 10:20:32',
		fields: {
			name: null,
			last_name: null,
			company: null,
			country: null,
			city: null,
			phone: null,
			state: null,
			z_i_p: null,
		},
		groups: [],
		opted_in_at: null,
		optin_ip: '8.8.8.8',
	},
};
export const getAllSubscribersResponseV2 = {
	data: [
		{
			id: '139872142007207563',
			email: 'user@n8n.io',
			status: 'junk',
			source: 'api',
			sent: 0,
			opens_count: 0,
			clicks_count: 0,
			open_rate: 0,
			click_rate: 0,
			ip_address: null,
			subscribed_at: '2024-12-05 09:54:29',
			unsubscribed_at: null,
			created_at: '2024-12-05 09:54:29',
			updated_at: '2024-12-05 10:20:32',
			fields: {
				name: null,
				last_name: null,
				company: null,
				country: null,
				city: null,
				phone: null,
				state: null,
				z_i_p: null,
			},
			opted_in_at: null,
			optin_ip: '8.8.8.8',
		},
		{
			id: '139059851540038710',
			email: 'nathan@n8n.io',
			status: 'junk',
			source: 'api',
			sent: 0,
			opens_count: 0,
			clicks_count: 0,
			open_rate: 0,
			click_rate: 0,
			ip_address: null,
			subscribed_at: null,
			unsubscribed_at: null,
			created_at: '2024-11-26 10:43:28',
			updated_at: '2024-11-27 10:09:34',
			fields: {
				name: 'Nathan',
				last_name: 'Workflow',
				company: null,
				country: null,
				city: null,
				phone: null,
				state: null,
				z_i_p: null,
			},
			opted_in_at: null,
			optin_ip: null,
		},
	],
	links: {
		first: null,
		last: null,
		prev: null,
		next: null,
	},
	meta: {
		path: 'https://connect.mailerlite.com/api/subscribers',
		per_page: 2,
		next_cursor: null,
		prev_cursor: null,
	},
};
