// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Members API Add should fail when comped flag is passed in but Stripe is not enabled 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "376", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Add should fail when comped flag is passed in but Stripe is not enabled 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Missing Stripe connection. Attempting to import members with Stripe data when there is no Stripe account connected.", "details": null, "help": "You need to connect to Stripe to import Stripe customers. ", "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot save member.", "property": "comped", "type": "ValidationError", }, ], } `; exports[`Members API Add should fail when passing incorrect email_type query parameter 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "249", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Add should fail when passing incorrect email_type query parameter 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Validation (AllowedValues) failed for email_type", "details": null, "help": null, "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot save member.", "property": null, "type": "ValidationError", }, ], } `; exports[`Members API Can add and send a signup confirmation email 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member_getting_confirmation@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Array [], "name": "Send Me Confirmation", "note": null, "products": Array [], "status": "free", "subscribed": true, "subscriptions": Array [], "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Can add and send a signup confirmation email 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "457", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "location": Any, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can add and send a signup confirmation email 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin", "x-powered-by": "Express", } `; exports[`Members API Can delete a member without cancelling Stripe Subscription 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "438", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "location": Any, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can delete a member without cancelling Stripe Subscription 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "Member2Delete@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Array [], "name": "Member 2 Delete", "note": null, "products": Array [], "status": "free", "subscribed": true, "subscriptions": Array [], "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Can delete a member without cancelling Stripe Subscription 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin", "x-powered-by": "Express", } `; exports[`Members API Can delete a member without cancelling Stripe Subscription 4: [body] 1`] = `Object {}`; exports[`Members API Can order by email_open_rate 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "7008", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can order by email_open_rate 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "trialing@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Ray Stantz", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "comped@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Vinz Clortho", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Winston Zeddemore", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip-paid@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Peter Venkman", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "with-product@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Dana Barrett", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 8, }, }, } `; exports[`Members API Can order by email_open_rate 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "7008", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can order by email_open_rate 4: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "trialing@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Ray Stantz", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "comped@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Vinz Clortho", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Winston Zeddemore", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip-paid@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Peter Venkman", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "with-product@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Dana Barrett", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 8, }, }, } `; exports[`Members API Can search by case-insensitive email 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Array [], "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Array [], "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Can search by case-insensitive email 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "491", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can update a member with subscription included, change name to "Updated name" 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1234", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can update a member with subscription included, change name to "Updated name" 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Updated name", "note": null, "products": Array [], "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Can update a member with subscription included, change name to "Updated name" 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1234", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can update a member with subscription included, change name to "Updated name" 4: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Updated name", "note": null, "products": Array [], "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Can update a member with subscription included, change name to updated name 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1296", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can update a member with subscription included, change name to updated name 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Can update a member with subscription included, change name to updated name 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1234", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Can update a member with subscription included, change name to updated name 4: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Updated name", "note": null, "products": Array [], "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Errors when fetching stats with unknown days param value 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "248", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Errors when fetching stats with unknown days param value 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Validation (matches) failed for id undefined.id", "details": null, "help": null, "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot read member.", "property": null, "type": "ValidationError", }, ], } `; exports[`Members API Members API with Stripe Add should fail when passing incorrect email_type query parameter 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "249", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Add should fail when passing incorrect email_type query parameter 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Validation (AllowedValues) failed for email_type", "details": null, "help": null, "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot save member.", "property": null, "type": "ValidationError", }, ], } `; exports[`Members API Members API with Stripe Can add and send a signup confirmation email 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member_getting_confirmation@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Array [], "name": "Send Me Confirmation", "note": null, "products": Array [], "status": "free", "subscribed": true, "subscriptions": Array [], "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Members API with Stripe Can add and send a signup confirmation email 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "457", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "location": StringMatching /https\\?:\\\\/\\\\/\\.\\*\\?\\\\/members\\\\/\\[a-f0-9\\]\\{24\\}\\\\//, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Can add and send a signup confirmation email 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Can delete a member without cancelling Stripe Subscription 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Can delete a member without cancelling Stripe Subscription 2: [body] 1`] = `Object {}`; exports[`Members API Members API with Stripe Can order by email_open_rate 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "7008", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Can order by email_open_rate 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "trialing@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Ray Stantz", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "comped@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Vinz Clortho", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Winston Zeddemore", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip-paid@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Peter Venkman", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "with-product@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Dana Barrett", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 8, }, }, } `; exports[`Members API Members API with Stripe Can order by email_open_rate 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "7008", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Can order by email_open_rate 4: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "trialing@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Ray Stantz", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "comped@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Vinz Clortho", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Winston Zeddemore", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip-paid@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Peter Venkman", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "with-product@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Dana Barrett", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 8, }, }, } `; exports[`Members API Members API with Stripe Can update a member with subscription included, change name to "Updated name" 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1234", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Can update a member with subscription included, change name to "Updated name" 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Updated name", "note": null, "products": Array [], "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API Members API with Stripe Errors when fetching stats with unknown days param value 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "248", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Errors when fetching stats with unknown days param value 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Validation (matches) failed for id undefined.id", "details": null, "help": null, "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot read member.", "property": null, "type": "ValidationError", }, ], } `; exports[`Members API Members API with Stripe Sarch by case-insensitive name egg receives member with name Mr Egg 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Members API with Stripe Sarch by case-insensitive name egg receives member with name Mr Egg 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "644", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Sarch for paid members retrieves member with email paid@test.com 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Members API with Stripe Sarch for paid members retrieves member with email paid@test.com 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1296", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Search by case-insensitive email MEMBER2 receives member with email member2@test.com 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Members API with Stripe Search by case-insensitive email MEMBER2 receives member with email member2@test.com 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "491", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Search for non existing member returns empty result set 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "102", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Members API with Stripe Search for non existing member returns empty result set 2: [body] 1`] = ` Object { "members": Array [], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 0, }, }, } `; exports[`Members API Sarch by case-insensitive name egg receives member with name Mr Egg 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Sarch by case-insensitive name egg receives member with name Mr Egg 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "644", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Sarch for paid members retrieves member with email paid@test.com 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Sarch for paid members retrieves member with email paid@test.com 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1296", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Search by case-insensitive email MEMBER2 receives member with email member2@test.com 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API Search by case-insensitive email MEMBER2 receives member with email member2@test.com 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "491", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Search for non existing member returns empty result set 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "102", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API Search for non existing member returns empty result set 2: [body] 1`] = ` Object { "members": Array [], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 0, }, }, } `; exports[`Members API with Stripe Add should fail when passing incorrect email_type query parameter 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "249", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Add should fail when passing incorrect email_type query parameter 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Validation (AllowedValues) failed for email_type", "details": null, "help": null, "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot save member.", "property": null, "type": "ValidationError", }, ], } `; exports[`Members API with Stripe Can add and send a signup confirmation email 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member_getting_confirmation@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Array [], "name": "Send Me Confirmation", "note": null, "products": Array [], "status": "free", "subscribed": true, "subscriptions": Array [], "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API with Stripe Can add and send a signup confirmation email 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "457", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "location": Any, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can add and send a signup confirmation email 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can delete a member without cancelling Stripe Subscription 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "438", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "location": Any, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can delete a member without cancelling Stripe Subscription 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "Member2Delete@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Array [], "name": "Member 2 Delete", "note": null, "products": Array [], "status": "free", "subscribed": true, "subscriptions": Array [], "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API with Stripe Can delete a member without cancelling Stripe Subscription 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can delete a member without cancelling Stripe Subscription 4: [body] 1`] = `Object {}`; exports[`Members API with Stripe Can order by email_open_rate 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "7008", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can order by email_open_rate 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "trialing@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Ray Stantz", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "comped@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Vinz Clortho", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Winston Zeddemore", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip-paid@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Peter Venkman", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "with-product@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Dana Barrett", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 8, }, }, } `; exports[`Members API with Stripe Can order by email_open_rate 3: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "7008", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can order by email_open_rate 4: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "trialing@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Ray Stantz", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "comped@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Vinz Clortho", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Winston Zeddemore", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "vip-paid@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Peter Venkman", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "with-product@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Dana Barrett", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 8, }, }, } `; exports[`Members API with Stripe Can update a member with subscription included, change name to "Updated name" 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1234", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Can update a member with subscription included, change name to "Updated name" 2: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Updated name", "note": null, "products": Array [], "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], } `; exports[`Members API with Stripe Errors when fetching stats with unknown days param value 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "248", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Errors when fetching stats with unknown days param value 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Validation (matches) failed for id undefined.id", "details": null, "help": null, "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot read member.", "property": null, "type": "ValidationError", }, ], } `; exports[`Members API with Stripe Sarch by case-insensitive name egg receives member with name Mr Egg 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member1@test.com", "email_count": 0, "email_open_rate": null, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Mr Egg", "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API with Stripe Sarch by case-insensitive name egg receives member with name Mr Egg 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "644", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Sarch for paid members retrieves member with email paid@test.com 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "paid@test.com", "email_count": 0, "email_open_rate": 80, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": "Egon Spengler", "note": null, "status": "paid", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API with Stripe Sarch for paid members retrieves member with email paid@test.com 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "1296", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Search by case-insensitive email MEMBER2 receives member with email member2@test.com 1: [body] 1`] = ` Object { "members": Array [ Object { "avatar_image": null, "comped": false, "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "email": "member2@test.com", "email_count": 0, "email_open_rate": 50, "email_opened_count": 0, "geolocation": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "labels": Any, "name": null, "note": null, "status": "free", "subscribed": true, "subscriptions": Any, "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, }, ], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 1, }, }, } `; exports[`Members API with Stripe Search by case-insensitive email MEMBER2 receives member with email member2@test.com 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "491", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Search for non existing member returns empty result set 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "102", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API with Stripe Search for non existing member returns empty result set 2: [body] 1`] = ` Object { "members": Array [], "meta": Object { "pagination": Object { "limit": 15, "next": null, "page": 1, "pages": 1, "prev": null, "total": 0, }, }, } `; exports[`Members API without Stripe Add should fail when comped flag is passed in but Stripe is not enabled 1: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", "content-length": "376", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", "x-powered-by": "Express", } `; exports[`Members API without Stripe Add should fail when comped flag is passed in but Stripe is not enabled 2: [body] 1`] = ` Object { "errors": Array [ Object { "code": null, "context": "Missing Stripe connection. Attempting to import members with Stripe data when there is no Stripe account connected.", "details": null, "help": "You need to connect to Stripe to import Stripe customers. ", "id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, "message": "Validation error, cannot save member.", "property": "comped", "type": "ValidationError", }, ], } `;