{
  "info": {
    "name": "ARNPROXY API — starter local GET reads",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Local GET reads only. No provider reconciliation, provider reads, mutations, quotes or automatic follow-up. Existing server-side test-account and permission restrictions still apply. Keep your key local/private."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{arnproxy_api_key}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "arnproxy_api_key",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "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_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": "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": "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_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": "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": "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": "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",
      "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": "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_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": "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_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": "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": "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_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": "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_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'); });"
            ]
          }
        }
      ]
    }
  ]
}
