{
  "type": "File",
  "start": 0,
  "end": 1776,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 62,
      "column": 1
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 1776,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 62,
        "column": 1
      }
    },
    "sourceType": "module",
    "body": [
      {
        "type": "ExportDefaultDeclaration",
        "start": 29,
        "end": 1776,
        "loc": {
          "start": {
            "line": 4,
            "column": 0
          },
          "end": {
            "line": 62,
            "column": 1
          }
        },
        "declaration": {
          "type": "ClassDeclaration",
          "start": 44,
          "end": 1776,
          "loc": {
            "start": {
              "line": 4,
              "column": 15
            },
            "end": {
              "line": 62,
              "column": 1
            }
          },
          "id": {
            "type": "Identifier",
            "start": 50,
            "end": 57,
            "loc": {
              "start": {
                "line": 4,
                "column": 21
              },
              "end": {
                "line": 4,
                "column": 28
              },
              "identifierName": "Fetcher"
            },
            "name": "Fetcher",
            "leadingComments": null
          },
          "superClass": null,
          "body": {
            "type": "ClassBody",
            "start": 58,
            "end": 1776,
            "loc": {
              "start": {
                "line": 4,
                "column": 29
              },
              "end": {
                "line": 62,
                "column": 1
              }
            },
            "body": [
              {
                "type": "ClassMethod",
                "start": 219,
                "end": 409,
                "loc": {
                  "start": {
                    "line": 9,
                    "column": 4
                  },
                  "end": {
                    "line": 19,
                    "column": 5
                  }
                },
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "start": 219,
                  "end": 230,
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 4
                    },
                    "end": {
                      "line": 9,
                      "column": 15
                    },
                    "identifierName": "constructor"
                  },
                  "name": "constructor",
                  "leadingComments": null
                },
                "static": false,
                "kind": "constructor",
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "Identifier",
                    "start": 231,
                    "end": 235,
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 16
                      },
                      "end": {
                        "line": 9,
                        "column": 20
                      },
                      "identifierName": "http"
                    },
                    "name": "http"
                  },
                  {
                    "type": "AssignmentPattern",
                    "start": 237,
                    "end": 253,
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 22
                      },
                      "end": {
                        "line": 9,
                        "column": 38
                      }
                    },
                    "left": {
                      "type": "Identifier",
                      "start": 237,
                      "end": 246,
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 22
                        },
                        "end": {
                          "line": 9,
                          "column": 31
                        },
                        "identifierName": "territory"
                      },
                      "name": "territory"
                    },
                    "right": {
                      "type": "StringLiteral",
                      "start": 249,
                      "end": 253,
                      "loc": {
                        "start": {
                          "line": 9,
                          "column": 34
                        },
                        "end": {
                          "line": 9,
                          "column": 38
                        }
                      },
                      "extra": {
                        "rawValue": "TW",
                        "raw": "'TW'"
                      },
                      "value": "TW"
                    }
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 255,
                  "end": 409,
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 40
                    },
                    "end": {
                      "line": 19,
                      "column": 5
                    }
                  },
                  "body": [
                    {
                      "type": "ExpressionStatement",
                      "start": 308,
                      "end": 324,
                      "loc": {
                        "start": {
                          "line": 13,
                          "column": 8
                        },
                        "end": {
                          "line": 13,
                          "column": 24
                        }
                      },
                      "expression": {
                        "type": "AssignmentExpression",
                        "start": 308,
                        "end": 324,
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 8
                          },
                          "end": {
                            "line": 13,
                            "column": 24
                          }
                        },
                        "operator": "=",
                        "left": {
                          "type": "MemberExpression",
                          "start": 308,
                          "end": 317,
                          "loc": {
                            "start": {
                              "line": 13,
                              "column": 8
                            },
                            "end": {
                              "line": 13,
                              "column": 17
                            }
                          },
                          "object": {
                            "type": "ThisExpression",
                            "start": 308,
                            "end": 312,
                            "loc": {
                              "start": {
                                "line": 13,
                                "column": 8
                              },
                              "end": {
                                "line": 13,
                                "column": 12
                              }
                            },
                            "leadingComments": null
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 313,
                            "end": 317,
                            "loc": {
                              "start": {
                                "line": 13,
                                "column": 13
                              },
                              "end": {
                                "line": 13,
                                "column": 17
                              },
                              "identifierName": "http"
                            },
                            "name": "http"
                          },
                          "computed": false,
                          "leadingComments": null
                        },
                        "right": {
                          "type": "Identifier",
                          "start": 320,
                          "end": 324,
                          "loc": {
                            "start": {
                              "line": 13,
                              "column": 20
                            },
                            "end": {
                              "line": 13,
                              "column": 24
                            },
                            "identifierName": "http"
                          },
                          "name": "http",
                          "leadingComments": null,
                          "trailingComments": null
                        },
                        "leadingComments": null,
                        "trailingComments": null
                      },
                      "leadingComments": [
                        {
                          "type": "CommentBlock",
                          "value": "*\n         * @ignore\n         ",
                          "start": 265,
                          "end": 299,
                          "loc": {
                            "start": {
                              "line": 10,
                              "column": 8
                            },
                            "end": {
                              "line": 12,
                              "column": 11
                            }
                          }
                        }
                      ],
                      "trailingComments": [
                        {
                          "type": "CommentBlock",
                          "value": "*\n         * @ignore\n         ",
                          "start": 334,
                          "end": 368,
                          "loc": {
                            "start": {
                              "line": 15,
                              "column": 8
                            },
                            "end": {
                              "line": 17,
                              "column": 11
                            }
                          }
                        }
                      ]
                    },
                    {
                      "type": "ExpressionStatement",
                      "start": 377,
                      "end": 403,
                      "loc": {
                        "start": {
                          "line": 18,
                          "column": 8
                        },
                        "end": {
                          "line": 18,
                          "column": 34
                        }
                      },
                      "expression": {
                        "type": "AssignmentExpression",
                        "start": 377,
                        "end": 403,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 8
                          },
                          "end": {
                            "line": 18,
                            "column": 34
                          }
                        },
                        "operator": "=",
                        "left": {
                          "type": "MemberExpression",
                          "start": 377,
                          "end": 391,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 8
                            },
                            "end": {
                              "line": 18,
                              "column": 22
                            }
                          },
                          "object": {
                            "type": "ThisExpression",
                            "start": 377,
                            "end": 381,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 8
                              },
                              "end": {
                                "line": 18,
                                "column": 12
                              }
                            },
                            "leadingComments": null
                          },
                          "property": {
                            "type": "Identifier",
                            "start": 382,
                            "end": 391,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 13
                              },
                              "end": {
                                "line": 18,
                                "column": 22
                              },
                              "identifierName": "territory"
                            },
                            "name": "territory"
                          },
                          "computed": false,
                          "leadingComments": null
                        },
                        "right": {
                          "type": "Identifier",
                          "start": 394,
                          "end": 403,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 25
                            },
                            "end": {
                              "line": 18,
                              "column": 34
                            },
                            "identifierName": "territory"
                          },
                          "name": "territory"
                        },
                        "leadingComments": null
                      },
                      "leadingComments": [
                        {
                          "type": "CommentBlock",
                          "value": "*\n         * @ignore\n         ",
                          "start": 334,
                          "end": 368,
                          "loc": {
                            "start": {
                              "line": 15,
                              "column": 8
                            },
                            "end": {
                              "line": 17,
                              "column": 11
                            }
                          }
                        }
                      ]
                    }
                  ],
                  "directives": [],
                  "trailingComments": null
                },
                "leadingComments": [
                  {
                    "type": "CommentBlock",
                    "value": "*      \n     * @param {Http} http \n     * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n     ",
                    "start": 64,
                    "end": 214,
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 4
                      },
                      "end": {
                        "line": 8,
                        "column": 7
                      }
                    }
                  }
                ],
                "trailingComments": [
                  {
                    "type": "CommentBlock",
                    "value": "*\n     * Fetches next page of various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Promise}\n     * @example \n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      api.albumFetcher.fetchNextPage(response))\n     * })\n     ",
                    "start": 415,
                    "end": 770,
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 4
                      },
                      "end": {
                        "line": 29,
                        "column": 7
                      }
                    }
                  }
                ]
              },
              {
                "type": "ClassMethod",
                "start": 775,
                "end": 1123,
                "loc": {
                  "start": {
                    "line": 30,
                    "column": 4
                  },
                  "end": {
                    "line": 40,
                    "column": 5
                  }
                },
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "start": 775,
                  "end": 788,
                  "loc": {
                    "start": {
                      "line": 30,
                      "column": 4
                    },
                    "end": {
                      "line": 30,
                      "column": 17
                    },
                    "identifierName": "fetchNextPage"
                  },
                  "name": "fetchNextPage",
                  "leadingComments": null
                },
                "static": false,
                "kind": "method",
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "Identifier",
                    "start": 789,
                    "end": 800,
                    "loc": {
                      "start": {
                        "line": 30,
                        "column": 18
                      },
                      "end": {
                        "line": 30,
                        "column": 29
                      },
                      "identifierName": "fulfillment"
                    },
                    "name": "fulfillment"
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 802,
                  "end": 1123,
                  "loc": {
                    "start": {
                      "line": 30,
                      "column": 31
                    },
                    "end": {
                      "line": 40,
                      "column": 5
                    }
                  },
                  "body": [
                    {
                      "type": "VariableDeclaration",
                      "start": 812,
                      "end": 854,
                      "loc": {
                        "start": {
                          "line": 31,
                          "column": 8
                        },
                        "end": {
                          "line": 31,
                          "column": 50
                        }
                      },
                      "declarations": [
                        {
                          "type": "VariableDeclarator",
                          "start": 816,
                          "end": 854,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 12
                            },
                            "end": {
                              "line": 31,
                              "column": 50
                            }
                          },
                          "id": {
                            "type": "Identifier",
                            "start": 816,
                            "end": 823,
                            "loc": {
                              "start": {
                                "line": 31,
                                "column": 12
                              },
                              "end": {
                                "line": 31,
                                "column": 19
                              },
                              "identifierName": "nextUri"
                            },
                            "name": "nextUri"
                          },
                          "init": {
                            "type": "MemberExpression",
                            "start": 826,
                            "end": 854,
                            "loc": {
                              "start": {
                                "line": 31,
                                "column": 22
                              },
                              "end": {
                                "line": 31,
                                "column": 50
                              }
                            },
                            "object": {
                              "type": "MemberExpression",
                              "start": 826,
                              "end": 849,
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 22
                                },
                                "end": {
                                  "line": 31,
                                  "column": 45
                                }
                              },
                              "object": {
                                "type": "MemberExpression",
                                "start": 826,
                                "end": 842,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 22
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 38
                                  }
                                },
                                "object": {
                                  "type": "Identifier",
                                  "start": 826,
                                  "end": 837,
                                  "loc": {
                                    "start": {
                                      "line": 31,
                                      "column": 22
                                    },
                                    "end": {
                                      "line": 31,
                                      "column": 33
                                    },
                                    "identifierName": "fulfillment"
                                  },
                                  "name": "fulfillment"
                                },
                                "property": {
                                  "type": "Identifier",
                                  "start": 838,
                                  "end": 842,
                                  "loc": {
                                    "start": {
                                      "line": 31,
                                      "column": 34
                                    },
                                    "end": {
                                      "line": 31,
                                      "column": 38
                                    },
                                    "identifierName": "data"
                                  },
                                  "name": "data"
                                },
                                "computed": false
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 843,
                                "end": 849,
                                "loc": {
                                  "start": {
                                    "line": 31,
                                    "column": 39
                                  },
                                  "end": {
                                    "line": 31,
                                    "column": 45
                                  },
                                  "identifierName": "paging"
                                },
                                "name": "paging"
                              },
                              "computed": false
                            },
                            "property": {
                              "type": "Identifier",
                              "start": 850,
                              "end": 854,
                              "loc": {
                                "start": {
                                  "line": 31,
                                  "column": 46
                                },
                                "end": {
                                  "line": 31,
                                  "column": 50
                                },
                                "identifierName": "next"
                              },
                              "name": "next"
                            },
                            "computed": false
                          }
                        }
                      ],
                      "kind": "var"
                    },
                    {
                      "type": "IfStatement",
                      "start": 863,
                      "end": 1117,
                      "loc": {
                        "start": {
                          "line": 32,
                          "column": 8
                        },
                        "end": {
                          "line": 39,
                          "column": 9
                        }
                      },
                      "test": {
                        "type": "LogicalExpression",
                        "start": 867,
                        "end": 907,
                        "loc": {
                          "start": {
                            "line": 32,
                            "column": 12
                          },
                          "end": {
                            "line": 32,
                            "column": 52
                          }
                        },
                        "left": {
                          "type": "BinaryExpression",
                          "start": 867,
                          "end": 882,
                          "loc": {
                            "start": {
                              "line": 32,
                              "column": 12
                            },
                            "end": {
                              "line": 32,
                              "column": 27
                            }
                          },
                          "left": {
                            "type": "Identifier",
                            "start": 867,
                            "end": 874,
                            "loc": {
                              "start": {
                                "line": 32,
                                "column": 12
                              },
                              "end": {
                                "line": 32,
                                "column": 19
                              },
                              "identifierName": "nextUri"
                            },
                            "name": "nextUri"
                          },
                          "operator": "!=",
                          "right": {
                            "type": "NullLiteral",
                            "start": 878,
                            "end": 882,
                            "loc": {
                              "start": {
                                "line": 32,
                                "column": 23
                              },
                              "end": {
                                "line": 32,
                                "column": 27
                              }
                            }
                          }
                        },
                        "operator": "&&",
                        "right": {
                          "type": "BinaryExpression",
                          "start": 886,
                          "end": 907,
                          "loc": {
                            "start": {
                              "line": 32,
                              "column": 31
                            },
                            "end": {
                              "line": 32,
                              "column": 52
                            }
                          },
                          "left": {
                            "type": "Identifier",
                            "start": 886,
                            "end": 893,
                            "loc": {
                              "start": {
                                "line": 32,
                                "column": 31
                              },
                              "end": {
                                "line": 32,
                                "column": 38
                              },
                              "identifierName": "nextUri"
                            },
                            "name": "nextUri"
                          },
                          "operator": "!==",
                          "right": {
                            "type": "Identifier",
                            "start": 898,
                            "end": 907,
                            "loc": {
                              "start": {
                                "line": 32,
                                "column": 43
                              },
                              "end": {
                                "line": 32,
                                "column": 52
                              },
                              "identifierName": "undefined"
                            },
                            "name": "undefined"
                          }
                        }
                      },
                      "consequent": {
                        "type": "BlockStatement",
                        "start": 909,
                        "end": 962,
                        "loc": {
                          "start": {
                            "line": 32,
                            "column": 54
                          },
                          "end": {
                            "line": 34,
                            "column": 9
                          }
                        },
                        "body": [
                          {
                            "type": "ReturnStatement",
                            "start": 923,
                            "end": 952,
                            "loc": {
                              "start": {
                                "line": 33,
                                "column": 12
                              },
                              "end": {
                                "line": 33,
                                "column": 41
                              }
                            },
                            "argument": {
                              "type": "CallExpression",
                              "start": 930,
                              "end": 952,
                              "loc": {
                                "start": {
                                  "line": 33,
                                  "column": 19
                                },
                                "end": {
                                  "line": 33,
                                  "column": 41
                                }
                              },
                              "callee": {
                                "type": "MemberExpression",
                                "start": 930,
                                "end": 943,
                                "loc": {
                                  "start": {
                                    "line": 33,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 33,
                                    "column": 32
                                  }
                                },
                                "object": {
                                  "type": "MemberExpression",
                                  "start": 930,
                                  "end": 939,
                                  "loc": {
                                    "start": {
                                      "line": 33,
                                      "column": 19
                                    },
                                    "end": {
                                      "line": 33,
                                      "column": 28
                                    }
                                  },
                                  "object": {
                                    "type": "ThisExpression",
                                    "start": 930,
                                    "end": 934,
                                    "loc": {
                                      "start": {
                                        "line": 33,
                                        "column": 19
                                      },
                                      "end": {
                                        "line": 33,
                                        "column": 23
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "start": 935,
                                    "end": 939,
                                    "loc": {
                                      "start": {
                                        "line": 33,
                                        "column": 24
                                      },
                                      "end": {
                                        "line": 33,
                                        "column": 28
                                      },
                                      "identifierName": "http"
                                    },
                                    "name": "http"
                                  },
                                  "computed": false
                                },
                                "property": {
                                  "type": "Identifier",
                                  "start": 940,
                                  "end": 943,
                                  "loc": {
                                    "start": {
                                      "line": 33,
                                      "column": 29
                                    },
                                    "end": {
                                      "line": 33,
                                      "column": 32
                                    },
                                    "identifierName": "get"
                                  },
                                  "name": "get"
                                },
                                "computed": false
                              },
                              "arguments": [
                                {
                                  "type": "Identifier",
                                  "start": 944,
                                  "end": 951,
                                  "loc": {
                                    "start": {
                                      "line": 33,
                                      "column": 33
                                    },
                                    "end": {
                                      "line": 33,
                                      "column": 40
                                    },
                                    "identifierName": "nextUri"
                                  },
                                  "name": "nextUri"
                                }
                              ]
                            }
                          }
                        ],
                        "directives": []
                      },
                      "alternate": {
                        "type": "BlockStatement",
                        "start": 976,
                        "end": 1117,
                        "loc": {
                          "start": {
                            "line": 35,
                            "column": 13
                          },
                          "end": {
                            "line": 39,
                            "column": 9
                          }
                        },
                        "body": [
                          {
                            "type": "ReturnStatement",
                            "start": 990,
                            "end": 1095,
                            "loc": {
                              "start": {
                                "line": 36,
                                "column": 12
                              },
                              "end": {
                                "line": 38,
                                "column": 14
                              }
                            },
                            "argument": {
                              "type": "NewExpression",
                              "start": 997,
                              "end": 1095,
                              "loc": {
                                "start": {
                                  "line": 36,
                                  "column": 19
                                },
                                "end": {
                                  "line": 38,
                                  "column": 14
                                }
                              },
                              "callee": {
                                "type": "Identifier",
                                "start": 1001,
                                "end": 1008,
                                "loc": {
                                  "start": {
                                    "line": 36,
                                    "column": 23
                                  },
                                  "end": {
                                    "line": 36,
                                    "column": 30
                                  },
                                  "identifierName": "Promise"
                                },
                                "name": "Promise"
                              },
                              "arguments": [
                                {
                                  "type": "ArrowFunctionExpression",
                                  "start": 1009,
                                  "end": 1094,
                                  "loc": {
                                    "start": {
                                      "line": 36,
                                      "column": 31
                                    },
                                    "end": {
                                      "line": 38,
                                      "column": 13
                                    }
                                  },
                                  "id": null,
                                  "generator": false,
                                  "expression": false,
                                  "async": false,
                                  "params": [
                                    {
                                      "type": "Identifier",
                                      "start": 1010,
                                      "end": 1017,
                                      "loc": {
                                        "start": {
                                          "line": 36,
                                          "column": 32
                                        },
                                        "end": {
                                          "line": 36,
                                          "column": 39
                                        },
                                        "identifierName": "resolve"
                                      },
                                      "name": "resolve"
                                    },
                                    {
                                      "type": "Identifier",
                                      "start": 1019,
                                      "end": 1025,
                                      "loc": {
                                        "start": {
                                          "line": 36,
                                          "column": 41
                                        },
                                        "end": {
                                          "line": 36,
                                          "column": 47
                                        },
                                        "identifierName": "reject"
                                      },
                                      "name": "reject"
                                    }
                                  ],
                                  "body": {
                                    "type": "BlockStatement",
                                    "start": 1030,
                                    "end": 1094,
                                    "loc": {
                                      "start": {
                                        "line": 36,
                                        "column": 52
                                      },
                                      "end": {
                                        "line": 38,
                                        "column": 13
                                      }
                                    },
                                    "body": [
                                      {
                                        "type": "ExpressionStatement",
                                        "start": 1048,
                                        "end": 1080,
                                        "loc": {
                                          "start": {
                                            "line": 37,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 37,
                                            "column": 48
                                          }
                                        },
                                        "expression": {
                                          "type": "CallExpression",
                                          "start": 1048,
                                          "end": 1080,
                                          "loc": {
                                            "start": {
                                              "line": 37,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 37,
                                              "column": 48
                                            }
                                          },
                                          "callee": {
                                            "type": "Identifier",
                                            "start": 1048,
                                            "end": 1054,
                                            "loc": {
                                              "start": {
                                                "line": 37,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 37,
                                                "column": 22
                                              },
                                              "identifierName": "reject"
                                            },
                                            "name": "reject"
                                          },
                                          "arguments": [
                                            {
                                              "type": "StringLiteral",
                                              "start": 1055,
                                              "end": 1079,
                                              "loc": {
                                                "start": {
                                                  "line": 37,
                                                  "column": 23
                                                },
                                                "end": {
                                                  "line": 37,
                                                  "column": 47
                                                }
                                              },
                                              "extra": {
                                                "rawValue": "Cannot fetch next page",
                                                "raw": "'Cannot fetch next page'"
                                              },
                                              "value": "Cannot fetch next page"
                                            }
                                          ]
                                        }
                                      }
                                    ],
                                    "directives": []
                                  }
                                }
                              ]
                            }
                          }
                        ],
                        "directives": []
                      }
                    }
                  ],
                  "directives": [],
                  "trailingComments": null
                },
                "leadingComments": [
                  {
                    "type": "CommentBlock",
                    "value": "*\n     * Fetches next page of various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Promise}\n     * @example \n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      api.albumFetcher.fetchNextPage(response))\n     * })\n     ",
                    "start": 415,
                    "end": 770,
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 4
                      },
                      "end": {
                        "line": 29,
                        "column": 7
                      }
                    }
                  }
                ],
                "trailingComments": [
                  {
                    "type": "CommentBlock",
                    "value": "*\n     * Is next page available for various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Boolean}\n     * @example\n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      if (api.albumFetcher.hasNextPage(response)) {\n     *          // more data available\n     *      }\n     * })\n     ",
                    "start": 1129,
                    "end": 1546,
                    "loc": {
                      "start": {
                        "line": 42,
                        "column": 4
                      },
                      "end": {
                        "line": 52,
                        "column": 7
                      }
                    }
                  }
                ]
              },
              {
                "type": "ClassMethod",
                "start": 1551,
                "end": 1774,
                "loc": {
                  "start": {
                    "line": 53,
                    "column": 4
                  },
                  "end": {
                    "line": 61,
                    "column": 5
                  }
                },
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "start": 1551,
                  "end": 1562,
                  "loc": {
                    "start": {
                      "line": 53,
                      "column": 4
                    },
                    "end": {
                      "line": 53,
                      "column": 15
                    },
                    "identifierName": "hasNextPage"
                  },
                  "name": "hasNextPage",
                  "leadingComments": null
                },
                "static": false,
                "kind": "method",
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "Identifier",
                    "start": 1563,
                    "end": 1574,
                    "loc": {
                      "start": {
                        "line": 53,
                        "column": 16
                      },
                      "end": {
                        "line": 53,
                        "column": 27
                      },
                      "identifierName": "fulfillment"
                    },
                    "name": "fulfillment"
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 1576,
                  "end": 1774,
                  "loc": {
                    "start": {
                      "line": 53,
                      "column": 29
                    },
                    "end": {
                      "line": 61,
                      "column": 5
                    }
                  },
                  "body": [
                    {
                      "type": "VariableDeclaration",
                      "start": 1586,
                      "end": 1628,
                      "loc": {
                        "start": {
                          "line": 54,
                          "column": 8
                        },
                        "end": {
                          "line": 54,
                          "column": 50
                        }
                      },
                      "declarations": [
                        {
                          "type": "VariableDeclarator",
                          "start": 1590,
                          "end": 1628,
                          "loc": {
                            "start": {
                              "line": 54,
                              "column": 12
                            },
                            "end": {
                              "line": 54,
                              "column": 50
                            }
                          },
                          "id": {
                            "type": "Identifier",
                            "start": 1590,
                            "end": 1597,
                            "loc": {
                              "start": {
                                "line": 54,
                                "column": 12
                              },
                              "end": {
                                "line": 54,
                                "column": 19
                              },
                              "identifierName": "nextUri"
                            },
                            "name": "nextUri"
                          },
                          "init": {
                            "type": "MemberExpression",
                            "start": 1600,
                            "end": 1628,
                            "loc": {
                              "start": {
                                "line": 54,
                                "column": 22
                              },
                              "end": {
                                "line": 54,
                                "column": 50
                              }
                            },
                            "object": {
                              "type": "MemberExpression",
                              "start": 1600,
                              "end": 1623,
                              "loc": {
                                "start": {
                                  "line": 54,
                                  "column": 22
                                },
                                "end": {
                                  "line": 54,
                                  "column": 45
                                }
                              },
                              "object": {
                                "type": "MemberExpression",
                                "start": 1600,
                                "end": 1616,
                                "loc": {
                                  "start": {
                                    "line": 54,
                                    "column": 22
                                  },
                                  "end": {
                                    "line": 54,
                                    "column": 38
                                  }
                                },
                                "object": {
                                  "type": "Identifier",
                                  "start": 1600,
                                  "end": 1611,
                                  "loc": {
                                    "start": {
                                      "line": 54,
                                      "column": 22
                                    },
                                    "end": {
                                      "line": 54,
                                      "column": 33
                                    },
                                    "identifierName": "fulfillment"
                                  },
                                  "name": "fulfillment"
                                },
                                "property": {
                                  "type": "Identifier",
                                  "start": 1612,
                                  "end": 1616,
                                  "loc": {
                                    "start": {
                                      "line": 54,
                                      "column": 34
                                    },
                                    "end": {
                                      "line": 54,
                                      "column": 38
                                    },
                                    "identifierName": "data"
                                  },
                                  "name": "data"
                                },
                                "computed": false
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 1617,
                                "end": 1623,
                                "loc": {
                                  "start": {
                                    "line": 54,
                                    "column": 39
                                  },
                                  "end": {
                                    "line": 54,
                                    "column": 45
                                  },
                                  "identifierName": "paging"
                                },
                                "name": "paging"
                              },
                              "computed": false
                            },
                            "property": {
                              "type": "Identifier",
                              "start": 1624,
                              "end": 1628,
                              "loc": {
                                "start": {
                                  "line": 54,
                                  "column": 46
                                },
                                "end": {
                                  "line": 54,
                                  "column": 50
                                },
                                "identifierName": "next"
                              },
                              "name": "next"
                            },
                            "computed": false
                          }
                        }
                      ],
                      "kind": "var"
                    },
                    {
                      "type": "IfStatement",
                      "start": 1637,
                      "end": 1768,
                      "loc": {
                        "start": {
                          "line": 55,
                          "column": 8
                        },
                        "end": {
                          "line": 60,
                          "column": 9
                        }
                      },
                      "test": {
                        "type": "LogicalExpression",
                        "start": 1641,
                        "end": 1681,
                        "loc": {
                          "start": {
                            "line": 55,
                            "column": 12
                          },
                          "end": {
                            "line": 55,
                            "column": 52
                          }
                        },
                        "left": {
                          "type": "BinaryExpression",
                          "start": 1641,
                          "end": 1656,
                          "loc": {
                            "start": {
                              "line": 55,
                              "column": 12
                            },
                            "end": {
                              "line": 55,
                              "column": 27
                            }
                          },
                          "left": {
                            "type": "Identifier",
                            "start": 1641,
                            "end": 1648,
                            "loc": {
                              "start": {
                                "line": 55,
                                "column": 12
                              },
                              "end": {
                                "line": 55,
                                "column": 19
                              },
                              "identifierName": "nextUri"
                            },
                            "name": "nextUri"
                          },
                          "operator": "!=",
                          "right": {
                            "type": "NullLiteral",
                            "start": 1652,
                            "end": 1656,
                            "loc": {
                              "start": {
                                "line": 55,
                                "column": 23
                              },
                              "end": {
                                "line": 55,
                                "column": 27
                              }
                            }
                          }
                        },
                        "operator": "&&",
                        "right": {
                          "type": "BinaryExpression",
                          "start": 1660,
                          "end": 1681,
                          "loc": {
                            "start": {
                              "line": 55,
                              "column": 31
                            },
                            "end": {
                              "line": 55,
                              "column": 52
                            }
                          },
                          "left": {
                            "type": "Identifier",
                            "start": 1660,
                            "end": 1667,
                            "loc": {
                              "start": {
                                "line": 55,
                                "column": 31
                              },
                              "end": {
                                "line": 55,
                                "column": 38
                              },
                              "identifierName": "nextUri"
                            },
                            "name": "nextUri"
                          },
                          "operator": "!==",
                          "right": {
                            "type": "Identifier",
                            "start": 1672,
                            "end": 1681,
                            "loc": {
                              "start": {
                                "line": 55,
                                "column": 43
                              },
                              "end": {
                                "line": 55,
                                "column": 52
                              },
                              "identifierName": "undefined"
                            },
                            "name": "undefined"
                          }
                        }
                      },
                      "consequent": {
                        "type": "BlockStatement",
                        "start": 1683,
                        "end": 1718,
                        "loc": {
                          "start": {
                            "line": 55,
                            "column": 54
                          },
                          "end": {
                            "line": 57,
                            "column": 9
                          }
                        },
                        "body": [
                          {
                            "type": "ReturnStatement",
                            "start": 1697,
                            "end": 1708,
                            "loc": {
                              "start": {
                                "line": 56,
                                "column": 12
                              },
                              "end": {
                                "line": 56,
                                "column": 23
                              }
                            },
                            "argument": {
                              "type": "BooleanLiteral",
                              "start": 1704,
                              "end": 1708,
                              "loc": {
                                "start": {
                                  "line": 56,
                                  "column": 19
                                },
                                "end": {
                                  "line": 56,
                                  "column": 23
                                }
                              },
                              "value": true
                            }
                          }
                        ],
                        "directives": []
                      },
                      "alternate": {
                        "type": "BlockStatement",
                        "start": 1732,
                        "end": 1768,
                        "loc": {
                          "start": {
                            "line": 58,
                            "column": 13
                          },
                          "end": {
                            "line": 60,
                            "column": 9
                          }
                        },
                        "body": [
                          {
                            "type": "ReturnStatement",
                            "start": 1746,
                            "end": 1758,
                            "loc": {
                              "start": {
                                "line": 59,
                                "column": 12
                              },
                              "end": {
                                "line": 59,
                                "column": 24
                              }
                            },
                            "argument": {
                              "type": "BooleanLiteral",
                              "start": 1753,
                              "end": 1758,
                              "loc": {
                                "start": {
                                  "line": 59,
                                  "column": 19
                                },
                                "end": {
                                  "line": 59,
                                  "column": 24
                                }
                              },
                              "value": false
                            }
                          }
                        ],
                        "directives": []
                      }
                    }
                  ],
                  "directives": []
                },
                "leadingComments": [
                  {
                    "type": "CommentBlock",
                    "value": "*\n     * Is next page available for various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Boolean}\n     * @example\n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      if (api.albumFetcher.hasNextPage(response)) {\n     *          // more data available\n     *      }\n     * })\n     ",
                    "start": 1129,
                    "end": 1546,
                    "loc": {
                      "start": {
                        "line": 42,
                        "column": 4
                      },
                      "end": {
                        "line": 52,
                        "column": 7
                      }
                    }
                  }
                ]
              }
            ]
          },
          "leadingComments": [
            {
              "type": "CommentBlock",
              "value": "*\n * Base api fetcher.\n ",
              "start": 0,
              "end": 28,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 0
                },
                "end": {
                  "line": 3,
                  "column": 3
                }
              }
            }
          ],
          "trailingComments": []
        },
        "leadingComments": [
          {
            "type": "CommentBlock",
            "value": "*\n * Base api fetcher.\n ",
            "start": 0,
            "end": 28,
            "loc": {
              "start": {
                "line": 1,
                "column": 0
              },
              "end": {
                "line": 3,
                "column": 3
              }
            }
          }
        ]
      }
    ],
    "directives": []
  },
  "comments": [
    {
      "type": "CommentBlock",
      "value": "*\n * Base api fetcher.\n ",
      "start": 0,
      "end": 28,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 3
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*      \n     * @param {Http} http \n     * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n     ",
      "start": 64,
      "end": 214,
      "loc": {
        "start": {
          "line": 5,
          "column": 4
        },
        "end": {
          "line": 8,
          "column": 7
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n         * @ignore\n         ",
      "start": 265,
      "end": 299,
      "loc": {
        "start": {
          "line": 10,
          "column": 8
        },
        "end": {
          "line": 12,
          "column": 11
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n         * @ignore\n         ",
      "start": 334,
      "end": 368,
      "loc": {
        "start": {
          "line": 15,
          "column": 8
        },
        "end": {
          "line": 17,
          "column": 11
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n     * Fetches next page of various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Promise}\n     * @example \n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      api.albumFetcher.fetchNextPage(response))\n     * })\n     ",
      "start": 415,
      "end": 770,
      "loc": {
        "start": {
          "line": 21,
          "column": 4
        },
        "end": {
          "line": 29,
          "column": 7
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n     * Is next page available for various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Boolean}\n     * @example\n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      if (api.albumFetcher.hasNextPage(response)) {\n     *          // more data available\n     *      }\n     * })\n     ",
      "start": 1129,
      "end": 1546,
      "loc": {
        "start": {
          "line": 42,
          "column": 4
        },
        "end": {
          "line": 52,
          "column": 7
        }
      }
    }
  ],
  "tokens": [
    {
      "type": "CommentBlock",
      "value": "*\n * Base api fetcher.\n ",
      "start": 0,
      "end": 28,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 3
        }
      }
    },
    {
      "type": {
        "label": "export",
        "keyword": "export",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "export",
      "start": 29,
      "end": 35,
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 6
        }
      }
    },
    {
      "type": {
        "label": "default",
        "keyword": "default",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "default",
      "start": 36,
      "end": 43,
      "loc": {
        "start": {
          "line": 4,
          "column": 7
        },
        "end": {
          "line": 4,
          "column": 14
        }
      }
    },
    {
      "type": {
        "label": "class",
        "keyword": "class",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "class",
      "start": 44,
      "end": 49,
      "loc": {
        "start": {
          "line": 4,
          "column": 15
        },
        "end": {
          "line": 4,
          "column": 20
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "Fetcher",
      "start": 50,
      "end": 57,
      "loc": {
        "start": {
          "line": 4,
          "column": 21
        },
        "end": {
          "line": 4,
          "column": 28
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 58,
      "end": 59,
      "loc": {
        "start": {
          "line": 4,
          "column": 29
        },
        "end": {
          "line": 4,
          "column": 30
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*      \n     * @param {Http} http \n     * @param {string} [territory = 'TW'] - ['TW', 'HK', 'SG', 'MY', 'JP'] The territory for the fetcher.\n     ",
      "start": 64,
      "end": 214,
      "loc": {
        "start": {
          "line": 5,
          "column": 4
        },
        "end": {
          "line": 8,
          "column": 7
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "constructor",
      "start": 219,
      "end": 230,
      "loc": {
        "start": {
          "line": 9,
          "column": 4
        },
        "end": {
          "line": 9,
          "column": 15
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 230,
      "end": 231,
      "loc": {
        "start": {
          "line": 9,
          "column": 15
        },
        "end": {
          "line": 9,
          "column": 16
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "http",
      "start": 231,
      "end": 235,
      "loc": {
        "start": {
          "line": 9,
          "column": 16
        },
        "end": {
          "line": 9,
          "column": 20
        }
      }
    },
    {
      "type": {
        "label": ",",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 235,
      "end": 236,
      "loc": {
        "start": {
          "line": 9,
          "column": 20
        },
        "end": {
          "line": 9,
          "column": 21
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "territory",
      "start": 237,
      "end": 246,
      "loc": {
        "start": {
          "line": 9,
          "column": 22
        },
        "end": {
          "line": 9,
          "column": 31
        }
      }
    },
    {
      "type": {
        "label": "=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": true,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "=",
      "start": 247,
      "end": 248,
      "loc": {
        "start": {
          "line": 9,
          "column": 32
        },
        "end": {
          "line": 9,
          "column": 33
        }
      }
    },
    {
      "type": {
        "label": "string",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "TW",
      "start": 249,
      "end": 253,
      "loc": {
        "start": {
          "line": 9,
          "column": 34
        },
        "end": {
          "line": 9,
          "column": 38
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 253,
      "end": 254,
      "loc": {
        "start": {
          "line": 9,
          "column": 38
        },
        "end": {
          "line": 9,
          "column": 39
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 255,
      "end": 256,
      "loc": {
        "start": {
          "line": 9,
          "column": 40
        },
        "end": {
          "line": 9,
          "column": 41
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n         * @ignore\n         ",
      "start": 265,
      "end": 299,
      "loc": {
        "start": {
          "line": 10,
          "column": 8
        },
        "end": {
          "line": 12,
          "column": 11
        }
      }
    },
    {
      "type": {
        "label": "this",
        "keyword": "this",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "this",
      "start": 308,
      "end": 312,
      "loc": {
        "start": {
          "line": 13,
          "column": 8
        },
        "end": {
          "line": 13,
          "column": 12
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 312,
      "end": 313,
      "loc": {
        "start": {
          "line": 13,
          "column": 12
        },
        "end": {
          "line": 13,
          "column": 13
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "http",
      "start": 313,
      "end": 317,
      "loc": {
        "start": {
          "line": 13,
          "column": 13
        },
        "end": {
          "line": 13,
          "column": 17
        }
      }
    },
    {
      "type": {
        "label": "=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": true,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "=",
      "start": 318,
      "end": 319,
      "loc": {
        "start": {
          "line": 13,
          "column": 18
        },
        "end": {
          "line": 13,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "http",
      "start": 320,
      "end": 324,
      "loc": {
        "start": {
          "line": 13,
          "column": 20
        },
        "end": {
          "line": 13,
          "column": 24
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n         * @ignore\n         ",
      "start": 334,
      "end": 368,
      "loc": {
        "start": {
          "line": 15,
          "column": 8
        },
        "end": {
          "line": 17,
          "column": 11
        }
      }
    },
    {
      "type": {
        "label": "this",
        "keyword": "this",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "this",
      "start": 377,
      "end": 381,
      "loc": {
        "start": {
          "line": 18,
          "column": 8
        },
        "end": {
          "line": 18,
          "column": 12
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 381,
      "end": 382,
      "loc": {
        "start": {
          "line": 18,
          "column": 12
        },
        "end": {
          "line": 18,
          "column": 13
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "territory",
      "start": 382,
      "end": 391,
      "loc": {
        "start": {
          "line": 18,
          "column": 13
        },
        "end": {
          "line": 18,
          "column": 22
        }
      }
    },
    {
      "type": {
        "label": "=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": true,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "=",
      "start": 392,
      "end": 393,
      "loc": {
        "start": {
          "line": 18,
          "column": 23
        },
        "end": {
          "line": 18,
          "column": 24
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "territory",
      "start": 394,
      "end": 403,
      "loc": {
        "start": {
          "line": 18,
          "column": 25
        },
        "end": {
          "line": 18,
          "column": 34
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 408,
      "end": 409,
      "loc": {
        "start": {
          "line": 19,
          "column": 4
        },
        "end": {
          "line": 19,
          "column": 5
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n     * Fetches next page of various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Promise}\n     * @example \n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      api.albumFetcher.fetchNextPage(response))\n     * })\n     ",
      "start": 415,
      "end": 770,
      "loc": {
        "start": {
          "line": 21,
          "column": 4
        },
        "end": {
          "line": 29,
          "column": 7
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "fetchNextPage",
      "start": 775,
      "end": 788,
      "loc": {
        "start": {
          "line": 30,
          "column": 4
        },
        "end": {
          "line": 30,
          "column": 17
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 788,
      "end": 789,
      "loc": {
        "start": {
          "line": 30,
          "column": 17
        },
        "end": {
          "line": 30,
          "column": 18
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "fulfillment",
      "start": 789,
      "end": 800,
      "loc": {
        "start": {
          "line": 30,
          "column": 18
        },
        "end": {
          "line": 30,
          "column": 29
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 800,
      "end": 801,
      "loc": {
        "start": {
          "line": 30,
          "column": 29
        },
        "end": {
          "line": 30,
          "column": 30
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 802,
      "end": 803,
      "loc": {
        "start": {
          "line": 30,
          "column": 31
        },
        "end": {
          "line": 30,
          "column": 32
        }
      }
    },
    {
      "type": {
        "label": "var",
        "keyword": "var",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "var",
      "start": 812,
      "end": 815,
      "loc": {
        "start": {
          "line": 31,
          "column": 8
        },
        "end": {
          "line": 31,
          "column": 11
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 816,
      "end": 823,
      "loc": {
        "start": {
          "line": 31,
          "column": 12
        },
        "end": {
          "line": 31,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": true,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "=",
      "start": 824,
      "end": 825,
      "loc": {
        "start": {
          "line": 31,
          "column": 20
        },
        "end": {
          "line": 31,
          "column": 21
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "fulfillment",
      "start": 826,
      "end": 837,
      "loc": {
        "start": {
          "line": 31,
          "column": 22
        },
        "end": {
          "line": 31,
          "column": 33
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 837,
      "end": 838,
      "loc": {
        "start": {
          "line": 31,
          "column": 33
        },
        "end": {
          "line": 31,
          "column": 34
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "data",
      "start": 838,
      "end": 842,
      "loc": {
        "start": {
          "line": 31,
          "column": 34
        },
        "end": {
          "line": 31,
          "column": 38
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 842,
      "end": 843,
      "loc": {
        "start": {
          "line": 31,
          "column": 38
        },
        "end": {
          "line": 31,
          "column": 39
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "paging",
      "start": 843,
      "end": 849,
      "loc": {
        "start": {
          "line": 31,
          "column": 39
        },
        "end": {
          "line": 31,
          "column": 45
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 849,
      "end": 850,
      "loc": {
        "start": {
          "line": 31,
          "column": 45
        },
        "end": {
          "line": 31,
          "column": 46
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "next",
      "start": 850,
      "end": 854,
      "loc": {
        "start": {
          "line": 31,
          "column": 46
        },
        "end": {
          "line": 31,
          "column": 50
        }
      }
    },
    {
      "type": {
        "label": "if",
        "keyword": "if",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "if",
      "start": 863,
      "end": 865,
      "loc": {
        "start": {
          "line": 32,
          "column": 8
        },
        "end": {
          "line": 32,
          "column": 10
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 866,
      "end": 867,
      "loc": {
        "start": {
          "line": 32,
          "column": 11
        },
        "end": {
          "line": 32,
          "column": 12
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 867,
      "end": 874,
      "loc": {
        "start": {
          "line": 32,
          "column": 12
        },
        "end": {
          "line": 32,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "==/!=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": 6,
        "updateContext": null
      },
      "value": "!=",
      "start": 875,
      "end": 877,
      "loc": {
        "start": {
          "line": 32,
          "column": 20
        },
        "end": {
          "line": 32,
          "column": 22
        }
      }
    },
    {
      "type": {
        "label": "null",
        "keyword": "null",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "null",
      "start": 878,
      "end": 882,
      "loc": {
        "start": {
          "line": 32,
          "column": 23
        },
        "end": {
          "line": 32,
          "column": 27
        }
      }
    },
    {
      "type": {
        "label": "&&",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": 2,
        "updateContext": null
      },
      "value": "&&",
      "start": 883,
      "end": 885,
      "loc": {
        "start": {
          "line": 32,
          "column": 28
        },
        "end": {
          "line": 32,
          "column": 30
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 886,
      "end": 893,
      "loc": {
        "start": {
          "line": 32,
          "column": 31
        },
        "end": {
          "line": 32,
          "column": 38
        }
      }
    },
    {
      "type": {
        "label": "==/!=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": 6,
        "updateContext": null
      },
      "value": "!==",
      "start": 894,
      "end": 897,
      "loc": {
        "start": {
          "line": 32,
          "column": 39
        },
        "end": {
          "line": 32,
          "column": 42
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "undefined",
      "start": 898,
      "end": 907,
      "loc": {
        "start": {
          "line": 32,
          "column": 43
        },
        "end": {
          "line": 32,
          "column": 52
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 907,
      "end": 908,
      "loc": {
        "start": {
          "line": 32,
          "column": 52
        },
        "end": {
          "line": 32,
          "column": 53
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 909,
      "end": 910,
      "loc": {
        "start": {
          "line": 32,
          "column": 54
        },
        "end": {
          "line": 32,
          "column": 55
        }
      }
    },
    {
      "type": {
        "label": "return",
        "keyword": "return",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "return",
      "start": 923,
      "end": 929,
      "loc": {
        "start": {
          "line": 33,
          "column": 12
        },
        "end": {
          "line": 33,
          "column": 18
        }
      }
    },
    {
      "type": {
        "label": "this",
        "keyword": "this",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "this",
      "start": 930,
      "end": 934,
      "loc": {
        "start": {
          "line": 33,
          "column": 19
        },
        "end": {
          "line": 33,
          "column": 23
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 934,
      "end": 935,
      "loc": {
        "start": {
          "line": 33,
          "column": 23
        },
        "end": {
          "line": 33,
          "column": 24
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "http",
      "start": 935,
      "end": 939,
      "loc": {
        "start": {
          "line": 33,
          "column": 24
        },
        "end": {
          "line": 33,
          "column": 28
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 939,
      "end": 940,
      "loc": {
        "start": {
          "line": 33,
          "column": 28
        },
        "end": {
          "line": 33,
          "column": 29
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "get",
      "start": 940,
      "end": 943,
      "loc": {
        "start": {
          "line": 33,
          "column": 29
        },
        "end": {
          "line": 33,
          "column": 32
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 943,
      "end": 944,
      "loc": {
        "start": {
          "line": 33,
          "column": 32
        },
        "end": {
          "line": 33,
          "column": 33
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 944,
      "end": 951,
      "loc": {
        "start": {
          "line": 33,
          "column": 33
        },
        "end": {
          "line": 33,
          "column": 40
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 951,
      "end": 952,
      "loc": {
        "start": {
          "line": 33,
          "column": 40
        },
        "end": {
          "line": 33,
          "column": 41
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 961,
      "end": 962,
      "loc": {
        "start": {
          "line": 34,
          "column": 8
        },
        "end": {
          "line": 34,
          "column": 9
        }
      }
    },
    {
      "type": {
        "label": "else",
        "keyword": "else",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "else",
      "start": 971,
      "end": 975,
      "loc": {
        "start": {
          "line": 35,
          "column": 8
        },
        "end": {
          "line": 35,
          "column": 12
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 976,
      "end": 977,
      "loc": {
        "start": {
          "line": 35,
          "column": 13
        },
        "end": {
          "line": 35,
          "column": 14
        }
      }
    },
    {
      "type": {
        "label": "return",
        "keyword": "return",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "return",
      "start": 990,
      "end": 996,
      "loc": {
        "start": {
          "line": 36,
          "column": 12
        },
        "end": {
          "line": 36,
          "column": 18
        }
      }
    },
    {
      "type": {
        "label": "new",
        "keyword": "new",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "new",
      "start": 997,
      "end": 1000,
      "loc": {
        "start": {
          "line": 36,
          "column": 19
        },
        "end": {
          "line": 36,
          "column": 22
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "Promise",
      "start": 1001,
      "end": 1008,
      "loc": {
        "start": {
          "line": 36,
          "column": 23
        },
        "end": {
          "line": 36,
          "column": 30
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1008,
      "end": 1009,
      "loc": {
        "start": {
          "line": 36,
          "column": 30
        },
        "end": {
          "line": 36,
          "column": 31
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1009,
      "end": 1010,
      "loc": {
        "start": {
          "line": 36,
          "column": 31
        },
        "end": {
          "line": 36,
          "column": 32
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "resolve",
      "start": 1010,
      "end": 1017,
      "loc": {
        "start": {
          "line": 36,
          "column": 32
        },
        "end": {
          "line": 36,
          "column": 39
        }
      }
    },
    {
      "type": {
        "label": ",",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 1017,
      "end": 1018,
      "loc": {
        "start": {
          "line": 36,
          "column": 39
        },
        "end": {
          "line": 36,
          "column": 40
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "reject",
      "start": 1019,
      "end": 1025,
      "loc": {
        "start": {
          "line": 36,
          "column": 41
        },
        "end": {
          "line": 36,
          "column": 47
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1025,
      "end": 1026,
      "loc": {
        "start": {
          "line": 36,
          "column": 47
        },
        "end": {
          "line": 36,
          "column": 48
        }
      }
    },
    {
      "type": {
        "label": "=>",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 1027,
      "end": 1029,
      "loc": {
        "start": {
          "line": 36,
          "column": 49
        },
        "end": {
          "line": 36,
          "column": 51
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1030,
      "end": 1031,
      "loc": {
        "start": {
          "line": 36,
          "column": 52
        },
        "end": {
          "line": 36,
          "column": 53
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "reject",
      "start": 1048,
      "end": 1054,
      "loc": {
        "start": {
          "line": 37,
          "column": 16
        },
        "end": {
          "line": 37,
          "column": 22
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1054,
      "end": 1055,
      "loc": {
        "start": {
          "line": 37,
          "column": 22
        },
        "end": {
          "line": 37,
          "column": 23
        }
      }
    },
    {
      "type": {
        "label": "string",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "Cannot fetch next page",
      "start": 1055,
      "end": 1079,
      "loc": {
        "start": {
          "line": 37,
          "column": 23
        },
        "end": {
          "line": 37,
          "column": 47
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1079,
      "end": 1080,
      "loc": {
        "start": {
          "line": 37,
          "column": 47
        },
        "end": {
          "line": 37,
          "column": 48
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1093,
      "end": 1094,
      "loc": {
        "start": {
          "line": 38,
          "column": 12
        },
        "end": {
          "line": 38,
          "column": 13
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1094,
      "end": 1095,
      "loc": {
        "start": {
          "line": 38,
          "column": 13
        },
        "end": {
          "line": 38,
          "column": 14
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1116,
      "end": 1117,
      "loc": {
        "start": {
          "line": 39,
          "column": 8
        },
        "end": {
          "line": 39,
          "column": 9
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1122,
      "end": 1123,
      "loc": {
        "start": {
          "line": 40,
          "column": 4
        },
        "end": {
          "line": 40,
          "column": 5
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n     * Is next page available for various paged API.\n     * @param {fulfillment} fulfillment - The fulfillment get from Promose's onFulfillment function \n     * @return {Boolean}\n     * @example\n     * api.albumFetcher.setAlbumID('KmRKnW5qmUrTnGRuxF').fetchTracks().then(response => {\n     *      if (api.albumFetcher.hasNextPage(response)) {\n     *          // more data available\n     *      }\n     * })\n     ",
      "start": 1129,
      "end": 1546,
      "loc": {
        "start": {
          "line": 42,
          "column": 4
        },
        "end": {
          "line": 52,
          "column": 7
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "hasNextPage",
      "start": 1551,
      "end": 1562,
      "loc": {
        "start": {
          "line": 53,
          "column": 4
        },
        "end": {
          "line": 53,
          "column": 15
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1562,
      "end": 1563,
      "loc": {
        "start": {
          "line": 53,
          "column": 15
        },
        "end": {
          "line": 53,
          "column": 16
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "fulfillment",
      "start": 1563,
      "end": 1574,
      "loc": {
        "start": {
          "line": 53,
          "column": 16
        },
        "end": {
          "line": 53,
          "column": 27
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1574,
      "end": 1575,
      "loc": {
        "start": {
          "line": 53,
          "column": 27
        },
        "end": {
          "line": 53,
          "column": 28
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1576,
      "end": 1577,
      "loc": {
        "start": {
          "line": 53,
          "column": 29
        },
        "end": {
          "line": 53,
          "column": 30
        }
      }
    },
    {
      "type": {
        "label": "var",
        "keyword": "var",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "var",
      "start": 1586,
      "end": 1589,
      "loc": {
        "start": {
          "line": 54,
          "column": 8
        },
        "end": {
          "line": 54,
          "column": 11
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 1590,
      "end": 1597,
      "loc": {
        "start": {
          "line": 54,
          "column": 12
        },
        "end": {
          "line": 54,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": true,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "=",
      "start": 1598,
      "end": 1599,
      "loc": {
        "start": {
          "line": 54,
          "column": 20
        },
        "end": {
          "line": 54,
          "column": 21
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "fulfillment",
      "start": 1600,
      "end": 1611,
      "loc": {
        "start": {
          "line": 54,
          "column": 22
        },
        "end": {
          "line": 54,
          "column": 33
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 1611,
      "end": 1612,
      "loc": {
        "start": {
          "line": 54,
          "column": 33
        },
        "end": {
          "line": 54,
          "column": 34
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "data",
      "start": 1612,
      "end": 1616,
      "loc": {
        "start": {
          "line": 54,
          "column": 34
        },
        "end": {
          "line": 54,
          "column": 38
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 1616,
      "end": 1617,
      "loc": {
        "start": {
          "line": 54,
          "column": 38
        },
        "end": {
          "line": 54,
          "column": 39
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "paging",
      "start": 1617,
      "end": 1623,
      "loc": {
        "start": {
          "line": 54,
          "column": 39
        },
        "end": {
          "line": 54,
          "column": 45
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 1623,
      "end": 1624,
      "loc": {
        "start": {
          "line": 54,
          "column": 45
        },
        "end": {
          "line": 54,
          "column": 46
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "next",
      "start": 1624,
      "end": 1628,
      "loc": {
        "start": {
          "line": 54,
          "column": 46
        },
        "end": {
          "line": 54,
          "column": 50
        }
      }
    },
    {
      "type": {
        "label": "if",
        "keyword": "if",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "if",
      "start": 1637,
      "end": 1639,
      "loc": {
        "start": {
          "line": 55,
          "column": 8
        },
        "end": {
          "line": 55,
          "column": 10
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1640,
      "end": 1641,
      "loc": {
        "start": {
          "line": 55,
          "column": 11
        },
        "end": {
          "line": 55,
          "column": 12
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 1641,
      "end": 1648,
      "loc": {
        "start": {
          "line": 55,
          "column": 12
        },
        "end": {
          "line": 55,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "==/!=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": 6,
        "updateContext": null
      },
      "value": "!=",
      "start": 1649,
      "end": 1651,
      "loc": {
        "start": {
          "line": 55,
          "column": 20
        },
        "end": {
          "line": 55,
          "column": 22
        }
      }
    },
    {
      "type": {
        "label": "null",
        "keyword": "null",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "null",
      "start": 1652,
      "end": 1656,
      "loc": {
        "start": {
          "line": 55,
          "column": 23
        },
        "end": {
          "line": 55,
          "column": 27
        }
      }
    },
    {
      "type": {
        "label": "&&",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": 2,
        "updateContext": null
      },
      "value": "&&",
      "start": 1657,
      "end": 1659,
      "loc": {
        "start": {
          "line": 55,
          "column": 28
        },
        "end": {
          "line": 55,
          "column": 30
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "nextUri",
      "start": 1660,
      "end": 1667,
      "loc": {
        "start": {
          "line": 55,
          "column": 31
        },
        "end": {
          "line": 55,
          "column": 38
        }
      }
    },
    {
      "type": {
        "label": "==/!=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": 6,
        "updateContext": null
      },
      "value": "!==",
      "start": 1668,
      "end": 1671,
      "loc": {
        "start": {
          "line": 55,
          "column": 39
        },
        "end": {
          "line": 55,
          "column": 42
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "undefined",
      "start": 1672,
      "end": 1681,
      "loc": {
        "start": {
          "line": 55,
          "column": 43
        },
        "end": {
          "line": 55,
          "column": 52
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1681,
      "end": 1682,
      "loc": {
        "start": {
          "line": 55,
          "column": 52
        },
        "end": {
          "line": 55,
          "column": 53
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1683,
      "end": 1684,
      "loc": {
        "start": {
          "line": 55,
          "column": 54
        },
        "end": {
          "line": 55,
          "column": 55
        }
      }
    },
    {
      "type": {
        "label": "return",
        "keyword": "return",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "return",
      "start": 1697,
      "end": 1703,
      "loc": {
        "start": {
          "line": 56,
          "column": 12
        },
        "end": {
          "line": 56,
          "column": 18
        }
      }
    },
    {
      "type": {
        "label": "true",
        "keyword": "true",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "true",
      "start": 1704,
      "end": 1708,
      "loc": {
        "start": {
          "line": 56,
          "column": 19
        },
        "end": {
          "line": 56,
          "column": 23
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1717,
      "end": 1718,
      "loc": {
        "start": {
          "line": 57,
          "column": 8
        },
        "end": {
          "line": 57,
          "column": 9
        }
      }
    },
    {
      "type": {
        "label": "else",
        "keyword": "else",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "else",
      "start": 1727,
      "end": 1731,
      "loc": {
        "start": {
          "line": 58,
          "column": 8
        },
        "end": {
          "line": 58,
          "column": 12
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1732,
      "end": 1733,
      "loc": {
        "start": {
          "line": 58,
          "column": 13
        },
        "end": {
          "line": 58,
          "column": 14
        }
      }
    },
    {
      "type": {
        "label": "return",
        "keyword": "return",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "return",
      "start": 1746,
      "end": 1752,
      "loc": {
        "start": {
          "line": 59,
          "column": 12
        },
        "end": {
          "line": 59,
          "column": 18
        }
      }
    },
    {
      "type": {
        "label": "false",
        "keyword": "false",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "false",
      "start": 1753,
      "end": 1758,
      "loc": {
        "start": {
          "line": 59,
          "column": 19
        },
        "end": {
          "line": 59,
          "column": 24
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1767,
      "end": 1768,
      "loc": {
        "start": {
          "line": 60,
          "column": 8
        },
        "end": {
          "line": 60,
          "column": 9
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1773,
      "end": 1774,
      "loc": {
        "start": {
          "line": 61,
          "column": 4
        },
        "end": {
          "line": 61,
          "column": 5
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 1775,
      "end": 1776,
      "loc": {
        "start": {
          "line": 62,
          "column": 0
        },
        "end": {
          "line": 62,
          "column": 1
        }
      }
    },
    {
      "type": {
        "label": "eof",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 1776,
      "end": 1776,
      "loc": {
        "start": {
          "line": 62,
          "column": 1
        },
        "end": {
          "line": 62,
          "column": 1
        }
      }
    }
  ]
}