{
  "info": {
    "name": "ARNPROXY API — all requests (test accounts only)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "TR: Önce account isteğiyle başlayın. Anahtarları yalnız yerel/gizli ortam değerlerinde tutun; ortamı paylaşmayın. Tüm koleksiyonu topluca çalıştırmayın. Yazmalar ve canlı sağlayıcı okumaları ayrıca kapalıdır.\n\nEN: Start with account. Keep keys only in local/sensitive environment values; never share the populated environment. Do not batch-run the full collection. Writes and live provider reads require separate explicit switches. Importing sends no request and grants no access. Not an SDK or webhook service."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{arnproxy_api_key}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "arnproxy_api_key",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "extra",
      "item": [
        {
          "name": "extra_login_replace_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/replace/options?id={{arn_extra_login_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "replace",
                "options"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{arn_extra_login_id}}"
                }
              ]
            },
            "description": "Ek login yenileme kapsamı ve koşulları\n\nExtra login replacement scope and rules\n\nPermission: proxy_management\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/replace/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_replace_options\",\"disabled\":false,\"required\":[\"arn_extra_login_id\"],\"numeric\":[\"arn_extra_login_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/replace/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_replace",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_replace_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/replace",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "replace"
              ],
              "query": []
            },
            "description": "Yeni ek login doğrulanınca eski ek logini kapat\n\nCreate and verify a new extra login, then revoke the old extra login\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/replace\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"id\":{{arn_extra_login_id}},\"mode\":\"random\",\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_replace\",\"disabled\":false,\"required\":[\"op_extra_login_replace_status\",\"arn_extra_login_id\",\"arn_scope_revision\"],\"numeric\":[\"arn_extra_login_id\"],\"idempotency\":\"op_extra_login_replace_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/replace\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_replace_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_replace_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/replace/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "replace",
                "status"
              ],
              "query": []
            },
            "description": "Aynı yenilemeyi yalnız sorgula; değişiklik göndermez\n\nReconcile the same replacement; no provider writes\n\nPermission: proxy_management\n\nEffect: provider_reconciliation\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/replace/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_replace_status\",\"disabled\":false,\"required\":[\"op_extra_login_replace_status\"],\"numeric\":[],\"idempotency\":\"op_extra_login_replace_status\",\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/replace/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_replace_resume",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_replace_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/replace/resume",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "replace",
                "resume"
              ],
              "query": []
            },
            "description": "Yalnız gönderilmemiş yenileme adımına onaylı devam\n\nExplicitly resume only an unsent replacement step\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/replace/resume\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_replace_resume\",\"disabled\":false,\"required\":[\"op_extra_login_replace_status\"],\"numeric\":[],\"idempotency\":\"op_extra_login_replace_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/replace/resume\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/options?proxy_ids={{arn_proxy_ids}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "options"
              ],
              "query": [
                {
                  "key": "proxy_ids",
                  "value": "{{arn_proxy_ids}}"
                }
              ]
            },
            "description": "Ek login için kapsam ve seçenekler\n\nExtra login scope and options\n\nPermission: proxy_management\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_options\",\"disabled\":false,\"required\":[\"arn_proxy_ids\"],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_create",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "create"
              ],
              "query": []
            },
            "description": "Ana logine dokunmadan ek login oluştur\n\nCreate extra credentials without changing the primary\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"mode\":\"random\",\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_create\",\"disabled\":false,\"required\":[\"op_extra_login_operation_status\",\"arn_proxy_ids_json\",\"arn_scope_revision\"],\"numeric\":[],\"idempotency\":\"op_extra_login_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/{{arn_extra_login_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "{{arn_extra_login_id}}"
              ],
              "query": []
            },
            "description": "Ek login ve bağlı kendi proxyleri\n\nExtra login and its owned proxies\n\nPermission: proxy_management + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/details\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login\",\"disabled\":false,\"required\":[\"arn_extra_login_id\"],\"numeric\":[\"arn_extra_login_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/{{arn_extra_login_id}}\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_delete",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/delete",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "delete"
              ],
              "query": []
            },
            "description": "Yalnız seçilen ek logini kaldır\n\nRevoke only the selected extra login\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/delete\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"id\":{{arn_extra_login_id}},\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_delete\",\"disabled\":false,\"required\":[\"op_extra_login_operation_status\",\"arn_extra_login_id\"],\"numeric\":[\"arn_extra_login_id\"],\"idempotency\":\"op_extra_login_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/delete\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_operation_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_operation_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "status"
              ],
              "query": []
            },
            "description": "Aynı ek login işlemini yalnız sorgula\n\nReconcile the same extra-login operation\n\nPermission: proxy_management\n\nEffect: provider_reconciliation\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_operation_status\",\"disabled\":false,\"required\":[\"op_extra_login_operation_status\"],\"numeric\":[],\"idempotency\":\"op_extra_login_operation_status\",\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_resume",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_extra_login_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/resume",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "resume"
              ],
              "query": []
            },
            "description": "Yalnız gönderilmemiş adıma açık onay\n\nExplicitly approve an unsent step\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/resume\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_resume\",\"disabled\":false,\"required\":[\"op_extra_login_operation_status\"],\"numeric\":[],\"idempotency\":\"op_extra_login_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/resume\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_logins",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins"
              ],
              "query": []
            },
            "description": "Yalnız API ek login kayıtları\n\nCustomer API supplemental registry\n\nPermission: proxy_management\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_logins\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "extra_login_history",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/extra-logins/history",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "extra-logins",
                "history"
              ],
              "query": []
            },
            "description": "Ek login kontrol ve temizlik planı geçmişi\n\nSupplemental login assessment and cleanup planning history\n\nPermission: proxy_management\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/extra-logins/history\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"extra_login_history\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/extra-logins/history\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "access",
      "item": [
        {
          "name": "proxy_access",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/{{arn_proxy_id}}/access",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "{{arn_proxy_id}}",
                "access"
              ],
              "query": []
            },
            "description": "Kimlik grubunu ve izinli işlemleri doğrula\n\nVerify credential group and available actions\n\nPermission: proxy_management\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/access\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_access\",\"disabled\":false,\"required\":[\"arn_proxy_id\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/{{arn_proxy_id}}/access\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_credentials_change",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_proxy_credentials_change}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/primary-credentials/change",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "primary-credentials",
                "change"
              ],
              "query": []
            },
            "description": "Kapalı: ana login yalnız yönetici tarafından değiştirilebilir (403)\n\nDisabled: primary credentials are admin-managed (403)\n\nPermission: proxy_management\n\nEffect: disabled\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/primary-credentials/change\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_id\":{{arn_proxy_id}},\"username\":\"{{arn_admin_only_unavailable}}\",\"password\":\"{{arn_admin_only_unavailable}}\",\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_credentials_change\",\"disabled\":true,\"required\":[\"op_proxy_credentials_change\",\"arn_proxy_id\",\"arn_admin_only_unavailable\",\"arn_scope_revision\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":\"op_proxy_credentials_change\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/primary-credentials/change\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_authorized_ip_add",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_proxy_access_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/authorized-ips/add",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "authorized-ips",
                "add"
              ],
              "query": []
            },
            "description": "Doğrulanmış kapsamda yetkili IP ekle\n\nAdd an authorized IP within verified scope\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/authorized-ips/add\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_id\":{{arn_proxy_id}},\"ip\":\"{{arn_public_ip}}\",\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_authorized_ip_add\",\"disabled\":false,\"required\":[\"op_proxy_access_operation_status\",\"arn_proxy_id\",\"arn_public_ip\",\"arn_scope_revision\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":\"op_proxy_access_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/authorized-ips/add\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_authorized_ip_remove",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_proxy_access_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/authorized-ips/remove",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "authorized-ips",
                "remove"
              ],
              "query": []
            },
            "description": "Yalnız API ile eklediğiniz yetkili IP’yi kaldır\n\nRemove only an authorized IP created through this API\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/authorized-ips/remove\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_id\":{{arn_proxy_id}},\"ip\":\"{{arn_public_ip}}\",\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_authorized_ip_remove\",\"disabled\":false,\"required\":[\"op_proxy_access_operation_status\",\"arn_proxy_id\",\"arn_public_ip\",\"arn_scope_revision\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":\"op_proxy_access_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/authorized-ips/remove\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_access_operation_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_proxy_access_operation_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/access/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "access",
                "status"
              ],
              "query": []
            },
            "description": "Yazmayı tekrarlamadan aynı işlemi doğrula\n\nReconcile the same operation without resending writes\n\nPermission: proxy_management\n\nEffect: provider_reconciliation\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/access/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_access_operation_status\",\"disabled\":false,\"required\":[\"op_proxy_access_operation_status\"],\"numeric\":[],\"idempotency\":\"op_proxy_access_operation_status\",\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/access/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_access_operation_resume",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_proxy_access_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/access/resume",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "access",
                "resume"
              ],
              "query": []
            },
            "description": "Eski ana login işlemlerini sürdürmez; yönetici incelemesi gerekir\n\nPrimary-credential operations cannot resume; admin review required\n\nPermission: proxy_management\n\nEffect: disabled_for_primary_credentials\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/access/resume\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_access_operation_resume\",\"disabled\":true,\"required\":[\"op_proxy_access_operation_status\"],\"numeric\":[],\"idempotency\":\"op_proxy_access_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/access/resume\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "rotating",
      "item": [
        {
          "name": "rotating_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/rotating/{{arn_rotating_proxy_id}}/options",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "rotating",
                "{{arn_rotating_proxy_id}}",
                "options"
              ],
              "query": []
            },
            "description": "Rotating paket kapsamı ve mevcut değişim süresi\n\nRotating package scope and current rotation interval\n\nPermission: proxy_management\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/rotating/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"rotating_options\",\"disabled\":false,\"required\":[\"arn_rotating_proxy_id\"],\"numeric\":[\"arn_rotating_proxy_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/rotating/{{arn_rotating_proxy_id}}/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "rotating_rotation",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_rotating_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/rotating/rotation",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "rotating",
                "rotation"
              ],
              "query": []
            },
            "description": "Rotating paketin IP değişim süresini değiştir\n\nChange a Rotating package rotation interval\n\nPermission: proxy_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/rotating/rotation\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_id\":{{arn_rotating_proxy_id}},\"rotation_seconds\":120,\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false,\"accept_package_scope\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"rotating_rotation\",\"disabled\":false,\"required\":[\"op_rotating_operation_status\",\"arn_rotating_proxy_id\",\"arn_scope_revision\"],\"numeric\":[\"arn_rotating_proxy_id\"],\"idempotency\":\"op_rotating_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/rotating/rotation\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "rotating_operation_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_rotating_operation_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/rotating/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "rotating",
                "status"
              ],
              "query": []
            },
            "description": "Rotating işlemini yalnız okuyarak doğrula; yazmayı tekrarlamaz\n\nVerify a Rotating operation using reads only; never resend\n\nPermission: proxy_management\n\nEffect: provider_reconciliation\n\nGuide: https://docs.arnproxy.com/api-v1/rotating/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"rotating_operation_status\",\"disabled\":false,\"required\":[\"op_rotating_operation_status\"],\"numeric\":[],\"idempotency\":\"op_rotating_operation_status\",\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/rotating/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "proxies",
      "item": [
        {
          "name": "proxy_note",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/{{arn_proxy_id}}/note",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "{{arn_proxy_id}}",
                "note"
              ],
              "query": []
            },
            "description": "Kendi aktif proxynin müşteri panelindeki notunu oku\n\nRead the existing customer-panel note of an owned active proxy\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/note\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_note\",\"disabled\":false,\"required\":[\"arn_proxy_id\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/{{arn_proxy_id}}/note\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_note_update",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/note",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "note"
              ],
              "query": []
            },
            "description": "Kendi proxynin notunu kaydet; boş metinle temizle\n\nSet an owned proxy note; clear using an empty string\n\nPermission: proxy_management\n\nEffect: local_write\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/note/update\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_id\":{{arn_proxy_id}},\"note\":\"My application\",\"expected_revision\":\"{{arn_note_revision}}\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_note_update\",\"disabled\":false,\"required\":[\"arn_proxy_id\",\"arn_note_revision\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":null,\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/note\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxies",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies"
              ],
              "query": []
            },
            "description": "Aktif proxyler\n\nActive proxies\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/list\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxies\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/{{arn_proxy_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "{{arn_proxy_id}}"
              ],
              "query": []
            },
            "description": "Tek aktif proxy\n\nOne active proxy\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/details\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy\",\"disabled\":false,\"required\":[\"arn_proxy_id\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/{{arn_proxy_id}}\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_export",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "export"
              ],
              "query": []
            },
            "description": "Bağlantı listesini dışa aktar\n\nExport connection list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"format\":\"endpoint\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_export\",\"disabled\":false,\"required\":[\"arn_proxy_ids_json\"],\"numeric\":[],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_actions",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/{{arn_proxy_id}}/actions",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "{{arn_proxy_id}}",
                "actions"
              ],
              "query": []
            },
            "description": "Proxy için açık işlemler\n\nAvailable actions for one proxy\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/actions\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_actions\",\"disabled\":false,\"required\":[\"arn_proxy_id\"],\"numeric\":[\"arn_proxy_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/{{arn_proxy_id}}/actions\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_export · csv",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "export"
              ],
              "query": []
            },
            "description": "Bağlantı listesini dışa aktar\n\nExport connection list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.\n\nCSV text is returned in data.content. Default columns contain no credentials.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"format\":\"csv\",\"columns\":[\"id\",\"endpoint\"]}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_export\",\"disabled\":false,\"required\":[\"arn_proxy_ids_json\"],\"numeric\":[],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "proxy_export · custom",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/proxies/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "proxies",
                "export"
              ],
              "query": []
            },
            "description": "Bağlantı listesini dışa aktar\n\nExport connection list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/proxies/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.\n\nCustom text uses an allowlisted, non-executable template and is returned in data.content.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"format\":\"custom\",\"template\":\"%endpoint%\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"proxy_export\",\"disabled\":false,\"required\":[\"arn_proxy_ids_json\"],\"numeric\":[],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/proxies/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "renewal",
      "item": [
        {
          "name": "auto_renewal_settings",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/auto-renewal",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "auto-renewal"
              ],
              "query": []
            },
            "description": "Hesabın mevcut otomatik yenileme ayarları\n\nExisting automatic renewal settings of the account\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/auto-renewal\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"auto_renewal_settings\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/auto-renewal\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "auto_renewal_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/auto-renewal/options?proxy_ids={{arn_proxy_ids}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "auto-renewal",
                "options"
              ],
              "query": [
                {
                  "key": "proxy_ids",
                  "value": "{{arn_proxy_ids}}"
                }
              ]
            },
            "description": "Seçili proxylerin bakiye yenileme ayarları ve uygun süreler\n\nBalance renewal settings and eligible periods of selected proxies\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/auto-renewal/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"auto_renewal_options\",\"disabled\":false,\"required\":[\"arn_proxy_ids\"],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/auto-renewal/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "auto_renewal_quote",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/auto-renewal/quote",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "auto-renewal",
                "quote"
              ],
              "query": []
            },
            "description": "Bakiye otomatik yenilemesinin bugünkü fiyat tahmini\n\nCurrent price estimate for automatic balance renewal\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/auto-renewal/quote\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"time_id\":{{arn_time_id}}}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"auto_renewal_quote\",\"disabled\":false,\"required\":[\"arn_proxy_ids_json\",\"arn_time_id\"],\"numeric\":[\"arn_time_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/auto-renewal/quote\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "auto_renewal_enable",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_auto_renewal_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/auto-renewal/enable",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "auto-renewal",
                "enable"
              ],
              "query": []
            },
            "description": "Mevcut bakiye otomatik yenilemesini aç; şimdi ödeme alınmaz\n\nEnable existing automatic balance renewal; no immediate charge\n\nPermission: renewals\n\nEffect: configuration_write\n\nGuide: https://docs.arnproxy.com/api-v1/auto-renewal/enable\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"time_id\":{{arn_time_id}},\"expected_revision\":\"{{arn_auto_revision}}\",\"currency\":\"{{arn_currency}}\",\"expected_total_minor\":{{arn_quote_total_minor}},\"expected_days\":{{arn_quote_days}},\"terms\":false,\"accept_current_pricing\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"auto_renewal_enable\",\"disabled\":false,\"required\":[\"op_auto_renewal_operation_status\",\"arn_proxy_ids_json\",\"arn_time_id\",\"arn_auto_revision\",\"arn_currency\",\"arn_quote_total_minor\",\"arn_quote_days\"],\"numeric\":[\"arn_time_id\",\"arn_quote_total_minor\",\"arn_quote_days\"],\"idempotency\":\"op_auto_renewal_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/auto-renewal/enable\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "auto_renewal_disable",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_auto_renewal_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/auto-renewal/disable",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "auto-renewal",
                "disable"
              ],
              "query": []
            },
            "description": "Yalnız kendi bakiye yenileme ayarını kapat\n\nDisable only an owned balance renewal setting\n\nPermission: renewals\n\nEffect: configuration_write\n\nGuide: https://docs.arnproxy.com/api-v1/auto-renewal/disable\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"settings\":[{\"id\":{{arn_auto_setting_id}},\"revision\":\"{{arn_auto_setting_revision}}\"}],\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"auto_renewal_disable\",\"disabled\":false,\"required\":[\"op_auto_renewal_operation_status\",\"arn_auto_setting_id\",\"arn_auto_setting_revision\"],\"numeric\":[\"arn_auto_setting_id\"],\"idempotency\":\"op_auto_renewal_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/auto-renewal/disable\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "auto_renewal_operation_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_auto_renewal_operation_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/auto-renewal/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "auto-renewal",
                "status"
              ],
              "query": []
            },
            "description": "Aynı ayar işleminin kayıtlı sonucunu oku; tekrar uygulamaz\n\nRead the saved result of a settings operation; never reapply\n\nPermission: renewals\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/auto-renewal/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"auto_renewal_operation_status\",\"disabled\":false,\"required\":[\"op_auto_renewal_operation_status\"],\"numeric\":[],\"idempotency\":\"op_auto_renewal_operation_status\",\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/auto-renewal/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "renewal_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/renewals/options",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "renewals",
                "options"
              ],
              "query": []
            },
            "description": "Uzatılabilecek proxyler ve süreler\n\nRenewable proxies and periods\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/renewals/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"renewal_options\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/renewals/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "renewal_quote",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/renewals/quote",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "renewals",
                "quote"
              ],
              "query": []
            },
            "description": "Süre uzatma fiyatı; kesinti yapmaz\n\nRenewal quote; no debit\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/renewals/quote\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"time_id\":{{arn_time_id}},\"promo_code\":\"\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"renewal_quote\",\"disabled\":false,\"required\":[\"arn_proxy_ids_json\",\"arn_time_id\"],\"numeric\":[\"arn_time_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/renewals/quote\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "renewal",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_renewal_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/renewals/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "renewals",
                "create"
              ],
              "query": []
            },
            "description": "Bakiyeden süre uzatma; gerçek ücret\n\nBalance renewal; real debit\n\nPermission: renewals\n\nEffect: balance_write\n\nGuide: https://docs.arnproxy.com/api-v1/renewals/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"time_id\":{{arn_time_id}},\"promo_code\":\"\",\"currency\":\"{{arn_currency}}\",\"expected_total_minor\":{{arn_quote_total_minor}},\"expected_days\":{{arn_quote_days}},\"expected_selection_hash\":\"{{arn_quote_selection_hash}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"renewal\",\"disabled\":false,\"required\":[\"op_renewal_status\",\"arn_proxy_ids_json\",\"arn_time_id\",\"arn_currency\",\"arn_quote_total_minor\",\"arn_quote_days\",\"arn_quote_selection_hash\"],\"numeric\":[\"arn_time_id\",\"arn_quote_total_minor\",\"arn_quote_days\"],\"idempotency\":\"op_renewal_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/renewals/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "renewal_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_renewal_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/renewals/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "renewals",
                "status"
              ],
              "query": []
            },
            "description": "Kaydedilmiş uzatma sonucu\n\nSaved renewal result\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/renewals/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"renewal_status\",\"disabled\":false,\"required\":[\"op_renewal_status\"],\"numeric\":[],\"idempotency\":\"op_renewal_status\",\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/renewals/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "account",
      "item": [
        {
          "name": "capabilities",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/capabilities",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "capabilities"
              ],
              "query": []
            },
            "description": "İzinler ve kullanılabilir işlemler\n\nPermissions and available operations\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/account/capabilities\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"capabilities\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/capabilities\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "account",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/account",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "account"
              ],
              "query": []
            },
            "description": "Hesap ve para birimi\n\nAccount and currency\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/account/details\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"account\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/account\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "balance",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/balance",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "balance"
              ],
              "query": []
            },
            "description": "Site bakiyesi\n\nAccount balance\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/account/balance\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"balance\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/balance\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "purchase",
      "item": [
        {
          "name": "products",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/products",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "products"
              ],
              "query": []
            },
            "description": "Desteklenen ürünler\n\nSupported products\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/products\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"products\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/products\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "catalog",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/catalog?product_id={{arn_product_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "catalog"
              ],
              "query": [
                {
                  "key": "product_id",
                  "value": "{{arn_product_id}}"
                }
              ]
            },
            "description": "Ülkeler, süreler ve kullanım amaçları\n\nLocations, periods and purposes\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/catalog\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"catalog\",\"disabled\":false,\"required\":[\"arn_product_id\"],\"numeric\":[\"arn_product_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/catalog\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "quote",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/quote",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "quote"
              ],
              "query": []
            },
            "description": "Sipariş fiyatı; kesinti yapmaz\n\nOrder quote; no debit\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/quote\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"product_id\":{{arn_product_id}},\"lines\":[{\"location_id\":{{arn_location_id}},\"time_id\":{{arn_time_id}},\"quantity\":1}],\"promo_code\":\"\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"quote\",\"disabled\":false,\"required\":[\"arn_product_id\",\"arn_location_id\",\"arn_time_id\"],\"numeric\":[\"arn_product_id\",\"arn_location_id\",\"arn_time_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/quote\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "purchase",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_purchase_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/orders/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "orders",
                "create"
              ],
              "query": []
            },
            "description": "Bakiyeden satın alma; gerçek ücret\n\nBalance purchase; real debit\n\nPermission: purchases\n\nEffect: balance_write\n\nGuide: https://docs.arnproxy.com/api-v1/orders/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"product_id\":{{arn_product_id}},\"lines\":[{\"location_id\":{{arn_location_id}},\"time_id\":{{arn_time_id}},\"quantity\":1,\"purpose_id\":201,\"subpurpose_id\":{{arn_subpurpose_id}}}],\"currency\":\"{{arn_currency}}\",\"expected_total_minor\":{{arn_quote_total_minor}},\"promo_code\":\"\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"purchase\",\"disabled\":false,\"required\":[\"op_purchase_status\",\"arn_product_id\",\"arn_location_id\",\"arn_time_id\",\"arn_subpurpose_id\",\"arn_currency\",\"arn_quote_total_minor\"],\"numeric\":[\"arn_product_id\",\"arn_location_id\",\"arn_time_id\",\"arn_subpurpose_id\",\"arn_quote_total_minor\"],\"idempotency\":\"op_purchase_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/orders/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "purchase_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_purchase_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/orders/create/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "orders",
                "create",
                "status"
              ],
              "query": []
            },
            "description": "Kaydedilmiş satın alma sonucu\n\nSaved purchase result\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/orders/create/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"purchase_status\",\"disabled\":false,\"required\":[\"op_purchase_status\"],\"numeric\":[],\"idempotency\":\"op_purchase_status\",\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/orders/create/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "orders",
      "item": [
        {
          "name": "orders",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/orders",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "orders"
              ],
              "query": []
            },
            "description": "Sipariş listesi\n\nOrder list\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/orders/list\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"orders\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/orders\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "order",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/orders/{{arn_order_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "orders",
                "{{arn_order_id}}"
              ],
              "query": []
            },
            "description": "Sipariş özeti\n\nOrder summary\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/orders/details\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"order\",\"disabled\":false,\"required\":[\"arn_order_id\"],\"numeric\":[\"arn_order_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/orders/{{arn_order_id}}\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "order_delivery",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/orders/{{arn_order_id}}/delivery",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "orders",
                "{{arn_order_id}}",
                "delivery"
              ],
              "query": []
            },
            "description": "Güncel teslimat/kuyruk durumu\n\nCurrent delivery and queue status\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/orders/delivery\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"order_delivery\",\"disabled\":false,\"required\":[\"arn_order_id\"],\"numeric\":[\"arn_order_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/orders/{{arn_order_id}}/delivery\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "order_proxies",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/orders/{{arn_order_id}}/proxies",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "orders",
                "{{arn_order_id}}",
                "proxies"
              ],
              "query": []
            },
            "description": "Yalnız seçilen siparişin aktif proxyleri\n\nActive proxies belonging to one order\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/orders/proxies\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"order_proxies\",\"disabled\":false,\"required\":[\"arn_order_id\"],\"numeric\":[\"arn_order_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/orders/{{arn_order_id}}/proxies\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "replacement",
      "item": [
        {
          "name": "replacement_quote",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/replacements/quote",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "replacements",
                "quote"
              ],
              "query": []
            },
            "description": "Değişim talebi ücreti\n\nReplacement request quote\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/replacements/quote\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}}}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"replacement_quote\",\"disabled\":false,\"required\":[\"arn_proxy_ids_json\"],\"numeric\":[],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/replacements/quote\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "replacement",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_replacement_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/replacements/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "replacements",
                "create"
              ],
              "query": []
            },
            "description": "Yönetim incelemesine değişim talebi\n\nSubmit replacement for admin review\n\nPermission: replacements\n\nEffect: balance_write\n\nGuide: https://docs.arnproxy.com/api-v1/replacements/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"proxy_ids\":{{arn_proxy_ids_json}},\"reason_code\":\"other\",\"description\":\"Describe the issue\",\"currency\":\"{{arn_currency}}\",\"expected_total_minor\":{{arn_quote_total_minor}},\"expected_selection_hash\":\"{{arn_quote_selection_hash}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"replacement\",\"disabled\":false,\"required\":[\"op_replacement_status\",\"arn_proxy_ids_json\",\"arn_currency\",\"arn_quote_total_minor\",\"arn_quote_selection_hash\"],\"numeric\":[\"arn_quote_total_minor\"],\"idempotency\":\"op_replacement_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/replacements/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "replacement_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_replacement_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/replacements/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "replacements",
                "status"
              ],
              "query": []
            },
            "description": "Kaydedilmiş talep sonucu\n\nSaved replacement submission\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/replacements/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"replacement_status\",\"disabled\":false,\"required\":[\"op_replacement_status\"],\"numeric\":[],\"idempotency\":\"op_replacement_status\",\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/replacements/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "replacement_requests",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/replacements",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "replacements"
              ],
              "query": []
            },
            "description": "Değişim taleplerinin güncel durumları\n\nCurrent replacement request states\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/replacements\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"replacement_requests\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/replacements\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "resi_purchase",
      "item": [
        {
          "name": "residential_catalog",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/catalog",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "catalog"
              ],
              "query": []
            },
            "description": "Residential GB paketleri, site fiyatları ve kullanım amaçları\n\nResidential GB packages, website prices and purposes\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/catalog\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_catalog\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/catalog\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_quote",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/quote",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "quote"
              ],
              "query": []
            },
            "description": "Yeni paket / GB ekleme fiyatı; tahsilat yapmaz\n\nNew package / top-up price; no debit\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/quote\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"mode\":\"topup\",\"package_id\":{{arn_package_id}},\"time_id\":{{arn_time_id}},\"promo_code\":\"\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_quote\",\"disabled\":false,\"required\":[\"arn_package_id\",\"arn_time_id\"],\"numeric\":[\"arn_package_id\",\"arn_time_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/quote\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_purchase",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_purchase_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/orders/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "orders",
                "create"
              ],
              "query": []
            },
            "description": "Sitedeki teslimat kuyruğuna bakiyeli Residential siparişi\n\nBalance Residential order via website delivery queue\n\nPermission: purchases\n\nEffect: balance_write\n\nGuide: https://docs.arnproxy.com/api-v1/residential/orders/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"mode\":\"topup\",\"package_id\":{{arn_package_id}},\"time_id\":{{arn_time_id}},\"promo_code\":\"\",\"currency\":\"{{arn_currency}}\",\"expected_total_minor\":{{arn_quote_total_minor}},\"expected_selection_hash\":\"{{arn_quote_selection_hash}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_purchase\",\"disabled\":false,\"required\":[\"op_residential_purchase_status\",\"arn_package_id\",\"arn_time_id\",\"arn_currency\",\"arn_quote_total_minor\",\"arn_quote_selection_hash\"],\"numeric\":[\"arn_package_id\",\"arn_time_id\",\"arn_quote_total_minor\"],\"idempotency\":\"op_residential_purchase_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/orders/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_purchase_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_purchase_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/orders/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "orders",
                "status"
              ],
              "query": []
            },
            "description": "Kaydedilmiş ödeme ve güncel Residential teslimat durumu\n\nSaved acceptance and current Residential delivery state\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/orders/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_purchase_status\",\"disabled\":false,\"required\":[\"op_residential_purchase_status\"],\"numeric\":[],\"idempotency\":\"op_residential_purchase_status\",\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/orders/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "sessions",
      "item": [
        {
          "name": "residential_session_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/sessions/options?package_id={{arn_package_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "sessions",
                "options"
              ],
              "query": [
                {
                  "key": "package_id",
                  "value": "{{arn_package_id}}"
                }
              ]
            },
            "description": "Oturum listesi kapsamı ve mevcut özel listeler\n\nSession-list scope and existing special lists\n\nPermission: residential_management\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/sessions/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_session_options\",\"disabled\":false,\"required\":[\"arn_package_id\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/sessions/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_session_create",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_list_action_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/sessions/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "sessions",
                "create"
              ],
              "query": []
            },
            "description": "Ayrı bir oturum listesi oluştur; GB satın alma yok\n\nCreate a separate session list; no GB purchase\n\nPermission: residential_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/residential/sessions/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"package_id\":{{arn_package_id}},\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_session_create\",\"disabled\":false,\"required\":[\"op_residential_list_action_status\",\"arn_package_id\",\"arn_scope_revision\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":\"op_residential_list_action_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/sessions/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_session_export",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/sessions/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "sessions",
                "export"
              ],
              "query": []
            },
            "description": "Özel oturum listesinden hedefli bağlantı metni üret\n\nFormat targeted connections from a special session list\n\nPermission: credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/sessions/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_special_list_id}},\"session\":\"Example001\",\"ttl\":\"15m\",\"format\":\"uri\",\"limit\":1}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_session_export\",\"disabled\":false,\"required\":[\"arn_special_list_id\"],\"numeric\":[\"arn_special_list_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/sessions/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_isp_codes",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/isp-codes?q=Telecom&limit=25",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "isp-codes"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "Telecom"
                },
                {
                  "key": "limit",
                  "value": "25"
                }
              ]
            },
            "description": "Residential ISP kimlikleri\n\nResidential ISP identifiers\n\nPermission: read\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/isp-codes\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_isp_codes\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/isp-codes\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_session_export · csv",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/sessions/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "sessions",
                "export"
              ],
              "query": []
            },
            "description": "Özel oturum listesinden hedefli bağlantı metni üret\n\nFormat targeted connections from a special session list\n\nPermission: credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/sessions/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.\n\nCSV text is returned in data.content. Default columns contain no credentials.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_special_list_id}},\"session\":\"Example001\",\"ttl\":\"15m\",\"limit\":1,\"format\":\"csv\",\"columns\":[\"id\",\"endpoint\"]}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_session_export\",\"disabled\":false,\"required\":[\"arn_special_list_id\"],\"numeric\":[\"arn_special_list_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/sessions/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_session_export · custom",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/sessions/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "sessions",
                "export"
              ],
              "query": []
            },
            "description": "Özel oturum listesinden hedefli bağlantı metni üret\n\nFormat targeted connections from a special session list\n\nPermission: credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/sessions/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.\n\nCustom text uses an allowlisted, non-executable template and is returned in data.content.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_special_list_id}},\"session\":\"Example001\",\"ttl\":\"15m\",\"limit\":1,\"format\":\"custom\",\"template\":\"%endpoint%\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_session_export\",\"disabled\":false,\"required\":[\"arn_special_list_id\"],\"numeric\":[\"arn_special_list_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/sessions/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "name": "residential",
      "item": [
        {
          "name": "residential_locations",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/locations?level=countries",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "locations"
              ],
              "query": [
                {
                  "key": "level",
                  "value": "countries"
                }
              ]
            },
            "description": "Ülke, bölge, şehir ve ISP seçenekleri\n\nCountry, region, city and ISP options\n\nPermission: read\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/locations\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_locations\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/locations\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_traffic",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/traffic?package_id={{arn_package_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "traffic"
              ],
              "query": [
                {
                  "key": "package_id",
                  "value": "{{arn_package_id}}"
                }
              ]
            },
            "description": "Yalnız kendi kayıtlı loginlerinin saatlik trafik geçmişi\n\nHourly traffic history of owned registered logins only\n\nPermission: read\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/traffic\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_traffic\",\"disabled\":false,\"required\":[\"arn_package_id\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/traffic\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_export",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "export"
              ],
              "query": []
            },
            "description": "Mevcut bağlantı listesini dışa aktar; yeni liste oluşturmaz\n\nExport an existing connection list; does not create a list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_list_id}},\"format\":\"host_port\",\"offset\":0,\"limit\":10}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_export\",\"disabled\":false,\"required\":[\"arn_list_id\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_packages",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/packages",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "packages"
              ],
              "query": []
            },
            "description": "Sahip olunan paketler; kayıtlı gözlem\n\nOwned packages; stored snapshot\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/packages\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_packages\",\"disabled\":false,\"required\":[],\"numeric\":[],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/packages\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_package",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/packages/{{arn_package_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "packages",
                "{{arn_package_id}}"
              ],
              "query": []
            },
            "description": "Tek paket; kayıtlı gözlem\n\nOne package; stored snapshot\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/packages/details\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_package\",\"disabled\":false,\"required\":[\"arn_package_id\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/packages/{{arn_package_id}}\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_lists",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists?package_id={{arn_package_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists"
              ],
              "query": [
                {
                  "key": "package_id",
                  "value": "{{arn_package_id}}"
                }
              ]
            },
            "description": "Paketin bağlantı listeleri\n\nConnection lists for a package\n\nPermission: read\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_lists\",\"disabled\":false,\"required\":[\"arn_package_id\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/{{arn_list_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "{{arn_list_id}}"
              ],
              "query": []
            },
            "description": "Tek bağlantı listesi\n\nOne connection list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/details\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list\",\"disabled\":false,\"required\":[\"arn_list_id\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/{{arn_list_id}}\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_options",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/options?package_id={{arn_package_id}}",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "options"
              ],
              "query": [
                {
                  "key": "package_id",
                  "value": "{{arn_package_id}}"
                }
              ]
            },
            "description": "Liste oluşturma/silme kapsamı ve sürümü\n\nList create/delete scope and revision\n\nPermission: residential_management\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/options\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_options\",\"disabled\":false,\"required\":[\"arn_package_id\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/options\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_create",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_list_action_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/create",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "create"
              ],
              "query": []
            },
            "description": "Mevcut pakette bağlantı listesi oluştur; GB satın almaz\n\nCreate a connection list in an existing package; no GB purchase\n\nPermission: residential_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/create\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"package_id\":{{arn_package_id}},\"title\":\"My connection list\",\"country\":\"US\",\"port_count\":1,\"rotation_seconds\":0,\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_create\",\"disabled\":false,\"required\":[\"op_residential_list_action_status\",\"arn_package_id\",\"arn_scope_revision\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":\"op_residential_list_action_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/create\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_delete",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_list_action_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/delete",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "delete"
              ],
              "query": []
            },
            "description": "Yalnız kendi bağlantı listesini sil; paketi silmez\n\nDelete only an owned connection list; never the package\n\nPermission: residential_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/delete\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_list_id}},\"expected_revision\":\"{{arn_scope_revision}}\",\"terms\":false}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_delete\",\"disabled\":false,\"required\":[\"op_residential_list_action_status\",\"arn_list_id\",\"arn_scope_revision\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":\"op_residential_list_action_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/delete\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_action_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_list_action_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/action-status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "action-status"
              ],
              "query": []
            },
            "description": "Liste işlemini GET ile doğrula; yeniden oluşturmaz/silmez\n\nVerify the list operation with GETs; never resend create/delete\n\nPermission: residential_management\n\nEffect: provider_reconciliation\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/action-status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_action_status\",\"disabled\":false,\"required\":[\"op_residential_list_action_status\"],\"numeric\":[],\"idempotency\":\"op_residential_list_action_status\",\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/action-status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_check",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/{{arn_list_id}}/check",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "{{arn_list_id}}",
                "check"
              ],
              "query": []
            },
            "description": "Liste ayarlarını sağlayıcıdan kontrol et\n\nCheck list settings with provider\n\nPermission: residential_management\n\nEffect: provider_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/check\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_check\",\"disabled\":false,\"required\":[\"arn_list_id\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":null,\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/{{arn_list_id}}/check\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_package_refresh",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/packages/refresh",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "packages",
                "refresh"
              ],
              "query": []
            },
            "description": "Paket gözlemini güncelle; GB satın almaz\n\nRefresh package snapshot; no GB purchase\n\nPermission: residential_management\n\nEffect: provider_read_local_refresh\n\nGuide: https://docs.arnproxy.com/api-v1/residential/packages/refresh\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"package_id\":{{arn_package_id}}}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_package_refresh\",\"disabled\":false,\"required\":[\"arn_package_id\"],\"numeric\":[\"arn_package_id\"],\"idempotency\":null,\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/packages/refresh\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_rename",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/rename",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "rename"
              ],
              "query": []
            },
            "description": "Bağlantı listesinin adını değiştir\n\nRename a connection list\n\nPermission: residential_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/rename\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_list_id}},\"title\":\"My new title\",\"expected_title\":\"{{arn_current_list_title}}\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_rename\",\"disabled\":false,\"required\":[\"op_residential_operation_status\",\"arn_list_id\",\"arn_current_list_title\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":\"op_residential_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/rename\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_list_rotation",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_operation_status}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/rotation",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "rotation"
              ],
              "query": []
            },
            "description": "Bağlantı listesi rotasyonunu değiştir\n\nChange connection list rotation\n\nPermission: residential_management\n\nEffect: provider_write\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/rotation\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_list_id}},\"rotation_seconds\":60,\"expected_rotation_seconds\":{{arn_current_rotation}}}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_list_rotation\",\"disabled\":false,\"required\":[\"op_residential_operation_status\",\"arn_list_id\",\"arn_current_rotation\"],\"numeric\":[\"arn_list_id\",\"arn_current_rotation\"],\"idempotency\":\"op_residential_operation_status\",\"post\":true,\"write\":true,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/rotation\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_operation_status",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{op_residential_operation_status}}"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/lists/status",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "lists",
                "status"
              ],
              "query": []
            },
            "description": "Aynı işlemi kontrol et; değişikliği yeniden göndermez\n\nCheck the same operation; does not repeat the write\n\nPermission: residential_management\n\nEffect: provider_reconciliation\n\nGuide: https://docs.arnproxy.com/api-v1/residential/lists/status\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response."
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_operation_status\",\"disabled\":false,\"required\":[\"op_residential_operation_status\"],\"numeric\":[],\"idempotency\":\"op_residential_operation_status\",\"post\":false,\"write\":false,\"providerRead\":true};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/lists/status\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_export · csv",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "export"
              ],
              "query": []
            },
            "description": "Mevcut bağlantı listesini dışa aktar; yeni liste oluşturmaz\n\nExport an existing connection list; does not create a list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.\n\nCSV text is returned in data.content. Default columns contain no credentials.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_list_id}},\"offset\":0,\"limit\":10,\"format\":\"csv\",\"columns\":[\"id\",\"endpoint\"]}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_export\",\"disabled\":false,\"required\":[\"arn_list_id\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        },
        {
          "name": "residential_export · custom",
          "protocolProfileBehavior": {
            "followRedirects": false,
            "strictSSL": true,
            "strictSsl": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "https://www.arnproxy.com/account/api/v1/residential/export",
              "protocol": "https",
              "host": [
                "www",
                "arnproxy",
                "com"
              ],
              "path": [
                "account",
                "api",
                "v1",
                "residential",
                "export"
              ],
              "query": []
            },
            "description": "Mevcut bağlantı listesini dışa aktar; yeni liste oluşturmaz\n\nExport an existing connection list; does not create a list\n\nPermission: read + optional credentials\n\nEffect: local_read\n\nGuide: https://docs.arnproxy.com/api-v1/residential/export\n\nTest accounts only: 2, 10231. No automatic retries. Preserve the operation key after an uncertain response.\n\nCustom text uses an allowlisted, non-executable template and is returned in data.content.",
            "body": {
              "mode": "raw",
              "raw": "{\"list_id\":{{arn_list_id}},\"offset\":0,\"limit\":10,\"format\":\"custom\",\"template\":\"%endpoint%\"}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Convenience guard only. Server-side ownership, permissions and limits remain authoritative.",
                  "(() => {",
                  "  const config = {\"resource\":\"residential_export\",\"disabled\":false,\"required\":[\"arn_list_id\"],\"numeric\":[\"arn_list_id\"],\"idempotency\":null,\"post\":true,\"write\":false,\"providerRead\":false};",
                  "  function stop(reason) {",
                  "    if (pm.execution && typeof pm.execution.skipRequest === 'function') {",
                  "      pm.execution.skipRequest();",
                  "      return false;",
                  "    }",
                  "    // Older runners can ignore script exceptions. Neutralize the destination and auth first.",
                  "    pm.request.url.update('https://blocked.invalid/');",
                  "    pm.request.auth.update({type:'noauth'});",
                  "    pm.request.headers.remove('Authorization');",
                  "    if (pm.request.body) pm.request.body.update('{}');",
                  "    throw new Error('Request blocked: ' + reason + '. Use a client supporting pm.execution.skipRequest.');",
                  "  }",
                  "  function value(name) { return String(pm.variables.get(name) ?? ''); }",
                  "  const token = value('arnproxy_api_key');",
                  "  if (!/^(?:[A-Za-z0-9]{32}|arnp_[a-f0-9]{16}_[a-f0-9]{64})$/.test(token)) return stop('API key is missing or malformed');",
                  "  const url = pm.variables.replaceIn(pm.request.url.toString());",
                  "  const expectedPath = pm.variables.replaceIn(\"/account/api/v1/residential/export\");",
                  "  if (url.split('?')[0] !== 'https://www.arnproxy.com' + expectedPath) return stop('Unexpected API destination');",
                  "  if (config.disabled) return stop('This legacy operation is disabled');",
                  "  for (const name of config.required) {",
                  "    const v = value(name);",
                  "    if (!v || /\\{\\{|YOUR_|FROM_|SET_/.test(v)) return stop('Required variables are not filled');",
                  "    const range = name === 'arn_current_rotation' || name === 'arn_subpurpose_id' ? /^(-1|0|[1-9][0-9]*)$/ : config.resource === 'replacement' && name === 'arn_quote_total_minor' ? /^(0|[1-9][0-9]*)$/ : /^[1-9][0-9]*$/;",
                  "    if (config.numeric.includes(name) && !range.test(v)) return stop('Numeric IDs and amounts must be integers in range');",
                  "  }",
                  "  if (config.idempotency && !/^[A-Za-z0-9_-]{16,100}$/.test(value(config.idempotency))) return stop('Keep a valid saved operation key');",
                  "  let body = null;",
                  "  if (config.post) {",
                  "    try { body = JSON.parse(pm.variables.replaceIn(pm.request.body.raw)); }",
                  "    catch { return stop('Complete request.json using JSON integer IDs'); }",
                  "    if (!body || Array.isArray(body) || typeof body !== 'object') return stop('JSON object required');",
                  "    if (Object.hasOwn(body,'proxy_ids') && (!Array.isArray(body.proxy_ids) || !body.proxy_ids.length || body.proxy_ids.some(v => !Number.isInteger(v) || v < 1))) return stop('proxy_ids must contain positive JSON integers');",
                  "  }",
                  "  if (config.write) {",
                  "    if (value('arnproxy_allow_writes') !== 'true' || value('arnproxy_confirm_resource') !== config.resource) return stop('Explicitly approve one operation name');",
                  "    for (const field of ['terms','accept_package_scope','accept_current_pricing']) {",
                  "      if (Object.hasOwn(body,field) && body[field] !== true) return stop('Explicit consent is required');",
                  "    }",
                  "  } else if (config.providerRead && value('arnproxy_allow_provider_reads') !== 'true') {",
                  "    return stop('Live provider reads are disabled in this template');",
                  "  }",
                  "  // No automatic requests, retries, variable capture, console output or next-request selection.",
                  "})();",
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Do not persist credentials, responses or quote values.",
                  "if (pm.response) pm.test('ARNPROXY JSON envelope', function () { const r=pm.response.json(); pm.expect(typeof r.ok).to.eql('boolean'); pm.expect(r.meta.request_id).to.be.a('string'); });"
                ]
              }
            }
          ]
        }
      ]
    }
  ]
}
