File size: 3,943 Bytes
584ed90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
  "database": {
    "data_dir": "data",
    "engine": "sqlite",
    "filename": "amazon.sqlite3",
    "legacy_unbound_migration": false,
    "migration_hook": null,
    "seed_hook": null,
    "volume_identity": "websitebench-amazon-data"
  },
  "deployment": {
    "profiles": {
      "cloudflare-review": {
        "mail_adapter": "redis-resend",
        "payment_adapter": "stripe-test",
        "persistence": "ephemeral-reset"
      },
      "docker-volume": {
        "mail_adapter": "effects-gateway",
        "payment_adapter": "stripe-test",
        "persistence": "persistent-volume"
      },
      "offline-harbor": {
        "mail_adapter": "local-outbox",
        "payment_adapter": "local-sandbox",
        "persistence": "persistent"
      }
    }
  },
  "mail": {
    "enabled": true,
    "purposes": {
      "order-receipt": {
        "body": "Order ${order_id} totals ${total}.",
        "expiry": "No real payment or shipment occurred.",
        "footer": "This receipt belongs only to your Amazon Clone account.",
        "lead": "Your simulated Amazon Clone order was placed.",
        "required_variables": [
          "order_id",
          "total"
        ],
        "secret_variables": [],
        "subject": "Amazon Clone order ${order_id}",
        "template_id": "amazon.order-receipt.v1"
      },
      "password-reset": {
        "body": "Your Amazon Clone password reset code is ${code}.",
        "expiry": "This code expires in ${minutes} minutes.",
        "footer": "Ignore this message if you did not request an Amazon Clone password reset.",
        "lead": "A password reset was requested for your Amazon Clone account.",
        "required_variables": [
          "code",
          "minutes"
        ],
        "secret_variables": [
          "code"
        ],
        "subject": "Reset your Amazon Clone password",
        "template_id": "amazon.password-reset.v1"
      },
      "registration": {
        "body": "Your Amazon Clone verification code is ${code}.",
        "expiry": "This code expires in ${minutes} minutes.",
        "footer": "Only use this code on the Amazon Clone registration page.",
        "lead": "Finish creating your Amazon Clone shopping account.",
        "required_variables": [
          "code",
          "minutes"
        ],
        "secret_variables": [
          "code"
        ],
        "subject": "Verify your Amazon Clone account",
        "template_id": "amazon.registration.v1"
      }
    },
    "sender": {
      "address_env": "RESEND_FROM_EMAIL",
      "display_name": "Amazon Clone Security"
    }
  },
  "payments": {
    "currency": "USD",
    "default_adapter": "local-sandbox",
    "enabled": true,
    "local_sandbox": {
      "scenarios": [
        {
          "display_label": "Simulated card approval",
          "id": "sandbox-card-approved",
          "outcome": "approved"
        },
        {
          "display_label": "Simulated issuer decline",
          "id": "sandbox-card-declined",
          "outcome": "declined"
        },
        {
          "display_label": "Simulated retry",
          "id": "sandbox-retry",
          "outcome": "retryable"
        },
        {
          "display_label": "Simulated bank approval",
          "id": "sandbox-bank-approved",
          "outcome": "approved"
        }
      ]
    },
    "stripe_test": {
      "max_line_items": 100,
      "public_origin": "https://amazon.website-bench.com",
      "return_path": "/gp/buy/stripe-return",
      "secret_key_env": "STRIPE_TEST_SECRET_KEY",
      "webhook_path": "/api/stripe/webhook",
      "webhook_secret_env": "STRIPE_TEST_WEBHOOK_SECRET"
    }
  },
  "schema_version": "websitebench.site-backend-runtime.v1",
  "session": {
    "host_only": true,
    "http_only": true,
    "same_site": "Lax",
    "secure": true
  },
  "site": {
    "id": "amazon",
    "label": "Amazon Offline Harbor",
    "public_origin": "https://amazon.website-bench.com"
  }
}